saref4agri.ttl 33.1 KB
Newer Older
María's avatar
María committed
@prefix : <https://w3id.org/def/saref4bldg#> .
@prefix dc: <http://purl.org/dc/elements/1.1/> .
@prefix geo: <http://www.w3.org/2003/01/geo/wgs84_pos#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix xml: <http://www.w3.org/XML/1998/namespace> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
@prefix cpsv: <http://purl.org/vocab/cpsv#> .
@prefix prov: <http://www.w3.org/ns/prov#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix time: <http://www.w3.org/2006/time#> .
@prefix vann: <http://purl.org/vocab/vann/> .
@prefix geosp: <http://www.opengis.net/ont/geosparql#> .
@prefix saref: <https://w3id.org/saref#> .
@prefix s4agri: <https://w3id.org/def/saref4agri#> .
@prefix s4city: <https://w3id.org/def/saref4city#> .
@prefix dcterms: <http://purl.org/dc/terms/> .

<https://w3id.org/def/saref4agri> a owl:Ontology ;
	owl:versionIRI <https://w3id.org/def/v1/saref4agri> ;
	owl:versionInfo "0.1"^^xsd:decimal ;
	dc:contributor <http://w3id.org/people/mpoveda> ;
	vann:preferredNamespaceUri "https://w3id.org/def/saref4agri#" ;
	vann:preferredNamespacePrefix "s4agri" ;
	dcterms:license <http://purl.org/NET/rdflicense/cc-by4.0> ;
	dc:title "SAREF extension for Agriculture"@en ;
	dc:description "This ontology extends the SAREF ontology for the Agricultural domain. This work has been developed in the context of the STF 534 (https://portal.etsi.org/STF/STFs/STFHomePages/STF534.aspx), which was established with the goal to create three SAREF extensions, one of them for the Agricultural domain."@en .
# 
# 
# #################################################################
# #
# #    Annotation properties
# #
# #################################################################
# 
# 
# http://purl.org/dc/elements/1.1/contributor

dc:contributor a owl:AnnotationProperty .
# 
# http://purl.org/dc/elements/1.1/creator

dc:creator a owl:AnnotationProperty .
# 
# http://purl.org/dc/elements/1.1/date

dc:date a owl:AnnotationProperty .
# 
# http://purl.org/dc/elements/1.1/description

dc:description a owl:AnnotationProperty .
# 
# http://purl.org/dc/elements/1.1/title

dc:title a owl:AnnotationProperty .
# 
# http://purl.org/vocab/vann/preferredNamespacePrefix

vann:preferredNamespacePrefix a owl:AnnotationProperty .
# 
# http://purl.org/vocab/vann/preferredNamespaceUri

vann:preferredNamespaceUri a owl:AnnotationProperty .
# 
# http://www.w3.org/2003/01/geo/wgs84_pos#alt

geo:alt a owl:AnnotationProperty ;
	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:AnnotationProperty ;
	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:AnnotationProperty ;
	rdfs:subPropertyOf <http://xmlns.com/foaf/0.1/based_near> .
# 
# http://www.w3.org/2003/01/geo/wgs84_pos#long

geo:long a owl:AnnotationProperty ;
	rdfs:comment "The WGS84 longitude of a SpatialThing (decimal degrees)." ;
	rdfs:label "longitude" ;
	rdfs:domain geo:SpatialThing .
# 
# http://www.w3.org/2004/02/skos/core#definition

<http://www.w3.org/2004/02/skos/core#definition> a owl:AnnotationProperty .
# 
# http://www.w3.org/2004/02/skos/core#prefLabel

<http://www.w3.org/2004/02/skos/core#prefLabel> a owl:AnnotationProperty .
# 
# http://www.w3.org/ns/prov#hadPrimarySource

prov:hadPrimarySource a owl:AnnotationProperty .
# 
# http://xmlns.com/foaf/0.1/based_near

<http://xmlns.com/foaf/0.1/based_near> a owl:AnnotationProperty .
# 
# 
# 
# #################################################################
# #
# #    Datatypes
# #
# #################################################################
# 
# 
# http://www.w3.org/2001/XMLSchema#date

xsd:date a rdfs:Datatype .
# 
# http://www.w3.org/2001/XMLSchema#duration

xsd:duration a rdfs:Datatype .
# 
# 
# 
# #################################################################
# #
# #    Object Properties
# #
# #################################################################
# 
# 
# http://www.opengis.net/ont/geosparql#hasGeometry

geosp:hasGeometry a owl:ObjectProperty ;
	rdfs:domain geosp:Feature ;
	rdfs:range geosp:Geometry ;
	rdfs:comment "A spatial representation for a given feature."@en ;
	rdfs:isDefinedBy <http://www.opengis.net/ont/geosparql> , <http://www.opengis.net/ont/geosparql#> , <http://www.opengis.net/spec/geosparql/1.0> ;
	rdfs:label "has geometry"@en .
# 
# http://www.opengis.net/ont/geosparql#sfContains

