endpoint - Make SPARQL queries for reviews -


i'm trying find way collect things have property:

"http://purl.org/stuff/rev#hasreview" 

so tryed query on http://sparql.sindice.com/ endpoint:

prefix rev: <http://purl.org/stuff/rev#> prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> select * {  ?thing rev:hasreview ?review . } 

and result few, think if don't provide uri graph, search on own graph. on way? , other doubt is, how can know graph uri http://revyu.com/ example?

thanks.

the following query gets graph:

prefix rev: <http://purl.org/stuff/rev#> prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> select * {   {  graph ?graph { ?thing rev:hasreview ?review . } } } 

in case want triples in default graph, can use:

prefix rev: <http://purl.org/stuff/rev#> prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> select * {   {  graph ?graph { ?thing rev:hasreview ?review . } }  union    {  ?thing rev:hasreview ?review . } } 

Comments