@ldf/preset-qpf

3.2.0 • Public • Published

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.

Readme

Keywords

none

Package Sidebar

Install

npm i @ldf/preset-qpf

Weekly Downloads

5

Version

3.2.0

License

MIT

Unpacked Size

15 kB

Total Files

12

Last publish

Collaborators

  • rubenverborgh
  • rubensworks