javascriptjenagraphdbrdf4jgeosparql

Is there a JavaScript implementation of OGC GeoSPARQL functions?


I am aware of various Java implementations of OGC GeoSPARQL standard, provided by RDF4J, Jena, GraphDB and other vendors. Now I am looking for JavaScript libraries that implement whole set of GeoSPARQL functions, or some subset of them.

I tried searching for RDF4J, Jena and GraphDB JavaScript implementations of GeoSPARQL functions, but I haven't found any.


Solution

  • SparqlJS : https://www.npmjs.com/package/sparqljs

    This library doesn't have the full implementation of GeoSPARQL, but it does support the basic geospatial functions and operators.

    Turf.js : https://turfjs.org

    It is a more general-purpose geospatial library, although not specifically designed for GeoSPARQL, it still has some sets of geospatial functions.