Commit af96cd30 authored by Cornelis Bouter's avatar Cornelis Bouter
Browse files

changes following saref update

parent 63186c6f
Loading
Loading
Loading
Loading
Loading
+62 −63
Original line number Diff line number Diff line
@prefix ex: <https://saref.etsi.org/saref4agri/v2.1.1/example/saref4agri-ex1/> .
@prefix foaf: <http://xmlns.com/foaf/0.1/> .
@prefix geosp: <http://www.opengis.net/ont/geosparql#> .
@prefix geo: <http://www.opengis.net/ont/geosparql#> .
@prefix obo: <http://purl.obolibrary.org/obo/> .
@prefix org: <https://schema.org/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@@ -14,6 +14,7 @@
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
@prefix dcterms: <http://purl.org/dc/terms/> .
@prefix dctype: <http://purl.org/dc/dcmitype/> .
@prefix om: <http://www.ontology-of-units-of-measure.org/resource/om-2/> .

<https://saref.etsi.org/saref4agri/v2.1.1/example/saref4agri-ex1#> a dctype:Dataset ;
  dcterms:license <https://forge.etsi.org/etsi-software-license> ;
@@ -33,10 +34,6 @@ obo:TAXRANK_0000003 a owl:Class .
obo:TAXRANK_0000016 a owl:Class .
obo:TAXRANK_0000017 a owl:Class .


<https://saref.etsi.org/saref4agri/v1.1.2/example/saref4agri-ex1/5-5-5_crop_fertilizer>
  rdf:type owl:NamedIndividual ;
.
ex:Animalia
  rdf:type obo:TAXRANK_0000017 ;
  rdfs:label "Animalia"^^xsd:string ;
@@ -68,17 +65,17 @@ ex:CompostIntake
  rdfs:subClassOf s4agri:Intake ;
.
ex:Compost_2019-02-02
  rdf:type saref:Measurement ;
  rdf:type saref:Observation, saref:PropertyValue ;
  saref:hasValue "370"^^xsd:float ;
  saref:isMeasuredIn <http://www.wurvoc.org/vocabularies/om-1.8/Liter> ;
  saref:relatesToProperty ex:CompostIntake ;
  saref:isMeasuredIn om:Liter ;
  saref:isValueOfProperty ex:CompostIntake ;
.
ex:Compost_2019-02-16
  rdf:type saref:Measurement ;
  rdf:type saref:Observation, saref:PropertyValue ;
  saref:isMeasurementOf ex:Parcel_East ;
  saref:hasValue "240"^^xsd:float ;
  saref:isMeasuredIn <http://www.wurvoc.org/vocabularies/om-1.8/Liter> ;
  saref:relatesToProperty ex:CompostIntake ;
  saref:isMeasuredIn om:Liter ;
  saref:isValueOfProperty ex:CompostIntake ;
.
ex:ConcentrateIntake
  rdf:type owl:Class ;
@@ -125,23 +122,23 @@ ex:Cow_3_Birth
  rdf:type time:Instant ;
.
ex:Cow_Activity_2019_03_01-14_00
  rdf:type saref:Measurement ;
  rdf:type saref:Observation, saref:PropertyValue ;
  saref:isMeasurementOf ex:Cow3 ;
  saref:hasValue "20"^^xsd:float ;
  saref:isMeasuredIn time:minute ;
  saref:relatesToProperty ex:Eating_Activity_in_minutes_per__hour ;
  saref:isValueOfProperty ex:Eating_Activity_in_minutes_per__hour ;
.
ex:Cow_Activity_2019_03_01-15_00
  rdf:type saref:Measurement ;
  rdf:type saref:Observation, saref:PropertyValue  ;
  saref:isMeasurementOf ex:Cow3 ;
  saref:hasValue "15"^^xsd:float ;
  saref:isMeasuredIn time:minute ;
  saref:relatesToProperty ex:Eating_Activity_in_minutes_per__hour ;
  saref:isValueOfProperty ex:Eating_Activity_in_minutes_per__hour ;
.
ex:Cow_Eating_Activity_Sensor_33
  rdf:type ex:EatingActivitySensor ;
  rdf:type owl:NamedIndividual ;
  saref:relatesToProperty ex:Eating_Activity_in_minutes_per__hour ;
  saref:madeExecution ex:Eating_Activity_in_minutes_per__hour ;
  saref:makesMeasurement ex:Cow_Activity_2019_03_01-14_00 ;
  saref:makesMeasurement ex:Cow_Activity_2019_03_01-15_00 ;
