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

closes #14

parent 8fa0009c
Loading
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -100,11 +100,11 @@
<p>For the purpose of SAREF4AGRI, the geosp: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="#s4agri:Building">s4agri:Building</a></li>
  <li>the <a href="#s4agri:BuildingSpace">s4agri:BuildingSpace</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="#s4agri:Building">s4agri: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="#s4agri:Building">s4agri:Building</a> can be further decomposed in one or more <a href="#s4agri:BuildingSpaces">s4agri: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 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>


<h3>Person and Organization</h3>
+5 −4
Original line number Diff line number Diff line
@@ -8,6 +8,7 @@
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix s4agri: <https://saref.etsi.org/saref4agri/> .
@prefix s4bldg: <https://saref.etsi.org/saref4bldg/> .
@prefix saref: <https://saref.etsi.org/core/> .
@prefix ssn: <http://www.w3.org/ns/ssn/> .
@prefix time: <http://www.w3.org/2006/time#> .
@@ -53,12 +54,12 @@ ex:Bovidae
  rdfs:label "Bovidae"^^xsd:string ;
.
ex:Compartment_A
  rdf:type s4agri:BuildingSpace ;
  rdf:type s4bldg:BuildingSpace ;
  rdf:type owl:NamedIndividual ;
  s4agri:isContainedIn ex:Milk_Cow_Barn ;
.
ex:Compartment_B
  rdf:type s4agri:BuildingSpace ;
  rdf:type s4bldg:BuildingSpace ;
  rdf:type owl:NamedIndividual ;
  s4agri:isContainedIn ex:Milk_Cow_Barn ;
.
@@ -210,13 +211,13 @@ ex:FarmingBuilding
  rdf:type owl:Class ;
  rdfs:comment "A building specialized for farming purposes."^^xsd:string ;
  rdfs:label "Farming building"^^xsd:string ;
  rdfs:subClassOf s4agri:Building ;
  rdfs:subClassOf s4bldg:Building ;
.
ex:Greenhouse
  rdf:type owl:Class ;
  rdfs:comment "A glass building in which crops that need protection from cold weather are grown."^^xsd:string ;
  rdfs:label "Greenhouse"^^xsd:string ;
  rdfs:subClassOf s4agri:Building ;
  rdfs:subClassOf s4bldg:Building ;
.
<https://saref.etsi.org/saref4agri/v1.1.2/example/saref4agri-ex1/H._Jansen>
  rdf:type ex:Farmer ;
+2 −19
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/> .
@@ -314,24 +315,6 @@ s4agri:AnimalGroup rdf:type owl:Class ;
  rdfs:label "Animal Group"@en .


###  https://saref.etsi.org/saref4agri/Building
s4agri:Building rdf:type owl:Class ;
  rdfs:subClassOf geo: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 geo: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 ,
@@ -386,7 +369,7 @@ s4agri:Farm rdf:type owl:Class ;
  rdfs:subClassOf geo:Feature ,
    [ rdf:type owl:Restriction ;
      owl:onProperty s4agri:contains ;
      owl:someValuesFrom s4agri:Building
      owl:someValuesFrom s4bdlg:Building
    ] ,
    [ rdf:type owl:Restriction ;
      owl:onProperty s4agri:contains ;