SUM is implemented, of course. But sometimes the translation into SQL still yields invalid SQL queries. Turn on logging for SPARQL and check in the marmotta-debug log file. I can also try with my setup.
I would also recommend you to update the latest snapshot of the repository, because there are many bug fixes especially in the SPARQL part. Greetings, Sebastian 2014-10-09 15:42 GMT+02:00 Fabian Cretton <fabian.cret...@hevs.ch>: > Hi, > > Is SPARQL-sum implemented in the current version under developpment > (3.3.0) ? > > I did refresh my fork two weeks ago, and this query doesnt' work: > > prefix sdmx-measure: <http://purl.org/linked-data/sdmx/2009/measure#> > SELECT (SUM(?value) as ?valSum) WHERE { > ?obs sdmx-measure:obsValue ?value. > } > > I have an error message in the interface: unknown exception while > evaluating SPARQL query > > I can't see the logs right now (I have to check out why my logs no more > work since my last synchronisation) > > But is "sum" implemented or not ? or maybe I do have a simple syntax > mistake ? > > thank you for any help > Fabian >