Sent from my iPhone

On 6 May 2011, at 19:10, Tim Harsch <[email protected]> wrote:

> Hi,
> I wrote a query like this and sent it through Fuseki 0.1.0.  It came back 
> with 
> results for "?n0 ?n1 ?nc" and dropped the other variables.
> 
> SELECT ?n0 ?n1 (COUNT(*) as ?nc) ?n2 ?n3 ?n4 ?n5 ?n6 
> WHERE { 
> ...
> } GROUP BY ?n0 ?n1
> 
> Its probably by design, but its confusing to me because in analogous SQL I 
> believe the behavior would be to calculate the ?nc result but return all 
> rows, 
> its just that the aggregrate count would be the same for any row where ?n0 or 
> ?n1 has been previously returned.
> 
> Does the SPARQL spec define the behavior here, or is up to implementors?
> 
> Thanks,
> Tim

Sparql spec defines it that way.

Damian

Reply via email to