[tracker/classes] ontologies: Make sure all regular classes derive from rdfs:Resource



commit 094d3a59ad201cef8f460e8f816096cbd08015cd
Author: Jürg Billeter <j bitron ch>
Date:   Wed Oct 20 09:46:17 2010 +0200

    ontologies: Make sure all regular classes derive from rdfs:Resource

 data/ontologies/31-nao.ontology  |    5 +++--
 data/ontologies/33-nfo.ontology  |    8 +++++---
 data/ontologies/36-scal.ontology |    5 +++--
 data/ontologies/38-nmm.ontology  |   14 +++++++++-----
 data/ontologies/39-mto.ontology  |    5 +++--
 5 files changed, 23 insertions(+), 14 deletions(-)
---
diff --git a/data/ontologies/31-nao.ontology b/data/ontologies/31-nao.ontology
index 56ca251..baa3740 100644
--- a/data/ontologies/31-nao.ontology
+++ b/data/ontologies/31-nao.ontology
@@ -9,7 +9,7 @@
 
 nao: a tracker:Namespace, tracker:Ontology ;
 	tracker:prefix "nao" ;
-	nao:lastModified "2010-07-21T09:00:00Z" .
+	nao:lastModified "2010-10-20T07:42:00Z" .
 
 nao:Tag a rdfs:Class ;
 	rdfs:subClassOf rdfs:Resource ;
@@ -59,7 +59,8 @@ nao:deprecated a rdf:Property;
 
 nao:Property a rdfs:Class ;
 	rdfs:label "Custom property to extend a class dynamically" ;
-	rdfs:comment "Dont use this without asking first your ontology doctor" .
+	rdfs:comment "Dont use this without asking first your ontology doctor" ;
+	rdfs:subClassOf rdfs:Resource .
 
 nao:propertyName a rdf:Property ;
 	nrl:maxCardinality 1 ;
diff --git a/data/ontologies/33-nfo.ontology b/data/ontologies/33-nfo.ontology
index d0b7c6a..bd247ac 100644
--- a/data/ontologies/33-nfo.ontology
+++ b/data/ontologies/33-nfo.ontology
@@ -12,7 +12,7 @@
 
 nfo: a tracker:Namespace, tracker:Ontology ;
 	tracker:prefix "nfo" ;
-	nao:lastModified "2010-09-13T11:49:00Z" .
+	nao:lastModified "2010-10-20T07:42:00Z" .
 
 nfo:Document a rdfs:Class ;
 	rdfs:label "Document" ;
@@ -898,7 +898,8 @@ nfo:softwareCmdLine a rdf:Property ;
 
 nfo:Orientation a rdfs:Class ;
 	rdfs:label "Orientation enum" ;
-	rdfs:comment "Orientation enum" .
+	rdfs:comment "Orientation enum" ;
+	rdfs:subClassOf rdfs:Resource .
 
 nfo:orientation-top a nfo:Orientation .
 nfo:orientation-top-mirror a nfo:Orientation .
@@ -921,7 +922,8 @@ poi: a tracker:Namespace ;
 	tracker:prefix "poi" .
 
 # TDB
-poi:ObjectOfInterest a rdfs:Class .
+poi:ObjectOfInterest a rdfs:Class ;
+	rdfs:subClassOf rdfs:Resource .
 
 nfo:depicts a rdf:Property ;
 	rdfs:domain nfo:Image ;
diff --git a/data/ontologies/36-scal.ontology b/data/ontologies/36-scal.ontology
index 8b610c2..4269ead 100644
--- a/data/ontologies/36-scal.ontology
+++ b/data/ontologies/36-scal.ontology
@@ -10,7 +10,7 @@
 
 scal: a tracker:Namespace, tracker:Ontology ;
       tracker:prefix "scal" ;
-      nao:lastModified "2010-02-16T11:00:00Z" .
+      nao:lastModified "2010-10-20T07:42:00Z" .
 
 scal:Calendar a rdfs:Class ;
       rdfs:label "Calendar" ;
@@ -344,7 +344,8 @@ scal:TimeZone a rdf:Property ;
 #
 scal:AccessLevel a rdfs:Class ;
       rdfs:label "Access level" ;
