[tracker/slo-onto: 4/12] MLO: Fixed maxCardinality and deprecated annotations



commit a80f959bb15e74a0a91c7650eb276ed73536162d
Author: Philip Van Hoof <philip codeminded be>
Date:   Tue Jan 11 11:10:20 2011 +0100

    MLO: Fixed maxCardinality and deprecated annotations

 data/ontologies/40-mlo.ontology |   66 +++++++++++++++++++++++++++++++++++++--
 1 files changed, 63 insertions(+), 3 deletions(-)
---
diff --git a/data/ontologies/40-mlo.ontology b/data/ontologies/40-mlo.ontology
index 09a4bd9..2fbd416 100644
--- a/data/ontologies/40-mlo.ontology
+++ b/data/ontologies/40-mlo.ontology
@@ -10,26 +10,31 @@
 
 mlo: a tracker:Namespace, tracker:Ontology ;
 	tracker:prefix "mlo" ;
-	nao:lastModified "2010-04-28T11:00:00Z" .
+	nao:deprecated true ;
+	nao:lastModified "2011-01-11T11:10:00Z" .
 
 mlo:GeoLocation a rdfs:Class ;
 	rdfs:label "Location" ;
 	rdfs:comment "A place in the space, can be defined by coordinates, text or box";
+	nao:deprecated true ;
 	rdfs:subClassOf nie:InformationElement.
 
 mlo:GeoPoint a rdfs:Class ;
 	rdfs:label "Point on the earth" ;
 	rdfs:comment "The inherited properties from InformationElement can be used to add details." ;
+	nao:deprecated true ;
 	rdfs:subClassOf nie:InformationElement .
 
 mlo:GeoSphere a rdfs:Class ;
 	rdfs:label "Spherical space" ;
 	rdfs:comment "Point and radius to define an area in the space";
+	nao:deprecated true ;
 	rdfs:subClassOf mlo:GeoPoint .
 
 mlo:GeoBoundingBox a rdfs:Class ;
 	rdfs:label "Bounding box";
 	rdfs:comment "Bounding box for a region in the space, defined with 2 points in 2D. We assume that the box is always aligned with parallels and meridians.";
+	nao:deprecated true ;
 	rdfs:subClassOf nie:InformationElement .
 
 mlo:LocationBoundingBox a rdfs:Class ;
@@ -37,26 +42,29 @@ mlo:LocationBoundingBox a rdfs:Class ;
 	nao:deprecated true ;
 	rdfs:subClassOf mlo:GeoBoundingBox .
 
-
 mlo:Route a rdfs:Class ;
 	rdfs:label "Minimum box containing all the points traversed in sequence." ;
+	nao:deprecated true ;
 	rdfs:subClassOf mlo:GeoBoundingBox .
 
-
 mlo:LandmarkCategory a rdfs:Class ;
 	rdfs:label "Landmark category";
 	rdfs:comment "Predefined set of instances for categories of landmarks";
+	nao:deprecated true ;
 	rdfs:subClassOf nie:InformationElement.
 
 mlo: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 mlo:LandmarkCategory ;
+	nrl:maxCardinality 1 ;
+	nao:deprecated true ;
 	rdfs:range xsd:boolean.
 
 mlo:Landmark a rdfs:Class ;
 	rdfs:label "Point with special relevance for the user" ;
 	rdfs:subClassOf nie:InformationElement ;
+	nao:deprecated true ;
 	rdfs:comment "Use the nie title, description, ... properties" .
 
 mlo:PointOfInterest a rdfs:Class ;
@@ -69,6 +77,7 @@ mlo:belongsToCategory a rdf:Property ;
 	rdfs:label "Belongs to category";
 	rdfs:comment "Relation of a landmark with a landmark category";
 	rdfs:domain mlo:Landmark ;
+	nao:deprecated true ;
 	rdfs:range mlo:LandmarkCategory .
 
 # Properties of GeoPoint
@@ -76,24 +85,32 @@ mlo:latitude a rdf:Property ;
 	rdfs:label "Latitude";
 	rdfs:comment "Positive values for the north hemisphere, negative for the south" ;
 	rdfs:domain mlo:GeoPoint ;
