W3C home > Mailing lists > Public > semantic-web@w3.org > August 2011

Re: ANN: Sparallax! - Browse sets of things together (now those on your SPARQL endpoint)

From: Andy Seaborne <andy.seaborne@epimorphics.com>
Date: Thu, 18 Aug 2011 11:02:02 +0100
Message-ID: <4E4CE31A.3030706@epimorphics.com>
To: public-lod@w3.org, Semantic Web <semantic-web@w3.org>


On 18/08/11 00:03, Danny Ayers wrote:
 > Which aggregate functions are needed?
 > ARQ has some support (very possibly more than) listed here:
 > http://jena.sourceforge.net/ARQ/group-by.html
 >
 > [Andy, are there any more query examples around? I can't seem to get
 > count(*) working here]
 >

ARQ runs in standards mode (SPARQL 1.1) by default:

SELECT (count(*) AS ?C) { ?s ?p ?o }

Older style,

SELECT count(*) { ?s ?p ?o }

will work if you choose syntaxARQ (which is ticking "SPARQL extended 
syntax" in the validator [1] or the same service in the Fuseki download.

ARQ supports all the SPARQl 1.1 aggregates [2]
COUNT, SUM, MIN, MAX, AVG, GROUP_CONCAT, and SAMPLE.

Let me know if you are stil having problems - the jena users list is 
jena-users AT incubator.apache.org

	Andy


[1]
http://www.sparql.org/query-validator.html
[2]
http://www.w3.org/TR/sparql11-query/#aggregates
Received on Thursday, 18 August 2011 10:02:44 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 08:45:25 UTC