.
@@ -188,7 +185,7 @@ ex:FarmHolding
  rdfs:subClassOf foaf:Organization ;
.
ex:Farm_Jansen_and_Sons_Eindhoven
  rdf:type geosp:Feature ;
  rdf:type geo:Feature ;
  rdf:type owl:NamedIndividual ;
  s4agri:contains ex:Heated_Glass_Greenhouse ;
  s4agri:contains ex:Milk_Cow_Barn ;
@@ -218,7 +215,7 @@ ex:Greenhouse
  rdfs:label "Greenhouse"^^xsd:string ;
  rdfs:subClassOf s4agri:Building ;
.
<https://saref.etsi.org/saref4agri/v1.1.2/example/saref4agri-ex1/H._Jansen>
<https://saref.etsi.org/saref4agri/v2.1.1/example/saref4agri-ex1/H._Jansen>
  rdf:type ex:Farmer ;
  s4agri:isMemberOf ex:Jansen_and_Sons ;
  rdfs:label "Hendricus Jansen" ;
@@ -232,7 +229,7 @@ ex:Humidity_Percentage
ex:Intake_Sugar_Corn
  rdf:type ex:CropIntake ;
.
<https://saref.etsi.org/saref4agri/v1.1.2/example/saref4agri-ex1/J._Jansen>
<https://saref.etsi.org/saref4agri/v2.1.1/example/saref4agri-ex1/J._Jansen>
  rdf:type ex:Farmer ;
  s4agri:isMemberOf ex:Jansen_and_Sons ;
  rdfs:label "Johannes Jansen" ;
@@ -272,12 +269,12 @@ ex:MilkYield
ex:MilkYieldSensor
  rdf:type ex:MilkingSensor ;
  saref:measuresProperty ex:MilkYield ;
  saref:makesMeasurement ex:Milk_Yield_2019-03-01_1 ;
  saref:makesMeasurement ex:Milk_Yield_2019-03-01_2 ;
  saref:makesMeasurement ex:Milk_Yield_2019-03-02_1 ;
  saref:makesMeasurement ex:Milk_Yield_2019-03-02_2 ;
  saref:makesMeasurement ex:Milk_Yield_2019-03-03_1 ;
  saref:makesMeasurement ex:Milk_Yield_2019-03-03_2 ;
  saref:madeExecution ex:Milk_Yield_2019-03-01_1 ;
  saref:madeExecution ex:Milk_Yield_2019-03-01_2 ;
  saref:madeExecution ex:Milk_Yield_2019-03-02_1 ;
  saref:madeExecution ex:Milk_Yield_2019-03-02_2 ;
  saref:madeExecution ex:Milk_Yield_2019-03-03_1 ;
  saref:madeExecution ex:Milk_Yield_2019-03-03_2 ;
.
ex:Milk_Cow_Barn
  rdf:type ex:FarmingBuilding ;
@@ -286,46 +283,46 @@ ex:Milk_Cow_Meat
  rdf:type ex:MeatYield ;
.
ex:Milk_Yield_2019-03-01_1
  rdf:type saref:Measurement ;
  rdf:type saref:Observation, saref:PropertyValue ;
  saref:isMeasurementOf ex:Cow_Group_A ;
  saref:hasValue "4.7"^^xsd:float ;
  saref:isMeasuredIn <http://www.wurvoc.org/vocabularies/om-1.8/Liter> ;
  saref:relatesToProperty ex:MilkYield ;
  saref:isMeasuredIn om:Liter ;
  saref:isValueOfPropertyex:MilkYield ;
.
ex:Milk_Yield_2019-03-01_2
  rdf:type saref:Measurement ;
  rdf:type saref:Observation, saref:PropertyValue ;
  saref:isMeasurementOf ex:Cow_Group_A ;
  saref:hasValue "3.9"^^xsd:float ;
  saref:isMeasuredIn <http://www.wurvoc.org/vocabularies/om-1.8/Liter> ;
  saref:relatesToProperty ex:MilkYield ;
  saref:isMeasuredIn om:Liter ;
  saref:isValueOfPropertyex:MilkYield ;
