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": [
...
"https://linkedsoftwaredependencies.org/bundles/npm/@comunica/actor-rdf-parse-html-script/^4.0.0/components/context.jsonld"
],
"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" }
}
]
}
-
mediatorRdfParseMediatypes
: A mediator over the RDF Parse bus for collecting media types. -
mediatorRdfParseHandle
: A mediator over the RDF Parse bus for actual parsing.