Trifid SPEX plugin
npm install trifid-plugin-spexSPEX for Trifid.
This plugin does the static file hosting for all SPEX files and renders a view page that points to the configured endpoint URL.
Install this Trifid plugin using:
``sh`
npm install trifid-plugin-spex
And then add in the config.yaml file the following part:
`yaml`
plugins:
# […] your other plugins
spex:
module: trifid-plugin-spex
paths: # by default
- /spex
- /spex/
config:
prefixes:
- prefix: ex
namespace: http://example.org/
The following options are supported (all of them optional):
- url: URL to the SPARQL endpoint which will be used in the SPEX interfaceuser
- : User to connect to the SPARQL endpointpassword
- : Password to connect to the SPARQL endpointgraph
- : Default graph to displayprefixes
- : List of custom prefixes (e.g. [{ prefix: 'ex', namespace: 'http://example.org' }])forceIntrospection`: force introspection
-