opengeospatial / ogc-geosparql

Public Repository for the OGC GeoSPARQL Standards Working Group
71 stars 19 forks source link

clarify that spatial_aggregate_functions are SPARQL aggregates #482

Closed VladimirAlexiev closed 4 months ago

VladimirAlexiev commented 6 months ago

https://opengeospatial.github.io/ogc-geosparql/geosparql11/spec.html#_spatial_aggregate_functions

defines SPARQL functions for performing spatial aggregations of data

I think the text should make it more obvious that this means SPARQL aggregates. We can borrow text from the SPARQL spec and the definition of sd:extensionAggregate:

defines SPARQL functions for performing spatial aggregations of data. These are SPARQL aggregates that are computed over a set of geometries, namely the solutions returned by one query variable. They can be used in a SELECT expression or HAVING clause, similar to the standard SPARQL aggregates COUNT, SUM, MIN, MAX, AVG, GROUP_CONCAT, and SAMPLE. If a query uses GROUP BY then all other SELECT expressions (outside of the GROUP BY variables) must use an aggregate.