From a1ebd0591d90c094a5f483c1e2bba5c579274d60 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rau=CC=81l=20Garci=CC=81a=20Castro?= Date: Thu, 2 Apr 2020 12:44:28 +0200 Subject: [PATCH 1/3] Fixed the geo:location property. Closes #4. --- ontology/saref4city.ttl | 29 +++-------------------------- 1 file changed, 3 insertions(+), 26 deletions(-) diff --git a/ontology/saref4city.ttl b/ontology/saref4city.ttl index 609139a..274feae 100644 --- a/ontology/saref4city.ttl +++ b/ontology/saref4city.ttl @@ -79,7 +79,9 @@ geo:lat a rdf:Property ; # # http://www.w3.org/2003/01/geo/wgs84_pos#location -geo:location a rdf:Property . +geo:location a rdf:Property ; + rdfs:comment "The relation between something and the point, or other geometrical thing in space, where it is. For example, the realtionship between a radio tower and a Point with a given lat and long. Or a relationship between a park and its outline as a closed arc of points, or a road and its location as a arc (a sequence of points). Clearly in practice there will be limit to the accuracy of any such statement, but one would expect an accuracy appropriate for the size of the object and uses such as mapping ." ; + rdfs:label "location" . # # http://www.w3.org/2003/01/geo/wgs84_pos#long @@ -140,10 +142,6 @@ geosp:sfWithin a owl:ObjectProperty ; rdfs:isDefinedBy ; rdfs:label "within"@en . # -# http://www.w3.org/2003/01/geo/wgs84_pos#location - -geo:location a owl:ObjectProperty . -# # https://saref.etsi.org/saref4city/assesses s4city:assesses a owl:ObjectProperty ; @@ -793,24 +791,3 @@ saref:UnitOfMeasure a owl:Class ; rdfs:comment "The unit of measure is a standard for measurement of a quantity, such as a Property. For example, Power is a property and Watt is a unit of power that represents a definite predetermined power: when we say 10 Watt, we actually mean 10 times the definite predetermined power called \"watt\". Our definition is based on the definition of unit of measure in the Ontology of units of Measure (OM). We propose here a list of some units of measure that are relevant for the purpose of the Smart Appliances ontology, but this list can be extended."@en ; rdfs:isDefinedBy ; rdfs:label "Unit of measure"@en . -# -# -# -# ################################################################# -# # -# # Annotations -# # -# ################################################################# -# -# - -geo:location rdfs:comment """The relation between something and the point, - or other geometrical thing in space, where it is. For example, the realtionship between - a radio tower and a Point with a given lat and long. - Or a relationship between a park and its outline as a closed arc of points, or a road and - its location as a arc (a sequence of points). - Clearly in practice there will be limit to the accuracy of any such statement, but one would expect - an accuracy appropriate for the size of the object and uses such as mapping . - """ ; - rdfs:label "location"@en . - -- GitLab From a4ec307114ecb8aece71a3b7745edc94b037357a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mar=C3=ADa?= Date: Mon, 13 Apr 2020 14:24:08 +0200 Subject: [PATCH 2/3] Change geo properties to owl:ObjectProperty and owl:DatatypeProperty --- ontology/saref4city.ttl | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/ontology/saref4city.ttl b/ontology/saref4city.ttl index 274feae..b389c9e 100644 --- a/ontology/saref4city.ttl +++ b/ontology/saref4city.ttl @@ -65,27 +65,27 @@ vann:preferredNamespaceUri a owl:AnnotationProperty . # # http://www.w3.org/2003/01/geo/wgs84_pos#alt -geo:alt a rdf:Property ; +geo:alt a owl:DatatypeProperty ; rdfs:comment "The WGS84 altitude of a SpatialThing (decimal meters above the local reference ellipsoid)." ; rdfs:label "altitude" ; rdfs:domain geo:SpatialThing . # # http://www.w3.org/2003/01/geo/wgs84_pos#lat -geo:lat a rdf:Property ; +geo:lat a owl:DatatypeProperty ; rdfs:comment "The WGS84 latitude of a SpatialThing (decimal degrees)." ; rdfs:label "latitude" ; rdfs:domain geo:SpatialThing . # # http://www.w3.org/2003/01/geo/wgs84_pos#location -geo:location a rdf:Property ; +geo:location a owl:ObjectProperty ; rdfs:comment "The relation between something and the point, or other geometrical thing in space, where it is. For example, the realtionship between a radio tower and a Point with a given lat and long. Or a relationship between a park and its outline as a closed arc of points, or a road and its location as a arc (a sequence of points). Clearly in practice there will be limit to the accuracy of any such statement, but one would expect an accuracy appropriate for the size of the object and uses such as mapping ." ; rdfs:label "location" . # # http://www.w3.org/2003/01/geo/wgs84_pos#long -geo:long a rdf:Property ; +geo:long a owl:DatatypeProperty ; rdfs:comment "The WGS84 longitude of a SpatialThing (decimal degrees)." ; rdfs:label "longitude" ; rdfs:domain geo:SpatialThing . -- GitLab From 7c72fbce79bf6567bc8faae7366ef4ee388d457c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mar=C3=ADa?= Date: Mon, 13 Apr 2020 15:05:06 +0200 Subject: [PATCH 3/3] moved geo properties declaration to object properties and datatype properties location in the file --- ontology/saref4city.ttl | 55 ++++++++++++++++++++++------------------- 1 file changed, 29 insertions(+), 26 deletions(-) diff --git a/ontology/saref4city.ttl b/ontology/saref4city.ttl index b389c9e..e24d66b 100644 --- a/ontology/saref4city.ttl +++ b/ontology/saref4city.ttl @@ -63,32 +63,6 @@ vann:preferredNamespacePrefix a owl:AnnotationProperty . vann:preferredNamespaceUri a owl:AnnotationProperty . # -# http://www.w3.org/2003/01/geo/wgs84_pos#alt - -geo:alt a owl:DatatypeProperty ; - rdfs:comment "The WGS84 altitude of a SpatialThing (decimal meters above the local reference ellipsoid)." ; - rdfs:label "altitude" ; - rdfs:domain geo:SpatialThing . -# -# http://www.w3.org/2003/01/geo/wgs84_pos#lat - -geo:lat a owl:DatatypeProperty ; - rdfs:comment "The WGS84 latitude of a SpatialThing (decimal degrees)." ; - rdfs:label "latitude" ; - rdfs:domain geo:SpatialThing . -# -# http://www.w3.org/2003/01/geo/wgs84_pos#location - -geo:location a owl:ObjectProperty ; - rdfs:comment "The relation between something and the point, or other geometrical thing in space, where it is. For example, the realtionship between a radio tower and a Point with a given lat and long. Or a relationship between a park and its outline as a closed arc of points, or a road and its location as a arc (a sequence of points). Clearly in practice there will be limit to the accuracy of any such statement, but one would expect an accuracy appropriate for the size of the object and uses such as mapping ." ; - rdfs:label "location" . -# -# http://www.w3.org/2003/01/geo/wgs84_pos#long - -geo:long a owl:DatatypeProperty ; - rdfs:comment "The WGS84 longitude of a SpatialThing (decimal degrees)." ; - rdfs:label "longitude" ; - rdfs:domain geo:SpatialThing . # # # @@ -297,6 +271,15 @@ saref:relatesToMeasurement a owl:ObjectProperty ; saref:relatesToProperty a owl:ObjectProperty ; rdfs:isDefinedBy ; rdfs:label "relates to property"@en . + + +# http://www.w3.org/2003/01/geo/wgs84_pos#location + +geo:location a owl:ObjectProperty ; + rdfs:comment "The relation between something and the point, or other geometrical thing in space, where it is. For example, the realtionship between a radio tower and a Point with a given lat and long. Or a relationship between a park and its outline as a closed arc of points, or a road and its location as a arc (a sequence of points). Clearly in practice there will be limit to the accuracy of any such statement, but one would expect an accuracy appropriate for the size of the object and uses such as mapping ." ; + rdfs:label "location" . +# + # # # @@ -348,6 +331,26 @@ saref:hasTimestamp a owl:DatatypeProperty ; saref:hasValue a owl:DatatypeProperty ; rdfs:isDefinedBy ; rdfs:label "has value"@en . +# http://www.w3.org/2003/01/geo/wgs84_pos#alt + +geo:alt a owl:DatatypeProperty ; + rdfs:comment "The WGS84 altitude of a SpatialThing (decimal meters above the local reference ellipsoid)." ; + rdfs:label "altitude" ; + rdfs:domain geo:SpatialThing . +# +# http://www.w3.org/2003/01/geo/wgs84_pos#lat + +geo:lat a owl:DatatypeProperty ; + rdfs:comment "The WGS84 latitude of a SpatialThing (decimal degrees)." ; + rdfs:label "latitude" ; + rdfs:domain geo:SpatialThing . +# +# http://www.w3.org/2003/01/geo/wgs84_pos#long + +geo:long a owl:DatatypeProperty ; + rdfs:comment "The WGS84 longitude of a SpatialThing (decimal degrees)." ; + rdfs:label "longitude" ; + rdfs:domain geo:SpatialThing . # # # -- GitLab