Comunica 复合文件查询源标识符
A 类 查询源标识 处理复合文件源的字符.
这个角色可以将多个文件 URL 作为单一的综合源进行查询,例如:
{ sources: [{ type: 'compositefile', value: [ 'https://example.org/file1.ttl', 'https://example.org/file2.ttl' ]}]; }
这个模块是 通信框架, (中文(简体) ), 并且只能用于 想要建立自己的查询引擎的开发者。 。 。 .
如果您想要询问Comunica, 请点击这里。 。 。 .
安装
$ yarn add @comunica/actor-query-source-identify-compositefile
配置
安装后,此软件包可以添加到您的引擎配置中如下:
{
"@context": [
...
"https://linkedsoftwaredependencies.org/bundles/npm/@comunica/actor-query-source-identify-compositefile/^5.0.0/components/context.jsonld"
],
"actors": [
...
{
"@id": "urn:comunica:default:query-source-identify/actors#compositefile",
"@type": "ActorQuerySourceIdentifyCompositeFile",
"mediatorQuerySourceIdentify": { "@id": "urn:comunica:default:query-source-identify/mediators#main" },
"mediatorMergeBindingsContext": { "@id": "urn:comunica:default:merge-bindings-context/mediators#main" }
}
]
}