+	nrl:maxCardinality 1 ;
+	nao:deprecated true ;
 	rdfs:range  xsd:double .
 
 mlo: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 mlo:GeoPoint ;
+	nrl:maxCardinality 1 ;
+	nao:deprecated true ;
 	rdfs:range  xsd:double .
 
 mlo:altitude a rdf:Property ;
 	rdfs:label "Altitude" ;
 	rdfs:comment "Altitude following WGS 84 reference";
 	rdfs:domain mlo:GeoPoint ;
+	nrl:maxCardinality 1 ;
+	nao:deprecated true ;
 	rdfs:range  xsd:double .
 
 mlo:timestamp a rdf:Property ;
 	rdfs:label "Timestamp" ;
 	rdfs:comment "Timestamp when the geopoint is referenced. Create subproperties for certain use cases" ;
 	rdfs:domain mlo:GeoPoint ;
+	nrl:maxCardinality 1 ;
+	nao:deprecated true ;
 	rdfs:range xsd:dateTime .
 
 # Properties of LocationBoundingBox
@@ -101,53 +118,67 @@ mlo:boxSouthWestCorner a rdf:Property ;
 	rdfs:label "South-west corner of the bounding box" ;
 	rdfs:domain mlo:LocationBoundingBox ;
 	nao:deprecated true ;
+	nrl:maxCardinality 1 ;
 	rdfs:range  mlo:GeoPoint.
 
 mlo:boxEastLimit a rdf:Property ;
 	rdfs:label "Length of the box in the East direction" ;
 	rdfs:domain mlo:LocationBoundingBox ;
 	nao:deprecated true ;
+	nrl:maxCardinality 1 ;
 	rdfs:range mlo:GeoPoint.
 
 mlo:boxVerticalLimit a rdf:Property ;
 	rdfs:label "Length of the box in the Up direction (height)" ;
 	rdfs:domain mlo:LocationBoundingBox ;
 	nao:deprecated true ;
+	nrl:maxCardinality 1 ;
 	rdfs:range mlo:GeoPoint.
 
 mlo:boxNorthLimit a rdf:Property ;
 	rdfs:label "Length of the box in the North direction" ;
 	rdfs:domain mlo:LocationBoundingBox ;
 	nao:deprecated true ;
+	nrl:maxCardinality 1 ;
 	rdfs:range mlo:GeoPoint.
 
 mlo:bbNorthWest a rdf:Property ;
 	rdfs:label "North west corner";
 	rdfs:comment "North west corner of a bounding box. The GeoPoint is interpreted in 2D";
 	rdfs:domain mlo:GeoBoundingBox ;
+	nao:deprecated true ;
+	nrl:maxCardinality 1 ;
 	rdfs:range mlo:GeoPoint .
 
 mlo:bbSouthEast a rdf:Property ;
 	rdfs:label "South east corner";
 	rdfs:comment "South east corner of a bounding box. The GeoPoint is interpreted in 2D";
 	rdfs:domain mlo:GeoBoundingBox ;
+	nao:deprecated true ;
+	nrl:maxCardinality 1 ;
 	rdfs:range mlo:GeoPoint .
 
 # Properties of Route
 mlo:startTime a rdf:Property ;
 	rdfs:label "Time when the first point in the route was saved" ;
 	rdfs:domain mlo:Route ;
+	nrl:maxCardinality 1 ;
+	nao:deprecated true ;
 	rdfs:range  xsd:dateTime .
 
 mlo:endTime a rdf:Property ;
 	rdfs:label "Time when the last point in the route was saved" ;
 	rdfs:domain mlo:Route ;
+	nrl:maxCardinality 1 ;
+	nao:deprecated true ;
 	rdfs:range  xsd:dateTime .
 
 mlo:routeDetails a rdf:Property ;
 	rdfs:label "Pointer to a file containing route details (e.g. KML file)." ;
 	rdfs:comment "FIXME Domain can be resource if we handle map-files correctly in the ontology";
 	rdfs:domain mlo:Route ;
