From baaf5ac52d1f1596ba8ddc87cfe5f54aa59d806f Mon Sep 17 00:00:00 2001 From: Cornelis Bouter Date: Mon, 10 Jun 2024 15:09:04 +0200 Subject: [PATCH 01/18] remove prov-o usage --- ontology/saref4agri.ttl | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/ontology/saref4agri.ttl b/ontology/saref4agri.ttl index c243901..44b6a86 100644 --- a/ontology/saref4agri.ttl +++ b/ontology/saref4agri.ttl @@ -145,10 +145,6 @@ wgs84:long rdf:type owl:ObjectProperty ; rdf:type owl:AnnotationProperty . -### http://www.w3.org/ns/prov#hadPrimarySource - rdf:type owl:AnnotationProperty . - - ### http://xmlns.com/foaf/0.1/based_near foaf:based_near rdf:type owl:ObjectProperty . @@ -508,14 +504,6 @@ s4agri:hasHarvestDate rdf:type owl:DatatypeProperty ; rdfs:comment "A relation to express the day the crop is harvested."@en ; rdfs:label "has harvest date"@en . - -### https://saref.etsi.org/saref4agri/hasName -s4agri:hasName rdf:type owl:DatatypeProperty ; - rdfs:range xsd:string ; - rdfs:comment "A relation to express the name of an entity (e.g.,animal)."@en ; - rdfs:label "has name"@en . - - ### https://saref.etsi.org/saref4agri/hasPlantDate s4agri:hasPlantDate rdf:type owl:DatatypeProperty ; rdfs:subPropertyOf owl:topDataProperty ; -- GitLab From 9780f483d40c9cca9a123a0ea055e036ffa1b5bc Mon Sep 17 00:00:00 2001 From: Cornelis Bouter Date: Mon, 10 Jun 2024 15:09:47 +0200 Subject: [PATCH 02/18] remove classes and properties copied from core --- ontology/saref4agri.ttl | 36 ------------------------------------ 1 file changed, 36 deletions(-) diff --git a/ontology/saref4agri.ttl b/ontology/saref4agri.ttl index 44b6a86..5ea24a4 100644 --- a/ontology/saref4agri.ttl +++ b/ontology/saref4agri.ttl @@ -512,42 +512,6 @@ s4agri:hasPlantDate rdf:type owl:DatatypeProperty ; rdfs:label "has plant date"@en . -### https://saref.etsi.org/core/hasDescription -saref:hasDescription rdf:type owl:DatatypeProperty ; - rdfs:range xsd:string ; - rdfs:comment "A relationship providing a description of an entity (e.g., device)"@en ; - rdfs:isDefinedBy ; - rdfs:label "has description"@en . - - -### https://saref.etsi.org/core/hasManufacturer -saref:hasManufacturer rdf:type owl:DatatypeProperty ; - rdfs:range xsd:string ; - rdfs:comment "A relationship identifying the manufacturer of an entity (e.g., device)"@en ; - rdfs:isDefinedBy ; - rdfs:label "has manufacturer"@en . - - -### https://saref.etsi.org/core/hasModel -saref:hasModel rdf:type owl:DatatypeProperty ; - rdfs:range xsd:string ; - rdfs:comment "A relationship identifying the model of an entity (e.g., device)"@en ; - rdfs:isDefinedBy ; - rdfs:label "has model"@en . - - -### https://saref.etsi.org/core/hasTimestamp -saref:hasTimestamp rdf:type owl:DatatypeProperty ; - rdfs:isDefinedBy ; - rdfs:label "has timestamp"@en . - - -### https://saref.etsi.org/core/hasValue -saref:hasValue rdf:type owl:DatatypeProperty ; - rdfs:isDefinedBy ; - rdfs:label "has value"@en . - - ################################################################# # Classes ################################################################# -- GitLab From 910c11caf122def4628a919bc805ee8cb6abcf69 Mon Sep 17 00:00:00 2001 From: Cornelis Bouter Date: Mon, 10 Jun 2024 15:12:56 +0200 Subject: [PATCH 03/18] remove device subclass axiom --- ontology/saref4agri.ttl | 8 -------- 1 file changed, 8 deletions(-) diff --git a/ontology/saref4agri.ttl b/ontology/saref4agri.ttl index 5ea24a4..9e83d9d 100644 --- a/ontology/saref4agri.ttl +++ b/ontology/saref4agri.ttl @@ -958,14 +958,6 @@ saref:Command rdf:type owl:Class ; 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."@en ; rdfs:label "Command"@en . - -### https://saref.etsi.org/core/Device -saref:Device rdf:type owl:Class ; - rdfs:subClassOf ssn:System ; - rdfs:isDefinedBy ; - rdfs:label "Device"@en . - - ### https://saref.etsi.org/core/FeatureOfInterest saref:FeatureOfInterest rdf:type owl:Class ; rdfs:subClassOf [ rdf:type owl:Restriction ; -- GitLab From 41e3edf9859f689361d378cc6ad572731ba2e668 Mon Sep 17 00:00:00 2001 From: Cornelis Bouter Date: Mon, 10 Jun 2024 15:15:55 +0200 Subject: [PATCH 04/18] replace schema:Organization for foaf:Organization --- ontology/saref4agri.ttl | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/ontology/saref4agri.ttl b/ontology/saref4agri.ttl index 9e83d9d..5314cf1 100644 --- a/ontology/saref4agri.ttl +++ b/ontology/saref4agri.ttl @@ -640,12 +640,6 @@ foaf:Person rdf:type owl:Class ; rdfs:label "Person"@en . -### https://schema.org/Organization - rdf:type owl:Class ; - rdfs:subClassOf foaf:Agent ; - rdfs:label "Organization"@en . - - ### https://saref.etsi.org/saref4agri/Animal s4agri:Animal rdf:type owl:Class ; rdfs:subClassOf saref:FeatureOfInterest , @@ -798,7 +792,7 @@ s4agri:Farm rdf:type owl:Class ; ### https://saref.etsi.org/saref4agri/FarmHolding s4agri:FarmHolding rdf:type owl:Class ; - rdfs:subClassOf , + rdfs:subClassOf foaf:Organization , [ rdf:type owl:Restriction ; owl:onProperty s4agri:managesFarm ; owl:someValuesFrom s4agri:Farm @@ -807,7 +801,7 @@ s4agri:FarmHolding rdf:type owl:Class ; owl:onProperty s4agri:hasName ; owl:allValuesFrom xsd:string ] ; - rdfs:comment "A class to decsribe a saref4agri farm holding as subcass of an org:Organization"@en ; + rdfs:comment "A class to decsribe a saref4agri farm holding as subcass of a foaf:Organization"@en ; rdfs:label "Farm holding"@en . -- GitLab From 0a2fe1f1c840862c9d72d56462ddc2a3cd6eb7f7 Mon Sep 17 00:00:00 2001 From: Cornelis Bouter Date: Mon, 10 Jun 2024 15:22:10 +0200 Subject: [PATCH 05/18] remove foaf:Agent subclass axiom --- ontology/saref4agri.ttl | 8 -------- 1 file changed, 8 deletions(-) diff --git a/ontology/saref4agri.ttl b/ontology/saref4agri.ttl index 5314cf1..0a6beae 100644 --- a/ontology/saref4agri.ttl +++ b/ontology/saref4agri.ttl @@ -625,14 +625,6 @@ ssn:System rdf:type owl:Class ; rdfs:label "System"@en . -### http://xmlns.com/foaf/0.1/Agent -foaf:Agent rdf:type owl:Class ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - owl:onProperty foaf:member ; - owl:someValuesFrom foaf:Agent - ] ; - rdfs:label "Agent"@en . - ### http://xmlns.com/foaf/0.1/Person foaf:Person rdf:type owl:Class ; -- GitLab From efe912dd9edc038feae0f5a09ac5da90d95256ed Mon Sep 17 00:00:00 2001 From: Cornelis Bouter Date: Mon, 10 Jun 2024 15:24:17 +0200 Subject: [PATCH 06/18] change yield and intake to Property --- ontology/saref4agri.ttl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ontology/saref4agri.ttl b/ontology/saref4agri.ttl index 0a6beae..1dec96f 100644 --- a/ontology/saref4agri.ttl +++ b/ontology/saref4agri.ttl @@ -1177,12 +1177,12 @@ s4agri:SoilTemperature rdf:type owl:NamedIndividual , rdfs:comment "The degree or intensity of heat present in the soil."@en ; rdfs:label "Soil temperature"@en . -s4agri:Intake a owl:Class ; +s4agri:Intake a saref:Property ; rdfs:comment "The amount of food or other substance taken into the body of an animal or into the soil."@en ; rdfs:label "Intake"@en . -s4agri:Yield a owl:Class ; +s4agri:Yield a saref:Property ; rdfs:comment "The produced amount of food for animals or of agricultural products."@en ; rdfs:label "Yield"@en . -- GitLab From 6c1a8595934987eb1021c8268118c5aa29a419e4 Mon Sep 17 00:00:00 2001 From: Cornelis Bouter Date: Mon, 10 Jun 2024 22:26:40 +0200 Subject: [PATCH 07/18] repair time ontology closes #17 --- ontology/saref4agri.ttl | 40 +++++----------------------------------- 1 file changed, 5 insertions(+), 35 deletions(-) diff --git a/ontology/saref4agri.ttl b/ontology/saref4agri.ttl index 1dec96f..64d5477 100644 --- a/ontology/saref4agri.ttl +++ b/ontology/saref4agri.ttl @@ -137,14 +137,6 @@ wgs84:long rdf:type owl:ObjectProperty ; rdfs:domain wgs84:SpatialThing . -### http://www.w3.org/2004/02/skos/core#definition - rdf:type owl:AnnotationProperty . - - -### http://www.w3.org/2004/02/skos/core#prefLabel - rdf:type owl:AnnotationProperty . - - ### http://xmlns.com/foaf/0.1/based_near foaf:based_near rdf:type owl:ObjectProperty . @@ -581,30 +573,6 @@ sameThing(P1, P2) :- type(P1, Point), type(P2, Point), spaciallyIntersects(P1, P rdfs:isDefinedBy ; rdfs:label "Point"@en . - -### http://www.w3.org/2006/time#Instant -time:Instant rdf:type owl:Class ; - rdfs:subClassOf time:TemporalEntity ; - rdfs:comment "A temporal entity with zero extent or duration"@en ; - rdfs:isDefinedBy ; - rdfs:label "Instant"@en . - - -### http://www.w3.org/2006/time#Interval -time:Interval rdf:type owl:Class ; - rdfs:subClassOf time:TemporalEntity ; - rdfs:comment "A temporal entity with an extent or duration"@en ; - rdfs:isDefinedBy ; - rdfs:label "Time interval"@en . - - -### http://www.w3.org/2006/time#TemporalEntity -time:TemporalEntity rdf:type owl:Class ; - rdfs:comment "A temporal interval or instant."@en ; - rdfs:isDefinedBy ; - rdfs:label "Temporal entity"@en . - - ### http://www.w3.org/ns/sosa/Platform sosa:Platform rdf:type owl:Class ; 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 ; @@ -624,14 +592,16 @@ ssn:System rdf:type owl:Class ; rdfs:isDefinedBy ; rdfs:label "System"@en . - +### http://www.w3.org/2006/time +time:Interval a owl:Class ; + rdfs:isDefinedBy time: ; +. ### http://xmlns.com/foaf/0.1/Person foaf:Person rdf:type owl:Class ; rdfs:subClassOf foaf:Agent ; rdfs:label "Person"@en . - ### https://saref.etsi.org/saref4agri/Animal s4agri:Animal rdf:type owl:Class ; rdfs:subClassOf saref:FeatureOfInterest , @@ -745,7 +715,7 @@ s4agri:Deployment rdf:type owl:Class ; ] , [ rdf:type owl:Restriction ; owl:onProperty s4agri:hasDeploymentPeriod ; - owl:someValuesFrom time:TemporalEntity + owl:someValuesFrom time:Interval ] , [ rdf:type owl:Restriction ; owl:onProperty s4agri:isDeployedAtSpace ; -- GitLab From e292b895b52f7ba2a97f8da1c2b85a9f64afa12f Mon Sep 17 00:00:00 2001 From: Cornelis Bouter Date: Mon, 10 Jun 2024 22:30:37 +0200 Subject: [PATCH 08/18] remove om units in ontology closes 16 --- ontology/saref4agri.ttl | 24 ------------------------ 1 file changed, 24 deletions(-) diff --git a/ontology/saref4agri.ttl b/ontology/saref4agri.ttl index 64d5477..76be2db 100644 --- a/ontology/saref4agri.ttl +++ b/ontology/saref4agri.ttl @@ -1075,30 +1075,6 @@ saref:UnitOfMeasure rdf:type owl:Class ; rdfs:label "decibel-milliwatts"@en . -### http://www.ontology-of-units-of-measure.org/resource/om-2/degreeCelsius - rdf:type owl:NamedIndividual , - saref:UnitOfMeasure ; - rdfs:label "degree Celsius"@en . - - -### http://www.ontology-of-units-of-measure.org/resource/om-2/millibar - rdf:type owl:NamedIndividual , - saref:UnitOfMeasure ; - rdfs:label "millibar"@en . - - -### http://www.ontology-of-units-of-measure.org/resource/om-2/millimetre - rdf:type owl:NamedIndividual , - saref:UnitOfMeasure ; - rdfs:label "millimetre"@en . - - -### http://www.ontology-of-units-of-measure.org/resource/om-2/millivolt - rdf:type owl:NamedIndividual , - saref:UnitOfMeasure ; - rdfs:label "millivolt"@en . - - ### https://saref.etsi.org/saref4agri/AirTemperature s4agri:AirTemperature rdf:type owl:NamedIndividual , saref:Temperature ; -- GitLab From 19712b80583916e50a71fd1e8bfcdf5f50a15501 Mon Sep 17 00:00:00 2001 From: Cornelis Bouter Date: Mon, 10 Jun 2024 22:31:47 +0200 Subject: [PATCH 09/18] remove hijacking disjoint statement closes 15 --- ontology/saref4agri.ttl | 2 -- 1 file changed, 2 deletions(-) diff --git a/ontology/saref4agri.ttl b/ontology/saref4agri.ttl index 76be2db..1b30f96 100644 --- a/ontology/saref4agri.ttl +++ b/ontology/saref4agri.ttl @@ -984,8 +984,6 @@ saref:Measurement rdf:type owl:Class ; owl:qualifiedCardinality "1"^^xsd:nonNegativeInteger ; owl:onDataRange xsd:float ] ; - 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 ; rdfs:label "Measurement"@en . -- GitLab From 2673587733136f61ad4880f8fcaa6c709a20e645 Mon Sep 17 00:00:00 2001 From: Cornelis Bouter Date: Mon, 10 Jun 2024 22:36:10 +0200 Subject: [PATCH 10/18] closes #8 --- ontology/saref4agri.ttl | 18 ++---------------- 1 file changed, 2 insertions(+), 16 deletions(-) diff --git a/ontology/saref4agri.ttl b/ontology/saref4agri.ttl index 1b30f96..8ba0d75 100644 --- a/ontology/saref4agri.ttl +++ b/ontology/saref4agri.ttl @@ -268,14 +268,6 @@ s4agri:hasDeploymentPeriod rdf:type owl:ObjectProperty ; rdfs:label "has deployment period"@en . -### https://saref.etsi.org/saref4agri/hasID -s4agri:hasID rdf:type owl:ObjectProperty ; - rdfs:subPropertyOf owl:topObjectProperty ; - rdfs:range s4agri:ID ; - rdfs:comment "A relation to express the unique identifier of an animal."@en ; - rdfs:label "has id"@en . - - ### https://saref.etsi.org/saref4agri/hasMember s4agri:hasMember rdf:type owl:ObjectProperty ; owl:inverseOf s4agri:isMemberOf ; @@ -618,9 +610,9 @@ s4agri:Animal rdf:type owl:Class ; owl:someValuesFrom s4agri:AnimalGroup ] , [ rdf:type owl:Restriction ; - owl:onProperty s4agri:hasID ; + owl:onProperty s4agri:hasIdentifier ; owl:maxQualifiedCardinality "1"^^xsd:nonNegativeInteger ; - owl:onClass s4agri:ID + owl:onDataRange xsd:string ] , [ rdf:type owl:Restriction ; owl:onProperty s4agri:hasBirthDate ; @@ -782,12 +774,6 @@ s4agri:Farmer rdf:type owl:Class ; rdfs:label "Farmer"@en . -### https://saref.etsi.org/saref4agri/ID -s4agri:ID rdf:type owl:Class ; - rdfs:comment "ID"@en ; - rdfs:label "ID"@en . - - ### https://saref.etsi.org/saref4agri/MilkingSensor s4agri:MilkingSensor rdf:type owl:Class ; rdfs:subClassOf saref:Sensor ; -- GitLab From 20d518266ba47545aeb77c18cba2923b0c3c2f5c Mon Sep 17 00:00:00 2001 From: Cornelis Bouter Date: Mon, 10 Jun 2024 23:06:20 +0200 Subject: [PATCH 11/18] fixes for pipeline --- examples/saref4agri-ex1.ttl | 12 +- ontology/saref4agri.ttl | 357 +----------------------------------- 2 files changed, 15 insertions(+), 354 deletions(-) diff --git a/examples/saref4agri-ex1.ttl b/examples/saref4agri-ex1.ttl index b8c1997..fa0c28b 100644 --- a/examples/saref4agri-ex1.ttl +++ b/examples/saref4agri-ex1.ttl @@ -217,7 +217,7 @@ ex:Greenhouse rdf:type ex:Farmer ; s4agri:isMemberOf ex:Jansen_and_Sons ; - s4agri:hasName "Hendricus Jansen" ; + rdfs:label "Hendricus Jansen" ; . ex:Heated_Glass_Greenhouse rdf:type ex:Greenhouse ; @@ -231,7 +231,7 @@ ex:Intake_Sugar_Corn rdf:type ex:Farmer ; s4agri:isMemberOf ex:Jansen_and_Sons ; - s4agri:hasName "Johannes Jansen" ; + rdfs:label "Johannes Jansen" ; . ex:Jansen_and_Sons rdf:type ex:FarmHolding ; @@ -343,13 +343,13 @@ ex:MovementActivitySensor ex:Parcel_East rdf:type s4agri:Parcel ; s4agri:contains ex:Sugar_Snaps_1 ; - s4agri:hasName "Field Frontyard" ; + rdfs:label "Field Frontyard" ; s4agri:receives ex:Compost_2019-02-16 ; . ex:Parcel_North rdf:type s4agri:Parcel ; s4agri:contains ex:Cow_Group_A ; - s4agri:hasName "Grazing Plot" ; + rdfs:label "Grazing Plot" ; . ex:Parcel_South rdf:type s4agri:Parcel ; @@ -441,9 +441,7 @@ ex:Vermicompost #s4agri:Location # does not exist in SAREF4AGRI # rdf:type owl:ObjectProperty ; #. -s4agri:hasID - rdf:type owl:ObjectProperty ; -. + s4agri:hasMember rdf:type owl:ObjectProperty ; rdfs:label "has member"^^xsd:string ; diff --git a/ontology/saref4agri.ttl b/ontology/saref4agri.ttl index 8ba0d75..675077b 100644 --- a/ontology/saref4agri.ttl +++ b/ontology/saref4agri.ttl @@ -35,7 +35,9 @@ vann:preferredNamespaceUri "https://saref.etsi.org/saref4agri/" ; owl:versionIRI ; owl:priorVersion ; - owl:versionInfo "v2.1.1" . + owl:versionInfo "v2.1.1" ; + owl:imports ; +. ################################################################# # Annotation properties @@ -101,6 +103,8 @@ vann:preferredNamespacePrefix rdf:type owl:AnnotationProperty . vann:preferredNamespaceUri rdf:type owl:AnnotationProperty . wgs84:SpatialThing a owl:Class . +foaf:Organization a owl:Class ; rdfs:isDefinedBy foaf: . +foaf:Agent a owl:Class ; rdfs:isDefinedBy foaf: . ### http://www.w3.org/2003/01/geo/wgs84_pos#alt wgs84:alt rdf:type owl:DatatypeProperty ; @@ -327,142 +331,6 @@ s4agri:receives rdf:type owl:ObjectProperty ; rdfs:label "receives"@en . -### https://saref.etsi.org/core/accomplishes -saref:accomplishes rdf:type owl:ObjectProperty ; - owl:inverseOf saref:isAccomplishedBy ; - rdfs:comment "A relationship between a certain entity (e.g., a device) and the task it accomplishes"@en ; - rdfs:isDefinedBy ; - rdfs:label "accomplishes"@en . - - -### https://saref.etsi.org/core/actsUpon -saref:actsUpon rdf:type owl:ObjectProperty ; - rdfs:comment "A relationship between a command and a state"@en ; - rdfs:isDefinedBy ; - rdfs:label "acts upon"@en . - - -### https://saref.etsi.org/core/controlsProperty -saref:controlsProperty rdf:type owl:ObjectProperty ; - rdfs:isDefinedBy ; - rdfs:label "controls property"@en . - - -### https://saref.etsi.org/core/hasCommand -saref:hasCommand rdf:type owl:ObjectProperty ; - owl:inverseOf saref:isCommandOf ; - rdfs:comment "A relationship between an entity (such as a function) and a command"@en ; - rdfs:isDefinedBy ; - rdfs:label "has command"@en . - - -### https://saref.etsi.org/core/isMeasurementOf -saref:isMeasurementOf rdf:type owl:ObjectProperty ; - owl:inverseOf saref:hasMeasurement ; - rdfs:comment "Relation between a measurement and the feature of interest being measured."@en ; - rdfs:isDefinedBy ; - rdfs:label "has feature of interest"@en . - - -### https://saref.etsi.org/core/hasFunction -saref:hasFunction rdf:type owl:ObjectProperty ; - rdfs:comment "A relationship identifying the type of function of a device"@en ; - rdfs:isDefinedBy ; - rdfs:label "has function"@en . - - -### https://saref.etsi.org/core/hasProperty -saref:hasProperty rdf:type owl:ObjectProperty ; - owl:inverseOf saref:isPropertyOf ; - rdfs:comment "Relation between a feature of interest and its properties."@en ; - rdfs:isDefinedBy ; - rdfs:label "has property"@en . - - -### https://saref.etsi.org/core/hasState -saref:hasState rdf:type owl:ObjectProperty ; - rdfs:isDefinedBy ; - rdfs:label "has state"@en . - - -### https://saref.etsi.org/core/isAccomplishedBy -saref:isAccomplishedBy rdf:type owl:ObjectProperty ; - rdfs:comment "A relationship indentifying the task accomplished by a certain entity (e.g., a device)"@en ; - rdfs:isDefinedBy ; - rdfs:label "is accomplished by"@en . - - -### https://saref.etsi.org/core/isCommandOf -saref:isCommandOf rdf:type owl:ObjectProperty ; - rdfs:comment "A relationship between a command and a function."@en ; - rdfs:isDefinedBy ; - rdfs:label "is command of"@en . - - -### https://saref.etsi.org/core/isControlledByDevice -saref:isControlledByDevice rdf:type owl:ObjectProperty ; - rdfs:isDefinedBy ; - rdfs:label "is controlled by device"@en . - - -### https://saref.etsi.org/core/hasMeasurement -saref:hasMeasurement rdf:type owl:ObjectProperty ; - rdfs:comment "Relation betwwen a feature of interest and the measurments that are about it."@en ; - rdfs:isDefinedBy ; - rdfs:label "is feature of interest of"@en . - - -### https://saref.etsi.org/core/isMeasuredByDevice -saref:isMeasuredByDevice rdf:type owl:ObjectProperty ; - rdfs:isDefinedBy ; - rdfs:label "is measured by device"@en . - - -### https://saref.etsi.org/core/isMeasuredIn -saref:isMeasuredIn rdf:type owl:ObjectProperty ; - rdfs:isDefinedBy ; - rdfs:label "is measured in"@en . - - -### https://saref.etsi.org/core/isPropertyOf -saref:isPropertyOf rdf:type owl:ObjectProperty ; - rdfs:comment "Relation between a property and a feature of interest in which such property appears."@en ; - rdfs:isDefinedBy ; - rdfs:label "is property of"@en . - - -### https://saref.etsi.org/core/makesMeasurement -saref:makesMeasurement rdf:type owl:ObjectProperty ; - owl:inverseOf saref:measurementMadeBy ; - rdfs:isDefinedBy ; - rdfs:label "makes measurement"@en . - - -### https://saref.etsi.org/core/measurementMadeBy -saref:measurementMadeBy rdf:type owl:ObjectProperty ; - rdfs:comment "Relation between a measurement and the device that made it."@en ; - rdfs:isDefinedBy ; - rdfs:label "measurement made by"@en . - - -### https://saref.etsi.org/core/measuresProperty -saref:measuresProperty rdf:type owl:ObjectProperty ; - rdfs:isDefinedBy ; - rdfs:label "measures property"@en . - - -### https://saref.etsi.org/core/relatesToMeasurement -saref:relatesToMeasurement rdf:type owl:ObjectProperty ; - rdfs:isDefinedBy ; - rdfs:label "relates to measurement"@en . - - -### https://saref.etsi.org/core/relatesToProperty -saref:relatesToProperty rdf:type owl:ObjectProperty ; - rdfs:isDefinedBy ; - rdfs:label "relates to property"@en . - - ################################################################# # Data properties ################################################################# @@ -610,7 +478,7 @@ s4agri:Animal rdf:type owl:Class ; owl:someValuesFrom s4agri:AnimalGroup ] , [ rdf:type owl:Restriction ; - owl:onProperty s4agri:hasIdentifier ; + owl:onProperty saref:hasIdentifier ; owl:maxQualifiedCardinality "1"^^xsd:nonNegativeInteger ; owl:onDataRange xsd:string ] , @@ -623,11 +491,6 @@ s4agri:Animal rdf:type owl:Class ; owl:onProperty s4agri:hasDeathDate ; owl:maxQualifiedCardinality "1"^^xsd:nonNegativeInteger ; owl:onDataRange xsd:dateTime - ] , - [ rdf:type owl:Restriction ; - owl:onProperty s4agri:hasName ; - owl:maxQualifiedCardinality "1"^^xsd:nonNegativeInteger ; - owl:onDataRange xsd:string ] ; rdfs:comment "An individual and identifiable living organism that feeds on organic matter, typically having specialized sense organs and nervous system and able to respond rapidly to stimuli."@en ; rdfs:label "Animal"@en . @@ -643,12 +506,7 @@ s4agri:AnimalGroup rdf:type owl:Class ; [ rdf:type owl:Restriction ; owl:onProperty s4agri:isLocatedIn ; owl:someValuesFrom geo:Feature - ] , - [ rdf:type owl:Restriction ; - owl:onProperty s4agri:hasName ; - owl:maxQualifiedCardinality "1"^^xsd:nonNegativeInteger ; - owl:onDataRange xsd:string - ] ; + ] ; rdfs:comment "A collection of one or multiple animals."@en ; rdfs:label "Animal Group"@en . @@ -659,11 +517,7 @@ s4agri:Building rdf:type owl:Class ; [ rdf:type owl:Restriction ; owl:onProperty s4agri:contains ; owl:someValuesFrom s4agri:BuildingSpace - ] , - [ rdf:type owl:Restriction ; - owl:onProperty s4agri:hasName ; - owl:maxCardinality "1"^^xsd:nonNegativeInteger - ] ; + ] ; rdfs:comment "A building represents a structure that provides shelter for its occupants or contents and stands in one place. The building is also used to provide a basic element within the spatial structure hierarchy for the components of a building project (together with site, storey, and space)."@en ; rdfs:label "Building"@en . @@ -735,10 +589,6 @@ s4agri:Farm rdf:type owl:Class ; [ rdf:type owl:Restriction ; owl:onProperty s4agri:contains ; owl:someValuesFrom s4agri:Parcel - ] , - [ rdf:type owl:Restriction ; - owl:onProperty s4agri:hasName ; - owl:maxCardinality "1"^^xsd:nonNegativeInteger ] ; rdfs:comment "A plot of land used for the scope of farming which can contain buildings and parcels."@en ; rdfs:label "Farm"@en . @@ -750,11 +600,7 @@ s4agri:FarmHolding rdf:type owl:Class ; [ rdf:type owl:Restriction ; owl:onProperty s4agri:managesFarm ; owl:someValuesFrom s4agri:Farm - ] , - [ rdf:type owl:Restriction ; - owl:onProperty s4agri:hasName ; - owl:allValuesFrom xsd:string - ] ; + ] ; rdfs:comment "A class to decsribe a saref4agri farm holding as subcass of a foaf:Organization"@en ; rdfs:label "Farm holding"@en . @@ -765,10 +611,6 @@ s4agri:Farmer rdf:type owl:Class ; [ rdf:type owl:Restriction ; owl:onProperty s4agri:managesFarm ; owl:someValuesFrom s4agri:Farm - ] , - [ rdf:type owl:Restriction ; - owl:onProperty s4agri:hasName ; - owl:allValuesFrom xsd:string ] ; rdfs:comment "A class to decsribe a saref4agri farmer as subcass of a foaf:Person"@en ; rdfs:label "Farmer"@en . @@ -794,12 +636,7 @@ s4agri:Parcel rdf:type owl:Class ; [ rdf:type owl:Restriction ; owl:onProperty s4agri:contains ; owl:someValuesFrom s4agri:Crop - ] , - [ rdf:type owl:Restriction ; - owl:onProperty s4agri:hasName ; - owl:maxQualifiedCardinality "1"^^xsd:nonNegativeInteger ; - owl:onDataRange xsd:string - ] ; + ] ; rdfs:comment "An area of land, which might be used for grazing animals or planting crops. The parcel is defined as an undividable logical area of land which contains homogeneous items."@en ; rdfs:label "Parcel"@en . @@ -875,180 +712,6 @@ s4agri:WeightSensor rdf:type owl:Class ; rdfs:label "Weight sensor"@en . -### https://saref.etsi.org/core/Actuator -saref:Actuator rdf:type owl:Class ; - rdfs:subClassOf saref:Device ; - rdfs:isDefinedBy ; - rdfs:label "Actuator"@en . - - -### https://saref.etsi.org/core/Command -saref:Command rdf:type owl:Class ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - owl:onProperty saref:actsUpon ; - owl:allValuesFrom saref:State - ] , - [ rdf:type owl:Restriction ; - owl:onProperty saref:isCommandOf ; - owl:minQualifiedCardinality "1"^^xsd:nonNegativeInteger ; - owl:onClass saref:Function - ] , - [ rdf:type owl:Restriction ; - owl:onProperty saref:hasDescription ; - owl:maxCardinality "1"^^xsd:nonNegativeInteger - ] ; - 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."@en ; - rdfs:label "Command"@en . - -### https://saref.etsi.org/core/FeatureOfInterest -saref:FeatureOfInterest rdf:type owl:Class ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - owl:onProperty saref:hasProperty ; - owl:allValuesFrom saref:Property - ] , - [ rdf:type owl:Restriction ; - owl:onProperty saref:hasMeasurement ; - owl:allValuesFrom saref:Measurement - ] ; - rdfs:comment ; - rdfs:label "Feature of interest"@en . - - -### https://saref.etsi.org/core/Function -saref:Function rdf:type owl:Class ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - owl:onProperty saref:hasCommand ; - owl:minQualifiedCardinality "1"^^xsd:nonNegativeInteger ; - owl:onClass saref:Command - ] ; - 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. "@en ; - rdfs:label "Function"@en . - - -### https://saref.etsi.org/core/Humidity -saref:Humidity rdf:type 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"@en ; - rdfs:label "Humidiy"@en , - "Humidity"@en . - - -### https://saref.etsi.org/core/Measurement -saref:Measurement rdf:type owl:Class ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - owl:onProperty saref:isMeasurementOf ; - owl:allValuesFrom saref:FeatureOfInterest - ] , - [ rdf:type owl:Restriction ; - owl:onProperty saref:isMeasuredIn ; - owl:allValuesFrom saref:UnitOfMeasure - ] , - [ rdf:type owl:Restriction ; - owl:onProperty saref:relatesToProperty ; - owl:allValuesFrom saref:Property - ] , - [ rdf:type owl:Restriction ; - owl:onProperty saref:isMeasuredIn ; - owl:qualifiedCardinality "1"^^xsd:nonNegativeInteger ; - owl:onClass saref:UnitOfMeasure - ] , - [ rdf:type owl:Restriction ; - owl:onProperty saref:relatesToProperty ; - owl:qualifiedCardinality "1"^^xsd:nonNegativeInteger ; - owl:onClass saref:Property - ] , - [ rdf:type owl:Restriction ; - owl:onProperty saref:hasTimestamp ; - owl:allValuesFrom xsd:dateTime - ] , - [ rdf:type owl:Restriction ; - owl:onProperty saref:hasValue ; - owl:cardinality "1"^^xsd:nonNegativeInteger - ] , - [ rdf:type owl:Restriction ; - owl:onProperty saref:hasValue ; - owl:qualifiedCardinality "1"^^xsd:nonNegativeInteger ; - owl:onDataRange xsd:float - ] ; - 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 ; - rdfs:label "Measurement"@en . - - -### https://saref.etsi.org/core/Property -saref:Property rdf:type owl:Class ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - owl:onProperty saref:isControlledByDevice ; - owl:allValuesFrom saref:Device - ] , - [ rdf:type owl:Restriction ; - owl:onProperty saref:isMeasuredByDevice ; - owl:allValuesFrom saref:Device - ] , - [ rdf:type owl:Restriction ; - owl:onProperty saref:isPropertyOf ; - owl:allValuesFrom saref:FeatureOfInterest - ] , - [ rdf:type owl:Restriction ; - owl:onProperty saref:relatesToMeasurement ; - owl:allValuesFrom saref:Measurement - ] ; - 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."@en ; - rdfs:isDefinedBy ; - rdfs:label "Property"@en , - "Property"@en . - - -### https://saref.etsi.org/core/Sensor -saref:Sensor rdf:type owl:Class ; - rdfs:subClassOf saref:Device ; - rdfs:isDefinedBy ; - rdfs:label "Sensor"@en . - - -### https://saref.etsi.org/core/State -saref:State rdf:type 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."@en ; - rdfs:label "State"@en . - - -### https://saref.etsi.org/core/Task -saref:Task rdf:type owl:Class ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - owl:onProperty saref:isAccomplishedBy ; - owl:minQualifiedCardinality "1"^^xsd:nonNegativeInteger ; - owl:onClass saref:Device - ] ; - 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."@en ; - rdfs:label "Task"@en . - - -### https://saref.etsi.org/core/Temperature -saref:Temperature rdf:type 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)"@en ; - rdfs:label "Temperature"@en , - "Temperature"@en . - - -### https://saref.etsi.org/core/Time -saref:Time rdf:type owl:Class ; - rdfs:subClassOf saref:Property ; - 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."@en ; - rdfs:label "Time"@en . - - -### https://saref.etsi.org/core/UnitOfMeasure -saref:UnitOfMeasure rdf:type 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 , - "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)."@en ; - rdfs:isDefinedBy , - ; - rdfs:label "Unit of measure"@en . - - ################################################################# # Individuals ################################################################# -- GitLab From 10f33c7985d38e68bfd6c4022d1b182136da553b Mon Sep 17 00:00:00 2001 From: Cornelis Bouter Date: Mon, 10 Jun 2024 23:28:23 +0200 Subject: [PATCH 12/18] remove redundant annotatino properties --- examples/exampleIrrigationUseCase1.ttl | 4 +- examples/saref4agri-ex1.ttl | 30 ++---------- ontology/saref4agri.ttl | 65 ++------------------------ 3 files changed, 11 insertions(+), 88 deletions(-) diff --git a/examples/exampleIrrigationUseCase1.ttl b/examples/exampleIrrigationUseCase1.ttl index 2aa837d..8793e97 100644 --- a/examples/exampleIrrigationUseCase1.ttl +++ b/examples/exampleIrrigationUseCase1.ttl @@ -19,7 +19,9 @@ dcterms:conformsTo ; dcterms:conformsTo ; dcterms:title "SAREF4AGRI example for the Smar Irrigation use case."@en ; - dcterms:description "SAREF4AGRI example for the Smar Irrigation use case."@en . + dcterms:description "SAREF4AGRI example for the Smar Irrigation use case."@en ; + owl:imports saref:, s4agri: ; +. time:hasEnd a owl:ObjectProperty . time:hasBeginning a owl:ObjectProperty . diff --git a/examples/saref4agri-ex1.ttl b/examples/saref4agri-ex1.ttl index fa0c28b..6a850cc 100644 --- a/examples/saref4agri-ex1.ttl +++ b/examples/saref4agri-ex1.ttl @@ -21,7 +21,9 @@ dcterms:conformsTo ; # dcterms:conformsTo obo:TAXRANK_0000017, obo:TAXRANK_0000004 , obo:TAXRANK_0000006 , obo:TAXRANK_0000016 , obo:TAXRANK_0000003 ; dcterms:title "SAREF4AGRI example"@en ; - dcterms:description "SAREF4AGRI example"@en . + dcterms:description "SAREF4AGRI example"@en ; + owl:imports saref:, s4agri: ; +. obo:TAXRANK_0000004 a owl:Class . obo:TAXRANK_0000006 a owl:Class . @@ -438,31 +440,6 @@ ex:Vermicompost rdf:type obo:TAXRANK_0000006 ; rdfs:label "Zea mays L."^^xsd:string ; . -#s4agri:Location # does not exist in SAREF4AGRI -# rdf:type owl:ObjectProperty ; -#. - -s4agri:hasMember - rdf:type owl:ObjectProperty ; - rdfs:label "has member"^^xsd:string ; -. -# s4agri:hasSpace # does not exist in SAREF4AGRI -# rdf:type owl:ObjectProperty ; -# . -# s4agri:isProducedBy # does not exist in SAREF4AGRI -# rdf:type owl:ObjectProperty ; -# . - -s4agri:managesFarm - rdf:type owl:ObjectProperty ; - -. -s4agri:receives - rdf:type owl:ObjectProperty ; -. -saref:isMeasurementOf - owl:inverseOf saref:hasMeasurement ; -. rdf:type saref:UnitOfMeasure ; rdfs:comment "pH is a scale used to specify how acidic or basic a water-based solution is. Acidic solutions have a lower pH, basic solutions have a higher pH. At room temperature, pure water is neither acidic nor basic and has a pH of 7."^^xsd:string ; @@ -471,3 +448,4 @@ saref:isMeasurementOf rdf:type saref:UnitOfMeasure ; . +time:Instant a owl:Class ; rdfs:isDefinedBy time: . \ No newline at end of file diff --git a/ontology/saref4agri.ttl b/ontology/saref4agri.ttl index 675077b..3f9cfdc 100644 --- a/ontology/saref4agri.ttl +++ b/ontology/saref4agri.ttl @@ -43,68 +43,15 @@ # Annotation properties ################################################################# -### http://purl.org/dc/elements/1.1/creator -dcterms:creator rdf:type owl:AnnotationProperty . - - -### http://purl.org/dc/elements/1.1/description -dcterms:description rdf:type owl:AnnotationProperty . - - -### http://purl.org/dc/elements/1.1/title -dcterms:title rdf:type owl:AnnotationProperty . - - ### http://purl.org/dc/terms/contributor dcterms:contributor rdf:type owl:AnnotationProperty . - ### http://purl.org/dc/terms/created dcterms:created rdf:type owl:AnnotationProperty . - -### http://purl.org/dc/terms/creator -dcterms:creator rdf:type owl:AnnotationProperty . - - -### http://purl.org/dc/terms/description -dcterms:description rdf:type owl:AnnotationProperty . - - -### http://purl.org/dc/terms/issued -dcterms:issued rdf:type owl:AnnotationProperty . - - -### http://purl.org/dc/terms/license -dcterms:license rdf:type owl:AnnotationProperty . - - -### http://purl.org/dc/terms/modified -dcterms:modified rdf:type owl:AnnotationProperty . - - -### http://purl.org/dc/terms/publisher -dcterms:publisher rdf:type owl:AnnotationProperty . - - -### http://purl.org/dc/terms/source -dcterms:source rdf:type owl:AnnotationProperty . - - -### http://purl.org/dc/terms/title -dcterms:title rdf:type owl:AnnotationProperty . - - -### http://purl.org/vocab/vann/preferredNamespacePrefix -vann:preferredNamespacePrefix rdf:type owl:AnnotationProperty . - - -### http://purl.org/vocab/vann/preferredNamespaceUri -vann:preferredNamespaceUri rdf:type owl:AnnotationProperty . - wgs84:SpatialThing a owl:Class . foaf:Organization a owl:Class ; rdfs:isDefinedBy foaf: . -foaf:Agent a owl:Class ; rdfs:isDefinedBy foaf: . +foaf:Person a owl:Class ; rdfs:isDefinedBy foaf: . ### http://www.w3.org/2003/01/geo/wgs84_pos#alt wgs84:alt rdf:type owl:DatatypeProperty ; @@ -452,15 +399,11 @@ ssn:System rdf:type owl:Class ; rdfs:isDefinedBy ; rdfs:label "System"@en . -### http://www.w3.org/2006/time +### http://www.w3.org/2006/time/Interval time:Interval a owl:Class ; rdfs:isDefinedBy time: ; . -### http://xmlns.com/foaf/0.1/Person -foaf:Person rdf:type owl:Class ; - rdfs:subClassOf foaf:Agent ; - rdfs:label "Person"@en . ### https://saref.etsi.org/saref4agri/Animal s4agri:Animal rdf:type owl:Class ; @@ -770,12 +713,12 @@ s4agri:SoilTemperature rdf:type owl:NamedIndividual , rdfs:comment "The degree or intensity of heat present in the soil."@en ; rdfs:label "Soil temperature"@en . -s4agri:Intake a saref:Property ; +s4agri:Intake rdf:type saref:Property ; rdfs:comment "The amount of food or other substance taken into the body of an animal or into the soil."@en ; rdfs:label "Intake"@en . -s4agri:Yield a saref:Property ; +s4agri:Yield rdf:type saref:Property ; rdfs:comment "The produced amount of food for animals or of agricultural products."@en ; rdfs:label "Yield"@en . -- GitLab From 6c1b136e15fa19f4173901964ad00e88263f7437 Mon Sep 17 00:00:00 2001 From: Cornelis Bouter Date: Mon, 10 Jun 2024 23:39:56 +0200 Subject: [PATCH 13/18] further pipeline fixes --- examples/exampleIrrigationUseCase1.ttl | 10 ++++++---- examples/saref4agri-ex1.ttl | 15 +++++++++------ ontology/saref4agri.ttl | 6 ++++-- 3 files changed, 19 insertions(+), 12 deletions(-) diff --git a/examples/exampleIrrigationUseCase1.ttl b/examples/exampleIrrigationUseCase1.ttl index 8793e97..018e9a5 100644 --- a/examples/exampleIrrigationUseCase1.ttl +++ b/examples/exampleIrrigationUseCase1.ttl @@ -1,6 +1,6 @@ @prefix dcterms: . @prefix dctype: . -@prefix ex: . +@prefix ex: . @prefix geo: . @prefix geosp: . @prefix om: . @@ -14,10 +14,10 @@ @prefix time: . @prefix xsd: . - a dctype:Dataset ; + a dctype:Dataset ; dcterms:license ; dcterms:conformsTo ; - dcterms:conformsTo ; + dcterms:conformsTo ; dcterms:title "SAREF4AGRI example for the Smar Irrigation use case."@en ; dcterms:description "SAREF4AGRI example for the Smar Irrigation use case."@en ; owl:imports saref:, s4agri: ; @@ -26,7 +26,7 @@ time:hasEnd a owl:ObjectProperty . time:hasBeginning a owl:ObjectProperty . time:inXSDDateTimeStamp a owl:DatatypeProperty . - +dctype:Dataset a owl:Class . om:millibar rdf:type owl:NamedIndividual ; @@ -95,3 +95,5 @@ ex:instant_2017-12-31T235959 rdf:type time:Instant ; time:inXSDDateTimeStamp "2017-12-31T23:59:59"^^xsd:dateTime ; . +time:Instant a owl:Class; rdfs:isDefinedBy time: . +dcterms:conformsTo a owl:AnnotationProperty; rdfs:isDefinedBy dcterms: . \ No newline at end of file diff --git a/examples/saref4agri-ex1.ttl b/examples/saref4agri-ex1.ttl index 6a850cc..aed8428 100644 --- a/examples/saref4agri-ex1.ttl +++ b/examples/saref4agri-ex1.ttl @@ -1,5 +1,5 @@ -@prefix ex: . -@prefix foaf: . +@prefix ex: . +@prefix foaf: . @prefix geosp: . @prefix obo: . @prefix org: . @@ -15,16 +15,18 @@ @prefix dcterms: . @prefix dctype: . - a dctype:Dataset ; + a dctype:Dataset ; dcterms:license ; dcterms:conformsTo ; - dcterms:conformsTo ; + dcterms:conformsTo ; # dcterms:conformsTo obo:TAXRANK_0000017, obo:TAXRANK_0000004 , obo:TAXRANK_0000006 , obo:TAXRANK_0000016 , obo:TAXRANK_0000003 ; dcterms:title "SAREF4AGRI example"@en ; dcterms:description "SAREF4AGRI example"@en ; owl:imports saref:, s4agri: ; . +dctype:Dataset a owl:Class . + obo:TAXRANK_0000004 a owl:Class . obo:TAXRANK_0000006 a owl:Class . obo:TAXRANK_0000003 a owl:Class . @@ -183,7 +185,7 @@ ex:FarmHolding rdf:type owl:Class ; rdfs:comment "An organization specialized in farming."^^xsd:string ; rdfs:label "Farmer holding"^^xsd:string ; - rdfs:subClassOf org:Organization ; + rdfs:subClassOf foaf:Organization ; . ex:Farm_Jansen_and_Sons_Eindhoven rdf:type geosp:Feature ; @@ -448,4 +450,5 @@ ex:Vermicompost rdf:type saref:UnitOfMeasure ; . -time:Instant a owl:Class ; rdfs:isDefinedBy time: . \ No newline at end of file +time:Instant a owl:Class ; rdfs:isDefinedBy time: . +dcterms:conformsTo a owl:AnnotationProperty; rdfs:isDefinedBy dcterms: . \ No newline at end of file diff --git a/ontology/saref4agri.ttl b/ontology/saref4agri.ttl index 3f9cfdc..2232c82 100644 --- a/ontology/saref4agri.ttl +++ b/ontology/saref4agri.ttl @@ -713,12 +713,14 @@ s4agri:SoilTemperature rdf:type owl:NamedIndividual , rdfs:comment "The degree or intensity of heat present in the soil."@en ; rdfs:label "Soil temperature"@en . -s4agri:Intake rdf:type saref:Property ; +s4agri:Intake a owl:Class ; + rdfs:subClassOf saref:Property ; rdfs:comment "The amount of food or other substance taken into the body of an animal or into the soil."@en ; rdfs:label "Intake"@en . -s4agri:Yield rdf:type saref:Property ; +s4agri:Yield a owl:Class ; + rdfs:subClassOf saref:Property ; rdfs:comment "The produced amount of food for animals or of agricultural products."@en ; rdfs:label "Yield"@en . -- GitLab From 5f248cd22102b2f5d0950441e0d79cde4545b970 Mon Sep 17 00:00:00 2001 From: Cornelis Bouter Date: Wed, 19 Jun 2024 18:14:06 +0200 Subject: [PATCH 14/18] change geospatial namespace --- ontology/saref4agri.ttl | 67 ++++++++++++++++++++--------------------- 1 file changed, 33 insertions(+), 34 deletions(-) diff --git a/ontology/saref4agri.ttl b/ontology/saref4agri.ttl index 2232c82..36382ee 100644 --- a/ontology/saref4agri.ttl +++ b/ontology/saref4agri.ttl @@ -10,7 +10,7 @@ @prefix time: . @prefix foaf: . @prefix vann: . -@prefix geo: . +@prefix geosp: . @prefix wgs84: . @base . @@ -49,7 +49,6 @@ dcterms:contributor rdf:type owl:AnnotationProperty . ### http://purl.org/dc/terms/created dcterms:created rdf:type owl:AnnotationProperty . -wgs84:SpatialThing a owl:Class . foaf:Organization a owl:Class ; rdfs:isDefinedBy foaf: . foaf:Person a owl:Class ; rdfs:isDefinedBy foaf: . @@ -114,18 +113,18 @@ xsd:duration rdf:type rdfs:Datatype . ### http://www.opengis.net/ont/geosparql#hasGeometry -geo:hasGeometry rdf:type owl:ObjectProperty ; - rdfs:domain geo:Feature ; - rdfs:range geo:Geometry ; +geosp:hasGeometry rdf:type owl:ObjectProperty ; + rdfs:domain geosp:Feature ; + rdfs:range geosp:Geometry ; rdfs:comment "A spatial representation for a given feature."@en ; rdfs:isDefinedBy ; rdfs:label "has geometry"@en . ### http://www.opengis.net/ont/geosparql#sfContains -geo:sfContains rdf:type owl:ObjectProperty ; - rdfs:domain geo:SpatialObject ; - rdfs:range geo:SpatialObject ; +geosp:sfContains rdf:type 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 , ; @@ -133,9 +132,9 @@ geo:sfContains rdf:type owl:ObjectProperty ; ### http://www.opengis.net/ont/geosparql#sfWithin -geo:sfWithin rdf:type owl:ObjectProperty ; - rdfs:domain geo:SpatialObject ; - rdfs:range geo:SpatialObject ; +geosp:sfWithin rdf:type 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 , ; @@ -201,7 +200,7 @@ foaf:member rdf:type owl:ObjectProperty ; s4agri:contains rdf:type owl:ObjectProperty ; rdfs:comment "contains"@en ; rdfs:label "contains"@en ; - rdfs:subPropertyOf geo:sfContains ; + rdfs:subPropertyOf geosp:sfContains ; owl:inverseOf s4agri:isContainedIn . @@ -321,13 +320,13 @@ s4agri:hasPlantDate rdf:type owl:DatatypeProperty ; ### http://www.opengis.net/ont/geosparql#Feature -geo:Feature rdf:type owl:Class ; - rdfs:subClassOf geo:SpatialObject , +geosp:Feature rdf:type owl:Class ; + rdfs:subClassOf geosp:SpatialObject , [ rdf:type owl:Restriction ; - owl:onProperty geo:hasGeometry ; - owl:allValuesFrom geo:Geometry + owl:onProperty geosp:hasGeometry ; + owl:allValuesFrom geosp:Geometry ] ; - owl:disjointWith geo:Geometry ; + owl:disjointWith geosp:Geometry ; 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 , ; @@ -335,26 +334,26 @@ geo:Feature rdf:type owl:Class ; ### http://www.opengis.net/ont/geosparql#Geometry -geo:Geometry rdf:type owl:Class ; - rdfs:subClassOf geo:SpatialObject ; +geosp:Geometry rdf:type owl:Class ; + rdfs:subClassOf geosp:SpatialObject ; 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 ; rdfs:label "Geometry"@en . ### http://www.opengis.net/ont/geosparql#SpatialObject -geo:SpatialObject rdf:type owl:Class ; +geosp:SpatialObject rdf:type owl:Class ; rdfs:subClassOf [ rdf:type owl:Restriction ; - owl:onProperty geo:hasGeometry ; - owl:allValuesFrom geo:Geometry + owl:onProperty geosp:hasGeometry ; + owl:allValuesFrom geosp:Geometry ] , [ rdf:type owl:Restriction ; - owl:onProperty geo:sfContains ; - owl:allValuesFrom geo:SpatialObject + owl:onProperty geosp:sfContains ; + owl:allValuesFrom geosp:SpatialObject ] , [ rdf:type owl:Restriction ; - owl:onProperty geo:sfWithin ; - owl:allValuesFrom geo:SpatialObject + owl:onProperty geosp:sfWithin ; + owl:allValuesFrom geosp:SpatialObject ] , [ rdf:type owl:Restriction ; owl:onProperty wgs84:location ; @@ -367,7 +366,7 @@ geo:SpatialObject rdf:type owl:Class ; ### http://www.w3.org/2003/01/geo/wgs84_pos#Point wgs84:Point rdf:type owl:Class ; - rdfs:subClassOf geo:Geometry ; + rdfs:subClassOf geosp:Geometry ; rdfs:comment """ Uniquely identified by lat/long/alt. i.e. @@ -414,7 +413,7 @@ s4agri:Animal rdf:type owl:Class ; ] , [ rdf:type owl:Restriction ; owl:onProperty s4agri:isLocatedIn ; - owl:someValuesFrom geo:Feature + owl:someValuesFrom geosp:Feature ] , [ rdf:type owl:Restriction ; owl:onProperty s4agri:isMemberOf ; @@ -448,7 +447,7 @@ s4agri:AnimalGroup rdf:type owl:Class ; ] , [ rdf:type owl:Restriction ; owl:onProperty s4agri:isLocatedIn ; - owl:someValuesFrom geo:Feature + owl:someValuesFrom geosp:Feature ] ; rdfs:comment "A collection of one or multiple animals."@en ; rdfs:label "Animal Group"@en . @@ -456,7 +455,7 @@ s4agri:AnimalGroup rdf:type owl:Class ; ### https://saref.etsi.org/saref4agri/Building s4agri:Building rdf:type owl:Class ; - rdfs:subClassOf geo:Feature , + rdfs:subClassOf geosp:Feature , [ rdf:type owl:Restriction ; owl:onProperty s4agri:contains ; owl:someValuesFrom s4agri:BuildingSpace @@ -467,7 +466,7 @@ s4agri:Building rdf:type owl:Class ; ### https://saref.etsi.org/saref4agri/BuildingSpace s4agri:BuildingSpace rdf:type owl:Class ; - rdfs:subClassOf geo:Feature ; + rdfs:subClassOf geosp:Feature ; rdfs:comment "An entity used to define the physical spaces of the building. A building space contains devices or building objects."@en ; rdfs:label "Building space"@en . @@ -508,7 +507,7 @@ s4agri:Deployment rdf:type owl:Class ; ] , [ rdf:type owl:Restriction ; owl:onProperty s4agri:isDeployedAtSpace ; - owl:someValuesFrom geo:SpatialObject + owl:someValuesFrom geosp:SpatialObject ] ; rdfs:comment "Deployment"@en , "The scenario, including temporal and spatial information, in which the systems and devices are installed."@en ; @@ -524,7 +523,7 @@ s4agri:EatingActivitySensor rdf:type owl:Class ; ### https://saref.etsi.org/saref4agri/Farm s4agri:Farm rdf:type owl:Class ; - rdfs:subClassOf geo:Feature , + rdfs:subClassOf geosp:Feature , [ rdf:type owl:Restriction ; owl:onProperty s4agri:contains ; owl:someValuesFrom s4agri:Building @@ -575,7 +574,7 @@ s4agri:MovementActivitySensor rdf:type owl:Class ; ### https://saref.etsi.org/saref4agri/Parcel s4agri:Parcel rdf:type owl:Class ; - rdfs:subClassOf geo:Feature , + rdfs:subClassOf geosp:Feature , [ rdf:type owl:Restriction ; owl:onProperty s4agri:contains ; owl:someValuesFrom s4agri:Crop -- GitLab From 4a8cde65100f4f85a39c4fc95569aba3abd271a9 Mon Sep 17 00:00:00 2001 From: Cornelis Bouter Date: Wed, 19 Jun 2024 18:16:28 +0200 Subject: [PATCH 15/18] restore spatialThing --- ontology/saref4agri.ttl | 1 + 1 file changed, 1 insertion(+) diff --git a/ontology/saref4agri.ttl b/ontology/saref4agri.ttl index 36382ee..cd998b8 100644 --- a/ontology/saref4agri.ttl +++ b/ontology/saref4agri.ttl @@ -49,6 +49,7 @@ dcterms:contributor rdf:type owl:AnnotationProperty . ### http://purl.org/dc/terms/created dcterms:created rdf:type owl:AnnotationProperty . +wgs84:SpatialThing a owl:Class . foaf:Organization a owl:Class ; rdfs:isDefinedBy foaf: . foaf:Person a owl:Class ; rdfs:isDefinedBy foaf: . -- GitLab From 7b5e9532ef508f6fb7364c8658cdfcee46354404 Mon Sep 17 00:00:00 2001 From: Cornelis Bouter Date: Wed, 19 Jun 2024 18:16:40 +0200 Subject: [PATCH 16/18] restore spatialThing --- ontology/saref4agri.ttl | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/ontology/saref4agri.ttl b/ontology/saref4agri.ttl index cd998b8..448095e 100644 --- a/ontology/saref4agri.ttl +++ b/ontology/saref4agri.ttl @@ -92,18 +92,6 @@ wgs84:long rdf:type owl:ObjectProperty ; foaf:based_near rdf:type owl:ObjectProperty . -################################################################# -# Datatypes -################################################################# - -### http://www.w3.org/2001/XMLSchema#date -xsd:date rdf:type rdfs:Datatype . - - -### http://www.w3.org/2001/XMLSchema#duration -xsd:duration rdf:type rdfs:Datatype . - - ################################################################# # Object Properties ################################################################# -- GitLab From 63186c6f9c622c182be3498db19d23bc33c91aee Mon Sep 17 00:00:00 2001 From: Cornelis Bouter Date: Wed, 19 Jun 2024 20:53:24 +0200 Subject: [PATCH 17/18] remove hijacking of Point --- ontology/saref4agri.ttl | 1 - 1 file changed, 1 deletion(-) diff --git a/ontology/saref4agri.ttl b/ontology/saref4agri.ttl index 448095e..5e86d95 100644 --- a/ontology/saref4agri.ttl +++ b/ontology/saref4agri.ttl @@ -355,7 +355,6 @@ geosp:SpatialObject rdf:type owl:Class ; ### http://www.w3.org/2003/01/geo/wgs84_pos#Point wgs84:Point rdf:type owl:Class ; - rdfs:subClassOf geosp:Geometry ; rdfs:comment """ Uniquely identified by lat/long/alt. i.e. -- GitLab From 1a159f00073cd5c443a3b6b32c45671455ac3066 Mon Sep 17 00:00:00 2001 From: bouter Date: Tue, 25 Jun 2024 07:18:26 +0000 Subject: [PATCH 18/18] change Yield and Intake to individuals closes #21 --- ontology/saref4agri.ttl | 1426 +++++++++++++++++++-------------------- 1 file changed, 712 insertions(+), 714 deletions(-) diff --git a/ontology/saref4agri.ttl b/ontology/saref4agri.ttl index 5e86d95..8345eb1 100644 --- a/ontology/saref4agri.ttl +++ b/ontology/saref4agri.ttl @@ -1,714 +1,712 @@ -@prefix owl: . -@prefix rdf: . -@prefix xsd: . -@prefix rdfs: . -@prefix dcterms: . -@prefix s4agri: . -@prefix saref: . -@prefix sosa: . -@prefix ssn: . -@prefix time: . -@prefix foaf: . -@prefix vann: . -@prefix geosp: . -@prefix wgs84: . - -@base . - - rdf:type owl:Ontology ; - dcterms: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 ; - dcterms:title "SAREF4AGRI: an extension of SAREF for the agriculture and food domain"@en ; - dcterms:created "2019-04-15"^^xsd:date ; - dcterms:creator , - , - , - ; - dcterms:contributor ; - dcterms:description "SAREF4AGRI is an extension of SAREF for the agriculture and food domain. SAREF4AGRI is specified and published by ETSI in the TS 103 410-6 associated to this ontology file. The list of use cases, standards and requirements that guided the creation of SAREF4AGRI are described in the associated ETSI TR 103 511."@en ; - dcterms:license ; - dcterms:modified "2024-06-05"^^xsd:date ; - dcterms:publisher ; - dcterms:source ; - owl:import ; - rdfs:seeAlso ; - vann:preferredNamespacePrefix "s4agri" ; - vann:preferredNamespaceUri "https://saref.etsi.org/saref4agri/" ; - owl:versionIRI ; - owl:priorVersion ; - owl:versionInfo "v2.1.1" ; - owl:imports ; -. - -################################################################# -# Annotation properties -################################################################# - -### http://purl.org/dc/terms/contributor -dcterms:contributor rdf:type owl:AnnotationProperty . - -### http://purl.org/dc/terms/created -dcterms:created rdf:type owl:AnnotationProperty . - -wgs84:SpatialThing a owl:Class . -foaf:Organization a owl:Class ; rdfs:isDefinedBy foaf: . -foaf:Person a owl:Class ; rdfs:isDefinedBy foaf: . - -### http://www.w3.org/2003/01/geo/wgs84_pos#alt -wgs84:alt rdf:type owl:DatatypeProperty ; - rdfs:comment "The WGS84 altitude of a SpatialThing (decimal meters above the local reference ellipsoid)."@en ; - rdfs:label "altitude"@en ; - rdfs:domain wgs84:SpatialThing . - - -### http://www.w3.org/2003/01/geo/wgs84_pos#lat -wgs84:lat rdf:type owl:DatatypeProperty ; - rdfs:comment "The WGS84 latitude of a SpatialThing (decimal degrees)."@en ; - rdfs:label "latitude"@en ; - rdfs:domain wgs84:SpatialThing . - - -### http://www.w3.org/2003/01/geo/wgs84_pos#location -wgs84:location rdf:type 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 . - """@en ; - rdfs:label "location"@en ; - rdfs:subPropertyOf foaf:based_near . - - -### http://www.w3.org/2003/01/geo/wgs84_pos#long -wgs84:long rdf:type owl:ObjectProperty ; - rdfs:comment "The WGS84 longitude of a SpatialThing (decimal degrees)."@en ; - rdfs:label "longitude"@en ; - rdfs:domain wgs84:SpatialThing . - - -### http://xmlns.com/foaf/0.1/based_near -foaf:based_near rdf:type owl:ObjectProperty . - - -################################################################# -# Object Properties -################################################################# - -### http://purl.obolibrary.org/obo/TAXRANK_1000000 - rdf:type owl:ObjectProperty ; - rdfs:label "has taxon rank"@en . - - -### http://www.opengis.net/ont/geosparql#hasGeometry -geosp:hasGeometry rdf:type owl:ObjectProperty ; - rdfs:domain geosp:Feature ; - rdfs:range geosp:Geometry ; - rdfs:comment "A spatial representation for a given feature."@en ; - rdfs:isDefinedBy ; - rdfs:label "has geometry"@en . - - -### http://www.opengis.net/ont/geosparql#sfContains -geosp:sfContains rdf:type 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 , - ; - rdfs:label "contains"@en . - - -### http://www.opengis.net/ont/geosparql#sfWithin -geosp:sfWithin rdf:type 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 , - ; - rdfs:label "within"@en . - - -### http://www.w3.org/ns/sosa/hosts -sosa:hosts rdf:type owl:ObjectProperty ; - owl:inverseOf sosa:isHostedBy ; - rdfs:comment "Relation between a platform and the systems it hosts."@en ; - rdfs:isDefinedBy ; - rdfs:label "host"@en . - - -### http://www.w3.org/ns/sosa/isHostedBy -sosa:isHostedBy rdf:type owl:ObjectProperty ; - rdfs:comment "Relation between a system and its hosting platform."@en ; - rdfs:isDefinedBy ; - rdfs:label "is hosted by"@en . - - -### http://www.w3.org/ns/ssn/deployedOnPlatform -ssn:deployedOnPlatform rdf:type owl:ObjectProperty ; - owl:inverseOf ssn:inDeployment ; - rdfs:comment "Relation between a deployment and the platform(s) involved in the deployment."@en ; - rdfs:isDefinedBy ; - rdfs:label "deployed on platform"@en . - - -### http://www.w3.org/ns/ssn/deployedSystem -ssn:deployedSystem rdf:type owl:ObjectProperty ; - owl:inverseOf ssn:hasDeployment ; - rdfs:comment "Relation between a deployment and the system deployed."@en ; - rdfs:isDefinedBy ; - rdfs:label "deployed system"@en . - - -### http://www.w3.org/ns/ssn/hasDeployment -ssn:hasDeployment rdf:type owl:ObjectProperty ; - rdfs:isDefinedBy ; - rdfs:label "has deployment"@en . - - -### http://www.w3.org/ns/ssn/hasSubSystem -ssn:hasSubSystem rdf:type owl:ObjectProperty ; - rdfs:isDefinedBy ; - rdfs:label "has subsystem"@en . - - -### http://www.w3.org/ns/ssn/inDeployment -ssn:inDeployment rdf:type owl:ObjectProperty ; - rdfs:comment "Relation between a platform and the deployment(s) that takes place in the platform."@en ; - rdfs:isDefinedBy ; - rdfs:label "in deployment"@en . - - -### http://xmlns.com/foaf/0.1/member -foaf:member rdf:type owl:ObjectProperty ; - rdfs:label "member"@en . - - -### https://saref.etsi.org/saref4agri/contains -s4agri:contains rdf:type owl:ObjectProperty ; - rdfs:comment "contains"@en ; - rdfs:label "contains"@en ; - rdfs:subPropertyOf geosp:sfContains ; - owl:inverseOf s4agri:isContainedIn . - - -### https://saref.etsi.org/saref4agri/generates -s4agri:generates rdf:type owl:ObjectProperty ; - rdfs:subPropertyOf saref:hasProperty ; - rdfs:comment "A relation to represent the yield generated by a Crop."@en ; - rdfs:label "generates"@en . - - -### https://saref.etsi.org/saref4agri/hasDeploymentPeriod -s4agri:hasDeploymentPeriod rdf:type owl:ObjectProperty ; - rdfs:comment "Relation to indicate the temporal duration or period of a deployment."@en , - "has deployment period"@en ; - rdfs:label "has deployment period"@en . - - -### https://saref.etsi.org/saref4agri/hasMember -s4agri:hasMember rdf:type owl:ObjectProperty ; - owl:inverseOf s4agri:isMemberOf ; - rdfs:comment "A relation to represent the members of an AnimalGroup."@en ; - rdfs:label "has member"@en . - - -### https://saref.etsi.org/saref4agri/hasReceived -s4agri:hasReceived rdf:type owl:ObjectProperty ; - owl:inverseOf s4agri:receives ; - rdfs:comment "has received"@en ; - rdfs:label "has received"@en . - - -### https://saref.etsi.org/saref4agri/isContainedIn -s4agri:isContainedIn rdf:type owl:ObjectProperty ; - rdfs:comment "is contained in"@en ; - rdfs:label "is contained in"@en . - - -### https://saref.etsi.org/saref4agri/isDeployedAtSpace -s4agri:isDeployedAtSpace rdf:type owl:ObjectProperty ; - rdfs:comment "Relation to indicate the geographical componet of a deployment."@en , - "is deployed at space"@en ; - rdfs:label "is deployed at space"@en . - - -### https://saref.etsi.org/saref4agri/isLocatedIn -s4agri:isLocatedIn rdf:type owl:ObjectProperty ; - owl:inverseOf s4agri:isLocationOf ; - rdfs:comment "A relation to express the physical location of a saref4agri entity (e.g., an animal)"@en ; - rdfs:label "is located in"@en . - - -### https://saref.etsi.org/saref4agri/isLocationOf -s4agri:isLocationOf rdf:type owl:ObjectProperty ; - rdfs:comment "is location of"@en ; - rdfs:label "is location of"@en . - - -### https://saref.etsi.org/saref4agri/isMemberOf -s4agri:isMemberOf rdf:type owl:ObjectProperty ; - rdfs:comment "A relation to express that an animal can be part of groups."@en ; - rdfs:label "is member of"@en . - - -### https://saref.etsi.org/saref4agri/managesFarm -s4agri:managesFarm rdf:type owl:ObjectProperty ; - rdfs:comment "manages farm"@en ; - rdfs:label "manages farm"@en . - - -### https://saref.etsi.org/saref4agri/receives -s4agri:receives rdf:type owl:ObjectProperty ; - rdfs:subPropertyOf saref:hasMeasurement ; - rdfs:comment "A relation to represent the intake/consumption of certain substances in a Crop."@en ; - rdfs:label "receives"@en . - - -################################################################# -# Data properties -################################################################# - -### https://saref.etsi.org/saref4agri/hasBirthDate -s4agri:hasBirthDate rdf:type owl:DatatypeProperty ; - rdfs:range xsd:dateTime ; - rdfs:comment "A relation to express the birth date of an animal."@en ; - rdfs:label "has birth date"@en . - - -### https://saref.etsi.org/saref4agri/hasDeathDate -s4agri:hasDeathDate rdf:type owl:DatatypeProperty ; - rdfs:range xsd:dateTime ; - rdfs:comment "A relation to express the death date of an animal."@en ; - rdfs:label "has death date"@en . - - -### https://saref.etsi.org/saref4agri/hasHarvestDate -s4agri:hasHarvestDate rdf:type owl:DatatypeProperty ; - rdfs:subPropertyOf owl:topDataProperty ; - rdfs:range xsd:dateTime ; - rdfs:comment "A relation to express the day the crop is harvested."@en ; - rdfs:label "has harvest date"@en . - -### https://saref.etsi.org/saref4agri/hasPlantDate -s4agri:hasPlantDate rdf:type owl:DatatypeProperty ; - rdfs:subPropertyOf owl:topDataProperty ; - rdfs:range xsd:dateTime ; - rdfs:comment "A relation to express the day the crop is planted."@en ; - rdfs:label "has plant date"@en . - - -################################################################# -# Classes -################################################################# - -### http://purl.obolibrary.org/obo/TAXRANK_0000000 - rdf:type owl:Class ; - rdfs:label "Taxon rank"@en . - - -### http://www.opengis.net/ont/geosparql#Feature -geosp:Feature rdf:type owl:Class ; - rdfs:subClassOf geosp:SpatialObject , - [ rdf:type owl:Restriction ; - owl:onProperty geosp:hasGeometry ; - owl:allValuesFrom geosp:Geometry - ] ; - owl:disjointWith geosp:Geometry ; - 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 , - ; - rdfs:label "Feature"@en . - - -### http://www.opengis.net/ont/geosparql#Geometry -geosp:Geometry rdf:type owl:Class ; - rdfs:subClassOf geosp:SpatialObject ; - 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 ; - rdfs:label "Geometry"@en . - - -### http://www.opengis.net/ont/geosparql#SpatialObject -geosp:SpatialObject rdf:type owl:Class ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - owl:onProperty geosp:hasGeometry ; - owl:allValuesFrom geosp:Geometry - ] , - [ rdf:type owl:Restriction ; - owl:onProperty geosp:sfContains ; - owl:allValuesFrom geosp:SpatialObject - ] , - [ rdf:type owl:Restriction ; - owl:onProperty geosp:sfWithin ; - owl:allValuesFrom geosp:SpatialObject - ] , - [ rdf:type owl:Restriction ; - owl:onProperty wgs84:location ; - owl:allValuesFrom wgs84:Point - ] ; - rdfs:comment "The class spatial-object represents everything that can have a spatial representation. It is superclass of feature and geometry."@en ; - rdfs:isDefinedBy ; - rdfs:label "SpatialObject"@en . - - -### http://www.w3.org/2003/01/geo/wgs84_pos#Point -wgs84:Point rdf:type owl:Class ; - 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."@en ; - rdfs:isDefinedBy ; - rdfs:label "Point"@en . - -### http://www.w3.org/ns/sosa/Platform -sosa:Platform rdf:type owl:Class ; - 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:isDefinedBy ; - rdfs:label "Platform"@en . - - -### http://www.w3.org/ns/ssn/Deployment -ssn:Deployment rdf:type owl:Class ; - rdfs:isDefinedBy ; - rdfs:label "Deployment"@en . - - -### http://www.w3.org/ns/ssn/System -ssn:System rdf:type owl:Class ; - 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:isDefinedBy ; - rdfs:label "System"@en . - -### http://www.w3.org/2006/time/Interval -time:Interval a owl:Class ; - rdfs:isDefinedBy time: ; -. - - -### https://saref.etsi.org/saref4agri/Animal -s4agri:Animal rdf:type owl:Class ; - rdfs:subClassOf saref:FeatureOfInterest , - [ rdf:type owl:Restriction ; - owl:onProperty ; - owl:someValuesFrom - ] , - [ rdf:type owl:Restriction ; - owl:onProperty s4agri:isLocatedIn ; - owl:someValuesFrom geosp:Feature - ] , - [ rdf:type owl:Restriction ; - owl:onProperty s4agri:isMemberOf ; - owl:someValuesFrom s4agri:AnimalGroup - ] , - [ rdf:type owl:Restriction ; - owl:onProperty saref:hasIdentifier ; - owl:maxQualifiedCardinality "1"^^xsd:nonNegativeInteger ; - owl:onDataRange xsd:string - ] , - [ rdf:type owl:Restriction ; - owl:onProperty s4agri:hasBirthDate ; - owl:maxQualifiedCardinality "1"^^xsd:nonNegativeInteger ; - owl:onDataRange xsd:dateTime - ] , - [ rdf:type owl:Restriction ; - owl:onProperty s4agri:hasDeathDate ; - owl:maxQualifiedCardinality "1"^^xsd:nonNegativeInteger ; - owl:onDataRange xsd:dateTime - ] ; - rdfs:comment "An individual and identifiable living organism that feeds on organic matter, typically having specialized sense organs and nervous system and able to respond rapidly to stimuli."@en ; - rdfs:label "Animal"@en . - - -### https://saref.etsi.org/saref4agri/AnimalGroup -s4agri:AnimalGroup rdf:type owl:Class ; - rdfs:subClassOf saref:FeatureOfInterest , - [ rdf:type owl:Restriction ; - owl:onProperty s4agri:hasMember ; - owl:someValuesFrom s4agri:Animal - ] , - [ rdf:type owl:Restriction ; - owl:onProperty s4agri:isLocatedIn ; - owl:someValuesFrom geosp:Feature - ] ; - rdfs:comment "A collection of one or multiple animals."@en ; - rdfs:label "Animal Group"@en . - - -### https://saref.etsi.org/saref4agri/Building -s4agri:Building rdf:type owl:Class ; - rdfs:subClassOf geosp:Feature , - [ rdf:type owl:Restriction ; - owl:onProperty s4agri:contains ; - owl:someValuesFrom s4agri:BuildingSpace - ] ; - rdfs:comment "A building represents a structure that provides shelter for its occupants or contents and stands in one place. The building is also used to provide a basic element within the spatial structure hierarchy for the components of a building project (together with site, storey, and space)."@en ; - rdfs:label "Building"@en . - - -### https://saref.etsi.org/saref4agri/BuildingSpace -s4agri:BuildingSpace rdf:type owl:Class ; - rdfs:subClassOf geosp:Feature ; - rdfs:comment "An entity used to define the physical spaces of the building. A building space contains devices or building objects."@en ; - rdfs:label "Building space"@en . - - -### https://saref.etsi.org/saref4agri/Crop -s4agri:Crop rdf:type owl:Class ; - rdfs:subClassOf saref:FeatureOfInterest , - [ rdf:type owl:Restriction ; - owl:onProperty ; - owl:someValuesFrom - ] , - [ rdf:type owl:Restriction ; - owl:onProperty s4agri:hasHarvestDate ; - owl:someValuesFrom xsd:dateTime - ] , - [ rdf:type owl:Restriction ; - owl:onProperty s4agri:hasPlantDate ; - owl:someValuesFrom xsd:dateTime - ] ; - rdfs:comment "A collection of cultivated plants that is grown on a large scale commercially, especially a cereal, fruit, or vegetable."@en ; - rdfs:label "Crop"@en . - - -### https://saref.etsi.org/saref4agri/Deployment -s4agri:Deployment rdf:type owl:Class ; - rdfs:subClassOf ssn:Deployment , - [ rdf:type owl:Restriction ; - owl:onProperty ssn:deployedOnPlatform ; - owl:someValuesFrom sosa:Platform - ] , - [ rdf:type owl:Restriction ; - owl:onProperty ssn:deployedSystem ; - owl:someValuesFrom ssn:System - ] , - [ rdf:type owl:Restriction ; - owl:onProperty s4agri:hasDeploymentPeriod ; - owl:someValuesFrom time:Interval - ] , - [ rdf:type owl:Restriction ; - owl:onProperty s4agri:isDeployedAtSpace ; - owl:someValuesFrom geosp:SpatialObject - ] ; - rdfs:comment "Deployment"@en , - "The scenario, including temporal and spatial information, in which the systems and devices are installed."@en ; - rdfs:label "Deployment"@en . - - -### https://saref.etsi.org/saref4agri/EatingActivitySensor -s4agri:EatingActivitySensor rdf:type owl:Class ; - rdfs:subClassOf saref:Sensor ; - rdfs:comment "Eating activity sensor"@en ; - rdfs:label "Eating activity sensor"@en . - - -### https://saref.etsi.org/saref4agri/Farm -s4agri:Farm rdf:type owl:Class ; - rdfs:subClassOf geosp:Feature , - [ rdf:type owl:Restriction ; - owl:onProperty s4agri:contains ; - owl:someValuesFrom s4agri:Building - ] , - [ rdf:type owl:Restriction ; - owl:onProperty s4agri:contains ; - owl:someValuesFrom s4agri:Parcel - ] ; - rdfs:comment "A plot of land used for the scope of farming which can contain buildings and parcels."@en ; - rdfs:label "Farm"@en . - - -### https://saref.etsi.org/saref4agri/FarmHolding -s4agri:FarmHolding rdf:type owl:Class ; - rdfs:subClassOf foaf:Organization , - [ rdf:type owl:Restriction ; - owl:onProperty s4agri:managesFarm ; - owl:someValuesFrom s4agri:Farm - ] ; - rdfs:comment "A class to decsribe a saref4agri farm holding as subcass of a foaf:Organization"@en ; - rdfs:label "Farm holding"@en . - - -### https://saref.etsi.org/saref4agri/Farmer -s4agri:Farmer rdf:type owl:Class ; - rdfs:subClassOf foaf:Person , - [ rdf:type owl:Restriction ; - owl:onProperty s4agri:managesFarm ; - owl:someValuesFrom s4agri:Farm - ] ; - rdfs:comment "A class to decsribe a saref4agri farmer as subcass of a foaf:Person"@en ; - rdfs:label "Farmer"@en . - - -### https://saref.etsi.org/saref4agri/MilkingSensor -s4agri:MilkingSensor rdf:type owl:Class ; - rdfs:subClassOf saref:Sensor ; - rdfs:comment "Milking sensor"@en ; - rdfs:label "Milking sensor"@en . - - -### https://saref.etsi.org/saref4agri/MovementActivitySensor -s4agri:MovementActivitySensor rdf:type owl:Class ; - rdfs:subClassOf saref:Sensor ; - rdfs:comment "Movement activity sensor"@en ; - rdfs:label "Movement activity sensor"@en . - - -### https://saref.etsi.org/saref4agri/Parcel -s4agri:Parcel rdf:type owl:Class ; - rdfs:subClassOf geosp:Feature , - [ rdf:type owl:Restriction ; - owl:onProperty s4agri:contains ; - owl:someValuesFrom s4agri:Crop - ] ; - rdfs:comment "An area of land, which might be used for grazing animals or planting crops. The parcel is defined as an undividable logical area of land which contains homogeneous items."@en ; - rdfs:label "Parcel"@en . - - -### https://saref.etsi.org/saref4agri/Platform -s4agri:Platform rdf:type owl:Class ; - rdfs:subClassOf sosa:Platform ; - rdfs:comment "Platform"@en ; - rdfs:label "Platform"@en . - - -### https://saref.etsi.org/saref4agri/Pluviometer -s4agri:Pluviometer rdf:type owl:Class ; - rdfs:subClassOf saref:Sensor ; - rdfs:comment "A sensor that measures the rain fall."@en ; - rdfs:label "Pluviometer"@en . - - -### https://saref.etsi.org/saref4agri/Soil -s4agri:Soil rdf:type owl:Class ; - rdfs:subClassOf saref:FeatureOfInterest ; - rdfs:comment "Upper layer of the earth in which plants grow."@en ; - rdfs:label "Soil"@en . - - -### https://saref.etsi.org/saref4agri/SoilTensiometer -s4agri:SoilTensiometer rdf:type owl:Class ; - rdfs:subClassOf saref:Sensor ; - rdfs:comment "A sensor that measures the soil moisture."@en ; - rdfs:label "Soil tensiometer"@en . - - -### https://saref.etsi.org/saref4agri/Thermometer -s4agri:Thermometer rdf:type owl:Class ; - rdfs:subClassOf saref:Sensor ; - rdfs:comment "Thermometer"@en ; - rdfs:label "Thermometer"@en . - - -### https://saref.etsi.org/saref4agri/WateringGun -s4agri:WateringGun rdf:type owl:Class ; - rdfs:subClassOf saref:Actuator ; - rdfs:comment "An actuator to irrigate an space."@en ; - rdfs:label "Watering gun"@en . - - -### https://saref.etsi.org/saref4agri/WateringSystem -s4agri:WateringSystem rdf:type owl:Class ; - rdfs:subClassOf ssn:System ; - rdfs:comment "Watering system"@en ; - rdfs:label "Watering system"@en . - - -### https://saref.etsi.org/saref4agri/WateringValve -s4agri:WateringValve rdf:type owl:Class ; - rdfs:subClassOf saref:Actuator ; - rdfs:comment "Watering valve"@en ; - rdfs:label "Watering valve"@en . - - -### https://saref.etsi.org/saref4agri/WeatherStation -s4agri:WeatherStation rdf:type owl:Class ; - rdfs:subClassOf ssn:System , - saref:Sensor ; - rdfs:comment "A sensor o system that measure weather conditions."@en ; - rdfs:label "Weather station"@en . - - -### https://saref.etsi.org/saref4agri/WeightSensor -s4agri:WeightSensor rdf:type owl:Class ; - rdfs:subClassOf saref:Sensor ; - rdfs:comment "Weight sensor"@en ; - rdfs:label "Weight sensor"@en . - - -################################################################# -# Individuals -################################################################# - -### http://dbpedia.org/resource/DBM - rdf:type owl:NamedIndividual , - saref:UnitOfMeasure ; - rdfs:label "decibel-milliwatts"@en . - - -### https://saref.etsi.org/saref4agri/AirTemperature -s4agri:AirTemperature rdf:type owl:NamedIndividual , - saref:Temperature ; - rdfs:comment "The degree or intensity of heat present in the air."@en ; - rdfs:label "Air temperature"@en . - - -### https://saref.etsi.org/saref4agri/AmbientHumidity -s4agri:AmbientHumidity rdf:type owl:NamedIndividual , - saref:Humidity ; - rdfs:comment "The amount of water vapour in the air."@en ; - rdfs:label "Ambient humidity"@en . - - -### https://saref.etsi.org/saref4agri/IrrigationWater -s4agri:IrrigationWater rdf:type owl:NamedIndividual , - saref:Property ; - rdfs:comment "The amount of water falling in the soil by irrigation methods."@en ; - rdfs:label "Irrigation water"@en . - - -### https://saref.etsi.org/saref4agri/PlantGrowthStage -s4agri:PlantGrowthStage rdf:type owl:NamedIndividual , - saref:Property ; - rdfs:comment "The level or stage of growth of the plant."@en ; - rdfs:label "Plant growth stage"@en . - - -### https://saref.etsi.org/saref4agri/Precipitation -s4agri:Precipitation rdf:type owl:NamedIndividual , - saref:Property ; - rdfs:comment "The amount of water falling in the soil by natural process (e.g. rain)."@en ; - rdfs:label "Precipitation"@en . - - -### https://saref.etsi.org/saref4agri/SoilMoisture -s4agri:SoilMoisture rdf:type owl:NamedIndividual , - saref:Property ; - rdfs:comment "The amount of water or humidity contained in the soil."@en ; - rdfs:label "Soil moisture"@en . - - -### https://saref.etsi.org/saref4agri/SoilTemperature -s4agri:SoilTemperature rdf:type owl:NamedIndividual , - saref:Temperature ; - rdfs:comment "The degree or intensity of heat present in the soil."@en ; - rdfs:label "Soil temperature"@en . - -s4agri:Intake a owl:Class ; - rdfs:subClassOf saref:Property ; - rdfs:comment "The amount of food or other substance taken into the body of an animal or into the soil."@en ; - rdfs:label "Intake"@en . - - -s4agri:Yield a owl:Class ; - rdfs:subClassOf saref:Property ; - rdfs:comment "The produced amount of food for animals or of agricultural products."@en ; - rdfs:label "Yield"@en . - - +@prefix owl: . +@prefix rdf: . +@prefix xsd: . +@prefix rdfs: . +@prefix dcterms: . +@prefix s4agri: . +@prefix saref: . +@prefix sosa: . +@prefix ssn: . +@prefix time: . +@prefix foaf: . +@prefix vann: . +@prefix geosp: . +@prefix wgs84: . + +@base . + + rdf:type owl:Ontology ; + dcterms: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 ; + dcterms:title "SAREF4AGRI: an extension of SAREF for the agriculture and food domain"@en ; + dcterms:created "2019-04-15"^^xsd:date ; + dcterms:creator , + , + , + ; + dcterms:contributor ; + dcterms:description "SAREF4AGRI is an extension of SAREF for the agriculture and food domain. SAREF4AGRI is specified and published by ETSI in the TS 103 410-6 associated to this ontology file. The list of use cases, standards and requirements that guided the creation of SAREF4AGRI are described in the associated ETSI TR 103 511."@en ; + dcterms:license ; + dcterms:modified "2024-06-05"^^xsd:date ; + dcterms:publisher ; + dcterms:source ; + owl:import ; + rdfs:seeAlso ; + vann:preferredNamespacePrefix "s4agri" ; + vann:preferredNamespaceUri "https://saref.etsi.org/saref4agri/" ; + owl:versionIRI ; + owl:priorVersion ; + owl:versionInfo "v2.1.1" ; + owl:imports ; +. + +################################################################# +# Annotation properties +################################################################# + +### http://purl.org/dc/terms/contributor +dcterms:contributor rdf:type owl:AnnotationProperty . + +### http://purl.org/dc/terms/created +dcterms:created rdf:type owl:AnnotationProperty . + +wgs84:SpatialThing a owl:Class . +foaf:Organization a owl:Class ; rdfs:isDefinedBy foaf: . +foaf:Person a owl:Class ; rdfs:isDefinedBy foaf: . + +### http://www.w3.org/2003/01/geo/wgs84_pos#alt +wgs84:alt rdf:type owl:DatatypeProperty ; + rdfs:comment "The WGS84 altitude of a SpatialThing (decimal meters above the local reference ellipsoid)."@en ; + rdfs:label "altitude"@en ; + rdfs:domain wgs84:SpatialThing . + + +### http://www.w3.org/2003/01/geo/wgs84_pos#lat +wgs84:lat rdf:type owl:DatatypeProperty ; + rdfs:comment "The WGS84 latitude of a SpatialThing (decimal degrees)."@en ; + rdfs:label "latitude"@en ; + rdfs:domain wgs84:SpatialThing . + + +### http://www.w3.org/2003/01/geo/wgs84_pos#location +wgs84:location rdf:type 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 . + """@en ; + rdfs:label "location"@en ; + rdfs:subPropertyOf foaf:based_near . + + +### http://www.w3.org/2003/01/geo/wgs84_pos#long +wgs84:long rdf:type owl:ObjectProperty ; + rdfs:comment "The WGS84 longitude of a SpatialThing (decimal degrees)."@en ; + rdfs:label "longitude"@en ; + rdfs:domain wgs84:SpatialThing . + + +### http://xmlns.com/foaf/0.1/based_near +foaf:based_near rdf:type owl:ObjectProperty . + + +################################################################# +# Object Properties +################################################################# + +### http://purl.obolibrary.org/obo/TAXRANK_1000000 + rdf:type owl:ObjectProperty ; + rdfs:label "has taxon rank"@en . + + +### http://www.opengis.net/ont/geosparql#hasGeometry +geosp:hasGeometry rdf:type owl:ObjectProperty ; + rdfs:domain geosp:Feature ; + rdfs:range geosp:Geometry ; + rdfs:comment "A spatial representation for a given feature."@en ; + rdfs:isDefinedBy ; + rdfs:label "has geometry"@en . + + +### http://www.opengis.net/ont/geosparql#sfContains +geosp:sfContains rdf:type 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 , + ; + rdfs:label "contains"@en . + + +### http://www.opengis.net/ont/geosparql#sfWithin +geosp:sfWithin rdf:type 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 , + ; + rdfs:label "within"@en . + + +### http://www.w3.org/ns/sosa/hosts +sosa:hosts rdf:type owl:ObjectProperty ; + owl:inverseOf sosa:isHostedBy ; + rdfs:comment "Relation between a platform and the systems it hosts."@en ; + rdfs:isDefinedBy ; + rdfs:label "host"@en . + + +### http://www.w3.org/ns/sosa/isHostedBy +sosa:isHostedBy rdf:type owl:ObjectProperty ; + rdfs:comment "Relation between a system and its hosting platform."@en ; + rdfs:isDefinedBy ; + rdfs:label "is hosted by"@en . + + +### http://www.w3.org/ns/ssn/deployedOnPlatform +ssn:deployedOnPlatform rdf:type owl:ObjectProperty ; + owl:inverseOf ssn:inDeployment ; + rdfs:comment "Relation between a deployment and the platform(s) involved in the deployment."@en ; + rdfs:isDefinedBy ; + rdfs:label "deployed on platform"@en . + + +### http://www.w3.org/ns/ssn/deployedSystem +ssn:deployedSystem rdf:type owl:ObjectProperty ; + owl:inverseOf ssn:hasDeployment ; + rdfs:comment "Relation between a deployment and the system deployed."@en ; + rdfs:isDefinedBy ; + rdfs:label "deployed system"@en . + + +### http://www.w3.org/ns/ssn/hasDeployment +ssn:hasDeployment rdf:type owl:ObjectProperty ; + rdfs:isDefinedBy ; + rdfs:label "has deployment"@en . + + +### http://www.w3.org/ns/ssn/hasSubSystem +ssn:hasSubSystem rdf:type owl:ObjectProperty ; + rdfs:isDefinedBy ; + rdfs:label "has subsystem"@en . + + +### http://www.w3.org/ns/ssn/inDeployment +ssn:inDeployment rdf:type owl:ObjectProperty ; + rdfs:comment "Relation between a platform and the deployment(s) that takes place in the platform."@en ; + rdfs:isDefinedBy ; + rdfs:label "in deployment"@en . + + +### http://xmlns.com/foaf/0.1/member +foaf:member rdf:type owl:ObjectProperty ; + rdfs:label "member"@en . + + +### https://saref.etsi.org/saref4agri/contains +s4agri:contains rdf:type owl:ObjectProperty ; + rdfs:comment "contains"@en ; + rdfs:label "contains"@en ; + rdfs:subPropertyOf geosp:sfContains ; + owl:inverseOf s4agri:isContainedIn . + + +### https://saref.etsi.org/saref4agri/generates +s4agri:generates rdf:type owl:ObjectProperty ; + rdfs:subPropertyOf saref:hasProperty ; + rdfs:comment "A relation to represent the yield generated by a Crop."@en ; + rdfs:label "generates"@en . + + +### https://saref.etsi.org/saref4agri/hasDeploymentPeriod +s4agri:hasDeploymentPeriod rdf:type owl:ObjectProperty ; + rdfs:comment "Relation to indicate the temporal duration or period of a deployment."@en , + "has deployment period"@en ; + rdfs:label "has deployment period"@en . + + +### https://saref.etsi.org/saref4agri/hasMember +s4agri:hasMember rdf:type owl:ObjectProperty ; + owl:inverseOf s4agri:isMemberOf ; + rdfs:comment "A relation to represent the members of an AnimalGroup."@en ; + rdfs:label "has member"@en . + + +### https://saref.etsi.org/saref4agri/hasReceived +s4agri:hasReceived rdf:type owl:ObjectProperty ; + owl:inverseOf s4agri:receives ; + rdfs:comment "has received"@en ; + rdfs:label "has received"@en . + + +### https://saref.etsi.org/saref4agri/isContainedIn +s4agri:isContainedIn rdf:type owl:ObjectProperty ; + rdfs:comment "is contained in"@en ; + rdfs:label "is contained in"@en . + + +### https://saref.etsi.org/saref4agri/isDeployedAtSpace +s4agri:isDeployedAtSpace rdf:type owl:ObjectProperty ; + rdfs:comment "Relation to indicate the geographical componet of a deployment."@en , + "is deployed at space"@en ; + rdfs:label "is deployed at space"@en . + + +### https://saref.etsi.org/saref4agri/isLocatedIn +s4agri:isLocatedIn rdf:type owl:ObjectProperty ; + owl:inverseOf s4agri:isLocationOf ; + rdfs:comment "A relation to express the physical location of a saref4agri entity (e.g., an animal)"@en ; + rdfs:label "is located in"@en . + + +### https://saref.etsi.org/saref4agri/isLocationOf +s4agri:isLocationOf rdf:type owl:ObjectProperty ; + rdfs:comment "is location of"@en ; + rdfs:label "is location of"@en . + + +### https://saref.etsi.org/saref4agri/isMemberOf +s4agri:isMemberOf rdf:type owl:ObjectProperty ; + rdfs:comment "A relation to express that an animal can be part of groups."@en ; + rdfs:label "is member of"@en . + + +### https://saref.etsi.org/saref4agri/managesFarm +s4agri:managesFarm rdf:type owl:ObjectProperty ; + rdfs:comment "manages farm"@en ; + rdfs:label "manages farm"@en . + + +### https://saref.etsi.org/saref4agri/receives +s4agri:receives rdf:type owl:ObjectProperty ; + rdfs:subPropertyOf saref:hasMeasurement ; + rdfs:comment "A relation to represent the intake/consumption of certain substances in a Crop."@en ; + rdfs:label "receives"@en . + + +################################################################# +# Data properties +################################################################# + +### https://saref.etsi.org/saref4agri/hasBirthDate +s4agri:hasBirthDate rdf:type owl:DatatypeProperty ; + rdfs:range xsd:dateTime ; + rdfs:comment "A relation to express the birth date of an animal."@en ; + rdfs:label "has birth date"@en . + + +### https://saref.etsi.org/saref4agri/hasDeathDate +s4agri:hasDeathDate rdf:type owl:DatatypeProperty ; + rdfs:range xsd:dateTime ; + rdfs:comment "A relation to express the death date of an animal."@en ; + rdfs:label "has death date"@en . + + +### https://saref.etsi.org/saref4agri/hasHarvestDate +s4agri:hasHarvestDate rdf:type owl:DatatypeProperty ; + rdfs:subPropertyOf owl:topDataProperty ; + rdfs:range xsd:dateTime ; + rdfs:comment "A relation to express the day the crop is harvested."@en ; + rdfs:label "has harvest date"@en . + +### https://saref.etsi.org/saref4agri/hasPlantDate +s4agri:hasPlantDate rdf:type owl:DatatypeProperty ; + rdfs:subPropertyOf owl:topDataProperty ; + rdfs:range xsd:dateTime ; + rdfs:comment "A relation to express the day the crop is planted."@en ; + rdfs:label "has plant date"@en . + + +################################################################# +# Classes +################################################################# + +### http://purl.obolibrary.org/obo/TAXRANK_0000000 + rdf:type owl:Class ; + rdfs:label "Taxon rank"@en . + + +### http://www.opengis.net/ont/geosparql#Feature +geosp:Feature rdf:type owl:Class ; + rdfs:subClassOf geosp:SpatialObject , + [ rdf:type owl:Restriction ; + owl:onProperty geosp:hasGeometry ; + owl:allValuesFrom geosp:Geometry + ] ; + owl:disjointWith geosp:Geometry ; + 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 , + ; + rdfs:label "Feature"@en . + + +### http://www.opengis.net/ont/geosparql#Geometry +geosp:Geometry rdf:type owl:Class ; + rdfs:subClassOf geosp:SpatialObject ; + 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 ; + rdfs:label "Geometry"@en . + + +### http://www.opengis.net/ont/geosparql#SpatialObject +geosp:SpatialObject rdf:type owl:Class ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + owl:onProperty geosp:hasGeometry ; + owl:allValuesFrom geosp:Geometry + ] , + [ rdf:type owl:Restriction ; + owl:onProperty geosp:sfContains ; + owl:allValuesFrom geosp:SpatialObject + ] , + [ rdf:type owl:Restriction ; + owl:onProperty geosp:sfWithin ; + owl:allValuesFrom geosp:SpatialObject + ] , + [ rdf:type owl:Restriction ; + owl:onProperty wgs84:location ; + owl:allValuesFrom wgs84:Point + ] ; + rdfs:comment "The class spatial-object represents everything that can have a spatial representation. It is superclass of feature and geometry."@en ; + rdfs:isDefinedBy ; + rdfs:label "SpatialObject"@en . + + +### http://www.w3.org/2003/01/geo/wgs84_pos#Point +wgs84:Point rdf:type owl:Class ; + 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."@en ; + rdfs:isDefinedBy ; + rdfs:label "Point"@en . + +### http://www.w3.org/ns/sosa/Platform +sosa:Platform rdf:type owl:Class ; + 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:isDefinedBy ; + rdfs:label "Platform"@en . + + +### http://www.w3.org/ns/ssn/Deployment +ssn:Deployment rdf:type owl:Class ; + rdfs:isDefinedBy ; + rdfs:label "Deployment"@en . + + +### http://www.w3.org/ns/ssn/System +ssn:System rdf:type owl:Class ; + 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:isDefinedBy ; + rdfs:label "System"@en . + +### http://www.w3.org/2006/time/Interval +time:Interval a owl:Class ; + rdfs:isDefinedBy time: ; +. + + +### https://saref.etsi.org/saref4agri/Animal +s4agri:Animal rdf:type owl:Class ; + rdfs:subClassOf saref:FeatureOfInterest , + [ rdf:type owl:Restriction ; + owl:onProperty ; + owl:someValuesFrom + ] , + [ rdf:type owl:Restriction ; + owl:onProperty s4agri:isLocatedIn ; + owl:someValuesFrom geosp:Feature + ] , + [ rdf:type owl:Restriction ; + owl:onProperty s4agri:isMemberOf ; + owl:someValuesFrom s4agri:AnimalGroup + ] , + [ rdf:type owl:Restriction ; + owl:onProperty saref:hasIdentifier ; + owl:maxQualifiedCardinality "1"^^xsd:nonNegativeInteger ; + owl:onDataRange xsd:string + ] , + [ rdf:type owl:Restriction ; + owl:onProperty s4agri:hasBirthDate ; + owl:maxQualifiedCardinality "1"^^xsd:nonNegativeInteger ; + owl:onDataRange xsd:dateTime + ] , + [ rdf:type owl:Restriction ; + owl:onProperty s4agri:hasDeathDate ; + owl:maxQualifiedCardinality "1"^^xsd:nonNegativeInteger ; + owl:onDataRange xsd:dateTime + ] ; + rdfs:comment "An individual and identifiable living organism that feeds on organic matter, typically having specialized sense organs and nervous system and able to respond rapidly to stimuli."@en ; + rdfs:label "Animal"@en . + + +### https://saref.etsi.org/saref4agri/AnimalGroup +s4agri:AnimalGroup rdf:type owl:Class ; + rdfs:subClassOf saref:FeatureOfInterest , + [ rdf:type owl:Restriction ; + owl:onProperty s4agri:hasMember ; + owl:someValuesFrom s4agri:Animal + ] , + [ rdf:type owl:Restriction ; + owl:onProperty s4agri:isLocatedIn ; + owl:someValuesFrom geosp:Feature + ] ; + rdfs:comment "A collection of one or multiple animals."@en ; + rdfs:label "Animal Group"@en . + + +### https://saref.etsi.org/saref4agri/Building +s4agri:Building rdf:type owl:Class ; + rdfs:subClassOf geosp:Feature , + [ rdf:type owl:Restriction ; + owl:onProperty s4agri:contains ; + owl:someValuesFrom s4agri:BuildingSpace + ] ; + rdfs:comment "A building represents a structure that provides shelter for its occupants or contents and stands in one place. The building is also used to provide a basic element within the spatial structure hierarchy for the components of a building project (together with site, storey, and space)."@en ; + rdfs:label "Building"@en . + + +### https://saref.etsi.org/saref4agri/BuildingSpace +s4agri:BuildingSpace rdf:type owl:Class ; + rdfs:subClassOf geosp:Feature ; + rdfs:comment "An entity used to define the physical spaces of the building. A building space contains devices or building objects."@en ; + rdfs:label "Building space"@en . + + +### https://saref.etsi.org/saref4agri/Crop +s4agri:Crop rdf:type owl:Class ; + rdfs:subClassOf saref:FeatureOfInterest , + [ rdf:type owl:Restriction ; + owl:onProperty ; + owl:someValuesFrom + ] , + [ rdf:type owl:Restriction ; + owl:onProperty s4agri:hasHarvestDate ; + owl:someValuesFrom xsd:dateTime + ] , + [ rdf:type owl:Restriction ; + owl:onProperty s4agri:hasPlantDate ; + owl:someValuesFrom xsd:dateTime + ] ; + rdfs:comment "A collection of cultivated plants that is grown on a large scale commercially, especially a cereal, fruit, or vegetable."@en ; + rdfs:label "Crop"@en . + + +### https://saref.etsi.org/saref4agri/Deployment +s4agri:Deployment rdf:type owl:Class ; + rdfs:subClassOf ssn:Deployment , + [ rdf:type owl:Restriction ; + owl:onProperty ssn:deployedOnPlatform ; + owl:someValuesFrom sosa:Platform + ] , + [ rdf:type owl:Restriction ; + owl:onProperty ssn:deployedSystem ; + owl:someValuesFrom ssn:System + ] , + [ rdf:type owl:Restriction ; + owl:onProperty s4agri:hasDeploymentPeriod ; + owl:someValuesFrom time:Interval + ] , + [ rdf:type owl:Restriction ; + owl:onProperty s4agri:isDeployedAtSpace ; + owl:someValuesFrom geosp:SpatialObject + ] ; + rdfs:comment "Deployment"@en , + "The scenario, including temporal and spatial information, in which the systems and devices are installed."@en ; + rdfs:label "Deployment"@en . + + +### https://saref.etsi.org/saref4agri/EatingActivitySensor +s4agri:EatingActivitySensor rdf:type owl:Class ; + rdfs:subClassOf saref:Sensor ; + rdfs:comment "Eating activity sensor"@en ; + rdfs:label "Eating activity sensor"@en . + + +### https://saref.etsi.org/saref4agri/Farm +s4agri:Farm rdf:type owl:Class ; + rdfs:subClassOf geosp:Feature , + [ rdf:type owl:Restriction ; + owl:onProperty s4agri:contains ; + owl:someValuesFrom s4agri:Building + ] , + [ rdf:type owl:Restriction ; + owl:onProperty s4agri:contains ; + owl:someValuesFrom s4agri:Parcel + ] ; + rdfs:comment "A plot of land used for the scope of farming which can contain buildings and parcels."@en ; + rdfs:label "Farm"@en . + + +### https://saref.etsi.org/saref4agri/FarmHolding +s4agri:FarmHolding rdf:type owl:Class ; + rdfs:subClassOf foaf:Organization , + [ rdf:type owl:Restriction ; + owl:onProperty s4agri:managesFarm ; + owl:someValuesFrom s4agri:Farm + ] ; + rdfs:comment "A class to decsribe a saref4agri farm holding as subcass of a foaf:Organization"@en ; + rdfs:label "Farm holding"@en . + + +### https://saref.etsi.org/saref4agri/Farmer +s4agri:Farmer rdf:type owl:Class ; + rdfs:subClassOf foaf:Person , + [ rdf:type owl:Restriction ; + owl:onProperty s4agri:managesFarm ; + owl:someValuesFrom s4agri:Farm + ] ; + rdfs:comment "A class to decsribe a saref4agri farmer as subcass of a foaf:Person"@en ; + rdfs:label "Farmer"@en . + + +### https://saref.etsi.org/saref4agri/MilkingSensor +s4agri:MilkingSensor rdf:type owl:Class ; + rdfs:subClassOf saref:Sensor ; + rdfs:comment "Milking sensor"@en ; + rdfs:label "Milking sensor"@en . + + +### https://saref.etsi.org/saref4agri/MovementActivitySensor +s4agri:MovementActivitySensor rdf:type owl:Class ; + rdfs:subClassOf saref:Sensor ; + rdfs:comment "Movement activity sensor"@en ; + rdfs:label "Movement activity sensor"@en . + + +### https://saref.etsi.org/saref4agri/Parcel +s4agri:Parcel rdf:type owl:Class ; + rdfs:subClassOf geosp:Feature , + [ rdf:type owl:Restriction ; + owl:onProperty s4agri:contains ; + owl:someValuesFrom s4agri:Crop + ] ; + rdfs:comment "An area of land, which might be used for grazing animals or planting crops. The parcel is defined as an undividable logical area of land which contains homogeneous items."@en ; + rdfs:label "Parcel"@en . + + +### https://saref.etsi.org/saref4agri/Platform +s4agri:Platform rdf:type owl:Class ; + rdfs:subClassOf sosa:Platform ; + rdfs:comment "Platform"@en ; + rdfs:label "Platform"@en . + + +### https://saref.etsi.org/saref4agri/Pluviometer +s4agri:Pluviometer rdf:type owl:Class ; + rdfs:subClassOf saref:Sensor ; + rdfs:comment "A sensor that measures the rain fall."@en ; + rdfs:label "Pluviometer"@en . + + +### https://saref.etsi.org/saref4agri/Soil +s4agri:Soil rdf:type owl:Class ; + rdfs:subClassOf saref:FeatureOfInterest ; + rdfs:comment "Upper layer of the earth in which plants grow."@en ; + rdfs:label "Soil"@en . + + +### https://saref.etsi.org/saref4agri/SoilTensiometer +s4agri:SoilTensiometer rdf:type owl:Class ; + rdfs:subClassOf saref:Sensor ; + rdfs:comment "A sensor that measures the soil moisture."@en ; + rdfs:label "Soil tensiometer"@en . + + +### https://saref.etsi.org/saref4agri/Thermometer +s4agri:Thermometer rdf:type owl:Class ; + rdfs:subClassOf saref:Sensor ; + rdfs:comment "Thermometer"@en ; + rdfs:label "Thermometer"@en . + + +### https://saref.etsi.org/saref4agri/WateringGun +s4agri:WateringGun rdf:type owl:Class ; + rdfs:subClassOf saref:Actuator ; + rdfs:comment "An actuator to irrigate an space."@en ; + rdfs:label "Watering gun"@en . + + +### https://saref.etsi.org/saref4agri/WateringSystem +s4agri:WateringSystem rdf:type owl:Class ; + rdfs:subClassOf ssn:System ; + rdfs:comment "Watering system"@en ; + rdfs:label "Watering system"@en . + + +### https://saref.etsi.org/saref4agri/WateringValve +s4agri:WateringValve rdf:type owl:Class ; + rdfs:subClassOf saref:Actuator ; + rdfs:comment "Watering valve"@en ; + rdfs:label "Watering valve"@en . + + +### https://saref.etsi.org/saref4agri/WeatherStation +s4agri:WeatherStation rdf:type owl:Class ; + rdfs:subClassOf ssn:System , + saref:Sensor ; + rdfs:comment "A sensor o system that measure weather conditions."@en ; + rdfs:label "Weather station"@en . + + +### https://saref.etsi.org/saref4agri/WeightSensor +s4agri:WeightSensor rdf:type owl:Class ; + rdfs:subClassOf saref:Sensor ; + rdfs:comment "Weight sensor"@en ; + rdfs:label "Weight sensor"@en . + + +################################################################# +# Individuals +################################################################# + +### http://dbpedia.org/resource/DBM + rdf:type owl:NamedIndividual , + saref:UnitOfMeasure ; + rdfs:label "decibel-milliwatts"@en . + + +### https://saref.etsi.org/saref4agri/AirTemperature +s4agri:AirTemperature rdf:type owl:NamedIndividual , + saref:Temperature ; + rdfs:comment "The degree or intensity of heat present in the air."@en ; + rdfs:label "Air temperature"@en . + + +### https://saref.etsi.org/saref4agri/AmbientHumidity +s4agri:AmbientHumidity rdf:type owl:NamedIndividual , + saref:Humidity ; + rdfs:comment "The amount of water vapour in the air."@en ; + rdfs:label "Ambient humidity"@en . + + +### https://saref.etsi.org/saref4agri/IrrigationWater +s4agri:IrrigationWater rdf:type owl:NamedIndividual , + saref:Property ; + rdfs:comment "The amount of water falling in the soil by irrigation methods."@en ; + rdfs:label "Irrigation water"@en . + + +### https://saref.etsi.org/saref4agri/PlantGrowthStage +s4agri:PlantGrowthStage rdf:type owl:NamedIndividual , + saref:Property ; + rdfs:comment "The level or stage of growth of the plant."@en ; + rdfs:label "Plant growth stage"@en . + + +### https://saref.etsi.org/saref4agri/Precipitation +s4agri:Precipitation rdf:type owl:NamedIndividual , + saref:Property ; + rdfs:comment "The amount of water falling in the soil by natural process (e.g. rain)."@en ; + rdfs:label "Precipitation"@en . + + +### https://saref.etsi.org/saref4agri/SoilMoisture +s4agri:SoilMoisture rdf:type owl:NamedIndividual , + saref:Property ; + rdfs:comment "The amount of water or humidity contained in the soil."@en ; + rdfs:label "Soil moisture"@en . + + +### https://saref.etsi.org/saref4agri/SoilTemperature +s4agri:SoilTemperature rdf:type owl:NamedIndividual , + saref:Temperature ; + rdfs:comment "The degree or intensity of heat present in the soil."@en ; + rdfs:label "Soil temperature"@en . + +s4agri:Intake a saref:Property ; + rdfs:comment "The amount of food or other substance taken into the body of an animal or into the soil."@en ; + rdfs:label "Intake"@en . + + +s4agri:Yield a saref:Property ; + rdfs:comment "The produced amount of food for animals or of agricultural products."@en ; + rdfs:label "Yield"@en . + + -- GitLab