【发布时间】:2021-06-09 23:22:10
【问题描述】:
我将提出一个关于 GraphDB Lucene 连接器中的索引的问题。
在多语言 rdf 资源的上下文中,如何索引单一语言(例如英语)的 rdfs:label 值?
我试过这个:
PREFIX inst: <http://www.ontotext.com/connectors/lucene/instance#>
PREFIX : <http://www.ontotext.com/connectors/lucene#>
INSERT DATA {
inst:lexicalEntryIndex :createConnector '''
{
"types": [
"http://www.w3.org/ns/lemon/ontolex#LexicalEntry"
],
"fields": [
{
"fieldName": "type",
"propertyChain": [
"http://www.w3.org/1999/02/22-rdf-syntax-ns#type",
"http://www.w3.org/2000/01/rdf-schema#label"
],
"languages": [
"en"
]
}
]
}
''' .
}
但所有语言都已编入索引。
提前致谢, 安德烈亚
【问题讨论】: