Config
The config or configuration directory contains the configuration the following API endpoints for the in-memory Fuseki RDF triplestore:
- query
- update
An example of a config directory correctly formatted for OML Vision can be seen here
sparqlConfig.json
Create a src/vision/config/sparqlConfig.json
file (case-sensitive)
The src/vision/config/sparqlConfig.json
file is responsible for specifying the query and update API endpoints.
It is formatted as a JSON data structure.
An example of what this looks like is seen below with the source code found here
{
"queryEndpoint": "http://localhost:3030/tutorial2/sparql",
"updateEndpoint": "http://localhost:3030/tutorial2/update"
}
queryEndpoint
queryEndpoint: string
This string defines the API query endpoint of the in-memory RDF triplestore.
Fuseki
This endpoint can usually be found within the .fuseki.ttl
file under the sparql
service. An example of how to specify this endpoint can be found here
updateEndpoint
updateEndpoint: string
This string defines the API update endpoint of the in-memory RDF triplestore.
Fuseki
This endpoint can usually be found within the .fuseki.ttl
file under the update
service. An example of how to specify this endpoint can be found here