Matched text
The text the query's words were found in: a field's value, or the sentence of a longer text that holds them.
ApplicationsDatatype property
Domain and range​
- Domain
- Search Match
- Range
- xsd:string
Examples​
Turtle
@prefix abi: <http://ontology.naas.ai/abi/> .
@prefix ex: <https://example.org/> .
ex:searchMatch1 a abi:SearchMatch . # Search Match
ex:searchMatch1 abi:matched_text "Example" . # matched text
SPARQL
PREFIX abi: <http://ontology.naas.ai/abi/>
# Pairs linked by "matched text"
SELECT ?subject ?object WHERE {
?subject abi:matched_text ?object .
}
LIMIT 100