[tracker] Added image ontology



commit 543d6fce8c0929e0dc2a4b3cd12acff967d945f6
Author: Philip Van Hoof <philip codeminded be>
Date:   Thu Apr 16 10:38:06 2009 +0200

    Added image ontology
---
 data/ontologies/33-nfo.ontology |   31 ++++++++++++++
 data/ontologies/38-nmm.ontology |   86 +++++++++++++++++++++++++++++++++++++++
 2 files changed, 117 insertions(+), 0 deletions(-)

diff --git a/data/ontologies/33-nfo.ontology b/data/ontologies/33-nfo.ontology
index af56503..e54f831 100644
--- a/data/ontologies/33-nfo.ontology
+++ b/data/ontologies/33-nfo.ontology
@@ -785,3 +785,34 @@ nfo:softwareCmdLine a rdf:Property ;
 	nrl:maxCardinality 1 ;
 	rdfs:domain nfo:Software ;
 	rdfs:range xsd:string .
+
+# Also added 
+
+nfo:Orientation a rdfs:Class ;
+	rdfs:label "Orientation enum" ;
+	rdfs:comment "Orientation enum" .
+
+nfo:orientation-top a nfo:Orientation .
+nfo:orientation-top-mirror a nfo:Orientation .
+nfo:orientation-bottom a nfo:Orientation .
+nfo:orientation-bottom-mirror a nfo:Orientation .
+nfo:orientation-left-mirror a nfo:Orientation .
+nfo:orientation-right a nfo:Orientation .
+nfo:orientation-right-mirror a nfo:Orientation .
+nfo:orientation-left a nfo:Orientation .
+
+nfo:orientation a rdf:Property ;
+	rdfs:domain nfo:Image ;
+	rdfs:range nfo:Orientation .
+
+ prefix poi: <http://www.tracker-project.org/ontologies/poi#> .
+
+poi: a tracker:Namespace ;
+	tracker:prefix "poi" .
+
+# TDB
+poi:ObjectOfInterest a rdfs:Class .
+
+nfo:depicts a rdf:Property ;
+	rdfs:domain nfo:Image ;
+	rdfs:range poi:ObjectOfInterest .
diff --git a/data/ontologies/38-nmm.ontology b/data/ontologies/38-nmm.ontology
index dceaba0..87fb56a 100644
--- a/data/ontologies/38-nmm.ontology
+++ b/data/ontologies/38-nmm.ontology
@@ -254,3 +254,89 @@ nmm:isContentEncrypted a rdf:Property ;
 	rdfs:domain nmm:Video ;
 	rdfs:range xsd:boolean .
 
+
+## Image ontology
+
+nmm:ImageList a rdfs:Class ;
+	rdfs:subClassOf nfo:MediaList ; 
+	rdfs:label "Image album" ;
+	rdfs:comment "An album of images" .
+
+nmm:Photo a rdfs:Class ;
+	rdfs:subClassOf nfo:Image ;
+	rdfs:label "Photo" ;
+	rdfs:comment "A photo" .
+
+# Properties
+# Photo location is waiting for the Location ontology
+
+nmm:camera a rdf:Property ;
+	rdfs:label "Camera" ;
+	rdfs:comment "The maker and model of the camera used to take the photograph" ;
+	rdfs:domain nmm:Photo ;
+	rdfs:range xsd:string .
+
+nmm:exposureTime a rdf:Property ;
+	rdfs:label "Exposure time" ;
+	rdfs:comment "Exposure time of the photo" ;
+	rdfs:domain nmm:Photo ;
+	rdfs:range xsd:integer .
+
+nmm:Flash a rdfs:Class ;
+	rdfs:label "Flash values" ;
+	rdfs:comment "Enumeration of the possible values of flash property" .
+
+nmm:flash-on a nmm:Flash .
+nmm:flash-off a nmm:Flash .
+
+nmm:flash a rdf:Property ;
+	rdfs:label "Flash" ;
+	rdfs:comment "Specifies whether flash was used" ;
+	rdfs:domain nmm:Photo ;
+	rdfs:range nmm:Flash .
+
+nmm:fnumber a rdf:Property ;
+	rdfs:label "F number" ;
+	rdfs:comment "The diameter of the entrance pupil in terms of the focal length of the lens" ;
+	rdfs:domain nmm:Photo ;
+	rdfs:range xsd:double .
+
+nmm:focalLength a rdf:Property ;
+	rdfs:label "Focal length" ;
+	rdfs:comment "A measure of how strongly the lens converges light" ;
+	rdfs:domain nmm:Photo ;
+	rdfs:range xsd:double .
+
+nmm:isoSpeed a rdf:Property ;
+	rdfs:label "ISO speed" ;
+	rdfs:comment "Measure of a photographic film's sensitivity to light as ISO value" ;
+	rdfs:domain nmm:Photo ;
+	rdfs:range xsd:double .
+
+nmm:MeteringMode a rdfs:Class ;
+	rdfs:label "Metering mode values" ;
+	rdfs:comment "Enumeration of different ways a camera determines exposure." .
+
+nmm:meteringMode-average a nmm:MeteringMode .
+nmm:meteringMode-center-weighted-average a nmm:MeteringMode .
+nmm:meteringMode-spot a nmm:MeteringMode .
+nmm:meteringMode-multispot a nmm:MeteringMode .
+nmm:meteringMode-pattern a nmm:MeteringMode .
+nmm:meteringMode-partial a nmm:MeteringMode .
+nmm:meteringMode-other a nmm:MeteringMode .
+
+nmm:meteringMode a rdf:Property ;
+	rdfs:comment "Metering mode refers to the way in which a camera determines the exposure." ;
+	rdfs:domain nmm:Photo ;
+	rdfs:range nmm:MeteringMode .
+
+nmm:WhiteBalance a rdfs:Class ;
+	rdfs:label "White balance" ;
+	rdfs:comment "Camera's white balance setting" .
+
+nmm:whiteBalance-auto a nmm:WhiteBalance .
+nmm:whiteBalance-manual a nmm:WhiteBalance .
+
+nmm:whiteBalance a rdf:Property ;
+	rdfs:domain nmm:Photo ;
+	rdfs:range nmm:WhiteBalance .



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