+	nrl:maxCardinality 1 ;
+	nao:deprecated true ;
 	rdfs:range  xsd:string .
 
 # Properties of GeoSphere
@@ -155,6 +186,8 @@ mlo: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 mlo:GeoSphere ;
+	nrl:maxCardinality 1 ;
+	nao:deprecated true ;
 	rdfs:range xsd:double .
 
 
@@ -165,6 +198,7 @@ mlo:location a rdf:Property ;
 	rdfs:comment "This can be subclassed to add semantics" ;
 	rdfs:domain nie:InformationElement ;
 	tracker:indexed true ;
+	nao:deprecated true ;
 	rdfs:range mlo:GeoLocation .
 
 # Properties of GeoLocation
@@ -173,6 +207,8 @@ mlo:asBoundingBox a rdf:Property ;
 	rdfs:comment "Representation of the location as bounding box" ;
 	tracker:indexed true ;
 	rdfs:domain mlo:GeoLocation ;
+	nrl:maxCardinality 1 ;
+	nao:deprecated true ;
 	rdfs:range mlo:GeoBoundingBox .
 
 mlo:asGeoPoint a rdf:Property ;
@@ -180,6 +216,8 @@ mlo:asGeoPoint a rdf:Property ;
 	rdfs:comment "Representation of the location as geo point" ;
 	tracker:indexed true ;
 	rdfs:domain mlo:GeoLocation ;
+	nrl:maxCardinality 1 ;
+	nao:deprecated true ;
 	rdfs:range mlo:GeoPoint .
 
 mlo:asPostalAddress a rdf:Property ;
@@ -187,6 +225,8 @@ mlo:asPostalAddress a rdf:Property ;
 	rdfs:comment "Representation of the location as text address" ;
 	tracker:indexed true ;
 	rdfs:domain mlo:GeoLocation ;
+	nrl:maxCardinality 1 ;
+	nao:deprecated true ;
 	rdfs:range nco:PostalAddress .
 
 # TODO: These are ad-hoc added by Philip to support writeback of locations
@@ -195,6 +235,7 @@ mlo:city a rdf:Property ;
 	rdfs:label "City" ;
 	nao:deprecated true;
 	rdfs:domain mlo:GeoPoint ;
+	nrl:maxCardinality 1 ;
 	rdfs:range  xsd:string .
 
 mlo:country a rdf:Property ;
@@ -202,6 +243,7 @@ mlo:country a rdf:Property ;
 	rdfs:label "Country" ;
 	nao:deprecated true ;
 	rdfs:domain mlo:GeoPoint ;
+	nrl:maxCardinality 1 ;
 	rdfs:range  xsd:string .
 
 mlo:state a rdf:Property ;
@@ -209,6 +251,7 @@ mlo:state a rdf:Property ;
 	rdfs:label "State" ;
 	nao:deprecated true ;
 	rdfs:domain mlo:GeoPoint ;
+	nrl:maxCardinality 1 ;
 	rdfs:range  xsd:string .
 
 mlo:address a rdf:Property ;
@@ -216,6 +259,7 @@ mlo:address a rdf:Property ;
 	rdfs:label "Address" ;
 	nao:deprecated true ;
 	rdfs:domain mlo:GeoPoint ;
+	nrl:maxCardinality 1 ;
 	rdfs:range  xsd:string .
 
 # Properties of Point of Interest
@@ -224,6 +268,7 @@ mlo:poiLocation a rdf:Property ;
 	rdfs:comment "Coordinates of the point (Use the mlo:location property inherited from IE" ;
 	nao:deprecated true;
 	rdfs:domain mlo:Landmark ;
+	nrl:maxCardinality 1 ;
 	rdfs:range mlo:GeoPoint .
 
 ###############################################
@@ -235,88 +280,103 @@ mlo:predefined-landmark-category-accommodation a mlo:LandmarkCategory ;
 	mlo:isRemovable false ;
 	nie:title "Accommodation";
 	nie:identifier "3000";
