@comunica/actor-rdf-update-quads-hypermedia

A hypermedia rdf-update-quads actor

Usage no npm install needed!

<script type="module">
  import comunicaActorRdfUpdateQuadsHypermedia from 'https://cdn.skypack.dev/@comunica/actor-rdf-update-quads-hypermedia';
</script>

README

Comunica Hypermedia RDF Update Quads Actor

npm version

An RDF Update Quads actor that handles hypermedia-based destinations.

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-update-quads-hypermedia

Configure

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

{
  "@context": [
    ...
    "https://linkedsoftwaredependencies.org/bundles/npm/@comunica/actor-rdf-update-quads-hypermedia/^1.0.0/components/context.jsonld"  
  ],
  "actors": [
    ...
    {
      "@id": "config-sets:rdf-update-rdfjs.json#myRdfUpdateQuadsHypermedia",
      "@type": "ActorRdfUpdateQuadsHypermedia",
      "caruqh:Actor/RdfUpdateQuads/Hypermedia/mediatorRdfDereference": {
        "@id": "config-sets:resolve-hypermedia.json#mediatorRdfDereference"
      },
      "caruqh:Actor/RdfUpdateQuads/Hypermedia/mediatorMetadata": {
        "@id": "config-sets:resolve-hypermedia.json#mediatorMetadata"
      },
      "caruqh:Actor/RdfUpdateQuads/Hypermedia/mediatorMetadataExtract": {
        "@id": "config-sets:resolve-hypermedia.json#mediatorMetadataExtract"
      },
      "caruqh:Actor/RdfUpdateQuads/Hypermedia/mediatorRdfUpdateHypermedia": {
        "@id": "config-sets:rdf-update-rdfjs.json#mediatorRdfUpdateHypermedia",
        "@type": "MediatorRace",
        "cc:Mediator/bus": { "@id": "cbruh:Bus/RdfUpdateHypermedia" }
      }
    }
  ]
}

Config Parameters

  • caruqh:Actor/RdfUpdateQuads/Hypermedia/mediatorRdfDereference: A mediator over the RDF Dereference bus.
  • caruqh:Actor/RdfUpdateQuads/Hypermedia/mediatorMetadata: A mediator over the RDF Metadata bus.
  • caruqh:Actor/RdfUpdateQuads/Hypermedia/mediatorMetadataExtract: A mediator over the RDF Metadata Extract bus.
  • caruqh:Actor/RdfUpdateQuads/Hypermedia/mediatorRdfUpdateHypermedia: A mediator over the RDF Update Hypermedia bus.