A comunica File Dereference Actor.
An Dereference actor that
resolves an URL to a local file (optionally starting with file://).
This actor refuses to dereference files if the @comunica/bus-dereference:blockFileAccess context entry is enabled.
This is for example set for SERVICE targets,
so that queries from untrusted parties can not read arbitrary local files.
Click here if you just want to query with Comunica.
$ yarn add @comunica/actor-dereference-file
After installing, this package can be added to your engine's configuration as follows:
{
"@context": [
...
"https://linkedsoftwaredependencies.org/bundles/npm/@comunica/actor-dereference-file/^5.0.0/components/context.jsonld"
],
"actors": [
...
{
"@id": "urn:comunica:default:dereference/actors#file",
"@type": "ActorRdfDereferenceFile"
}
]
}