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 work as I expected: if there are duplicated names, it returns all. I know that DISTINCT() is not an standard syntax according to [1]; I've read some example that use it over Virtuoso, but I'm not sure about its behaviour. Thank you in advance. [1] http://www.w3.org/TR/rdf-sparql-query/#modDistinct -- Sergio Fernández - sergio.fernan...@fundacionctic.org R&D Deparment CTIC Foundation - www.fundacionctic.org Phone: +34 984 29 12 12 Fax: +34 984 39 06 12 Edificio Centros Tecnológicos Parque Científico Tecnológico 33203 Cabueñes - Gijón - Asturias - Spain