[tracker/slo-onto: 3/11] SLO: Fixed maxCardinality of some properties



commit 53688631acd83cf5745a60234d9e6ff6a6c425f5
Author: Philip Van Hoof <philip codeminded be>
Date:   Tue Jan 11 11:04:03 2011 +0100

    SLO: Fixed maxCardinality of some properties

 data/ontologies/92-slo.ontology |   21 +++++++++++++++++++--
 1 files changed, 19 insertions(+), 2 deletions(-)
---
diff --git a/data/ontologies/92-slo.ontology b/data/ontologies/92-slo.ontology
index 03a9267..9b9c7b1 100644
--- a/data/ontologies/92-slo.ontology
+++ b/data/ontologies/92-slo.ontology
@@ -10,7 +10,7 @@
 
 slo: a tracker:Namespace, tracker:Ontology ;
 	tracker:prefix "slo" ;
-	nao:lastModified "2010-11-25T11:12:00Z" .
+	nao:lastModified "2011-01-11T11:05:00Z" .
 	
 slo:LandmarkCategory a rdfs:Class ;
 	rdfs:label "Landmark category";
@@ -22,12 +22,14 @@ slo:isRemovable a rdf:Property ;
 	rdfs:label "Is removable";
 	rdfs:comment "Flag to indicate if this instance is removable. This restriction is not enforced by tracker; it is API responsability to honor the value";
 	rdfs:domain slo:LandmarkCategory ;
+	nrl:maxCardinality 1 ;
 	rdfs:range xsd:boolean.
 
 slo:categoryIconUrl a rdf:Property ;
 	rdfs:label "Landmark category icon" ;
 	rdfs:comment "Url of the icon that corresponds to this category." ;
 	rdfs:domain slo:LandmarkCategory ;
+	nrl:maxCardinality 1 ;
 	rdfs:range rdfs:Resource .
 
 slo:Landmark a rdfs:Class ;
@@ -52,6 +54,7 @@ slo:iconUrl a rdf:Property ;
 	rdfs:label "Landmark icon" ;
 	rdfs:comment "Url of the icon that corresponds to this landmark." ;
 	rdfs:domain slo:Landmark ;
+	nrl:maxCardinality 1 ;
 	rdfs:range rdfs:Resource .
 
 slo:GeoLocation a rdfs:Class ;
@@ -65,66 +68,77 @@ slo:latitude a rdf:Property ;
 	rdfs:label "Latitude";
 	rdfs:comment "Positive values for the north hemisphere, negative for the south" ;
 	rdfs:domain slo:GeoLocation ;
+	nrl:maxCardinality 1 ;
 	rdfs:range  xsd:double .
 
 slo:longitude a rdf:Property ;
 	rdfs:label "Longitude" ;
 	rdfs:comment "Positive to the East of the Greenwich meridian, negative to the West (following WGS-84)" ;
 	rdfs:domain slo:GeoLocation ;
+	nrl:maxCardinality 1 ;
 	rdfs:range  xsd:double .
 
 slo:verticalAccuracy a rdf:Property ;
 	rdfs:label "Latitude";
 	rdfs:comment "Represents the error estimate of vertical (earths-surface) accuracy in meters." ;
 	rdfs:domain slo:GeoLocation ;
+	nrl:maxCardinality 1 ;
 	rdfs:range  xsd:double .
 
 slo:horizontalAccuracy a rdf:Property ;
 	rdfs:label "Longitude" ;
 	rdfs:comment "Represents the error estimate of horizontal (earths-surface) accuracy in meters." ;
 	rdfs:domain slo:GeoLocation ;
+	nrl:maxCardinality 1 ;
 	rdfs:range  xsd:double .
 
 slo:altitude a rdf:Property ;
 	rdfs:label "Altitude" ;
 	rdfs:comment "Altitude following WGS 84 reference";
 	rdfs:domain slo:GeoLocation ;
+	nrl:maxCardinality 1 ;
 	rdfs:range  xsd:double .
 
 slo:boundingLatitudeMin a rdf:Property ;
 	rdfs:label "Latitude";
 	rdfs:comment "Southern latitude of the bounding box" ;
 	rdfs:domain slo:GeoLocation ;
+	nrl:maxCardinality 1 ;
 	rdfs:range  xsd:double .
 
 slo:boundingLatitudeMax a rdf:Property ;
 	rdfs:label "Latitude";
 	rdfs:comment "Northern latitude of the bounding box" ;
 	rdfs:domain slo:GeoLocation ;
+	nrl:maxCardinality 1 ;
 	rdfs:range  xsd:double .
 
 slo:boundingLongitudeMin a rdf:Property ;
 	rdfs:label "Longitude" ;
 	rdfs:comment "Western longitude of the bounding box" ;
 	rdfs:domain slo:GeoLocation ;
+	nrl:maxCardinality 1 ;
 	rdfs:range  xsd:double .
 
 slo:boundingLongitudeMax a rdf:Property ;
 	rdfs:label "Longitude" ;
 	rdfs:comment "Eastern longitude of the bounding box" ;
 	rdfs:domain slo:GeoLocation ;
+	nrl:maxCardinality 1 ;
 	rdfs:range  xsd:double .
-	
+
 slo:radius a rdf:Property ;
 	rdfs:label "Radius";
 	rdfs:comment "Radius from the center to define an area. Some applications can use it in 2D sense, making then a circle instead of a sphere" ;
 	rdfs:domain slo:GeoLocation ;
+	nrl:maxCardinality 1 ;
 	rdfs:range xsd:double .
 
 slo:timestamp a rdf:Property ;
 	rdfs:label "Timestamp" ;
 	rdfs:comment "Timestamp when the geolocation is referenced. Create subproperties for certain use cases" ;
 	rdfs:domain slo:GeoLocation ;
+	nrl:maxCardinality 1 ;
 	rdfs:range xsd:dateTime .
 
 slo:postalAddress a rdf:Property ;
@@ -132,6 +146,7 @@ slo:postalAddress a rdf:Property ;
 	rdfs:comment "Representation of the location as text address" ;
 	tracker:indexed true ;
 	rdfs:domain slo:GeoLocation ;
+	nrl:maxCardinality 1 ;
 	rdfs:range nco:PostalAddress .
 
 # FIXME Domain rdfs:Resource?? to link files and not only content?
@@ -153,11 +168,13 @@ slo:Route a rdfs:Class ;
 slo:startTime a rdf:Property ;
 	rdfs:label "Time when the first point in the route was saved" ;
 	rdfs:domain slo:Route ;
+	nrl:maxCardinality 1 ;
 	rdfs:range  xsd:dateTime .
 
 slo:endTime a rdf:Property ;
 	rdfs:label "Time when the last point in the route was saved" ;
 	rdfs:domain slo:Route ;
+	nrl:maxCardinality 1 ;
 	rdfs:range  xsd:dateTime .
 
 slo:routeDetails a rdf:Property ;



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