+	nao:deprecated true ;
 	nie:description "Hotel, Camping site".
 
 mlo:predefined-landmark-category-business a mlo:LandmarkCategory ;
 	mlo:isRemovable False ;
 	nie:title "Business";
 	nie:identifier "6000";
+	nao:deprecated true ;
 	nie:description "Bank, Factory, Office".
 
 mlo:predefined-landmark-category-communication a mlo:LandmarkCategory ;
 	mlo:isRemovable False ;
 	nie:title "Communication";
 	nie:identifier "9000";
+	nao:deprecated true ;
 	nie:description "Internet Access Point, Public Telephone, Wireless LAN Hot Spot".
 
 mlo:predefined-landmark-category-educational-institute a mlo:LandmarkCategory ;
 	mlo:isRemovable False ;
 	nie:title "Educational institute";
 	nie:identifier "12000";
+	nao:deprecated true ;
 	nie:description "School, College".
 
 mlo:predefined-landmark-category-entertainment a mlo:LandmarkCategory ;
 	mlo:isRemovable False ;
 	nie:title "Entertainment";
 	nie:identifier "15000";
+	nao:deprecated true ;
 	nie:description "Amusement park, Cinema, Concert hall, Night club".
 
 mlo:predefined-landmark-category-food-beverage a mlo:LandmarkCategory ;
 	mlo:isRemovable False ;
 	nie:title "Food & Beverage";
 	nie:identifier "18000";
+	nao:deprecated true ;
 	nie:description "Fast food, Restaurant, Café, Bar".
 
 mlo:predefined-landmark-category-geographical-area a mlo:LandmarkCategory ;
 	mlo:isRemovable False ;
 	nie:title "Geographical area";
 	nie:identifier "21000";
+	nao:deprecated true ;
 	nie:description "City, City center, Town".
 
 mlo:predefined-landmark-category-outdoor-activities a mlo:LandmarkCategory ;
 	mlo:isRemovable False ;
 	nie:title "Outdoor activities";
 	nie:identifier "24000";
+	nao:deprecated true ;
 	nie:description "Camping site, Fishing place, Hunting, National park, Playground".
 
 mlo:predefined-landmark-category-people a mlo:LandmarkCategory ;
 	mlo:isRemovable False ;
 	nie:title "People";
 	nie:identifier "27000";
+	nao:deprecated true ;
 	nie:description "My home, My friends home, Fathers summer cottage, Childs school".
 
 mlo:predefined-landmark-category-public-service a mlo:LandmarkCategory ;
 	mlo:isRemovable False ;
 	nie:title "Public service";
 	nie:identifier "30000";
+	nao:deprecated true ;
 	nie:description "Tourist information office, Government office, Library, Post office, Hospital, Police ".
 
 mlo:predefined-landmark-category-religious-places a mlo:LandmarkCategory ;
 	mlo:isRemovable False ;
 	nie:title "Religious places";
 	nie:identifier "33000";
+	nao:deprecated true ;
 	nie:description "Church, Mosque".
 
 mlo:predefined-landmark-category-shopping a mlo:LandmarkCategory ;
 	mlo:isRemovable False ;
 	nie:title "Shopping";
 	nie:identifier "36000";
+	nao:deprecated true ;
 	nie:description "Market Place, Pharmacy, Shop, Shopping Center".
 
 mlo:predefined-landmark-category-sightseeing a mlo:LandmarkCategory ;
 	mlo:isRemovable False ;
 	nie:title "Sightseeing";
 	nie:identifier "39000";
+	nao:deprecated true ;
 	nie:description "Monument, Mountain top, Museum".
 
 mlo:predefined-landmark-category-sports a mlo:LandmarkCategory ;
 	mlo:isRemovable False ;
 	nie:title "Sports";
 	nie:identifier "42000";
+	nao:deprecated true ;
 	nie:description "Bowling, Golf course, Ice hockey hall, Stadium".
 
 mlo:predefined-landmark-category-transport a mlo:LandmarkCategory ;
 	mlo:isRemovable False ;
 	nie:title "Transport";
 	nie:identifier "45000";
+	nao:deprecated true ;
 	nie:description "Airport, Bus stop, Harbour, Railway Station, Rest area".



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