Admin Tools
In HanamiToolController
we currently have a mix of API calls which can do some administrative stuff.
SPARQL Access
List available SPARQL endpoints
GET /api/admin/tools/yasgui/sparql-endpoints
Lists all SPARQL endpoints which are available for querying.
Run a query
Runs a query and embeds its results in
Dump Application Settings
POST /api/admin/tools/dump-settings
Returns current settings. Currently as a string!
Generate SHACL
POST /api/admin/tools/generate-shacl?namespace
- namespace for generated SHACL
- multipart/file a file must be in the RDF format
Generates a SHACL file based on an RDF data file. The returned SHACL file is in Turtle format.