RE: Simple example of need for negation operator

-------- Original Message --------
> From: Lee Feigenbaum <>
> Date: 11 December 2007 14:53
>
> Some can, like min and max. Most can't, as far as I know.
>
> See
> http://lists.w3.org/Archives/Public/public-rdf-dawg/2007OctDec/0078.html
>
> Lee
>
> Adrian Walker wrote:
> > Lee --
> >
> > Is there perhaps some similar SPARQL workaround to get aggregation?
> >
> > That would be: count rows, count symbols, sum, max, min, and avg.
> >
> >                                   Thanks,  -- Adrian
> >

For count/sum/avg/stddev - it would require assignment of some term not in the graph.  Only BGPs can set variable bindings.  So, no, it can't be done unless the answer is already in the graph in some way.

        Andy

Received on Tuesday, 11 December 2007 16:19:45 UTC