2.0.2 • Published 2 months ago

trifid-plugin-spex v2.0.2

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
2 months ago

trifid-plugin-spex

SPEX 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.

Quick start

Install this Trifid plugin using:

npm install trifid-plugin-spex

And then add in the config.yaml file the following part:

plugins:
  # […] your other plugins
  spex:
    module: trifid-plugin-spex
    paths: # by default
      - /spex
      - /spex/
    config:
      prefixes:
        - prefix: ex
          namespace: http://example.org/

Configuration

The following options are supported (all of them optional):

  • url: URL to the SPARQL endpoint which will be used in the SPEX interface
  • user: User to connect to the SPARQL endpoint
  • password: Password to connect to the SPARQL endpoint
  • graph: Default graph to display
  • prefixes: List of custom prefixes (e.g. [{ prefix: 'ex', namespace: 'http://example.org' }])
  • forceIntrospection: force introspection
2.0.2

2 months ago

2.0.1

2 months ago

2.0.0

2 months ago

1.1.4

7 months ago

1.1.1

1 year ago

1.1.0

1 year ago

1.1.3

1 year ago

1.1.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago

0.1.2

2 years ago

0.1.1

3 years ago

0.1.0

3 years ago