A html-script rdf-parse actor

Usage no npm install needed!

<script type="module">
  import comunicaActorRdfParseHtmlScript from 'https://cdn.skypack.dev/@comunica/actor-rdf-parse-html-script';


Comunica Html Script RDF Parse Actor

npm version

An RDF Parse HTML actor that handles script tags in HTML by delegating to the RDF Parse bus.

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.


$ yarn add @comunica/actor-rdf-parse-html-script


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

  "@context": [
  "actors": [
      "@id": "urn:comunica:default:rdf-parse-html/actors#script",
      "@type": "ActorRdfParseHtmlScript",
      "mediatorRdfParseMediatypes": { "@id": "urn:comunica:default:rdf-parse/mediators#mediaType" },
      "mediatorRdfParseHandle": { "@id": "urn:comunica:default:rdf-parse/mediators#parse" }

Config Parameters

  • mediatorRdfParseMediatypes: A mediator over the RDF Parse bus for collecting media types.
  • mediatorRdfParseHandle: A mediator over the RDF Parse bus for actual parsing.