@comunica/actor-rdf-metadata-extract-membership
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

Comunica Membership RDF Metadata Extract Actor

npm version

An RDF Metadata Extract actor that extracts Approximate Membership metadata.

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-rdf-metadata-extract-membership

Metadata entries

This actor adds the following entries to the metadata object.

  • approximateMembershipFilters: An array of [IApproximateMembershipHolder]'s, which are created using the RDF Membership Filter bus.

Configure

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

{
  "@context": [
    ...
    "https://linkedsoftwaredependencies.org/bundles/npm/@comunica/actor-rdf-metadata-extract-membership/^1.0.0/components/context.jsonld"  
  ],
  "actors": [
    ...
    {
      "@id": "config-setsa:rdf-membership-filter.json#myMembershipMetadataExtractor",
      "@type": "ActorRdfMetadataExtractMembership",
      "carmem:mediatorRdfMembership": {
        "@id": "config-setsa:rdf-membership-filter.json#mediatorRdfMembership",
        "@type": "MediatorRace",
        "cc:Mediator/bus": { "@id": "cbrmf:Bus/RdfMembershipFilter" }
      },
      "carmem:mediatorRdfDereference": {
        "@id": "config-setsa:rdf-membership-filter.json#mediatorRdfDereference",
        "@type": "MediatorRace",
        "cc:Mediator/bus": { "@id": "cbrd:Bus/RdfDereference" }
      }
    }
  ]
}

Config Parameters

Package Sidebar

Install

npm i @comunica/actor-rdf-metadata-extract-membership

Weekly Downloads

0

Version

1.0.0

License

MIT

Unpacked Size

20.8 kB

Total Files

12

Last publish

Collaborators

  • jeswr
  • joachimvh
  • rubensworks
  • rubenverborgh
  • dexagod