3.2.0 • Published 3 years ago

@ldf/preset-qpf v3.2.0

Weekly downloads
342
License
MIT
Repository
github
Last release
3 years ago

Linked Data Fragments Server - Preset Quad Pattern Fragments

npm version

This package provides configuration presets for Quad Pattern Fragments servers.

This package should be used if you want to create your own LDF server configuration, and include the default QPF configurations. If you just want to run a QPF server, you can make use of @ldf/server instead.

Concretely, it configures the following packages:

This package is a Linked Data Fragments Server module.

Usage

When this module is used in a package other than @ldf/server, then the JSON-LD context https://linkedsoftwaredependencies.org/contexts/@ldf/preset-qpf.jsonld must be imported.

The following configs will become available for import:

Example: Importing all defaults:

{
  "@context": [
    "https://linkedsoftwaredependencies.org/bundles/npm/@ldf/core/^3.0.0/components/context.jsonld",
    "https://linkedsoftwaredependencies.org/bundles/npm/@ldf/preset-qpf/^3.0.0/components/context.jsonld"
  ],
  "@id": "urn:ldf-server:my",
  "import": "preset-qpf:config-defaults.json"

  // Rest of your config
}

Example: Importing only QPF controllers and datasources:

{
  "@context": [
    "https://linkedsoftwaredependencies.org/bundles/npm/@ldf/core/^3.0.0/components/context.jsonld",
    "https://linkedsoftwaredependencies.org/bundles/npm/@ldf/preset-qpf/^3.0.0/components/context.jsonld"
  ],
  "@id": "urn:ldf-server:my",
  "import": [
    "preset-qpf:config-defaults.json",
    "preset-qpf:sets/datasources.json"
  ]

  // Rest of your config
}

License

The Linked Data Fragments server is written by Ruben Verborgh, Miel Vander Sande, Ruben Taelman and colleagues.

This code is copyrighted by Ghent University – imec and released under the MIT license.

3.2.0

3 years ago

3.0.0

4 years ago