W3C home > Mailing lists > Public > public-lod@w3.org > September 2013

Re: SPARQL results in RDF

From: William Waites <ww@styx.org>
Date: Sat, 21 Sep 2013 19:14:31 +0100 (BST)
Message-Id: <20130921.191431.378417439.ww@styx.org>
To: hg@ecs.soton.ac.uk
Cc: public-lod@w3.org
Hi Hugh,

You can get results in RDF if you use CONSTRUCT -- which is basically
a special case of SELECT that returns 3-tuples and uses set semantics
(does not allow duplicates), but I imagine that you are aware of this.

Returning RDF for SELECT where the result set consists in n-tuples
where n != 3 is difficult because there is no direct way to represent
it. 

Also problematic is that there *is* a concept of order in SPARQL query
results while there is not with RDF.

Also the use of bag semantics allowing duplicates which also does not
really work with RDF.

These, again, could be kludged with reification, but that is not very
elegant. 

So most SELECT results are not directly representable in RDF.

Cheers,
-w
Received on Saturday, 21 September 2013 18:15:08 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:21:56 UTC