geosp:sfContains a owl:ObjectProperty ;
	rdfs:domain geosp:SpatialObject ;
	rdfs:range geosp:SpatialObject ;
	rdfs:comment "Exists if the subject SpatialObject spatially contains the object SpatialObject. DE-9IM: T*****FF*"@en ;
	rdfs:isDefinedBy <http://www.opengis.net/ont/geosparql> , <http://www.opengis.net/spec/geosparql/1.0> ;
	rdfs:label "contains"@en .
# 
# http://www.opengis.net/ont/geosparql#sfWithin

geosp:sfWithin a owl:ObjectProperty ;
	rdfs:domain geosp:SpatialObject ;
	rdfs:range geosp:SpatialObject ;
	rdfs:comment "Exists if the subject SpatialObject is spatially within the object SpatialObject. DE-9IM: T*F**F***"@en ;
	rdfs:isDefinedBy <http://www.opengis.net/ont/geosparql> , <http://www.opengis.net/spec/geosparql/1.0> ;
	rdfs:label "within"@en .
# 
# http://www.w3.org/2003/01/geo/wgs84_pos#location

geo:location a owl:ObjectProperty .
# 
María's avatar
María committed
# https://w3id.org/def/saref4agri#deployedOnPlatform

s4agri:deployedOnPlatform a owl:ObjectProperty ;
	owl:inverseOf s4agri:inDeployment ;
María's avatar
María committed
	rdfs:comment "Relation between a deployment and the platform(s) involved in the deployment."@en ;
María's avatar
María committed
	rdfs:label "deployed on platform"@en .
# 
# https://w3id.org/def/saref4agri#deployedSystem

s4agri:deployedSystem a owl:ObjectProperty ;
	owl:inverseOf s4agri:hasDeployment ;
María's avatar
María committed
	rdfs:comment "Relation between a deployment and the system deployed."@en ;
María's avatar
María committed
	rdfs:label "deployed system"@en .
# 
# https://w3id.org/def/saref4agri#fromNode

s4agri:fromNode a owl:ObjectProperty ;
María's avatar
María committed
	rdfs:comment "Origin node in directed communications."@en ;
	rdfs:label "from node"@en .
# 
# https://w3id.org/def/saref4agri#hasConstituent

s4agri:hasConstituent a owl:ObjectProperty ;
	owl:inverseOf s4agri:isConstituentOf ;
María's avatar
María committed
	rdfs:comment "Relation between a network and its constituents systems."@en ;
	rdfs:label "has constituent"@en .
# 
María's avatar
María committed
# https://w3id.org/def/saref4agri#hasDeployment

s4agri:hasDeployment a owl:ObjectProperty ;
	rdfs:label "has deployment"@en .
# 
# https://w3id.org/def/saref4agri#hasDeploymentPeriod

s4agri:hasDeploymentPeriod a owl:ObjectProperty ;
María's avatar
María committed
	rdfs:comment "Relation to indicate the temporal duration or period of a deployment."@en , "has deployment period"@en .
María's avatar
María committed
# https://w3id.org/def/saref4agri#hasFeatureOfInterest

s4agri:hasFeatureOfInterest a owl:ObjectProperty ;
	owl:inverseOf s4agri:isFeatureOfInterestOf ;
María's avatar
María committed
	rdfs:comment "Relation between a measurement and the feature of interest being measured."@en ;
María's avatar
María committed
	rdfs:label "has feature of interest"@en .
# 
# https://w3id.org/def/saref4agri#hasProperty

s4agri:hasProperty a owl:ObjectProperty ;
	owl:inverseOf s4agri:isPropertyOf ;
María's avatar
María committed
	rdfs:comment "Relation between a feature of interest and its properties."@en ;
María's avatar
María committed
	rdfs:label "has property"@en .
# 
# https://w3id.org/def/saref4agri#hasRole

s4agri:hasRole a owl:ObjectProperty ;
María's avatar
María committed
	rdfs:comment "A relation to indicate the role of a given node in a communication channel or network."@en ;
María's avatar
María committed
# https://w3id.org/def/saref4agri#hosts

s4agri:hosts a owl:ObjectProperty ;
	owl:inverseOf s4agri:isHostedBy ;
María's avatar
María committed
	rdfs:comment "Relation between a platform and the systems it hosts."@en ;
María's avatar
María committed
	rdfs:label "host"@en .
# 
# https://w3id.org/def/saref4agri#inDeployment

s4agri:inDeployment a owl:ObjectProperty ;
María's avatar
María committed
	rdfs:comment "Relation between a platform and the deployment(s) that takes place in the platform."@en ;
María's avatar
María committed
	rdfs:label "in deployment"@en .
# 
# https://w3id.org/def/saref4agri#isConstituentOf

s4agri:isConstituentOf a owl:ObjectProperty ;
María's avatar
María committed
	rdfs:comment "Relation between a node and the network(s) it is part of."@en ;
	rdfs:label "is constituent of"@en .
# 
# https://w3id.org/def/saref4agri#isDeployedAtSpace

s4agri:isDeployedAtSpace a owl:ObjectProperty ;
María's avatar
María committed
	rdfs:comment "Relation to indicate the geographical componet of a deployment."@en , "is deployed at space"@en .
María's avatar
María committed
# https://w3id.org/def/saref4agri#isFeatureOfInterestOf

