summaryrefslogtreecommitdiff
path: root/tests/libtracker-fts
diff options
context:
space:
mode:
authorCarlos Garnacho <carlosg@gnome.org>2020-06-18 20:09:19 +0200
committerCarlos Garnacho <carlosg@gnome.org>2020-06-19 00:13:41 +0200
commit9c49a1d86a4a127ab703462de2d9391f027df723 (patch)
tree125bb96063201c91a7224a57448afbbd68c5715b /tests/libtracker-fts
parent72b936f79df0fb2ece6bb1152aa0df0b381ef451 (diff)
downloadtracker-9c49a1d86a4a127ab703462de2d9391f027df723.tar.gz
ontologies: Move tracker: ontology in 11-rdf.ontology to NRL
NRL is about defining the data structure, all our additional properties somehow belong in that same domain. This also moves all tracker:* properties and classes out of the base ontology (except for the tracker namespace itself, sadly, as it's needed for functions). All users have been updated to the new namespace for these properties and classes. Fixes: https://gitlab.gnome.org/GNOME/tracker/-/issues/226
Diffstat (limited to 'tests/libtracker-fts')
-rw-r--r--tests/libtracker-fts/data.ontology17
1 files changed, 8 insertions, 9 deletions
diff --git a/tests/libtracker-fts/data.ontology b/tests/libtracker-fts/data.ontology
index 7799a9ab8..8ce8b6627 100644
--- a/tests/libtracker-fts/data.ontology
+++ b/tests/libtracker-fts/data.ontology
@@ -3,17 +3,16 @@
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix test: <http://www.example.org/test#> .
-@prefix tracker: <http://tracker.api.gnome.org/ontology/v3/tracker#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
-test: a tracker:Ontology ;
- tracker:lastModified "2018-09-30T13:00:00Z" .
+test: a nrl:Ontology ;
+ nrl:lastModified "2018-09-30T13:00:00Z" .
-fts: a tracker:Namespace ;
- tracker:prefix "fts" .
+fts: a nrl:Namespace ;
+ nrl:prefix "fts" .
-test: a tracker:Namespace ;
- tracker:prefix "test" .
+test: a nrl:Namespace ;
+ nrl:prefix "test" .
test:A a rdfs:Class ;
rdfs:subClassOf rdfs:Resource .
@@ -22,10 +21,10 @@ test:p a rdf:Property ;
nrl:maxCardinality 1 ;
rdfs:domain test:A ;
rdfs:range xsd:string ;
- tracker:fulltextIndexed true .
+ nrl:fulltextIndexed true .
test:o a rdf:Property ;
nrl:maxCardinality 1 ;
rdfs:domain test:A ;
rdfs:range xsd:string ;
- tracker:fulltextIndexed true .
+ nrl:fulltextIndexed true .