Hi Davide

> I'm playing with the dbpedia sparql endpoint in order to extract the 
> new dbpedia-owl:properties
>
> Nonetheless, it works fine with some resources but it doesn't work 
> with others.
>
> So for example
>
> http://dbpedia.org/snorql/?query=SELECT+DISTINCT+%24p+WHERE+%7B%0D%0A%3Chttp%3A%2F%2Fdbpedia.org%2Fresource%2FAlbert_Einstein%3E+%24p+%24o+.%0D%0A%0D%0AFILTER%28regex%28str%28%3Fp%29%2C%22http%3A%2F%2Fdbpedia.org%2Fontology%2F%22%29%29%0D%0A%0D%0A%7D
>
> it works but
>
> http://dbpedia.org/snorql/?query=SELECT+DISTINCT+%24p+WHERE+%7B%0D%0A%3Chttp%3A%2F%2Fdbpedia.org%2Fresource%2FTheatre%3E+%24p+%24o+.%0D%0A%0D%0AFILTER%28regex%28str%28%3Fp%29%2C%22http%3A%2F%2Fdbpedia.org%2Fontology%2F%22%29%29%0D%0A%0D%0A%7D
>
> it doesn't work
>
>
> Why? Am I doing something wrong?
>

Because there is none such properties for Theater:


http://dbpedia.org/snorql/?query=SELECT+DISTINCT+%24p+WHERE+{%0D%0A%3Chttp%3A%2F%2Fdbpedia.org%2Fresource%2FTheatre%3E+%3Fp+%3Fo+.%0D%0A%0D%0A%0D%0A%0D%0A}


So I guess this is normal that you get an empty resutlset for that 
sparql query :)




Take care,


Fred

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Dbpedia-discussion mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dbpedia-discussion

Reply via email to