Hi Joachim!
If you know the property that the index is based on, why not use that?
For example, skos:prefLabel or rdfs:label. Or am I missing something?
-Osma
28.04.2016, 11:39, Neubert, Joachim wrote:
The Jena text index allows to record the literal, which was matched in a text
query:
(?s ?score ?literal) text:query ('query string')
(from https://jena.apache.org/documentation/query/text-query.html).
When returning the result of a construct query, I want to attach the matching
term (?literal) to the matched subject (?s), like this:
?s ex:matchingTerm ?literal
Is anybody aware of a already existing property, which could be used for
"ex:matchingTerm"?
Cheers, Joachim
--
Osma Suominen
D.Sc. (Tech), Information Systems Specialist
National Library of Finland
P.O. Box 26 (Kaikukatu 4)
00014 HELSINGIN YLIOPISTO
Tel. +358 50 3199529
[email protected]
http://www.nationallibrary.fi