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 xsd: <http://www.w3.org/2001/XMLSchema#>

<http://purl.obolibrary.org/obo/TAXRANK_0000000> a rdfs:Class ;
  rdfs:label "Taxon rank"@en .

s4agri:Farmer a rdfs:Class ;
  rdfs:label "Farmer"@en ;
  rdfs:comment "A class to decsribe a saref4agri farmer as subcass of a foaf:Person"@en ;
  rdfs:subClassOf <http://xmlns.com/foaf/0.1/Person> .

s4agri:managesFarm a rdf:Property ;
  rdfs:label "manages farm"@en ;
  rdfs:comment "A relation to represent the person or company that supervises a farm."@en ;
  rdfs:range <https://w3id.org/linkml/Any> .

s4agri:FarmHolding a rdfs:Class ;
  rdfs:label "Farm holding"@en ;
  rdfs:comment "A class to decsribe a saref4agri farm holding as subcass of a foaf:Organization"@en ;
  rdfs:subClassOf <http://xmlns.com/foaf/0.1/Organization> .

s4agri:MilkingSensor a rdfs:Class ;
  rdfs:label "Milking sensor"@en ;
  rdfs:comment "A class to describe an animal milking sensor."@en ;
  rdfs:subClassOf <https://saref.etsi.org/core/Sensor> .

s4agri:Platform a rdfs:Class ;
  rdfs:label "Platform"@en ;
  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:subClassOf <http://www.w3.org/ns/sosa/Platform> .

s4agri:Farm a rdfs:Class ;
  rdfs:label "Farm"@en ;
  rdfs:comment "A plot of land used for the scope of farming which can contain buildings and parcels."@en ;
  rdfs:subClassOf <http://www.opengis.net/ont/geosparql#Feature> .

<http://www.opengis.net/ont/geosparql#sfContains> a rdf:Property ;
  rdfs:range <https://w3id.org/linkml/Any> .

s4agri:WeightSensor a rdfs:Class ;
  rdfs:label "Weight sensor"@en ;
  rdfs:comment "A class to describe a sensor that measures mass."@en ;
  rdfs:subClassOf <https://saref.etsi.org/core/Sensor> .

s4agri:Deployment a rdfs:Class ;
  rdfs:label "Deployment"@en ;
  rdfs:comment "The scenario, including temporal and spatial information, in which the systems and devices are installed."@en ;
  rdfs:subClassOf <http://www.w3.org/ns/ssn/Deployment> .

s4agri:isDeployedAtSpace a rdf:Property ;
  rdfs:label "is deployed at space"@en ;
  rdfs:comment "Relation to indicate the geographical componet of a deployment."@en ;
  rdfs:range <https://w3id.org/linkml/Any> .

s4agri:hasDeploymentPeriod a rdf:Property ;
  rdfs:label "has deployment period"@en ;
  rdfs:comment "Relation to indicate the temporal duration or period of a deployment."@en ;
  rdfs:range <https://w3id.org/linkml/Any> .

<http://www.w3.org/ns/ssn/deployedSystem> a rdf:Property ;
  rdfs:label "deployed system"@en ;
  rdfs:comment "Relation between a deployment and the system deployed."@en ;
  rdfs:range <https://w3id.org/linkml/Any> .

<http://www.w3.org/ns/ssn/deployedOnPlatform> a rdf:Property ;
  rdfs:label "deployed on platform"@en ;
  rdfs:comment "Relation between a deployment and the platform(s) involved in the deployment."@en ;
  rdfs:range <https://w3id.org/linkml/Any> .

<http://www.w3.org/ns/sosa/Platform> a rdfs:Class ;
  rdfs:label "Platform"@en ;
  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 .

s4agri:WateringGun a rdfs:Class ;
  rdfs:label "Watering gun"@en ;
  rdfs:comment "An actuator to irrigate an space."@en ;
  rdfs:subClassOf <https://saref.etsi.org/core/Actuator> .

<https://saref.etsi.org/core/Sensor> a rdfs:Class .

s4agri:WeatherStation a rdfs:Class ;
  rdfs:label "Weather station"@en ;
  rdfs:comment "A sensor or system that measure weather conditions."@en ;
  rdfs:subClassOf <http://www.w3.org/ns/ssn/System> , <https://saref.etsi.org/core/Sensor> .

