Skip to content
Snippets Groups Projects
saref4agri.ttl 26.5 KiB
Newer Older
bouter's avatar
bouter committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
@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 saref: <https://saref.etsi.org/core/> .
@prefix sosa: <http://www.w3.org/ns/sosa/> .
@prefix ssn: <http://www.w3.org/ns/ssn/> .
@prefix time: <http://www.w3.org/2006/time#> .
@prefix foaf: <http://xmlns.com/foaf/0.1/> .
@prefix vann:    <http://purl.org/vocab/vann/>.
@prefix geosp: <http://www.opengis.net/ont/geosparql#> .
@prefix wgs84: <http://www.w3.org/2003/01/geo/wgs84_pos#> .

@base <https://saref.etsi.org/saref4agri/> .

<https://saref.etsi.org/saref4agri/> 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 <http://w3id.org/people/mpoveda>, 
    <http://www.garcia-castro.com/foaf.rdf#me> ,
    <https://www.linkedin.com/in/lauradaniele> ,
    <https://www.linkedin.com/in/mderoode> ;
  dcterms:contributor <https://www.researchgate.net/profile/Jack_Verhoosel> ;
  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 <https://forge.etsi.org/etsi-software-license> ;
  dcterms:modified "2024-06-05"^^xsd:date ;
  dcterms:publisher <https://www.etsi.org/> ;
  dcterms:source <https://saref.etsi.org/sources/saref4agri/> ;
  owl:import <https://saref.etsi.org/core/v3.2.1/> ;
  rdfs:seeAlso <https://www.etsi.org/deliver/etsi_ts/103400_103499/10341006/02.01.01_60/ts_10341006v020101p.pdf> ;
  vann:preferredNamespacePrefix "s4agri" ;
  vann:preferredNamespaceUri "https://saref.etsi.org/saref4agri/" ;
  owl:versionIRI <https://saref.etsi.org/saref4agri/v2.1.1/> ;
  owl:priorVersion <https://saref.etsi.org/saref4agri/v1.1.2/> ;
  owl:versionInfo "v2.1.1" ;
  owl:imports <https://saref.etsi.org/core/v3.2.1/> ;
.

#################################################################
#    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
<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 <http://www.opengis.net/ont/geosparql#> ;
  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 <http://www.opengis.net/ont/geosparql> ,
                     <http://www.opengis.net/spec/geosparql/1.0> ;
  rdfs:label "contains"@en .


###  http://www.opengis.net/ont/geosparql#sfWithin
geosp:sfWithin 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 <http://www.opengis.net/ont/geosparql> ,
                   <http://www.opengis.net/spec/geosparql/1.0> ;
  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 <http://www.w3.org/ns/sosa/> ;
  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 <http://www.w3.org/ns/sosa/> ;
  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 <http://www.w3.org/ns/ssn/> ;
  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 <http://www.w3.org/ns/ssn/> ;
  rdfs:label "deployed system"@en .


###  http://www.w3.org/ns/ssn/hasDeployment
ssn:hasDeployment rdf:type owl:ObjectProperty ;
  rdfs:isDefinedBy <http://www.w3.org/ns/ssn/> ;
  rdfs:label "has deployment"@en .


###  http://www.w3.org/ns/ssn/hasSubSystem
ssn:hasSubSystem rdf:type owl:ObjectProperty ;
  rdfs:isDefinedBy <http://www.w3.org/ns/ssn/> ;
  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 <http://www.w3.org/ns/ssn/> ;
  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
<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 <http://www.opengis.net/ont/geosparql> ,
                  <http://www.opengis.net/ont/gml> ;
  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 <http://www.opengis.net/ont/geosparql> ;
  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 <http://www.opengis.net/ont/geosparql> ;
  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 <http://www.w3.org/2003/01/geo/wgs84_pos#> ;
  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 <http://www.w3.org/ns/sosa/> ;
  rdfs:label "Platform"@en .


###  http://www.w3.org/ns/ssn/Deployment
ssn:Deployment rdf:type owl:Class ;
  rdfs:isDefinedBy <http://www.w3.org/ns/ssn/> ;
  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 <http://www.w3.org/ns/ssn/> ;
  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 <http://purl.obolibrary.org/obo/TAXRANK_1000000> ;
      owl:someValuesFrom <http://purl.obolibrary.org/obo/TAXRANK_0000000>
    ] ,
    [ 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 <http://purl.obolibrary.org/obo/TAXRANK_1000000> ;
      owl:someValuesFrom <http://purl.obolibrary.org/obo/TAXRANK_0000000>
    ] ,
    [ 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
<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 .