s4agri:isFeatureOfInterestOf a owl:ObjectProperty ;
María's avatar
María committed
	rdfs:comment "Relation betwwen a feature of interest and the measurments that are about it."@en ;
María's avatar
María committed
	rdfs:label "is feature of interest of"@en .
# 
# https://w3id.org/def/saref4agri#isHostedBy

s4agri:isHostedBy a owl:ObjectProperty ;
María's avatar
María committed
	rdfs:comment "Relation between a system and its hosting platform."@en ;
María's avatar
María committed
	rdfs:label "is hosted by"@en .
# 
# https://w3id.org/def/saref4agri#isPropertyOf

s4agri:isPropertyOf a owl:ObjectProperty ;
María's avatar
María committed
	rdfs:comment "Relation between a property and a feature of interest in which such property appears."@en ;
María's avatar
María committed
	rdfs:label "is property of"@en .
# 
# https://w3id.org/def/saref4agri#measurementMadeBy

s4agri:measurementMadeBy a owl:ObjectProperty ;
	owl:inverseOf saref:makesMeasurement ;
María's avatar
María committed
	rdfs:comment "Relation between a measurement and the device that made it."@en ;
María's avatar
María committed
	rdfs:label "measurement made by"@en .
# 
# https://w3id.org/def/saref4agri#playedByNode

s4agri:playedByNode a owl:ObjectProperty ;
María's avatar
María committed
	rdfs:domain s4agri:CommunicationRole ;
	rdfs:range s4agri:Node ;
	rdfs:comment "Relation use to indicate the node playing a given role. This relation has as subject an individual of the n-ary class s4agri:CommunicationRole"@en ;
	rdfs:label "played by node"@en .
# 
# https://w3id.org/def/saref4agri#roleInCommunication

s4agri:roleInCommunication a owl:ObjectProperty ;
María's avatar
María committed
	rdfs:domain s4agri:CommunicationRole ;
	rdfs:range s4agri:Communication ;
	rdfs:comment "Relation use to indicate the communication in which a node plays a role. This relation has as subject an individual of the n-ary class s4agri:CommunicationRole"@en ;
	rdfs:label "role in communication"@en .
# 
# https://w3id.org/def/saref4agri#roleInNetwork

s4agri:roleInNetwork a owl:ObjectProperty ;
María's avatar
María committed
	rdfs:domain s4agri:CommunicationRole ;
	rdfs:range s4agri:Network ;
	rdfs:comment "Relation use to indicate the network in which a node plays a role. This relation has as subject an individual of the n-ary class s4agri:CommunicationRole"@en ;
	rdfs:label "role in network"@en .
# 
# https://w3id.org/def/saref4agri#toNode

s4agri:toNode a owl:ObjectProperty ;
	rdfs:subPropertyOf owl:topObjectProperty ;
María's avatar
María committed
	rdfs:comment "Target node in directed communications."@en ;
María's avatar
María committed
# https://w3id.org/saref#accomplishes

saref:accomplishes a owl:ObjectProperty ;
	owl:inverseOf saref:isAccomplishedBy ;
	rdfs:comment "A relationship between a certain entity (e.g., a device) and the task it accomplishes"^^xsd:string ;
	rdfs:isDefinedBy <https://w3id.org/saref#> ;
María's avatar
María committed
	rdfs:label "accomplishes"^^xsd:string .
# 
# https://w3id.org/saref#actsUpon

saref:actsUpon a owl:ObjectProperty ;
	rdfs:comment "A relationship between a command and a state"^^xsd:string ;
	rdfs:isDefinedBy <https://w3id.org/saref#> ;
María's avatar
María committed
	rdfs:label "acts upon"^^xsd:string .
# 
# https://w3id.org/saref#consistsOf

saref:consistsOf a owl:ObjectProperty ;
	rdfs:isDefinedBy <https://w3id.org/saref#> ;
	rdfs:label "consists of"@en .
# 
# https://w3id.org/saref#controlsProperty

saref:controlsProperty a owl:ObjectProperty ;
	rdfs:isDefinedBy <https://w3id.org/saref#> ;
María's avatar
María committed
	rdfs:label "controls property"@en .
# 
# https://w3id.org/saref#hasCommand

saref:hasCommand a owl:ObjectProperty ;
	owl:inverseOf saref:isCommandOf ;
	rdfs:comment "A relationship between an entity (such as a function) and a command"^^xsd:string ;
	rdfs:isDefinedBy <https://w3id.org/saref#> ;
María's avatar
María committed
	rdfs:label "has command"^^xsd:string .
# 
# https://w3id.org/saref#hasFunction

saref:hasFunction a owl:ObjectProperty ;
	rdfs:comment "A relationship identifying the type of function of a device"^^xsd:string ;
	rdfs:isDefinedBy <https://w3id.org/saref#> ;
María's avatar
María committed
	rdfs:label "has function"^^xsd:string .
# 
# https://w3id.org/saref#hasState

saref:hasState a owl:ObjectProperty ;
	rdfs:isDefinedBy <https://w3id.org/saref#> ;
	rdfs:label "has state"@en .
# 
María's avatar
María committed
# https://w3id.org/saref#isAccomplishedBy

