JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 1741
  • Score
    100M100P100Q139265F
  • License MIT

A serialized query-source-identify actor

Package Exports

  • @comunica/actor-query-source-identify-serialized
  • @comunica/actor-query-source-identify-serialized/lib/index.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@comunica/actor-query-source-identify-serialized) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Comunica Serialized Query Source Identify Actor

npm version

A Query Source Identify actor that handles serialized sources.

This actor enables to the possibility to provide data sources using the context in the form of a string, such as:

{ sources: [{ type: 'serialized', value: `<ex:s> <ex:p> <ex:o>. <ex:s> <ex:p> <ex:z>.`, mediaType: 'text/turtle', baseIRI: 'http://example.org/' }];}

This module is part of the Comunica framework, and should only be used by developers that want to build their own query engine.

Click here if you just want to query with Comunica.

Install

$ yarn add @comunica/actor-query-source-identify-serialized

Configure

After installing, this package can be added to your engine's configuration as follows:

{
  "@context": [
    ...
    "https://linkedsoftwaredependencies.org/bundles/npm/@comunica/actor-query-source-identify-serialized/^1.0.0/components/context.jsonld"
  ],
  "actors": [
    ...
    {
      "@id": "urn:comunica:default:query-source-identify/actors#serialized",
      "@type": "ActorQuerySourceIdentifySerialized",
      "mediatorRdfParse": { "@id": "urn:comunica:default:rdf-parse/mediators#parse" },
      "mediatorQuerySourceIdentify": { "@id": "urn:comunica:default:query-source-identify/mediators#main" }
    }
  ]
}

Config Parameters