-      rdfs:comment "Access classification for a calendar item: public, private or confidential. Use the predefined instances in the ontology" .
+      rdfs:comment "Access classification for a calendar item: public, private or confidential. Use the predefined instances in the ontology" ;
+      rdfs:subClassOf rdfs:Resource .
 
 scal:access-level-private a scal:AccessLevel .
 scal:access-level-public a scal:AccessLevel .
diff --git a/data/ontologies/38-nmm.ontology b/data/ontologies/38-nmm.ontology
index d7c5a6c..2769b71 100644
--- a/data/ontologies/38-nmm.ontology
+++ b/data/ontologies/38-nmm.ontology
@@ -13,7 +13,7 @@
 
 nmm: a tracker:Namespace, tracker:Ontology ;
 	tracker:prefix "nmm" ;
-	nao:lastModified "2010-10-13T13:34:00Z" .
+	nao:lastModified "2010-10-20T07:42:00Z" .
 
 nmm:MusicPiece a rdfs:Class ;
 	rdfs:label "Music" ;
@@ -345,7 +345,8 @@ nmm:exposureTime a rdf:Property ;
 
 nmm:Flash a rdfs:Class ;
 	rdfs:label "Flash values" ;
-	rdfs:comment "Enumeration of the possible values of flash property" .
+	rdfs:comment "Enumeration of the possible values of flash property" ;
+	rdfs:subClassOf rdfs:Resource .
 
 nmm:flash-on a nmm:Flash .
 nmm:flash-off a nmm:Flash .
@@ -384,7 +385,8 @@ nmm:isoSpeed a rdf:Property ;
 
 nmm:MeteringMode a rdfs:Class ;
 	rdfs:label "Metering mode values" ;
-	rdfs:comment "Enumeration of different ways a camera determines exposure." .
+	rdfs:comment "Enumeration of different ways a camera determines exposure." ;
+	rdfs:subClassOf rdfs:Resource .
 
 nmm:metering-mode-average a nmm:MeteringMode .
 nmm:metering-mode-center-weighted-average a nmm:MeteringMode .
@@ -403,7 +405,8 @@ nmm:meteringMode a rdf:Property ;
 
 nmm:WhiteBalance a rdfs:Class ;
 	rdfs:label "White balance" ;
-	rdfs:comment "Camera's white balance setting" .
+	rdfs:comment "Camera's white balance setting" ;
+	rdfs:subClassOf rdfs:Resource .
 
 nmm:white-balance-auto a nmm:WhiteBalance .
 nmm:white-balance-manual a nmm:WhiteBalance .
@@ -464,7 +467,8 @@ nmm:AnalogRadio a rdfs:Class ;
 
 nmm:RadioModulation a rdfs:Class ;
  	rdfs:label "Radio modulation" ;
-	rdfs:comment "Set of instances for analog radio modulation".
+	rdfs:comment "Set of instances for analog radio modulation";
+	rdfs:subClassOf rdfs:Resource .
 
 nmm:radio-modulation-am a nmm:RadioModulation.
 nmm:radio-modulation-fm a nmm:RadioModulation.
diff --git a/data/ontologies/39-mto.ontology b/data/ontologies/39-mto.ontology
index d24f711..1332fc9 100644
--- a/data/ontologies/39-mto.ontology
+++ b/data/ontologies/39-mto.ontology
@@ -10,7 +10,7 @@
 
 mto: a tracker:Namespace, tracker:Ontology ;
     tracker:prefix "mto" ;
-    nao:lastModified "2010-02-16T11:00:00Z" .
+    nao:lastModified "2010-10-20T07:42:00Z" .
 
 mto:TransferElement a rdfs:Class ;
     rdfs:label "Transfer element" ;
@@ -96,7 +96,8 @@ mto:transferState a rdf:Property ;
     rdfs:range mto:State .
 
 mto:TransferMethod a rdfs:Class ;
-    rdfs:comment "Class with a restricted set of instances to enumarate transfer methods" .
+    rdfs:comment "Class with a restricted set of instances to enumarate transfer methods" ;
+    rdfs:subClassOf rdfs:Resource .
 
 mto:transfer-method-bluetooth a mto:TransferMethod .
 mto:transfer-method-web a mto:TransferMethod .



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]