saref:isAccomplishedBy a owl:ObjectProperty ;
	rdfs:comment "A relationship indentifying the task accomplished by a certain entity (e.g., a device)"^^xsd:string ;
	rdfs:isDefinedBy <https://w3id.org/saref#> ;
María's avatar
María committed
	rdfs:label "is accomplished by"^^xsd:string .
# 
# https://w3id.org/saref#isCommandOf

saref:isCommandOf a owl:ObjectProperty ;
	rdfs:comment "A relationship between a command and a function."^^xsd:string ;
	rdfs:isDefinedBy <https://w3id.org/saref#> ;
María's avatar
María committed
	rdfs:label "is command of"^^xsd:string .
# 
# https://w3id.org/saref#isControlledByDevice

saref:isControlledByDevice a owl:ObjectProperty ;
	rdfs:isDefinedBy <https://w3id.org/saref#> ;
	rdfs:label "is controlled by device"@en .
# 
# https://w3id.org/saref#isMeasuredByDevice

saref:isMeasuredByDevice a owl:ObjectProperty ;
	rdfs:isDefinedBy <https://w3id.org/saref#> ;
	rdfs:label "is measured by device"@en .
# 
# https://w3id.org/saref#isMeasuredIn

saref:isMeasuredIn a owl:ObjectProperty ;
	rdfs:isDefinedBy <https://w3id.org/saref#> ;
	rdfs:label "is measured in"@en .
# 
# https://w3id.org/saref#makesMeasurement

saref:makesMeasurement a owl:ObjectProperty ;
	rdfs:isDefinedBy <https://w3id.org/saref#> ;
	rdfs:label "makes measurement"@en .
# 
# https://w3id.org/saref#measuresProperty

saref:measuresProperty a owl:ObjectProperty ;
	rdfs:isDefinedBy <https://w3id.org/saref#> ;
	rdfs:label "measures property"@en .
# 
# https://w3id.org/saref#relatesToMeasurement

saref:relatesToMeasurement a owl:ObjectProperty ;
	rdfs:isDefinedBy <https://w3id.org/saref#> ;
	rdfs:label "relates to measurement"@en .
# 
# https://w3id.org/saref#relatesToProperty

saref:relatesToProperty a owl:ObjectProperty ;
	rdfs:isDefinedBy <https://w3id.org/saref#> ;
	rdfs:label "relates to property"@en .
# 
# 
# 
# #################################################################
# #
# #    Data properties
# #
# #################################################################
# 
# 
# https://w3id.org/def/saref4agri#hasProtocol
María's avatar
María committed

s4agri:hasProtocol a owl:DatatypeProperty ;
	rdfs:range rdfs:Literal ;
	rdfs:comment "The protocol used in a given communition between nodes."@en ;
	rdfs:label "has protocol"@en .
María's avatar
María committed
# 
# https://w3id.org/saref#hasDescription
María's avatar
María committed

saref:hasDescription a owl:DatatypeProperty ;
	rdfs:range xsd:string ;
	rdfs:comment "A relationship providing a description of an entity (e.g., device)"^^xsd:string ;
	rdfs:isDefinedBy <https://w3id.org/saref#> ;
	rdfs:label "has description"@en .
María's avatar
María committed
# 
# https://w3id.org/saref#hasManufacturer
María's avatar
María committed

saref:hasManufacturer a owl:DatatypeProperty ;
	rdfs:range xsd:string ;
	rdfs:comment "A relationship identifying the manufacturer of an entity (e.g., device)"^^xsd:string ;
	rdfs:isDefinedBy <https://w3id.org/saref#> ;
	rdfs:label "has manufacturer"^^xsd:string .
María's avatar
María committed
# 
# https://w3id.org/saref#hasModel
María's avatar
María committed

saref:hasModel a owl:DatatypeProperty ;
	rdfs:range xsd:string ;
	rdfs:comment "A relationship identifying the model of an entity (e.g., device)"^^xsd:string ;
María's avatar
María committed
	rdfs:isDefinedBy <https://w3id.org/saref#> ;
	rdfs:label "has model"^^xsd:string .
María's avatar
María committed
# 
# https://w3id.org/saref#hasName

saref:hasName a owl:DatatypeProperty ;
	rdfs:isDefinedBy <https://w3id.org/saref#> ;
	rdfs:label "has name"@en .
# 
# https://w3id.org/saref#hasTimestamp

saref:hasTimestamp a owl:DatatypeProperty ;
	rdfs:isDefinedBy <https://w3id.org/saref#> ;
	rdfs:label "has timestamp"@en .
# 
# https://w3id.org/saref#hasValue

saref:hasValue a owl:DatatypeProperty ;
	rdfs:isDefinedBy <https://w3id.org/saref#> ;
	rdfs:label "has value"@en .
# 
# 
# 
# #################################################################
# #
# #    Classes
# #
# #################################################################
# 
# 
# http://www.opengis.net/ont/geosparql#Feature

geosp:Feature a owl:Class ;
	rdfs:subClassOf geosp:SpatialObject , _:genid1 .

_:genid1 a owl:Restriction ;
	owl:onProperty geosp:hasGeometry ;
	owl:allValuesFrom geosp:Geometry .

