diff options
Diffstat (limited to '')
-rw-r--r-- | data/ontology/meson.build | 8 | ||||
-rw-r--r-- | data/ontology/nautilus.description | 9 | ||||
-rw-r--r-- | data/ontology/nautilus.ontology | 20 |
3 files changed, 37 insertions, 0 deletions
diff --git a/data/ontology/meson.build b/data/ontology/meson.build new file mode 100644 index 0000000..cb80e86 --- /dev/null +++ b/data/ontology/meson.build @@ -0,0 +1,8 @@ +ontology_data = files( + 'nautilus.description', + 'nautilus.ontology', +) + +install_data(ontology_data, + install_dir: join_paths(datadir, 'nautilus', 'ontology') +) diff --git a/data/ontology/nautilus.description b/data/ontology/nautilus.description new file mode 100644 index 0000000..42f4102 --- /dev/null +++ b/data/ontology/nautilus.description @@ -0,0 +1,9 @@ +@prefix dsc: <http://tracker.api.gnome.org/ontology/v3/dsc#> . + +<virtual-ontology-uri:nautilus.ontology> a dsc:Ontology ; + dsc:title "Nautilus ontology" ; + dsc:description "Tracker database schema for Nautilus private data." ; + + dsc:localPrefix "nautilus" ; + dsc:baseUrl "https://gitlab.gnome.org/GNOME/nautilus#" ; + dsc:relativePath "./nautilus.ontology" ; diff --git a/data/ontology/nautilus.ontology b/data/ontology/nautilus.ontology new file mode 100644 index 0000000..a3706bc --- /dev/null +++ b/data/ontology/nautilus.ontology @@ -0,0 +1,20 @@ +@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . +@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . +@prefix xsd: <http://www.w3.org/2001/XMLSchema#> . +@prefix nrl: <http://tracker.api.gnome.org/ontology/v3/nrl#> . +@prefix nautilus: <https://gitlab.gnome.org/GNOME/nautilus#> . + +nautilus: a nrl:Namespace, nrl:Ontology ; + nrl:prefix "nautilus" ; + nrl:lastModified "2020-05-01T10:00:00Z" . + +nautilus:File a rdfs:Class ; + rdfs:comment "Represents a file on disk by its URL. Equivalent to http://tracker.api.gnome.org/ontology/v3/nfo#FileDataObject" ; + rdfs:subClassOf rdfs:Resource ; + nrl:notify true . + +nautilus:starred a rdf:Property ; + rdfs:comment "Marks files that are starred in Nautilus." ; + rdfs:domain nautilus:File ; + rdfs:range xsd:boolean ; + nrl:maxCardinality 1 . |