Napping Panda Missionaries

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

    2.2.0 • Public • Published

    Comunica Primary Topic RDF Metadata Actor

    npm version

    An RDF Metadata actor that splits off the metadata based on the existence of a foaf:primaryTopic link.

    Warning: Use this at your own risk, as this actor requires foaf:primaryTopic to be linked with the metadata graph, while the spec keeps this optional. Furthermore, foaf:primaryTopic must come before the metadata triples. But in cases where foaf:primaryTopic is always used, this actor will be very performant.

    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-primary-topic

    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-primary-topic/^2.0.0/components/context.jsonld"  
      ],
      "actors": [
        ...
        {
          "@id": "urn:comunica:default:rdf-metadata/actors#primary-topic",
          "@type": "ActorRdfMetadataPrimaryTopic"
        }
      ]
    }
    

    Install

    npm i @comunica/actor-rdf-metadata-primary-topic

    DownloadsWeekly Downloads

    4,067

    Version

    2.2.0

    License

    MIT

    Unpacked Size

    21.8 kB

    Total Files

    10

    Last publish

    Collaborators

    • jeswr
    • joachimvh
    • rubensworks
    • rubenverborgh
    • dexagod