On 20/06/12 14:57, Stefan Scheffler wrote:
if you get an empty result set and no error, maybe the resource is not
in the data store?

The query
"Select distinct ?s where{?s ?p ?o}."
list all resources in the store.

And maybe it is a problem because you don't use a URI.
Resources should look like <http://world.org/europe/Germany_2123>

Greetings Stefan



>> my resource is <Germany_2123>

>> "{<Germany_2123> ?p ?o   }";

You can create a resource with URI Germany_2123 (the API does not URI resolution). But in SPARQL <Germany_2123> is a relative URI and will be resolved against the base. It will not be Germany_2123

Then the subject will not match and as Stefan says, no results.

        Andy

Reply via email to