Re: [Virtuoso-users] DISTINCT issue

2008-10-23 Thread Sergio Fernández
On Wed, 2008-10-22 at 11:01 +0700, Ivan Mikhailov wrote: > Hello Sergio, Hi Ivan, > I'd add a newline to read the query as the parser reads it: > > SELECT DISTINCT > (?name) ?person ?mail > WHERE { > ?person rdf:type foaf:Person . > ?person foaf:name ?name . > ?person foaf:mbox_sha1sum ?ma

Re: [Virtuoso-users] DISTINCT issue

2008-10-22 Thread Ivan Mikhailov
Hello Sergio, I'd add a newline to read the query as the parser reads it: SELECT DISTINCT (?name) ?person ?mail WHERE { ?person rdf:type foaf:Person . ?person foaf:name ?name . ?person foaf:mbox_sha1sum ?mail } SELECT DISTINCT is as in plain SPARQL, return values are expression ?name and

Re: [Virtuoso-users] DISTINCT issue

2008-10-21 Thread Sergio Fernández
On Tue, 2008-10-21 at 11:37 +0100, Hugh Williams wrote: > Hi Sergio, Hi Hugh, > I would expect "DISTINCT" to work as I used it quite often in SPARQL > queries against Virtuoso. Me too. Works fine with a DISTINCT for whole elements in a SELECT. > Can you provide a test case for us to see this pr

Re: [Virtuoso-users] DISTINCT issue

2008-10-21 Thread Hugh Williams
Hi Sergio, I would expect "DISTINCT" to work as I used it quite often in SPARQL queries against Virtuoso. Can you provide a test case for us to see this problem first hand, either a server instance we can access online or a dataset we can load locally to recreate. The Virtuoso explain f

[Virtuoso-users] DISTINCT issue

2008-10-21 Thread Sergio Fernández
Hi, in a experiment I've a dataset with many people (some of then duplicated). I want just to list it, I'm doing something like: SELECT DISTINCT(?name) ?person ?mail WHERE { ?person rdf:type foaf:Person . ?person foaf:name ?name . ?person foaf:mbox_sha1sum ?mail } But DISTINCT doesn't wor