.
ex:Milk_Yield_2019-03-02_1
  rdf:type saref:Measurement ;
  rdf:type saref:Observation, saref:PropertyValue ;
  saref:isMeasurementOf ex:Cow_Group_A ;
  saref:hasValue "2.1"^^xsd:float ;
  saref:isMeasuredIn <http://www.wurvoc.org/vocabularies/om-1.8/Liter> ;
  saref:relatesToProperty ex:MilkYield ;
  saref:isMeasuredIn om:Liter ;
  saref:isValueOfProperty ex:MilkYield ;
.
ex:Milk_Yield_2019-03-02_2
  rdf:type saref:Measurement ;
  rdf:type saref:Observation, saref:PropertyValue ;
  saref:isMeasurementOf ex:Cow_Group_A ;
  saref:hasValue "2.7"^^xsd:float ;
  saref:isMeasuredIn <http://www.wurvoc.org/vocabularies/om-1.8/Liter> ;
  saref:relatesToProperty ex:MilkYield ;
  saref:isMeasuredIn om:Liter ;
  saref:isValueOfProperty ex:MilkYield ;
.
ex:Milk_Yield_2019-03-03_1
  rdf:type saref:Measurement ;
  rdf:type saref:Observation, saref:PropertyValue ;
  saref:isMeasurementOf ex:Cow_Group_B ;
  saref:hasValue "5.2"^^xsd:float ;
  saref:isMeasuredIn <http://www.wurvoc.org/vocabularies/om-1.8/Liter> ;
  saref:relatesToProperty ex:MilkYield ;
  saref:isMeasuredIn om:Liter ;
  saref:isValueOfProperty ex:MilkYield ;
.
ex:Milk_Yield_2019-03-03_2
  rdf:type saref:Measurement ;
  rdf:type saref:Observation, saref:PropertyValue ;
  saref:isMeasurementOf ex:Cow_Group_B ;
  saref:hasValue "3.7"^^xsd:float ;
  saref:isMeasuredIn <http://www.wurvoc.org/vocabularies/om-1.8/Liter> ;
  saref:relatesToProperty ex:MilkYield ;
  saref:isMeasuredIn om:Liter ;
  saref:isValueOfProperty ex:MilkYield ;
.
ex:MilkingSensor
  rdf:type owl:Class ;
@@ -363,7 +360,7 @@ ex:Parcel_West
  s4agri:contains ex:Sweet_Corn_2 ;
  s4agri:receives ex:Compost_2019-02-02 ;
.
<https://saref.etsi.org/saref4agri/v1.1.2/example/saref4agri-ex1/Pisum_sativum_var._macrocarpon_Ser.>
<https://saref.etsi.org/saref4agri/v2.1.2/example/saref4agri-ex1/Pisum_sativum_var._macrocarpon_Ser.>
  rdf:type obo:TAXRANK_0000016 ;
  rdfs:label "Pisum sativum var. macrocarpon Ser."^^xsd:string ;
.
@@ -380,18 +377,18 @@ ex:Soil_Acidity
  rdfs:label "Acidity"^^xsd:string ;
.
ex:Soil_Acidity_2019_03_04
  rdf:type saref:Measurement ;
  rdf:type saref:PropertyValue ;
  saref:isMeasurementOf ex:Parcel_East ;
  saref:hasValue "7.4"^^xsd:float ;
  saref:isMeasuredIn <http://www.wurvoc.org/vocabularies/om-1.8/Acidity> ;
  saref:relatesToProperty ex:Soil_Acidity ;
  saref:isValueOfProperty ex:Soil_Acidity ;
.
ex:Soil_Acidity_2019_03_05
  rdf:type saref:Measurement ;
  rdf:type saref:PropertyValue ;
  saref:isMeasurementOf ex:Parcel_East ;
  saref:hasValue "7.5"^^xsd:float ;
  saref:isMeasuredIn <http://www.wurvoc.org/vocabularies/om-1.8/Acidity> ;
  saref:relatesToProperty ex:Soil_Acidity ;
  saref:isValueOfProperty ex:Soil_Acidity ;
.
ex:Soil_Measurement_Deployment
  rdf:type s4agri:Deployment ;
@@ -409,9 +406,18 @@ ex:Soil_Sensor
  rdf:type saref:Sensor ;
  saref:measuresProperty ex:Humidity_Percentage ;
  saref:measuresProperty ex:Soil_Acidity ;
  saref:makesMeasurement ex:Soil_Acidity_2019_03_04 ;
  saref:makesMeasurement ex:Soil_Acidity_2019_03_05 ;
  saref:madeExecution ex:Soil_Acidity_2019_03_04 ;
  saref:madeExecution ex:Soil_Acidity_2019_03_05 ;
