W3C home > Mailing lists > Public > public-rdf-dawg@w3.org > October to December 2007

Re: Every CONSTRUCT is DISTINCT?

From: Lee Feigenbaum <lee@thefigtrees.net>
Date: Mon, 15 Oct 2007 10:49:34 -0400
Message-ID: <47137DFE.5060608@thefigtrees.net>
To: Bijan Parsia <bparsia@cs.man.ac.uk>
CC: RDF Data Access Working Group <public-rdf-dawg@w3.org>

Bijan Parsia wrote:
> 
> [I preface this with a "I don't want to delay anything even a little 
> bit!" comment. I don't!]
> 
> <http://chatlogs.planetrdf.com/swig/2007-10-15#T14-35-05>
> 
> It seems to me that CONSTRUCT implicitly DISTINCTs. Is this true? It 
> seems to me that there is room for a CONSTRUCT that had duplicate 
> triples in it (for the usual reasons of streamability).
> 
> If there was I discussion about this point, and it's easy for someone to 
> dig out, I would appreciate a pointer.

CONSTRUCT returns a graph. Whether the representation/serialization of 
the graph contains duplicate triples is irrelevant to the spec's 
concern, as far as I know. That is, my implementation can return:


:s :p :o .


or it can return:


:s :p :o .
:s :p :o .
:s :p :o .
:s :p :o .


...and it's returning the same graph, and therefore it's returning the 
same results. (Both are representations of the same set of triples.)

I'm sure someone else will correct me if I'm wrong.

Lee
Received on Monday, 15 October 2007 15:17:08 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 16:15:37 GMT