Aklakan commented on code in PR #213: URL: https://github.com/apache/jena-site/pull/213#discussion_r2732235147
########## source/documentation/geosparql/fuseki-fmod-geosparql.md: ########## @@ -0,0 +1,117 @@ +--- +title: GeoSPARQL Fuseki Module +--- + +The GeoSPARQL Fuseki Module features an endpoint to manage a data set's spatial index. The endpoint comes with an HTML view and a corresponding API. +Spatial indexes need to be manually updated after modifications to the underlying RDF data. +The spatial indexer endpoint allows one to reindex specific graphs or all graphs of an underlying data set. +Spatial datasets are generally configured using the [GeoSPARQL Assembler](geosparql-assembler.html). + +The architecture is as follows: The Fuseki2 server in the Java module `jena-fuseki-server` ships with the GeoSPARQL Fuseki Module in `jena-fuseki-mod-geosparql`. The latter depends on `jena-geosparql` for GeoSPARQL support. + +## Spatial Indexer Endpoint Configuration + +The following snippet summarizes how to declare a spatial indexer endpoint in a Fuseki configuration. + +```turtle +PREFIX fuseki: <http://jena.apache.org/fuseki#> + +<#ep-spatial-indexer> fuseki:name "spatial-indexer" ; + fuseki:operation fuseki:spatial-indexer ; + fuseki:allowedUsers "anne" . # Optional access control. +``` + +The spatial indexer endpoint needs to be registered with a service. The following shows an example where the spatial indexer endpoint is registered next to a usual query and update endpoint. Make sure to see Fuseki's documentation about [Access Control Lists](../fuseki2/fuseki-data-access-control.html#acl) for securing your endpoints. + +```turtle +<#service> a fuseki:Service ; + fuseki:name "ds" ; + fuseki:endpoint [ fuseki:operation fuseki:query ] ; + fuseki:endpoint [ fuseki:name "update" ; fuseki:operation fuseki:update ] ; Review Comment: done. -- 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]
