Hi Hugh
reinstalled and loaded the a data set and ran your query:
*sparql select * where { graph ?g {?s ?p ?o filter(regex(?s,"uniprot"))}}
limit 10;*

and here are the result below. It is recognizing the graph, with the above
query however selecting for a distinct graph returns nothing!!!!. Any Ideas.


gspohttp://purl.uniprot.org/corehttp://purl.uniprot.org/go/0000001
http://www.w3.org/1999/02/22-rdf-syntax-ns#type
http://purl.uniprot.org/core/Concepthttp://purl.uniprot.org/core
http://purl.uniprot.org/go/0048308
http://www.w3.org/1999/02/22-rdf-syntax-ns#type
http://purl.uniprot.org/core/Concepthttp://purl.uniprot.org/core
http://purl.uniprot.org/go/0048311
http://www.w3.org/1999/02/22-rdf-syntax-ns#type
http://purl.uniprot.org/core/Concepthttp://purl.uniprot.org/core
http://purl.uniprot.org/go/0000002
http://www.w3.org/1999/02/22-rdf-syntax-ns#type
http://purl.uniprot.org/core/Concepthttp://purl.uniprot.org/core
http://purl.uniprot.org/go/0007005
http://www.w3.org/1999/02/22-rdf-syntax-ns#type
http://purl.uniprot.org/core/Concepthttp://purl.uniprot.org/core
http://purl.uniprot.org/go/0000003
http://www.w3.org/1999/02/22-rdf-syntax-ns#type
http://purl.uniprot.org/core/Concepthttp://purl.uniprot.org/core
http://purl.uniprot.org/go/0008150
http://www.w3.org/1999/02/22-rdf-syntax-ns#type
http://purl.uniprot.org/core/Concepthttp://purl.uniprot.org/core
http://purl.uniprot.org/go/0000005
http://www.w3.org/1999/02/22-rdf-syntax-ns#type
http://purl.uniprot.org/core/Concepthttp://purl.uniprot.org/core
http://purl.uniprot.org/go/0042254
http://www.w3.org/1999/02/22-rdf-syntax-ns#type
http://purl.uniprot.org/core/Concepthttp://purl.uniprot.org/core
http://purl.uniprot.org/go/0006996
http://www.w3.org/1999/02/22-rdf-syntax-ns#type
http://purl.uniprot.org/core/Concept


On Mon, Jan 3, 2011 at 8:47 PM, Hugh Williams <[email protected]>wrote:

> Hi
>
> What does the following query which should return the graph name associated
> with the returned triples return for the ?g:
>
> sparql select * where { graph ?g {?s ?p ?o filter(regex(?s,"uniprot"))}}
> limit 10;
>
> Best Regards
> Hugh Williams
> Professional Services
> OpenLink Software
> Web: http://www.openlinksw.com
> Support: http://support.openlinksw.com
> Forums: http://boards.openlinksw.com/support
> Twitter: http://twitter.com/OpenLink
>
>

Reply via email to