2.1.2 • Published 1 year ago
trifid-plugin-graph-explorer v2.1.2
trifid-plugin-graph-explorer
Graph Explorer for Trifid. This plugin does the static file hosting for all Graph Explorer files and renders an index page that points to the given endpoint URL.
Quick start
Install this Trifid plugin using:
npm install trifid-plugin-graph-explorerAnd then add in the config.yaml file the following part:
plugins:
# […] your other plugins
yasgui:
module: trifid-plugin-graph-explorer
paths: # by default
- /graph-explorer
- /graph-explorer/
config:
endpointUrl: https://example.com/query
# …other configuration fieldsConfiguration
The following options are supported:
endpointUrl: URL to the SPARQL endpoint which will be used in the YASGUI interfacetemplate: Path to an alternative template (default:views/graph-explorer.hbs)acceptBlankNodes: Show blank nodes
Example:
config:
acceptBlankNodes: false
dataLabelProperty: rdfs:label | <http://schema.org/name>
schemaLabelProperty: rdfs:label | <http://schema.org/name>
language: en
languages:
- code: en
label: English
- code: de
label: German
- code: fr
label: French
- code: it
label: Italian