Comunica Membership RDF Metadata Extract Actor
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
-
carmem:mediatorRdfMembership
: A mediator over the RDF Membership Filter bus. -
carmem:mediatorRdfDereference
: A mediator over the RDF Dereference bus.