Re: Duplicate columns and group keys

On Sep 30, 2010, at 6:57 AM, Andy Seaborne wrote:

> Following a jena-dev question, I wondered what do implementations do with the following?
> # Duplicate select variable - SPARQL 1.0
> SELECT ?s ?s ?p ?o
> {
>   ?s ?p ?o
> }

At the protocol level RDF::Query duplicates ?s, but at the API level the variable bindings only contain ?s once (being associative arrays). The protocol/interface code just accesses the projection list and loops over the variables, though, so it ends up being produced twice.


Received on Thursday, 30 September 2010 18:28:27 UTC