See also this closed bug report:
http://sourceforge.net/tracker/?func=detail&aid=2995846&group_id=161622&atid=820574
On 03/02/2011 02:42 PM, Rob Vesse wrote:
>
> Hi all
>
> I've found what appears to be a major bug with Virtuoso's SPARQL results
> for one specific query namely:
>
> SELECT DISTINCT ?g WHERE { GRAPH ?g { ?s ?p ?o } }
>
> When this query is executed results come back as <literal> elements in
> the XML results rather than as <uri> elements. If you remove the
> DISTINCT modifier then they come back as <uri> fine.
>
> I assume that this is a bug in your optimisation of the above query
> since the above is commonly optimised specially since it is often used
> to list the graphs of a SPARQL endpoint.
>
> Regards,
>
> Rob Vesse
>
>
>
> ------------------------------------------------------------------------------
> Free Software Download: Index, Search & Analyze Logs and other IT data in
> Real-Time with Splunk. Collect, index and harness all the fast moving IT data
> generated by your applications, servers and devices whether physical, virtual
> or in the cloud. Deliver compliance at lower cost and gain new business
> insights. http://p.sf.net/sfu/splunk-dev2dev
>
>
>
> _______________________________________________
> Virtuoso-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/virtuoso-users