Unverified Commit 7828f463 authored by Maxime Lefrançois's avatar Maxime Lefrançois
Browse files

closes #9

parent c9b588ad
Loading
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -62,7 +62,7 @@
</figure>

<p>The <a href="#s4agri:Animal">s4agri:Animal</a> class describes an animal that can be classified in SAREF4AGRI reusing the TAXRANK taxonomy vocabulary (<a href="http://purl.obolibrary.org/obo/taxrank.owl#">http://purl.obolibrary.org/obo/taxrank.owl#</a>). Besides the reuse of the TAXRANK taxonomy vocabulary, an animal is furthermore defined in SAREF4AGRI in order to have a birth and death date. An animal also has a unique identifier and can be part of one or more <a href="#s4agri:AnimalGroup">s4agri:AnimalGroup</a> that are used to conduct experiments and observations on the livestock. Note that animals can be also specialized using subclasses, as is shown in the example in clause 4.3.1 with the ex:LactatingCow class that was created as a subclass of <a href="#s4agri:Animal">s4agri:Animal</a>. Animals and animal groups are related to measurements via the <a href="https://saref.etsi.org/core/FeatureOfinterest">saref:FeatureOfinterest</a> concept of SAREF (see clause 4.2.3). </p>
<p>The <a href="#s4agri:Soil">s4agri:Soil</a> class represents the upper layer of the earth in which plants grow. The <a href="#s4agri:Crop">s4agri:Crop</a> class describes a collection of homogeneous plant species that is grown on a large scale commercially (especially a cereal, fruit, or vegetable) and is planted on a single location. A <a href="#s4agri:Crop">s4agri:Crop</a> is grown on some <a href="#s4agri:Parcel">s4agri:Parcel</a>, which is an area of land, defined in SAREF4AGRI as subclass of the geosp:Feature (see clause 4.2.6). Moreover, <a href="#s4agri:Crop">s4agri:Crop</a> is related to measurements via <a href="https://saref.etsi.org/core/FeatureOfInterest">saref:FeatureOfInterest</a> (see clause 4.2.3</a>).</p>
<p>The <a href="#s4agri:Soil">s4agri:Soil</a> class represents the upper layer of the earth in which plants grow. The <a href="#s4agri:Crop">s4agri:Crop</a> class describes a collection of homogeneous plant species that is grown on a large scale commercially (especially a cereal, fruit, or vegetable) and is planted on a single location. A <a href="#s4agri:Crop">s4agri:Crop</a> is grown on some <a href="#s4agri:Parcel">s4agri:Parcel</a>, which is an area of land, defined in SAREF4AGRI as subclass of the geo:Feature (see clause 4.2.6). Moreover, <a href="#s4agri:Crop">s4agri:Crop</a> is related to measurements via <a href="https://saref.etsi.org/core/FeatureOfInterest">saref:FeatureOfInterest</a> (see clause 4.2.3</a>).</p>


<h3>Device</h3>
@@ -89,7 +89,7 @@

<h3>Topology</h3>

<p>SAREF4AGRI adopts the same topology modelling pattern that is adopted in the SAREF4CITY extension <a href="#[i.3]">[i.3]</a>, where existing standard ontologies have been reused for this purpose. As shown in <a href="#Figure_7">Figure 7</a>, for representing spatial objects in SAREF4AGRI, the geosp:SpatialObject class from GeoSPARQL has been reused along with its subclasses geosp:Feature, geosp:Geometry and the properties geosp:sfContains, geosp:sfWithin and geosp:hasGeometry. In addition, the class geo:Point and the property geo:location have been reused from the "WGS84 Geo Positioning vocabulary" (which is the W3C de-facto standard for geographical information) in order to be able to indicate that something is located at certain coordinates. </p>
<p>SAREF4AGRI adopts the same topology modelling pattern that is adopted in the SAREF4CITY extension <a href="#[i.3]">[i.3]</a>, where existing standard ontologies have been reused for this purpose. As shown in <a href="#Figure_7">Figure 7</a>, for representing spatial objects in SAREF4AGRI, the geo:SpatialObject class from GeoSPARQL has been reused along with its subclasses geo:Feature, geo:Geometry and the properties geo:sfContains, geo:sfWithin and geo:hasGeometry. In addition, the class geo:Point and the property geo:location have been reused from the "WGS84 Geo Positioning vocabulary" (which is the W3C de-facto standard for geographical information) in order to be able to indicate that something is located at certain coordinates. </p>

<figure>
  <a href="diagrams/Topology.png"><img src="diagrams/Topology.png" alt="Topology model"/></a>
@@ -97,14 +97,14 @@
</figure>


<p>For the purpose of SAREF4AGRI, the geosp:Feature class has been extended with the following subclasses: </p>
<p>For the purpose of SAREF4AGRI, the geo:Feature class has been extended with the following subclasses: </p>
<ul>
  <li>the <a href="#s4agri:Farm">s4agri:Farm</a></li>
  <li>the <a href="https://saref.etsi.org/saref4bldg/Building">s4bldg:Building</a></li>
  <li>the <a href="https://saref.etsi.org/saref4bldg/BuildingSpace">s4bldg:BuildingSpace</a></li>
  <li>the <a href="#s4agri:Parcel">s4agri:Parcel</a></li>
</ul>
<p>A <a href="#s4agri:Farm">s4agri:Farm</a> can contain one or more <a href="https://saref.etsi.org/saref4bldg/Building">s4bldg:Building</a> and <a href="#s4agri:Parcel">s4agri:Parcel</a> (via the geosp:sfContains relation). Note that these types of feature are used in the present document as examples, but more feature types (and building types) can be added as needed. Moreover, a <a href="https://saref.etsi.org/saref4bldg/Building">s4bldg:Building</a> can be further decomposed in one or more <a href="https://saref.etsi.org/saref4bldg/BuildingSpaces">s4bldg:BuildingSpaces</a> (once again via the geosp:sfContains relation). As subclasses of geosp:Feature, all the classes mentioned above inherit the possibility to have a physical geometric description using geosp:Geometry, if needed (e.g. especially relevant for <a href="#s4agri:Parcel">s4agri:Parcel</a>). As subclasses of geosp:SpatialObject, all the classes mentioned above also inherit the possibility to use the geo:location property to indicate that something is located at certain coordinates (e.g. especially relevant for <a href="#s4agri:Bulding">s4agri:Bulding</a>). </p>
<p>A <a href="#s4agri:Farm">s4agri:Farm</a> can contain one or more <a href="https://saref.etsi.org/saref4bldg/Building">s4bldg:Building</a> and <a href="#s4agri:Parcel">s4agri:Parcel</a> (via the geo:sfContains relation). Note that these types of feature are used in the present document as examples, but more feature types (and building types) can be added as needed. Moreover, a <a href="https://saref.etsi.org/saref4bldg/Building">s4bldg:Building</a> can be further decomposed in one or more <a href="https://saref.etsi.org/saref4bldg/BuildingSpaces">s4bldg:BuildingSpaces</a> (once again via the geo:sfContains relation). As subclasses of geo:Feature, all the classes mentioned above inherit the possibility to have a physical geometric description using geo:Geometry, if needed (e.g. especially relevant for <a href="#s4agri:Parcel">s4agri:Parcel</a>). As subclasses of geo:SpatialObject, all the classes mentioned above also inherit the possibility to use the geo:location property to indicate that something is located at certain coordinates (e.g. especially relevant for <a href="#s4agri:Bulding">s4agri:Bulding</a>). </p>


<h3>Person and Organization</h3>
+16 −13
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#> .
@@ -53,11 +53,14 @@ ex:Bovidae
  rdf:type obo:TAXRANK_0000004 ;
  rdfs:label "Bovidae"^^xsd:string ;
.

ex:Milk_Cow_Barn geo:sfContains ex:Compartment_A .

ex:Compartment_A
  rdf:type s4bldg:BuildingSpace ;
  rdf:type owl:NamedIndividual ;
  s4agri:isContainedIn ex:Milk_Cow_Barn ;
.
ex:Milk_Cow_Barn geo:sfContains ex:Compartment_B .
ex:Compartment_B
  rdf:type s4bldg:BuildingSpace ;
  rdf:type owl:NamedIndividual ;
@@ -152,7 +155,7 @@ ex:Cow_Group_A
.
ex:Cow_Group_B
  rdf:type s4agri:AnimalGroup ;
  s4agri:contains ex:Cow3 ;
  s4agri:hasMember ex:Cow3 ;
.
ex:CropIntake
  rdf:type saref:Property ;
@@ -189,14 +192,14 @@ 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 ;
  s4agri:contains ex:Parcel_East ;
  s4agri:contains ex:Parcel_North ;
  s4agri:contains ex:Parcel_South ;
  s4agri:contains ex:Parcel_West ;
  geo:sfContains ex:Heated_Glass_Greenhouse ;
  geo:sfContains ex:Milk_Cow_Barn ;
  geo:sfContains ex:Parcel_East ;
  geo:sfContains ex:Parcel_North ;
  geo:sfContains ex:Parcel_South ;
  geo:sfContains ex:Parcel_West ;
.

foaf:Person a owl:Class .
@@ -343,13 +346,13 @@ ex:MovementActivitySensor
.
ex:Parcel_East
  rdf:type s4agri:Parcel ;
  s4agri:contains ex:Sugar_Snaps_1 ;
  geo:sfContains ex:Sugar_Snaps_1 ;
  rdfs:label "Field Frontyard" ;
  s4agri:receives ex:Compost_2019-02-16 ;
.
ex:Parcel_North
  rdf:type s4agri:Parcel ;
  s4agri:contains ex:Cow_Group_A ;
  geo:sfContains ex:Cow_Group_A ;
  rdfs:label "Grazing Plot" ;
.
ex:Parcel_South
@@ -357,7 +360,7 @@ ex:Parcel_South
.
ex:Parcel_West
  rdf:type s4agri:Parcel ;
  s4agri:contains ex:Sweet_Corn_2 ;
  geo:sfContains 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.>
+3 −17
Original line number Diff line number Diff line
@@ -119,14 +119,6 @@ foaf:member rdf:type owl:ObjectProperty ;
  rdfs:label "member"@en .


###  https://saref.etsi.org/saref4agri/contains
s4agri:contains rdf:type owl:ObjectProperty ;
  rdfs:comment "A relation to express that one object includes another object."@en ;
  rdfs:label "contains"@en ;
  rdfs:subPropertyOf geo:sfContains ;
  owl:inverseOf s4agri:isContainedIn .


###  https://saref.etsi.org/saref4agri/generates
s4agri:generates rdf:type owl:ObjectProperty ;
  rdfs:subPropertyOf saref:hasProperty ;
@@ -148,12 +140,6 @@ s4agri:hasMember rdf:type owl:ObjectProperty ;
  rdfs:label "has member"@en .


###  https://saref.etsi.org/saref4agri/isContainedIn
s4agri:isContainedIn rdf:type owl:ObjectProperty ;
  rdfs:comment "A relation that states inclusiveness."@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 ,
@@ -353,11 +339,11 @@ s4agri:EatingActivitySensor rdf:type owl:Class ;
s4agri:Farm rdf:type owl:Class ;
  rdfs:subClassOf geo:Feature ,
    [ rdf:type owl:Restriction ;
      owl:onProperty s4agri:contains ;
      owl:onProperty geo:sfContains ;
      owl:someValuesFrom s4bdlg:Building
    ] ,
    [ rdf:type owl:Restriction ;
      owl:onProperty s4agri:contains ;
      owl:onProperty geo:sfContains ;
      owl:someValuesFrom s4agri:Parcel
    ] ;
  rdfs:comment "A plot of land used for the scope of farming which can contain buildings and parcels."@en ;
@@ -404,7 +390,7 @@ s4agri:MovementActivitySensor rdf:type owl:Class ;
s4agri:Parcel rdf:type owl:Class ;
  rdfs:subClassOf geo:Feature ,
    [ rdf:type owl:Restriction ;
      owl:onProperty s4agri:contains ;
      owl:onProperty geo:sfContains ;
      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 ;