<http://www.w3.org/ns/ssn/Deployment> a rdfs:Class ;
  rdfs:label "Deployment"@en .

<http://xmlns.com/foaf/0.1/Organization> a rdfs:Class .

<http://www.opengis.net/ont/geosparql#Feature> a rdfs:Class .

<https://saref.etsi.org/saref4bldg/Building> a rdfs:Class .

s4agri:Parcel a rdfs:Class ;
  rdfs:label "Parcel"@en ;
  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:subClassOf <http://www.opengis.net/ont/geosparql#Feature> .

<https://saref.etsi.org/core/Actuator> a rdfs:Class .

s4agri:EatingActivitySensor a rdfs:Class ;
  rdfs:label "Eating activity sensor"@en ;
  rdfs:subClassOf <https://saref.etsi.org/core/Sensor> .

s4agri:Thermometer a rdfs:Class ;
  rdfs:label "Thermometer"@en ;
  rdfs:comment "A class to describe a sensor that measures temperature."@en ;
  rdfs:subClassOf <https://saref.etsi.org/core/Sensor> .

<http://www.opengis.net/ont/geosparql#SpatialObject> a rdfs:Class .

<http://www.w3.org/2006/time#Interval> a rdfs:Class .

s4agri:WateringValve a rdfs:Class ;
  rdfs:label "Watering valve"@en ;
  rdfs:comment "A class to describe an actuator for dispensing water."@en ;
  rdfs:subClassOf <https://saref.etsi.org/core/Actuator> .

<http://www.w3.org/ns/ssn/System> a rdfs:Class ;
  rdfs:label "System"@en ;
  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 .

<http://xmlns.com/foaf/0.1/Person> a rdfs:Class .

s4agri:SoilTensiometer a rdfs:Class ;
  rdfs:label "Soil tensiometer"@en ;
  rdfs:comment "A sensor that measures the soil moisture."@en ;
  rdfs:subClassOf <https://saref.etsi.org/core/Sensor> .

s4agri:WateringSystem a rdfs:Class ;
  rdfs:label "Watering system"@en ;
  rdfs:comment "A class to describe a system that dispenses or irrigates water."@en ;
  rdfs:subClassOf <http://www.w3.org/ns/ssn/System> .

s4agri:Crop a rdfs:Class ;
  rdfs:label "Crop"@en ;
  rdfs:comment "A collection of cultivated plants that is grown on a large scale commercially, especially a cereal, fruit, or vegetable."@en ;
  rdfs:subClassOf <https://saref.etsi.org/core/FeatureOfInterest> .

s4agri:hasHarvestDate a rdf:Property ;
  rdfs:label "has harvest date"@en ;
  rdfs:comment "A relation to express the day the crop is harvested."@en ;
  rdfs:range xsd:dateTime .

s4agri:hasPlantDate a rdf:Property ;
  rdfs:label "has plant date"@en ;
  rdfs:comment "A relation to express the day the crop is planted."@en ;
  rdfs:range xsd:dateTime .

<http://purl.obolibrary.org/obo/TAXRANK_1000000> a rdf:Property ;
  rdfs:label "has taxon rank"@en ;
  rdfs:range <https://w3id.org/linkml/Any> .

s4agri:Animal a rdfs:Class ;
  rdfs:label "Animal"@en ;
  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:subClassOf <https://saref.etsi.org/core/FeatureOfInterest> .

s4agri:hasBirthDate a rdf:Property ;
  rdfs:label "has birth date"@en ;
  rdfs:comment "A relation to express the birth date of an animal."@en ;
  rdfs:range xsd:dateTime .

s4agri:isLocatedIn a rdf:Property ;
  rdfs:label "is located in"@en ;
  rdfs:comment "A relation to express the physical location of a saref4agri entity (e.g., an animal)"@en ;
  rdfs:range <https://w3id.org/linkml/Any> .

s4agri:hasDeathDate a rdf:Property ;
  rdfs:label "has death date"@en ;
  rdfs:comment "A relation to express the death date of an animal."@en ;
  rdfs:range xsd:dateTime .

