@comunica/actor-rdf-parse-xml-rdfa
Version:
A xml-rdfa rdf-parse actor
41 lines (30 loc) • 1.33 kB
Markdown
# Comunica XML RDFa RDF Parse Actor
[](https://www.npmjs.com/package/@comunica/actor-rdf-parse-xml-rdfa)
An [RDF Parse](https://github.com/comunica/comunica/tree/master/packages/bus-rdf-parse) actor that handles [RDFa in XML](https://www.w3.org/TR/2008/REC-SVGTiny12-20081222/metadata.html#MetadataAttributes).
This module is part of the [Comunica framework](https://github.com/comunica/comunica),
and should only be used by [developers that want to build their own query engine](https://comunica.dev/docs/modify/).
[Click here if you just want to query with Comunica](https://comunica.dev/docs/query/).
## Install
```bash
$ yarn add @comunica/actor-rdf-parse-xml-rdfa
```
## Configure
After installing, this package can be added to your engine's configuration as follows:
```text
{
"@context": [
...
"https://linkedsoftwaredependencies.org/bundles/npm/@comunica/actor-rdf-parse-xml-rdfa/^4.0.0/components/context.jsonld"
],
"actors": [
...
{
"@id": "urn:comunica:default:rdf-parse/actors#xml-rdfa",
"@type": "ActorRdfParseXmlRdfa",
"priorityScale": 0.3
}
]
}
```
### Config Parameters
* `priorityScale`: An optional priority for this parser, used for content negotiation, defaults to `1`.