SimonBin commented on issue #1791: URL: https://github.com/apache/jena/issues/1791#issuecomment-1465306074
Everything said here is right. But if you just want to quickly play with geosparql, you can also try @Aklakan 's [RdfProcessingToolkit](https://github.com/SmartDataAnalytics/RdfProcessingToolkit/releases/latest) powered by Apache Jena ```sh java -jar rpt-1.9.3-rc3.jar integrate NGraph_GeohiveData.trig --geoindex --server ``` then run a geo query: ```sparql PREFIX uom: <http://www.opengis.net/def/uom/OGC/1.0/> PREFIX geo: <http://www.opengis.net/ont/geosparql#> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX spatial: <http://jena.apache.org/spatial#> select distinct ?g ?feature ?geo ?geoLabel ?myPoint ("red" as ?myPointColor) { values ?myPoint { "Point(-6.22675717146472 53.3681724340328)"^^geo:wktLiteral } graph ?g { ?feature spatial:nearbyGeom(?myPoint 3 uom:kilometre) . ?feature rdfs:label ?geoLabel ; geo:hasGeometry/geo:asWKT ?geo . } } ``` you can use https://yasgui.triply.cc/ to visualise the shapes -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