.

ex:Soil_Acidity_2019_03_04_Observations rdf:type saref:Observation ;
  saref:hasResult ex:Soil_Acidity_2019_03_04 ;
.
ex:Soil_Acidity_2019_03_05_Observations rdf:type saref:Observation ;
  saref:hasResult ex:Soil_Acidity_2019_03_05 ;
.


ex:Storage_Barn
  rdf:type ex:FarmingBuilding ;
.
@@ -420,34 +426,27 @@ ex:Sugar_Corn_Yield
.
ex:Sugar_Snaps_1
  rdf:type s4agri:Crop ;
  obo:TAXRANK_1000000 <https://saref.etsi.org/saref4agri/v1.1.2/example/saref4agri-ex1/Pisum_sativum_var._macrocarpon_Ser.> ;
  obo:TAXRANK_1000000 <https://saref.etsi.org/saref4agri/v2.1.1/example/saref4agri-ex1/Pisum_sativum_var._macrocarpon_Ser.> ;
  obo:TAXRANK_1000000 ex:Plantae ;
.
ex:Sweet_Corn_1
  rdf:type s4agri:Crop ;
  obo:TAXRANK_1000000 ex:Plantae ;
  obo:TAXRANK_1000000 ex:Rosanae_Fabales ;
  obo:TAXRANK_1000000 <https://saref.etsi.org/saref4agri/v1.1.2/example/saref4agri-ex1/Zea_mays_L.> ;
  obo:TAXRANK_1000000 <https://saref.etsi.org/saref4agri/v2.1.1/example/saref4agri-ex1/Zea_mays_L.> ;
.
ex:Sweet_Corn_2
  rdf:type s4agri:Crop ;
  obo:TAXRANK_1000000 ex:Plantae ;
  obo:TAXRANK_1000000 ex:Rosanae_Fabales ;
  obo:TAXRANK_1000000 <https://saref.etsi.org/saref4agri/v1.1.2/example/saref4agri-ex1/Zea_mays_L.> ;
.
ex:Vermicompost
  rdf:type owl:NamedIndividual ;
  obo:TAXRANK_1000000 <https://saref.etsi.org/saref4agri/v2.1.1/example/saref4agri-ex1/Zea_mays_L.> ;
.
<https://saref.etsi.org/saref4agri/v1.1.2/example/saref4agri-ex1/Zea_mays_L.>
<https://saref.etsi.org/saref4agri/v2.1.1/example/saref4agri-ex1/Zea_mays_L.>
  rdf:type obo:TAXRANK_0000006 ;
  rdfs:label "Zea mays L."^^xsd:string ;
.
<http://www.wurvoc.org/vocabularies/om-1.8/Acidity>
  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 ;
  rdfs:label "ph"^^xsd:string ;
.
<http://www.wurvoc.org/vocabularies/om-1.8/Liter>

om:Liter
  rdf:type saref:UnitOfMeasure ;
.
time:Instant a owl:Class ; rdfs:isDefinedBy time: .
+7 −46
Original line number Diff line number Diff line
@@ -4,6 +4,7 @@
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix dcterms: <http://purl.org/dc/terms/>.
@prefix s4agri: <https://saref.etsi.org/saref4agri/> .
@prefix s4bldg: <https://saref.etsi.org/saref4bldg/> .
@prefix saref: <https://saref.etsi.org/core/> .
@prefix sosa: <http://www.w3.org/ns/sosa/> .
@prefix ssn: <http://www.w3.org/ns/ssn/> .
@@ -53,40 +54,8 @@ 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 .

wgs84:location rdf:type owl:ObjectProperty ; rdfs:isDefinedBy wgs84: .

###  http://xmlns.com/foaf/0.1/based_near
foaf:based_near rdf:type owl:ObjectProperty .
@@ -441,22 +410,14 @@ s4agri:AnimalGroup rdf:type owl:Class ;
  rdfs:label "Animal Group"@en .


###  https://saref.etsi.org/saref4agri/Building
###  https://saref.etsi.org/saref4bldg/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 .
  rdfs:isDefinedBy s4bldg: .


###  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/saref4bldg/BuildingSpace
s4bldg:BuildingSpace rdf:type owl:Class ;
  rdfs:isDefinedBy s4bldg: .


###  https://saref.etsi.org/saref4agri/Crop