geosp:Feature owl:disjointWith geosp:Geometry ;
	dc:contributor "Matthew Perry" ;
	dc:creator "OGC GeoSPARQL 1.0 Standard Working Group" ;
	dc:date "2011-06-16"^^xsd:date ;
	dc:description "This class represents the top-level feature type. This class is equivalent to GFI_Feature defined in ISO 19156:2011, and it is superclass of all feature types."@en ;
	rdfs:comment "This class represents the top-level feature type. This class is equivalent to GFI_Feature defined in ISO 19156:2011, and it is superclass of all feature types."@en ;
	rdfs:isDefinedBy <http://www.opengis.net/ont/geosparql> , <http://www.opengis.net/ont/gml> , <http://www.opengis.net/spec/geosparql/1.0> ;
	rdfs:label "Feature"@en ;
	<http://www.w3.org/2004/02/skos/core#definition> "This class represents the top-level feature type. This class is equivalent to GFI_Feature defined in ISO 19156:2011, and it is superclass of all feature types."@en ;
	<http://www.w3.org/2004/02/skos/core#prefLabel> "Feature"@en .
# 
# http://www.opengis.net/ont/geosparql#Geometry

geosp:Geometry a owl:Class ;
	rdfs:subClassOf geosp:SpatialObject ;
	dc:contributor "Matthew Perry" ;
	dc:creator "OGC GeoSPARQL 1.0 Standard Working Group" ;
	dc:date "2011-06-16"^^xsd:date ;
	dc:description "The class represents the top-level geometry type. This class is equivalent to the UML class GM_Object defined in ISO 19107, and it is superclass of all geometry types."@en ;
	rdfs:comment "The class represents the top-level geometry type. This class is equivalent to the UML class GM_Object defined in ISO 19107, and it is superclass of all geometry types."@en ;
	rdfs:isDefinedBy <http://www.opengis.net/ont/geosparql> , <http://www.opengis.net/ont/gml> , <http://www.opengis.net/spec/geosparql/1.0> ;
	rdfs:label "Geometry"@en ;
	<http://www.w3.org/2004/02/skos/core#definition> "The class represents the top-level geometry type. This class is equivalent to the UML class GM_Object defined in ISO 19107, and it is superclass of all geometry types."@en ;
	<http://www.w3.org/2004/02/skos/core#prefLabel> "Geometry"@en .
# 
# http://www.opengis.net/ont/geosparql#SpatialObject

geosp:SpatialObject a owl:Class ;
	rdfs:subClassOf _:genid2 .

_:genid2 a owl:Restriction ;
	owl:onProperty geosp:sfContains ;
	owl:allValuesFrom geosp:SpatialObject .

geosp:SpatialObject rdfs:subClassOf _:genid3 .

_:genid3 a owl:Restriction ;
	owl:onProperty geo:location ;
	owl:allValuesFrom geo:Point .

geosp:SpatialObject dc:contributor "Matthew Perry" ;
	dc:creator "OGC GeoSPARQL 1.0 Standard Working Group" ;
	dc:date "2011-06-16"^^xsd:date ;
	dc:description "The class spatial-object represents everything that can have a spatial representation. It is superclass of feature and geometry."@en ;
	rdfs:comment "The class spatial-object represents everything that can have a spatial representation. It is superclass of feature and geometry."@en ;
	rdfs:isDefinedBy <http://www.opengis.net/ont/geosparql> , <http://www.opengis.net/ont/gml> , <http://www.opengis.net/spec/geosparql/1.0> ;
	rdfs:label "SpatialObject"@en ;
	<http://www.w3.org/2004/02/skos/core#definition> "The class spatial-object represents everything that can have a spatial representation. It is superclass of feature and geometry."@en ;
	<http://www.w3.org/2004/02/skos/core#prefLabel> "SpatialObject"@en .
# 
# http://www.w3.org/2003/01/geo/wgs84_pos#Point

geo:Point a owl:Class ;
	rdfs:subClassOf geosp:Geometry ;
	rdfs:comment """ 
Uniquely identified by lat/long/alt. i.e.

spaciallyIntersects(P1, P2) :- lat(P1, LAT), long(P1, LONG), alt(P1, ALT),
  lat(P2, LAT), long(P2, LONG), alt(P2, ALT).

sameThing(P1, P2) :- type(P1, Point), type(P2, Point), spaciallyIntersects(P1, P2).
  """ , "A point, typically described using a coordinate system relative to Earth, such as WGS84." ;
	rdfs:isDefinedBy <http://www.w3.org/2003/01/geo/wgs84_pos#> ;
	rdfs:label "Point"@en , "point" .
# 
# http://www.w3.org/2006/time#Instant

time:Instant a owl:Class ;
	rdfs:subClassOf time:TemporalEntity ;
	rdfs:comment "A temporal entity with zero extent or duration"@en ;
	rdfs:isDefinedBy <http://www.w3.org/2006/time#> ;
	rdfs:label "Instant"@en .
# 
# http://www.w3.org/2006/time#Interval

time:Interval a owl:Class ;
	rdfs:subClassOf time:TemporalEntity ;
	rdfs:isDefinedBy <http://www.w3.org/2006/time#> ;
	rdfs:label "A temporal entity with an extent or duration"@en , "Time interval"@en .
# 
María's avatar
María committed
# http://www.w3.org/2006/time#TemporalEntity

time:TemporalEntity a owl:Class ;
	rdfs:comment "A temporal interval or instant."@en ;
	rdfs:isDefinedBy <http://www.w3.org/2006/time#> ;
	rdfs:label "Temporal entity"@en .
# 
# https://w3id.org/def/saref4agri#Communication

s4agri:Communication a owl:Class ;
	rdfs:comment "An n-ary pattern used to link to nodes involved in a communication channel. The protocol used in such communication could be included."@en ;
	rdfs:label "Communication"@es .
# 
# https://w3id.org/def/saref4agri#CommunicationRole

s4agri:CommunicationRole a owl:Class ;
	rdfs:comment "An n-ary pattern used to link a given node to its role and a) the networked in which the role is played or b) the two-nodes communication channel."@en ;
	rdfs:label "Communication role"@es .
María's avatar
María committed
# 
# https://w3id.org/def/saref4agri#Deployment

s4agri:Deployment a owl:Class ;
	rdfs:subClassOf _:genid4 .
María's avatar
María committed

_:genid4 a owl:Restriction ;
María's avatar
María committed
	owl:onProperty s4agri:deployedOnPlatform ;
	owl:someValuesFrom s4agri:Platform .

s4agri:Deployment rdfs:subClassOf _:genid5 .
María's avatar
María committed

_:genid5 a owl:Restriction ;
María's avatar
María committed
	owl:onProperty s4agri:deployedSystem ;
	owl:someValuesFrom s4agri:System .

s4agri:Deployment rdfs:comment "The scenario, including temporal and spatial information, in which the devices are installed."@en ;
	rdfs:label "Deployment"@en .
María's avatar
María committed
# 
# https://w3id.org/def/saref4agri#FeatureOfInterest

s4agri:FeatureOfInterest a owl:Class ;
	rdfs:subClassOf _:genid6 .
María's avatar
María committed

_:genid6 a owl:Restriction ;
María's avatar
María committed
	owl:onProperty s4agri:hasProperty ;
	owl:allValuesFrom saref:Property .

s4agri:FeatureOfInterest rdfs:subClassOf _:genid7 .
María's avatar
María committed

_:genid7 a owl:Restriction ;
María's avatar
María committed
	owl:onProperty s4agri:isFeatureOfInterestOf ;
	owl:allValuesFrom saref:Measurement .

s4agri:FeatureOfInterest rdfs:comment """WARNING!
 This class might be moved to the SAREF ontology"""@en ;
	rdfs:label "Feature of interest"@en .
# 
# https://w3id.org/def/saref4agri#Network

s4agri:Network a owl:Class ;
	rdfs:comment "Collection of nodes connected."@en ;
	rdfs:label "Network"@es .
# 
# https://w3id.org/def/saref4agri#Node

s4agri:Node a owl:Class ;
	rdfs:subClassOf saref:Device ;
María's avatar
María committed
	rdfs:comment "Every system connected to at leas another one in a network."@en ;
María's avatar
María committed
# https://w3id.org/def/saref4agri#Platform

s4agri:Platform a owl:Class ;
	rdfs:subClassOf _:genid8 .
María's avatar
María committed

_:genid8 a owl:Restriction ;
María's avatar
María committed
	owl:onProperty s4agri:hosts ;
	owl:someValuesFrom s4agri:System .

s4agri:Platform rdfs:subClassOf _:genid9 .
María's avatar
María committed

_:genid9 a owl:Restriction ;
María's avatar
María committed
	owl:onProperty s4agri:inDeployment ;
	owl:someValuesFrom s4agri:Deployment .

María's avatar
María committed
s4agri:Platform rdfs:comment "A Platform is an entity that hosts other entities, particularly Sensors, Actuators, Samplers, and other Platforms (definition taken from http://www.w3.org/ns/sosa/Platform)"@en ;
	rdfs:label "Platform"@en .
María's avatar
María committed
# 
# https://w3id.org/def/saref4agri#System

s4agri:System a owl:Class ;
	rdfs:subClassOf _:genid10 .
María's avatar
María committed

_:genid10 a owl:Restriction ;
María's avatar
María committed
	owl:onProperty s4agri:hasDeployment ;
	owl:someValuesFrom s4agri:Deployment .

s4agri:System rdfs:subClassOf _:genid11 .
María's avatar
María committed

_:genid11 a owl:Restriction ;
María's avatar
María committed
	owl:onProperty s4agri:isHostedBy ;
	owl:someValuesFrom s4agri:Platform .

s4agri:System rdfs:subClassOf _:genid12 .
María's avatar
María committed

_:genid12 a owl:Restriction ;
María's avatar
María committed
	owl:onProperty saref:consistsOf ;
	owl:allValuesFrom s4agri:System .

María's avatar
María committed
s4agri:System rdfs:comment "System is a unit of abstraction for pieces of infrastructure that implement Procedures. A System may have components, its subsystems, which are other Systems. (Definition taken from http://www.w3.org/ns/ssn/System)"@en ;
	rdfs:label "System"@en .
María's avatar
María committed
# 
# https://w3id.org/saref#Actuator

saref:Actuator a owl:Class ;
	rdfs:subClassOf saref:Device ;
	rdfs:isDefinedBy <https://w3id.org/saref#> ;
	rdfs:label "Actuator"@en .
# 
María's avatar
María committed
# https://w3id.org/saref#Command

saref:Command a owl:Class ;
	rdfs:subClassOf _:genid13 .
María's avatar
María committed

_:genid13 a owl:Restriction ;
María's avatar
María committed
	owl:onProperty saref:actsUpon ;
	owl:allValuesFrom saref:State .

saref:Command rdfs:subClassOf _:genid14 .
María's avatar
María committed

_:genid14 a owl:Restriction ;
María's avatar
María committed
	owl:onProperty saref:isCommandOf ;
	owl:minQualifiedCardinality "1"^^xsd:nonNegativeInteger ;
	owl:onClass saref:Function .

saref:Command rdfs:subClassOf _:genid15 .
María's avatar
María committed

_:genid15 a owl:Restriction ;
María's avatar
María committed
	owl:onProperty saref:hasDescription ;
	owl:maxCardinality "1"^^xsd:nonNegativeInteger .

saref:Command rdfs:comment "A directive that a device must support to perform a certain function. A command may act upon a state, but does not necessarily act upon a state. For example, the ON command acts upon the ON/OFF state, but the GET command does not act upon any state, it simply gives a directive to retrieve a certain value. We propose here a list of commands that are relevant for the purpose of SAREF, but this list can be extended."^^xsd:string ;
	rdfs:label "Command"^^xsd:string .
# 
# https://w3id.org/saref#Device

saref:Device a owl:Class ;
	rdfs:isDefinedBy <https://w3id.org/saref#> ;
	rdfs:label "Device"@en .
María's avatar
María committed
# 
# https://w3id.org/saref#Function

saref:Function a owl:Class ;
	rdfs:subClassOf _:genid16 .
María's avatar
María committed

_:genid16 a owl:Restriction ;
María's avatar
María committed
	owl:onProperty saref:hasCommand ;
	owl:minQualifiedCardinality "1"^^xsd:nonNegativeInteger ;
	owl:onClass saref:Command .

saref:Function rdfs:comment "The functionality necessary to accomplish the task for which a Device is designed. A device can be designed to perform more than one function. Functions can be structured in categories (subclasses) that reflect different points of view, for example, considering the specific application area for which a function can be used (e.g., light, temperature, motion, heat, power, etc.), or the capability that a function can support (e.g., receive, reply, notify, etc.), and so forth. "^^xsd:string ;
	rdfs:label "Function"^^xsd:string .
# 
# https://w3id.org/saref#Humidity

saref:Humidity a owl:Class ;
	rdfs:subClassOf saref:Property ;
	rdfs:comment "A saref:Property related to some measurements that are characterized by a certain value that is measured in a humidity unit"^^xsd:string ;
	rdfs:label "Humidity"^^xsd:string .
# 
# https://w3id.org/saref#Measurement

saref:Measurement a owl:Class ;
	rdfs:subClassOf _:genid17 .
María's avatar
María committed

_:genid17 a owl:Restriction ;
María's avatar
María committed
	owl:onProperty s4agri:hasFeatureOfInterest ;
	owl:allValuesFrom s4agri:FeatureOfInterest .

saref:Measurement rdfs:subClassOf _:genid18 .
María's avatar
María committed

_:genid18 a owl:Restriction ;
María's avatar
María committed
	owl:onProperty saref:isMeasuredIn ;
	owl:allValuesFrom saref:UnitOfMeasure .

saref:Measurement rdfs:subClassOf _:genid19 .
María's avatar
María committed

_:genid19 a owl:Restriction ;
María's avatar
María committed
	owl:onProperty saref:relatesToProperty ;
	owl:allValuesFrom saref:Property .

saref:Measurement rdfs:subClassOf _:genid20 .
María's avatar
María committed

_:genid20 a owl:Restriction ;
María's avatar
María committed
	owl:onProperty saref:isMeasuredIn ;
	owl:qualifiedCardinality "1"^^xsd:nonNegativeInteger ;
	owl:onClass saref:UnitOfMeasure .

saref:Measurement rdfs:subClassOf _:genid21 .
María's avatar
María committed

_:genid21 a owl:Restriction ;
María's avatar
María committed
	owl:onProperty saref:relatesToProperty ;
	owl:qualifiedCardinality "1"^^xsd:nonNegativeInteger ;
	owl:onClass saref:Property .

saref:Measurement rdfs:subClassOf _:genid22 .
María's avatar
María committed

_:genid22 a owl:Restriction ;
María's avatar
María committed
	owl:onProperty saref:hasTimestamp ;
	owl:allValuesFrom xsd:dateTime .

saref:Measurement rdfs:subClassOf _:genid23 .
María's avatar
María committed

_:genid23 a owl:Restriction ;
María's avatar
María committed
	owl:onProperty saref:hasValue ;
	owl:cardinality "1"^^xsd:nonNegativeInteger .

saref:Measurement rdfs:subClassOf _:genid24 .
María's avatar
María committed

_:genid24 a owl:Restriction ;
María's avatar
María committed
	owl:onProperty saref:hasValue ;
	owl:qualifiedCardinality "1"^^xsd:nonNegativeInteger ;
	owl:onDataRange xsd:float .

saref:Measurement owl:disjointWith saref:Property , saref:UnitOfMeasure ;
	rdfs:comment "Represents the measured value made over a property. It is also linked to the unit of measure in which the value is expressed and the timestamp of the measurement."@en ;
	rdfs:isDefinedBy <https://w3id.org/saref#> ;
	rdfs:label "Measurement"@en .
# 
# https://w3id.org/saref#Property

saref:Property a owl:Class ;
	rdfs:subClassOf _:genid25 .
María's avatar
María committed

_:genid25 a owl:Restriction ;
María's avatar
María committed
	owl:onProperty s4agri:isPropertyOf ;
	owl:allValuesFrom s4agri:FeatureOfInterest .

saref:Property rdfs:subClassOf _:genid26 .
María's avatar
María committed

_:genid26 a owl:Restriction ;
María's avatar
María committed
	owl:onProperty saref:isControlledByDevice ;
	owl:allValuesFrom saref:Device .

saref:Property rdfs:subClassOf _:genid27 .
María's avatar
María committed

_:genid27 a owl:Restriction ;
María's avatar
María committed
	owl:onProperty saref:isMeasuredByDevice ;
	owl:allValuesFrom saref:Device .

saref:Property rdfs:subClassOf _:genid28 .
María's avatar
María committed

_:genid28 a owl:Restriction ;
María's avatar
María committed
	owl:onProperty saref:relatesToMeasurement ;
	owl:allValuesFrom saref:Measurement .

saref:Property owl:disjointWith saref:UnitOfMeasure ;
	rdfs:comment "An aspect of an entity that can be observable by a sensor."@en , "Anything that can be sensed, measured or controlled in households, common public buildings or offices. We propose here a list of properties that are relevant for the purpose of SAREF, but this list can be extended."^^xsd:string ;
	rdfs:isDefinedBy <https://w3id.org/saref#> ;
	rdfs:label "Property"@en , "Property"^^xsd:string .
# 
# https://w3id.org/saref#Sensor

saref:Sensor a owl:Class ;
	rdfs:subClassOf saref:Device ;
	rdfs:isDefinedBy <https://w3id.org/saref#> ;
	rdfs:label "Sensor"@en .
# 
María's avatar
María committed
# https://w3id.org/saref#State

saref:State a owl:Class ;
	rdfs:comment "The state in which a device can be found, e.g, ON/OFF/STANDBY, or ONLINE/OFFLINE. We propose here a list of states that are relevant for the purpose of SAREF, but this list can be extended."^^xsd:string ;
	rdfs:label "State"^^xsd:string .
# 
# https://w3id.org/saref#Task

saref:Task a owl:Class ;
	rdfs:subClassOf _:genid29 .
María's avatar
María committed

_:genid29 a owl:Restriction ;
María's avatar
María committed
	owl:onProperty saref:isAccomplishedBy ;
	owl:minQualifiedCardinality "1"^^xsd:nonNegativeInteger ;
	owl:onClass saref:Device .

saref:Task rdfs:comment "The goal for which a device is designed (from a user perspective). For example, a washing machine is designed for the task of washing. We propose here a list of tasks that are relevant for the purpose of SAREF, but this list can be extended."^^xsd:string ;
	rdfs:label "Task"^^xsd:string .
# 
# https://w3id.org/saref#Temperature

saref:Temperature a owl:Class ;
	rdfs:subClassOf saref:Property ;
	rdfs:comment "A saref:Property related to some measurements that are characterized by a certain value that is measured in a temperature unit (degree_Celsius, degree_Fahrenheit, or degree_kelvin)"^^xsd:string ;
	rdfs:label "Temperature"^^xsd:string .
# 
# https://w3id.org/saref#Time

saref:Time a owl:Class ;
	rdfs:subClassOf saref:Property , _:genid30 .
María's avatar
María committed

_:genid30 a owl:Restriction ;
María's avatar
María committed
	owl:onProperty saref:consistsOf ;
	owl:someValuesFrom time:TemporalEntity .

saref:Time rdfs:comment "A saref:Property that allows to specify the time concept in terms of instants or intervals according to the imported W3C Time ontology."^^xsd:string ;
	rdfs:label "Time"^^xsd:string .
# 
# https://w3id.org/saref#UnitOfMeasure

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 SAREF, but this list can be extended, also using some other ontologies rather than the Ontology of units of Measure (OM)."^^xsd:string , "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 <http://www.wurvoc.org/vocabularies/om-1.6/Unit_of_measure> , <https://w3id.org/saref#> ;
	rdfs:label "Unit of measure"@en , "Unit of measure"^^xsd:string .
# 
# 
# 
# #################################################################
# #
# #    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 .
# 
María's avatar
María committed
# Generated by the OWL API (version 4.2.6.20160910-2108) https://github.com/owlcs/owlapi