[tracker/wip/carlosg/indexed-folder-ontology] nepomuk: Replace tracker:Volume with tracker:IndexedFolder
- From: Carlos Garnacho <carlosg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/wip/carlosg/indexed-folder-ontology] nepomuk: Replace tracker:Volume with tracker:IndexedFolder
- Date: Sat, 6 Jun 2020 13:47:32 +0000 (UTC)
commit 5acaeae30b1e3b069acf016f020d9d5cc3abf504
Author: Carlos Garnacho <carlosg gnome org>
Date: Wed Jun 3 17:36:02 2020 +0200
nepomuk: Replace tracker:Volume with tracker:IndexedFolder
This class will represent all indexed folders, mount points or not.
The tracker:available and tracker:isMounted properties are now a
single tracker:available property set on the nie:DataSource (like
tracker:unmounted previously).
Files won't be "available" themselves, users should update to poking
the availability of the nie:dataSource.
src/ontologies/nepomuk/90-tracker.ontology | 27 +++++++++------------------
1 file changed, 9 insertions(+), 18 deletions(-)
---
diff --git a/src/ontologies/nepomuk/90-tracker.ontology b/src/ontologies/nepomuk/90-tracker.ontology
index c66ee9ede..8661ad897 100644
--- a/src/ontologies/nepomuk/90-tracker.ontology
+++ b/src/ontologies/nepomuk/90-tracker.ontology
@@ -1,6 +1,7 @@
@prefix fts: <http://tracker.api.gnome.org/ontology/v3/fts#> .
@prefix nao: <http://tracker.api.gnome.org/ontology/v3/nao#> .
@prefix nie: <http://tracker.api.gnome.org/ontology/v3/nie#> .
+@prefix nfo: <http://tracker.api.gnome.org/ontology/v3/nfo#> .
@prefix nrl: <http://tracker.api.gnome.org/ontology/v3/nrl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@@ -19,39 +20,29 @@ tracker:tagRelatedTo a rdf:Property ;
rdfs:domain nao:Tag ;
rdfs:range rdfs:Class .
-tracker:Volume a rdfs:Class ;
- rdfs:label "Storage media" ;
- rdfs:subClassOf nie:InformationElement ;
- rdfs:subClassOf nie:DataSource .
-
-tracker:isMounted a rdf:Property ;
- nrl:maxCardinality 1 ;
- rdfs:domain tracker:Volume ;
- rdfs:range xsd:boolean .
+tracker:IndexedFolder a rdfs:Class ;
+ rdfs:label "Indexed Folder" ;
+ rdfs:subClassOf nfo:Folder ;
+ rdfs:subClassOf nie:DataSource .
tracker:unmountDate a rdf:Property ;
nrl:maxCardinality 1 ;
- rdfs:domain tracker:Volume ;
+ rdfs:domain tracker:IndexedFolder ;
rdfs:range xsd:dateTime .
-tracker:mountPoint a rdf:Property ;
- nrl:maxCardinality 1 ;
- rdfs:domain tracker:Volume ;
- rdfs:range rdfs:Resource .
-
tracker:isRemovable a rdf:Property ;
nrl:maxCardinality 1 ;
- rdfs:domain tracker:Volume ;
+ rdfs:domain tracker:IndexedFolder ;
rdfs:range xsd:boolean .
tracker:isOptical a rdf:Property ;
nrl:maxCardinality 1 ;
- rdfs:domain tracker:Volume ;
+ rdfs:domain tracker:IndexedFolder ;
rdfs:range xsd:boolean .
tracker:available a rdf:Property ;
nrl:maxCardinality 1 ;
- rdfs:domain nie:DataObject ;
+ rdfs:domain tracker:IndexedFolder ;
rdfs:range xsd:boolean .
fts: a tracker:Namespace ;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]