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