[tracker/roi-png-fix: 4/14] NFO: Add cardinality restrictions to the properties
- From: Mikael Ottela <mottela src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/roi-png-fix: 4/14] NFO: Add cardinality restrictions to the properties
- Date: Fri, 9 Sep 2011 14:18:11 +0000 (UTC)
commit 9ebdc63be7244f806fdce28ebb45057463bc647a
Author: Ivan Frade <ivan frade gmail com>
Date: Mon Jul 25 18:57:44 2011 +0300
NFO: Add cardinality restrictions to the properties
data/ontologies/33-nfo.ontology | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/data/ontologies/33-nfo.ontology b/data/ontologies/33-nfo.ontology
index 033b9e6..eeca12a 100644
--- a/data/ontologies/33-nfo.ontology
+++ b/data/ontologies/33-nfo.ontology
@@ -985,24 +985,28 @@ nfo:RegionOfInterest a rdfs:Class;
nfo:regionOfInterestX a rdf:Property;
rdfs:label "Region of interest X";
rdfs:comment "Coordinate X where the region starts. It is normalized (values between 0 and 1) to the width of the picture. Starting in the upper left corner.";
+ nrl:maxCardinality 1 ;
rdfs:domain nfo:RegionOfInterest ;
rdfs:range xsd:double.
nfo:regionOfInterestY a rdf:Property;
rdfs:label "Region of interest Y";
rdfs:comment "Coordinate y where the region starts. It is normalized (values between 0 and 1) to the height of the picture. Starting in the upper left corner.";
+ nrl:maxCardinality 1 ;
rdfs:domain nfo:RegionOfInterest ;
rdfs:range xsd:double.
nfo:regionOfInterestWidth a rdf:Property;
rdfs:label "Region of interest width";
rdfs:comment "Width of the region. It is normalized (values between 0 and 1) to the total width of the picture.";
+ nrl:maxCardinality 1 ;
rdfs:domain nfo:RegionOfInterest ;
rdfs:range xsd:double.
nfo:regionOfInterestHeight a rdf:Property;
rdfs:label "Region of interest height";
rdfs:comment "Height of the region. It is normalized (values between 0 and 1) to the total height of the picture.";
+ nrl:maxCardinality 1 ;
rdfs:domain nfo:RegionOfInterest ;
rdfs:range xsd:double.
@@ -1020,6 +1024,7 @@ nfo:roi-content-undefined a nfo:RegionOfInterestContent .
nfo:regionOfInterestType a rdf:Property;
rdfs:label "Region of interest type";
rdfs:comment "The content of a region can be one of the predefined types in the spec";
+ nrl:maxCardinality 1 ;
rdfs:domain nfo:RegionOfInterest ;
rdfs:range nfo:RegionOfInterestContent .
@@ -1032,6 +1037,7 @@ nfo:hasRegionOfInterest a rdf:Property;
nfo:roiRefersTo a rdf:Property;
rdfs:label "Region of interest refers to" ;
rdfs:comment "Link to an item that is represented in the region. The 'type' of the region can give a clue of what exact content is linked in this property";
+ nrl:maxCardinality 1 ;
rdfs:domain nfo:RegionOfInterest ;
rdfs:range nie:InformationElement.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]