W3C home > Mailing lists > Public > public-sparql-dev@w3.org > July to September 2013

meaning of GRAPH ?g {}

From: Jeremy J Carroll <jjc@syapse.com>
Date: Tue, 30 Jul 2013 13:00:24 -0700
Message-Id: <11D5D5E2-CDA9-476F-8ECD-0AAC8FE6C452@syapse.com>
To: public-sparql-dev@w3.org

If I have a dataset

<aa> { <sa> <pa> <oa> }

<bb> { <sb> <pb> <ob> }

And ask

SELECT ?g
{ GRAPH ?g {}
}

what should I get back.
I thought it should be <aa> and <bb> but to get that I had to rewrite the query as

SELECT DISTINCT ?g
{ GRAPH ?g { ?s ?p ?o}
}

Should I report this as a triple store defect?



Jeremy J Carroll
Principal Architect
Syapse, Inc.
Received on Tuesday, 30 July 2013 20:00:53 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:15:52 UTC