summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorCarlos Garnacho <carlosg@gnome.org>2022-09-27 13:39:56 +0200
committerCarlos Garnacho <carlosg@gnome.org>2022-09-27 14:01:01 +0200
commitd1cb178202ddd5c521fb04a640d09343ab6de283 (patch)
treed83f12811df80abae85f339b6b9b9a6657f5038c /tests
parent8b6548af734c2f4d040ff3d6aef5bbf75d134d4c (diff)
downloadtracker-d1cb178202ddd5c521fb04a640d09343ab6de283.tar.gz
ontologies: Move fts: prefix definition to base ontology
This prefix is used in some of our base SPARQL API (e.g. fts:match and the misc functions to deal with results), but the prefix is currently defined in the Nepomuk ontology side. This makes applications that want to use FTS with custom ontologies either need to declare the prefix themselves, or help queries with `PREFIX` syntax to add the missing stock prefix. Move this prefix definition to the base ontology, so all databases inherit the builtin fts: prefix and it can be used right away in FTS queries.
Diffstat (limited to 'tests')
-rw-r--r--tests/core/subqueries/subqueries-minus-5.out1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/core/subqueries/subqueries-minus-5.out b/tests/core/subqueries/subqueries-minus-5.out
index 4eca2a7c0..6571d4c52 100644
--- a/tests/core/subqueries/subqueries-minus-5.out
+++ b/tests/core/subqueries/subqueries-minus-5.out
@@ -22,6 +22,7 @@
"http://purl.org/dc/elements/1.1/subject"
"http://purl.org/dc/elements/1.1/title"
"http://purl.org/dc/elements/1.1/type"
+"http://tracker.api.gnome.org/ontology/v3/fts#"
"http://tracker.api.gnome.org/ontology/v3/nrl#"
"http://tracker.api.gnome.org/ontology/v3/nrl#InverseFunctionalProperty"
"http://tracker.api.gnome.org/ontology/v3/nrl#Namespace"