Hi Can you try with a later Virtuoso snapshot build available from the following URL:
http://demo.openlinksw.com/c/BCFLIS
As I cannot recreate the problem with sample datasets I have loaded here, and
the query below shows the graphs clear is there.
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
On 7 Jan 2011, at 16:46, R Stanislaus wrote:
> 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.
>
>
> g s p o
> http://purl.uniprot.org/core http://purl.uniprot.org/go/0000001
> http://www.w3.org/1999/02/22-rdf-syntax-ns#type
> http://purl.uniprot.org/core/Concept
> http://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/Concept
> http://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/Concept
> http://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/Concept
> http://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/Concept
> http://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/Concept
> http://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/Concept
> http://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/Concept
> http://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/Concept
> http://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
>
>
