[tracker/tracker-0.10] NFO: Add cardinality restrictions to the properties
- From: Martyn James Russell <mr src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/tracker-0.10] NFO: Add cardinality restrictions to the properties
- Date: Thu, 8 Sep 2011 12:52:25 +0000 (UTC)
commit b97ef9f2e5549e20a14be4658265a226dec18641
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 480291d..19c8c62 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,5 +1037,6 @@ 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]