s4agri:isMemberOf a rdf:Property ;
  rdfs:label "is member of"@en ;
  rdfs:comment "A relation to express that an animal can be part of groups."@en ;
  rdfs:range <https://w3id.org/linkml/Any> .

s4agri:MovementActivitySensor a rdfs:Class ;
  rdfs:label "Movement activity sensor"@en ;
  rdfs:comment "A class to describe a motion sensor."@en ;
  rdfs:subClassOf <https://saref.etsi.org/core/Sensor> .

s4agri:AnimalGroup a rdfs:Class ;
  rdfs:label "Animal Group"@en ;
  rdfs:comment "A collection of one or multiple animals."@en ;
  rdfs:subClassOf <https://saref.etsi.org/core/FeatureOfInterest> .

s4agri:hasMember a rdf:Property ;
  rdfs:label "has member"@en ;
  rdfs:comment "A relation to represent  the members of an AnimalGroup."@en ;
  rdfs:range <https://w3id.org/linkml/Any> .

s4agri:Pluviometer a rdfs:Class ;
  rdfs:label "Pluviometer"@en ;
  rdfs:comment "A sensor that measures the rain fall."@en ;
  rdfs:subClassOf <https://saref.etsi.org/core/Sensor> .

s4agri:Soil a rdfs:Class ;
  rdfs:label "Soil"@en ;
  rdfs:comment "Upper layer of the earth in which plants grow."@en ;
  rdfs:subClassOf <https://saref.etsi.org/core/FeatureOfInterest> .

<https://saref.etsi.org/core/UnitOfMeasure> a rdfs:Class .

<https://w3id.org/linkml/Any> a rdfs:Class ;
  rdfs:comment "An unconstrained type or object"@en .

<https://saref.etsi.org/core/Property> a rdfs:Class .

<https://saref.etsi.org/core/FeatureOfInterest> a rdfs:Class .

<http://www.w3.org/ns/sosa/hosts> a rdf:Property ;
  rdfs:label "host"@en ;
  rdfs:comment "Relation between a platform and the systems it hosts."@en ;
  rdfs:range <https://w3id.org/linkml/Any> .

<http://www.w3.org/ns/sosa/isHostedBy> a rdf:Property ;
  rdfs:label "is hosted by"@en ;
  rdfs:comment "Relation between a system and its hosting platform."@en ;
  rdfs:range <https://w3id.org/linkml/Any> .

<http://www.w3.org/ns/ssn/hasDeployment> a rdf:Property ;
  rdfs:label "has deployment"@en ;
  rdfs:range <https://w3id.org/linkml/Any> .

<http://www.w3.org/ns/ssn/hasSubSystem> a rdf:Property ;
  rdfs:label "has subsystem"@en ;
  rdfs:range <https://w3id.org/linkml/Any> .

<http://www.w3.org/ns/ssn/inDeployment> a rdf:Property ;
  rdfs:label "in deployment"@en ;
  rdfs:comment "Relation between a platform and the deployment(s) that takes place in the platform."@en ;
  rdfs:range <https://w3id.org/linkml/Any> .

<http://xmlns.com/foaf/0.1/based_near> a rdf:Property ;
  rdfs:range <https://w3id.org/linkml/Any> .

<http://xmlns.com/foaf/0.1/member> a rdf:Property ;
  rdfs:label "member"@en ;
  rdfs:range <https://w3id.org/linkml/Any> .

<https://saref.etsi.org/core/hasIdentifier> a rdf:Property ;
  rdfs:range <https://w3id.org/linkml/Any> .

<https://saref.etsi.org/core/hasProperty> a rdf:Property ;
  rdfs:range <https://w3id.org/linkml/Any> .

s4agri:generates a rdf:Property ;
  rdfs:label "generates"@en ;
  rdfs:comment "A relation to represent the yield generated by a Crop."@en ;
  rdfs:range xsd:string ;
  rdfs:subPropertyOf <https://saref.etsi.org/core/hasProperty> .

s4agri:isLocationOf a rdf:Property ;
  rdfs:label "is location of"@en ;
  rdfs:comment "The physical location which locates a saref4agri entity."@en ;
  rdfs:range <https://w3id.org/linkml/Any> .
