PREFIX lftdo: <https://github.com/tumelomodise/LFTDO#>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>

lftdo:Boundary a rdfs:Class ;
  rdfs:comment "The RestrictedArea is a location in a farm that isSecuredGuardedBy only EndUser device." ;
  rdfs:subClassOf lftdo:Location .

lftdo:hasCity a rdf:Property ;
  rdfs:label "hasCity" ;
  rdfs:comment "Location has a City" ;
  rdfs:domain lftdo:Location ;
  rdfs:range xsd:string .

lftdo:hasGeoPosition a rdf:Property ;
  rdfs:label "hasGeoPosition" ;
  rdfs:comment "Location has some Georgraphical position" ;
  rdfs:range xsd:decimal .

lftdo:hasLatitude a rdf:Property ;
  rdfs:label "hasLatitude" ;
  rdfs:comment "Geo location has some Latitude" ;
  rdfs:range xsd:decimal ;
  rdfs:subPropertyOf lftdo:hasGeoPosition .

lftdo:hasLocationName a rdf:Property ;
  rdfs:label "hasLocationName" ;
  rdfs:comment "Location has some name." ;
  rdfs:domain lftdo:Location ;
  rdfs:range xsd:string .

lftdo:hasLongitude a rdf:Property ;
  rdfs:label "hasLongitude" ;
  rdfs:comment "Geo location has some Longitude" ;
  rdfs:range xsd:decimal ;
  rdfs:subPropertyOf lftdo:hasGeoPosition .

lftdo:isMonitoredByDevice a rdf:Property ;
  rdfs:label "isMonitoredByDevice" ;
  rdfs:comment "Farm is managed by some Device" ;
  rdfs:domain lftdo:Farm ;
  rdfs:range lftdo:Device .

lftdo:hasFence a rdf:Property ;
  rdfs:label "hasFence" ;
  rdfs:comment "Farm has Fence?" ;
  rdfs:domain lftdo:Farm ;
  rdfs:range xsd:boolean .

lftdo:hasProvince a rdf:Property ;
  rdfs:label "hasProvince" ;
  rdfs:comment "Location has some province e.g. Gauteng." ;
  rdfs:domain lftdo:Location ;
  rdfs:range xsd:string .

lftdo:hasLocationDescription a rdf:Property ;
  rdfs:label "hasLocationDescription" ;
  rdfs:comment "Location has some description." ;
  rdfs:domain lftdo:Location ;
  rdfs:range xsd:string .

lftdo:isUsedByFarmer a rdf:Property ;
  rdfs:label "isUsedByFarmer" ;
  rdfs:comment "A Farm is used by some Farmer for some Livestock keeping." ;
  rdfs:domain lftdo:Farm ;
  rdfs:range lftdo:Farmer .

lftdo:hasMinLon a rdf:Property ;
  rdfs:label "hasMinLon" ;
  rdfs:comment "Western Boundary" ;
  rdfs:domain lftdo:Location ;
  rdfs:range xsd:decimal .

lftdo:hasLocationType a rdf:Property ;
  rdfs:label "hasLocationType" ;
  rdfs:comment "The location has a type of location." ;
  rdfs:domain lftdo:Location ;
  rdfs:range xsd:string .

lftdo:isRemoteArea a rdf:Property ;
  rdfs:label "isRemoteArea" ;
  rdfs:comment "Determine if the Location is remote or rural area?" ;
  rdfs:domain lftdo:Location ;
  rdfs:range xsd:boolean .

lftdo:isAffectedBy a rdf:Property ;
  rdfs:label "isAffectedBy" ;
  rdfs:comment "Livestock or Location or Device isAffectedBy LivestockEvent" ;
  rdfs:range <https://w3id.org/linkml/Any> .

lftdo:isLocationOfIncident a rdf:Property ;
  rdfs:label "isLocationOfIncident" ;
  rdfs:comment "Location isLocationOf some LivestockEvent" ;
  rdfs:domain lftdo:Location ;
  rdfs:range lftdo:LivestockEvent .

lftdo:isSecurelyGuarded a rdf:Property ;
  rdfs:label "isSecurelyGuarded" ;
  rdfs:comment "This an RestrictedArea or Location that is securely guarded by the EndDevices" ;
  rdfs:domain lftdo:Location ;
  rdfs:range lftdo:EndDevice .

lftdo:HealthAlertEvent a rdfs:Class ;
  rdfs:label "HealthAlertEvent" ;
  rdfs:comment "HealthAlertEvent: Alert related to Livestock Health" ;
  rdfs:subClassOf lftdo:LivestockEvent .

lftdo:inferredByRule a rdf:Property ;
  rdfs:label "inferredByRule" ;
  rdfs:comment "Indicates which SWRL rule was executed and Inferred results." ;
  rdfs:range xsd:string .

lftdo:isTriggeredBy a rdf:Property ;
  rdfs:label "isTriggeredBy" ;
  rdfs:comment """Event(s) such as SystemEvent or LivestockEvent or LivestockIndicator are triggered by BehaviourState. 

A LivestockEvent is usually triggered by exactly one method. However, a SystemEvent (like a \"System Overload\") might be triggered by many detection methods running at once. An event could also have zero detection methods if it was triggered manually by a human (Farmer).""" ;
  rdfs:range xsd:string .

lftdo:affectsLivestock a rdf:Property ;
  rdfs:label "affects" ;
  rdfs:comment "LivestockEvent affects some Location Livestock or Location or Device" ;
  rdfs:domain lftdo:LivestockEvent ;
  rdfs:range xsd:string .

lftdo:isAlertInitiatedBy a rdf:Property ;
  rdfs:label "isAlertInitiatedBy" ;
  rdfs:comment "HighTheftEvent is isInitiated by some TheftIndicator a logical cause (the data anomaly)" ;
  rdfs:domain lftdo:LivestockEvent ;
  rdfs:range lftdo:LivestockIndicator .

lftdo:hasTheftEventTime a rdf:Property ;
  rdfs:label "hasTheftEventTime" ;
  rdfs:comment "TheftEvent  has some Time" ;
  rdfs:domain lftdo:TheftEvent ;
  rdfs:range xsd:dateTime .

lftdo:hasAbnormalBehaviourState a rdf:Property ;
  rdfs:label "hasAbnormalBehaviourState" ;
  rdfs:comment "Livestock has Behaviour(s) has some AbnormalBehaviourState" ;
  rdfs:range lftdo:BehaviourState .

lftdo:isSupportedBy a rdf:Property ;
  rdfs:label "isSupportedBy" ;
  rdfs:comment "LivestockEvent is supportedby some LivestockIndicator" ;
  rdfs:domain lftdo:LivestockEvent ;
  rdfs:range lftdo:LivestockIndicator .

lftdo:atIncidentLocation a rdf:Property ;
  rdfs:label "atIncidentLocation" ;
  rdfs:comment "LivestockEvent happens at  some Location" ;
  rdfs:domain lftdo:LivestockEvent ;
  rdfs:range lftdo:Location .

lftdo:isRecordedIn a rdf:Property ;
  rdfs:label "isRecordedIn" ;
  rdfs:range lftdo:Database .

lftdo:hasTheftEventResolution a rdf:Property ;
  rdfs:label "hasTheftEventResolution" ;
  rdfs:comment "TheftEvent has some TheftEventResolution" ;
  rdfs:domain lftdo:TheftEvent ;
  rdfs:range xsd:string .

lftdo:hasTheftEventStatus a rdf:Property ;
  rdfs:label "hasTheftEventStatus" ;
  rdfs:comment "TheftEvent has some status." ;
  rdfs:domain lftdo:TheftEvent ;
  rdfs:range xsd:string .

lftdo:Drinking a rdfs:Class ;
  rdfs:label "Drinking" ;
  rdfs:comment """Referenced Ontology: Drinking = Drinking Behavior (ATOL:0000361) \"any measurable or observable characteristic related to the consumption of liquids ressources such as water or milk\" (Meunier-Salaün et. al,2015)
under: Animal trait of livestock ->pyschroneuroendocrinological state trait->ingestive behaviour->drinking behavior""" ;
  rdfs:subClassOf lftdo:Behaviour .

lftdo:hasDuration a rdf:Property ;
  rdfs:label "hasDuration" ;
  rdfs:comment "Behaviour has Duration in seconds (seconds/60 = Minutes)" ;
  rdfs:domain lftdo:Behaviour ;
  rdfs:range xsd:decimal .

lftdo:behaviourOccursAt a rdf:Property ;
  rdfs:label "behaviourOccursAt" ;
  rdfs:comment "behaviour OccursAt some Location" ;
  rdfs:domain lftdo:Behaviour ;
  rdfs:range lftdo:Location .

lftdo:hasMovementDistance a rdf:Property ;
  rdfs:label "hasMovementDistance" ;
  rdfs:comment "Behaviour has some Movement distance covered." ;
  rdfs:domain lftdo:Behaviour ;
  rdfs:range xsd:decimal .

lftdo:hasCurrentBehaviourState a rdf:Property ;
  rdfs:label "hasCurrentBehaviourState" ;
  rdfs:comment "Behaviour has some current BehaviourState" ;
  rdfs:domain lftdo:Behaviour ;
  rdfs:range lftdo:BehaviourState .

lftdo:hasIntensity a rdf:Property ;
  rdfs:label "hasIntensity" ;
  rdfs:comment "Behaviour has some level of intensity." ;
  rdfs:domain lftdo:Behaviour ;
  rdfs:range xsd:string .

lftdo:hasBehaviourStartTime a rdf:Property ;
  rdfs:label "hasBehaviourStartTime" ;
  rdfs:comment "Behaviour has Start Time" ;
  rdfs:domain lftdo:Behaviour ;
  rdfs:range xsd:dateTime .

lftdo:hasMovementDuration a rdf:Property ;
  rdfs:label "hasMovementDuration" ;
  rdfs:comment "Livestock has some average movement duration." ;
  rdfs:domain lftdo:Behaviour ;
  rdfs:range xsd:decimal .

lftdo:hasBehaviourEndTime a rdf:Property ;
  rdfs:label "hasBehaviourEndTime" ;
  rdfs:comment "Behaviour has EndTime" ;
  rdfs:domain lftdo:Behaviour ;
  rdfs:range xsd:dateTime .

lftdo:exhibitedBy a rdf:Property ;
  rdfs:label "exhibitedBy" ;
  rdfs:comment "Behaviour is exhibitedBy Livestock" ;
  rdfs:domain lftdo:Behaviour ;
  rdfs:range lftdo:Livestock .

lftdo:Movement a rdfs:Class ;
  rdfs:label "Movement" ;
  rdfs:comment """Referenced Ontology:
1.Movement is a behaviour
3.Different behaviour states may be observed based  on Movement rate, distance covered and  Geopositions.
Reference:
Movement = Member movement (ATOL:000842) (Meunier-Salaün et. al,2015)
Under Behavior trait->Motor activity->body movement->member movement behavior.""" ;
  rdfs:subClassOf lftdo:Behaviour .

lftdo:TheftEvent a rdfs:Class ;
  rdfs:label "TheftEvent" ;
  rdfs:comment "TheftEvent: Is trigged by some TheftIndicator that is identified as a theft attempts or suspicious event and is caused by some UnauthorisedPerson" ;
  rdfs:subClassOf lftdo:LivestockEvent .

lftdo:causedBy a rdf:Property ;
  rdfs:label "causedBy" ;
  rdfs:comment "TheftEvent is caused by some UnauthorisedPerson an agentive cause (the intruder)" ;
  rdfs:domain lftdo:TheftEvent ;
  rdfs:range lftdo:UnauthorisedPerson .

lftdo:hasTheftEventReport a rdf:Property ;
  rdfs:label "hasTheftEventReport" ;
  rdfs:domain lftdo:TheftEvent ;
  rdfs:range xsd:string .

lftdo:InferredComplexTheftEvent a rdf:Property ;
  rdfs:label "InferredComplexTheftEvent" ;
  rdfs:domain lftdo:TheftEvent ;
  rdfs:range <https://w3id.org/linkml/Any> .

lftdo:hasTheftEventLocation a rdf:Property ;
  rdfs:label "hasTheftEventLocation" ;
  rdfs:comment "TheftEvent happens at some Location" ;
  rdfs:domain lftdo:TheftEvent ;
  rdfs:range lftdo:Location .

lftdo:DataTransmission a rdfs:Class ;
  rdfs:label "DataTransmission" ;
  rdfs:comment "DataTransmission: Represent the flow of data between devices and cloud services." .

lftdo:hasDataSize a rdf:Property ;
  rdfs:label "hasDataSize" ;
  rdfs:comment """SensorData has some DataSize
Measures the packet size (e.g., in KB).""" ;
  rdfs:domain lftdo:DataTransmission ;
  rdfs:range xsd:decimal .

lftdo:hasCloudService a rdf:Property ;
  rdfs:label "hasCloudService" ;
  rdfs:comment "DataTransmission has some CloudService" ;
  rdfs:domain lftdo:DataTransmission ;
  rdfs:range lftdo:CloudService .

lftdo:hasDataOutputType a rdf:Property ;
  rdfs:label "hasDataOutputType" ;
  rdfs:comment """DataTransmission has some data output type.
Identifies if the data is \"GPS Coordinates,\" \"Accelerometer G-force,\" or \"Battery Level.\"""" ;
  rdfs:domain lftdo:DataTransmission ;
  rdfs:range xsd:string .

lftdo:hasDataTimeStamp a rdf:Property ;
  rdfs:label "hasDataTimeStamp" ;
  rdfs:comment """DataTransmission has some DataTimeStamp.

Records exactly when the event happened.""" ;
  rdfs:domain lftdo:DataTransmission ;
  rdfs:range xsd:dateTime .

lftdo:EnvironmentalIndicator a rdfs:Class ;
  rdfs:subClassOf lftdo:LivestockIndicator .

lftdo:isIndicatorOf a rdf:Property ;
  rdfs:label "isIndicatorOf" ;
  rdfs:domain lftdo:LivestockIndicator ;
  rdfs:range xsd:string .

lftdo:isDetectedBy a rdf:Property ;
  rdfs:label "isDetectedBy" ;
  rdfs:comment "System or Livestock Event is detected by some DetectionMethod" ;
  rdfs:range lftdo:DetectionMethod .

lftdo:triggers a rdf:Property ;
  rdfs:label "triggers" ;
  rdfs:comment """BehaviourState or DetectionMethod triggers some Event(Livestock or System Event)

A DetectionMethod (like TheftDetection) may trigger zero events if everything is normal. However, if a theft is detected, it might trigger many events simultaneously (e.g., a TheftEvent for the farmer and a StatusUpdateEvent for the system log).""" ;
  rdfs:range xsd:string .

lftdo:initiatesAlert a rdf:Property ;
  rdfs:label "initiatesAlert" ;
  rdfs:comment "TheftIndicator initiates TheftEvent" ;
  rdfs:domain lftdo:LivestockIndicator ;
  rdfs:range lftdo:LivestockEvent .

lftdo:triggersAlertLevel a rdf:Property ;
  rdfs:label "triggersAlertLevel" ;
  rdfs:comment "TheftIndicator has a triggersAlertLevel" ;
  rdfs:domain lftdo:LivestockIndicator ;
  rdfs:range xsd:string .

lftdo:isExtractedFrom a rdf:Property ;
  rdfs:label "isExtractedFrom" ;
  rdfs:comment "LivestockIndicator isExtractedFom some SensorData" ;
  rdfs:domain lftdo:LivestockIndicator ;
  rdfs:range lftdo:SensorData .

lftdo:characterises a rdf:Property ;
  rdfs:label "characterises" ;
  rdfs:comment "Livestock Indicator characterises some BehaviourState" ;
  rdfs:domain lftdo:LivestockIndicator ;
  rdfs:range xsd:string .

lftdo:evidenceFor a rdf:Property ;
  rdfs:label "evidenceFor" ;
  rdfs:comment "LivestockIndicator provides evidenceFor some LivestockEvent" ;
  rdfs:domain lftdo:LivestockIndicator ;
  rdfs:range lftdo:LivestockEvent .

lftdo:SuspiciousEvent a rdfs:Class ;
  rdfs:label "SuspiciousEvent" ;
  rdfs:comment "SuspiciousEvent: Is trigged by some SuspiciousIndicator that is identified as a Livestock Behaviour changes that could indicate suspicious activities." ;
  rdfs:subClassOf lftdo:LivestockEvent .

lftdo:Location a rdfs:Class ;
  rdfs:label "Location" ;
  rdfs:comment """Locations are farmer area where the livestock are being kept is referred to as a Farm.It can be at an urban, rural, or semi-urban location, and may have pen and open fields that are fenced or unfenced. 

The position of livestock within a farm location is constrained to date and time, and their behavior influences their movement. The livestock position within a location may be indicated with coordinates such as longitude and latitude, which are used to precisely determine the location of livestock within a farm area, as discussed by  (Symeonaki et al., 2020).

Relationships:
1.Location (e.g., a farm) has a specific time period(startTime and endTime) during which certain events or activities occurs.
2.Location (e.g., a farm) has a specific geographical position defined by latitude and longitude coordinates.""" .

lftdo:GoatWithFever a rdfs:Class ;
  rdfs:label "GoatWithFever" ;
  rdfs:comment "Goat that hasBodyTemperature >= 39.7 celsius, is a Goat with Fever" ;
  rdfs:subClassOf lftdo:Goat .

lftdo:hasGroupSize a rdf:Property ;
  rdfs:label "hasGroupSize" ;
  rdfs:comment "Livestock has some GroupSize" ;
  rdfs:domain lftdo:Livestock ;
  rdfs:range xsd:integer .

lftdo:hasCattleBodyConditionScore a rdf:Property ;
  rdfs:label "hasCattleBodyConditionScore" ;
  rdfs:comment "Livestock(Cattle) has some CattleBodyConditionScore" ;
  rdfs:domain lftdo:Livestock ;
  rdfs:range xsd:integer .

lftdo:hasSittingDuration a rdf:Property ;
  rdfs:label "hasSittingDuration" ;
  rdfs:comment "Livestock has some sitting duration." ;
  rdfs:domain lftdo:Livestock ;
  rdfs:range xsd:decimal .

lftdo:isLocatedAtFarm a rdf:Property ;
  rdfs:label "isLocatedAtFarm" ;
  rdfs:comment "Livestock is located at a Farm" ;
  rdfs:domain lftdo:Livestock ;
  rdfs:range lftdo:Farm .

lftdo:hasLastSeenTimestamp a rdf:Property ;
  rdfs:label "hasLastSeenTimestamp" ;
  rdfs:domain lftdo:Livestock ;
  rdfs:range xsd:dateTime .

lftdo:isOutsideGeofence a rdf:Property ;
  rdfs:label "isOutsideGeofence" ;
  rdfs:comment "Livestock isOutsideGeofence, True or False." ;
  rdfs:range <https://w3id.org/linkml/Any> .

lftdo:hasMobilityScore a rdf:Property ;
  rdfs:label "hasMobilityScore" ;
  rdfs:domain lftdo:Livestock ;
  rdfs:range xsd:integer .

lftdo:isNearBoundary a rdf:Property ;
  rdfs:label "isNearBoundary" ;
  rdfs:comment "Represent a spatial relationship between an entity (like a Livestock) and a specific Boundary instance." ;
  rdfs:domain lftdo:Livestock ;
  rdfs:range lftdo:Boundary .

lftdo:hasSpecies a rdf:Property ;
  rdfs:label "hasSpecies" ;
  rdfs:comment """Livestock has belong to a specific type of species
\"Livestock species are defined as domesticated farm animals, such as buffalo, chicken, sheep, goats, pigs, cattle, duck, camel, horse, mole, and turkey, primarily raised for labor, meat, eggs, milk, fur, leather, and wool. They play a crucial role in agriculture and contribute significantly to the livelihoods of farm families.\" https://www.sciencedirect.com/topics/agricultural-and-biological-sciences/livestock-species""" ;
  rdfs:domain lftdo:Livestock ;
  rdfs:range xsd:string .

lftdo:hasBodyTemperature a rdf:Property ;
  rdfs:label "hasBodyTemperature" ;
  rdfs:comment "Livestock has some Body Tempareture" ;
  rdfs:domain lftdo:Livestock ;
  rdfs:range xsd:decimal .

lftdo:isExternallyAffectedBy a rdf:Property ;
  rdfs:label "isExternallyAffectedBy" ;
  rdfs:comment "Livestock isExternallyAffectedBy EnvironmentalCondition" ;
  rdfs:domain lftdo:Livestock ;
  rdfs:range lftdo:EnvironmentalCondition .

lftdo:isOwnedByFarmer a rdf:Property ;
  rdfs:label "isOwnedByFarmer" ;
  rdfs:comment "Livestock is Owned by some Farmer." ;
  rdfs:domain lftdo:Livestock ;
  rdfs:range lftdo:Farmer .

lftdo:hasSleepingDuration a rdf:Property ;
  rdfs:label "hasSleepingDuration" ;
  rdfs:comment "Livestock has some Sleeping Behaviour" ;
  rdfs:domain lftdo:Livestock ;
  rdfs:range xsd:integer .

lftdo:isManagedBy a rdf:Property ;
  rdfs:label "isManagedBy" ;
  rdfs:comment "Livestock is managed by some ExtendedOfficer" ;
  rdfs:domain lftdo:Livestock ;
  rdfs:range lftdo:ExtendedOfficer .

lftdo:isBiologicallyAffectedBy a rdf:Property ;
  rdfs:label "isBiologicallyAffectedBy" ;
  rdfs:comment "Livestock isBiologicallyAffectedBy HealthCondition" ;
  rdfs:domain lftdo:Livestock ;
  rdfs:range lftdo:HealthCondition .

lftdo:healthConfirmedBy a rdf:Property ;
  rdfs:label "healthConfirmedBy" ;
  rdfs:comment "Participant(Veterinarian) confirm Livestock Health Condition" ;
  rdfs:domain lftdo:Livestock ;
  rdfs:range lftdo:Participant .

lftdo:isPregnant a rdf:Property ;
  rdfs:label "isPregnant" ;
  rdfs:comment "is a Livestock Pregnant?" ;
  rdfs:domain lftdo:Livestock ;
  rdfs:range xsd:boolean .

lftdo:hasRunningSpeed a rdf:Property ;
  rdfs:label "hasRunningSpeed" ;
  rdfs:comment "Livestock has some average running speed in (meters per seconds or kilometers per seconds)." ;
  rdfs:domain lftdo:Livestock ;
  rdfs:range xsd:decimal .

lftdo:hasGender a rdf:Property ;
  rdfs:label "hasGender" ;
  rdfs:comment "Livestock has some Gender" ;
  rdfs:domain lftdo:Livestock ;
  rdfs:range xsd:string .

lftdo:isAttachedToDevice a rdf:Property ;
  rdfs:label "isAttachedToDevice" ;
  rdfs:comment "Livestock is attached to some Device(EndDevice)" ;
  rdfs:domain lftdo:Livestock ;
  rdfs:range lftdo:EndDevice .

lftdo:hasGoatBodyConditionScore a rdf:Property ;
  rdfs:label "hasGoatBodyConditionScore" ;
  rdfs:comment "Goat has some GoatBodyConditionScore" ;
  rdfs:domain lftdo:Goat ;
  rdfs:range xsd:integer .

lftdo:hasAge a rdf:Property ;
  rdfs:label "hasAge" ;
  rdfs:comment "Livestock has some Age" ;
  rdfs:domain lftdo:Livestock ;
  rdfs:range xsd:integer .

lftdo:isSuspectedOfTheft a rdf:Property ;
  rdfs:label "isSuspectedOfTheft" ;
  rdfs:comment "is the Livestock suspected of Theft?" ;
  rdfs:domain lftdo:Livestock ;
  rdfs:range xsd:boolean .

lftdo:hasWeightInKg a rdf:Property ;
  rdfs:label "hasWeightInKg" ;
  rdfs:comment "Livestock has some Weight in Kilograms(Kg)" ;
  rdfs:domain lftdo:Livestock ;
  rdfs:range xsd:decimal .

lftdo:hasBreed a rdf:Property ;
  rdfs:label "hasBreed" ;
  rdfs:comment "Livestock has some Breed" ;
  rdfs:domain lftdo:Livestock ;
  rdfs:range xsd:string .

lftdo:hasAnimalID a rdf:Property ;
  rdfs:label "hasAnimalID" ;
  rdfs:comment "Livestock has Animal ID" ;
  rdfs:domain lftdo:Livestock ;
  rdfs:range xsd:string .

lftdo:hasBirthDate a rdf:Property ;
  rdfs:label "hasBirthDate" ;
  rdfs:comment "Livestock has some birthdate." ;
  rdfs:domain lftdo:Livestock ;
  rdfs:range xsd:dateTime .

lftdo:hasRunningDuration a rdf:Property ;
  rdfs:label "hasRunningDuration" ;
  rdfs:comment "Livestock has some average running duration." ;
  rdfs:domain lftdo:Livestock ;
  rdfs:range xsd:decimal .

lftdo:isElectronicIdentified a rdf:Property ;
  rdfs:label "isElectronicIdentified" ;
  rdfs:domain lftdo:Livestock ;
  rdfs:range xsd:boolean .

lftdo:hasCurrentStatus a rdf:Property ;
  rdfs:label "hasCurrentStatus" ;
  rdfs:domain lftdo:Livestock ;
  rdfs:range lftdo:StatusUpdateEvent .

lftdo:exhibits a rdf:Property ;
  rdfs:label "exhibits" ;
  rdfs:comment "Livestock exhibit some Behaviour" ;
  rdfs:domain lftdo:Livestock ;
  rdfs:range lftdo:Behaviour .

lftdo:experiences a rdf:Property ;
  rdfs:label "experiences" ;
  rdfs:domain lftdo:Livestock ;
  rdfs:range lftdo:HealthCondition .

lftdo:hasLastUpdateTimestamp a rdf:Property ;
  rdfs:label "hasLastUpdateTimestamp" ;
  rdfs:domain lftdo:Livestock ;
  rdfs:range xsd:dateTime .

lftdo:hasTagMark a rdf:Property ;
  rdfs:label "hasTagMark" ;
  rdfs:comment "Livestock has some TagMark" ;
  rdfs:domain lftdo:Livestock ;
  rdfs:range xsd:string .

lftdo:hasCurrentLocation a rdf:Property ;
  rdfs:label "hasCurrentLocation" ;
  rdfs:comment "Evironment condition and Livestock has a current Location at any point in time" ;
  rdfs:range lftdo:Location .

lftdo:AudioMonitoringSystem a rdfs:Class ;
  rdfs:label "AudioMonitoringSystem" ;
  rdfs:comment "AudioMonitoringSystem is a theft DetectionMethod" ;
  rdfs:subClassOf lftdo:DetectionMethod .

lftdo:hasDetectionMethodType a rdf:Property ;
  rdfs:label "hasDetectionMethodType" ;
  rdfs:comment "DetectionMethod has a Type" ;
  rdfs:domain lftdo:DetectionMethod ;
  rdfs:range xsd:string .

lftdo:hasFalsePositiveRate a rdf:Property ;
  rdfs:label "hasFalsePositiveRate" ;
  rdfs:comment "DetectionMethod has some FalsePositiveRate" ;
  rdfs:domain lftdo:DetectionMethod ;
  rdfs:range xsd:string .

lftdo:uses a rdf:Property ;
  rdfs:label "uses" ;
  rdfs:comment """TheftDetectionMethod uses some Algorithm
The software runs the code.""" ;
  rdfs:range lftdo:Algorithm .

lftdo:hasMethodAttribute a rdf:Property ;
  rdfs:label "hasMethodAttribute" ;
  rdfs:comment "DetectionMethod has some Attributes" ;
  rdfs:domain lftdo:DetectionMethod ;
  rdfs:range xsd:string .

lftdo:hasSensitivityLevel a rdf:Property ;
  rdfs:label "hasSensitivityLevel" ;
  rdfs:comment "SensitivityLevel like \"High\", \"Medium\", \"Low\"" ;
  rdfs:domain lftdo:DetectionMethod ;
  rdfs:range xsd:string .

lftdo:identifies a rdf:Property ;
  rdfs:label "identifies" ;
  rdfs:comment "DetectionMethod identifies some BehaviourState" ;
  rdfs:domain lftdo:DetectionMethod ;
  rdfs:range lftdo:BehaviourState .

lftdo:isDetectionActive a rdf:Property ;
  rdfs:label "isDetectionActive" ;
  rdfs:domain lftdo:DetectionMethod ;
  rdfs:range xsd:boolean .

lftdo:hasDetectionThreshold a rdf:Property ;
  rdfs:label "hasDetectionThreshold" ;
  rdfs:comment "Confidence level required to trigger" ;
  rdfs:domain lftdo:DetectionMethod ;
  rdfs:range xsd:decimal .

lftdo:produces a rdf:Property ;
  rdfs:label "produces" ;
  rdfs:comment "DetectionMethod produces some System Event" ;
  rdfs:domain lftdo:DetectionMethod ;
  rdfs:range lftdo:SystemEvent .

lftdo:hasDetectionMethodAccuracy a rdf:Property ;
  rdfs:label "hasAccuracyRate" ;
  rdfs:comment "DetectionMethod has some Accuracy" ;
  rdfs:range xsd:decimal .

lftdo:isImplementedBy a rdf:Property ;
  rdfs:label "isImplementedBy" ;
  rdfs:comment """DetectionMethod isImplementedBy SoftwareApplication.

Usually, a specific logical Method (the \"Theft Logic\") is implemented by one specific Software Application. While there could be two apps doing the same thing, it’s rarely efficient in IoT.""" ;
  rdfs:domain lftdo:DetectionMethod ;
  rdfs:range lftdo:SoftwareApplication .

lftdo:hasDetectionLatencyMs a rdf:Property ;
  rdfs:label "hasDetectionLatencyMs" ;
  rdfs:comment "How many milliseconds it takes to process the data. This proves \"Real-time\" capability for theft." ;
  rdfs:domain lftdo:DetectionMethod ;
  rdfs:range xsd:decimal .

lftdo:hasReliabilityScore a rdf:Property ;
  rdfs:label "hasReliabilityScore" ;
  rdfs:comment "A weight given to the method based on historical performance." ;
  rdfs:domain lftdo:DetectionMethod ;
  rdfs:range xsd:decimal .

lftdo:hasDetectionPriority a rdf:Property ;
  rdfs:label "hasDetectionPriority" ;
  rdfs:comment "A \"Theft\" detection should have a higher priority than a \"Low Battery\" warning." ;
  rdfs:domain lftdo:DetectionMethod ;
  rdfs:range xsd:integer .

lftdo:analyses a rdf:Property ;
  rdfs:label "analyses" ;
  rdfs:comment "DetectionMethod analyses Database data" ;
  rdfs:domain lftdo:DetectionMethod ;
  rdfs:range lftdo:Database .

lftdo:hasTrainingData a rdf:Property ;
  rdfs:label "hasTrainingData" ;
  rdfs:comment "DetectionMethod has some TrainingData?" ;
  rdfs:domain lftdo:DetectionMethod ;
  rdfs:range xsd:boolean .

lftdo:hasLastScanTime a rdf:Property ;
  rdfs:label "hasLastScanTime" ;
  rdfs:domain lftdo:DetectionMethod ;
  rdfs:range xsd:dateTime .

lftdo:detects a rdf:Property ;
  rdfs:label "detects" ;
  rdfs:comment "DetectictionMethod detects LivestockIndicators" ;
  rdfs:domain lftdo:DetectionMethod ;
  rdfs:range xsd:string .

lftdo:Restlessness a rdfs:Class ;
  rdfs:label "Restlessness" ;
  rdfs:comment "Restlessness is an AbnormalState of Behaviour of Livestock" ;
  rdfs:subClassOf lftdo:AbnormalState , lftdo:BehaviourState .

lftdo:hasSeverityLevel a rdf:Property ;
  rdfs:label "hasSeverityLevel" ;
  rdfs:comment "AbnormalState has some severity level." ;
  rdfs:domain lftdo:AbnormalState ;
  rdfs:range xsd:string .

lftdo:isCharacterisedBy a rdf:Property ;
  rdfs:label "isCharacterisedBy" ;
  rdfs:comment "AbnormalState isCharacterisedBy TheftIndicator" ;
  rdfs:range lftdo:LivestockIndicator .

lftdo:hasLivestockIndicator a rdf:Property ;
  rdfs:label "hasLivestockIndicator" ;
  rdfs:comment "LivestockIndicators are indicated by some Livestock Abnormal Behaviour or Device or Health or Environment conditions" ;
  rdfs:range lftdo:LivestockIndicator .

lftdo:isCurrentBehaviourStateOf a rdf:Property ;
  rdfs:label "isCurrentBehaviourStateOf" ;
  rdfs:comment "BehaviourState is related to some Behaviour" ;
  rdfs:domain lftdo:BehaviourState ;
  rdfs:range lftdo:Behaviour .

lftdo:initiateStatusUpdate a rdf:Property ;
  rdfs:label "initiateStatusUpdate" ;
  rdfs:comment "Software Application initiate some StatusUpdateEvent" ;
  rdfs:domain lftdo:BehaviourState ;
  rdfs:range lftdo:StatusUpdateEvent .

lftdo:hasBehaviourStateDescription a rdf:Property ;
  rdfs:label "hasBehaviourStateDescription" ;
  rdfs:comment "BehaviourState has some Description" ;
  rdfs:domain lftdo:BehaviourState ;
  rdfs:range xsd:string .

lftdo:hasEventDateTime a rdf:Property ;
  rdfs:label "hasEventDateTime" ;
  rdfs:domain lftdo:BehaviourState ;
  rdfs:range xsd:dateTime .

lftdo:isInfluencedBy a rdf:Property ;
  rdfs:label "isInfluencedBy" ;
  rdfs:comment """BehaviourState is influenced by some EnvironmentalConditions

isInfluencedBy (Active/Causal): This means the environment is changing the behavior.
Example: \"The sheep stopped grazing because the rain became a heavy storm.\"""" ;
  rdfs:domain lftdo:BehaviourState ;
  rdfs:range lftdo:EnvironmentalCondition .

lftdo:hasBehaviourStateConfidenceScore a rdf:Property ;
  rdfs:label "hasBehaviourStateConfidenceScore" ;
  rdfs:comment "BehaviourState has some ConfidenceScore" ;
  rdfs:domain lftdo:BehaviourState ;
  rdfs:range xsd:integer .

lftdo:hasSpeed a rdf:Property ;
  rdfs:label "hasSpeed" ;
  rdfs:comment "Livestock BehaviourState has some Speed measured in meters per second" ;
  rdfs:domain lftdo:BehaviourState ;
  rdfs:range xsd:decimal .

lftdo:isInfluencedByHealthCondition a rdf:Property ;
  rdfs:label "isInfluencedByHealthCondition" ;
  rdfs:comment "BehaviourState is influencedBy some HealthCondition" ;
  rdfs:domain lftdo:BehaviourState ;
  rdfs:range lftdo:HealthCondition .

lftdo:isTransitionedFrom a rdf:Property ;
  rdfs:label "isTransitionedFrom" ;
  rdfs:comment "AbnormalBehaviour State is transitionedFrom some Normal Behaviour State" ;
  rdfs:domain lftdo:AbnormalState ;
  rdfs:range lftdo:NormalState .

lftdo:isIdentifiedBy a rdf:Property ;
  rdfs:label "isIdentifiedBy" ;
  rdfs:comment "BehaviourState is isIdentifiedBy Detection Method." ;
  rdfs:domain lftdo:BehaviourState ;
  rdfs:range lftdo:DetectionMethod .

lftdo:hasEnvironmentalContext a rdf:Property ;
  rdfs:label "hasEnvironmentalContext" ;
  rdfs:comment "BehaviourState has some EnvironmentalCondition Context" ;
  rdfs:domain lftdo:BehaviourState ;
  rdfs:range lftdo:EnvironmentalCondition .

lftdo:hasHealthIndicator a rdf:Property ;
  rdfs:label "hasHealthIndicator" ;
  rdfs:domain lftdo:BehaviourState ;
  rdfs:range lftdo:HealthIndicator .

lftdo:isResolved a rdf:Property ;
  rdfs:label "isResolved" ;
  rdfs:domain lftdo:BehaviourState ;
  rdfs:range xsd:boolean .

lftdo:hasBehaviourStateContext a rdf:Property ;
  rdfs:label "hasBehaviourStateContext" ;
  rdfs:comment "BehaviourState has some Context" ;
  rdfs:domain lftdo:BehaviourState ;
  rdfs:range xsd:string .

lftdo:Farmer a rdfs:Class ;
  rdfs:label "Farmer" ;
  rdfs:comment """Farmer is the owner of some Livestock.
A Farmer owns various domestic animals such as cattle, sheep, and goats.""" ;
  rdfs:subClassOf lftdo:Participant .

lftdo:usesFarm a rdf:Property ;
  rdfs:label "usesFarm" ;
  rdfs:comment "Farmer uses some Farm" ;
  rdfs:domain lftdo:Farmer ;
  rdfs:range lftdo:Farm .

lftdo:hasAccessTo a rdf:Property ;
  rdfs:label "hasAccessTo" ;
  rdfs:comment "Participant has access to some SoftwareApplication" ;
  rdfs:domain lftdo:Participant ;
  rdfs:range lftdo:SoftwareApplication .

lftdo:hasParticipantEmail a rdf:Property ;
  rdfs:label "hasParticipantEmail" ;
  rdfs:domain lftdo:Participant ;
  rdfs:range xsd:string .

lftdo:isOwnerOfLivestock a rdf:Property ;
  rdfs:label "isOwnerOfLivestock" ;
  rdfs:comment "Farmer is an owner of some Livestock." ;
  rdfs:domain lftdo:Farmer ;
  rdfs:range lftdo:Livestock .

lftdo:isNotifiedBySoftwareApp a rdf:Property ;
  rdfs:label "isNotifiedBySoftwareApp" ;
  rdfs:comment "Participant(Farmer) is notified by some SoftwareApplication" ;
  rdfs:domain lftdo:Participant ;
  rdfs:range lftdo:SoftwareApplication .

lftdo:hasParticipantName a rdf:Property ;
  rdfs:label "hasParticipantName" ;
  rdfs:comment "Participant has a name." ;
  rdfs:domain lftdo:Participant ;
  rdfs:range xsd:string .

lftdo:validateStatusOfEvent a rdf:Property ;
  rdfs:label "validateStatusOfEvent" ;
  rdfs:comment "Farmer updates the status of some TheftEvent" ;
  rdfs:domain lftdo:Participant ;
  rdfs:range lftdo:StatusUpdateEvent .

lftdo:hasParticipantRole a rdf:Property ;
  rdfs:label "hasParticipantRole" ;
  rdfs:comment """Participant has ParticipantRole.

Data property to define if they are an \"Auditor\" or \"Observer.\"""" ;
  rdfs:domain lftdo:Participant ;
  rdfs:range xsd:string .

lftdo:hasContactNumber a rdf:Property ;
  rdfs:label "hasContactNumber" ;
  rdfs:comment "Participant has some Contact Number." ;
  rdfs:domain lftdo:Participant ;
  rdfs:range xsd:string .

lftdo:hasParticipantID a rdf:Property ;
  rdfs:label "hasParticipantID" ;
  rdfs:comment "Participant has identification." ;
  rdfs:domain lftdo:Participant ;
  rdfs:range xsd:string .

lftdo:DetectionMethod a rdfs:Class ;
  rdfs:label "DetectionMethod" ;
  rdfs:comment """Detection Method: Represent the algorithms used to detect the theft events.
Sub-classes:
1.AudioMonitoringSystem
2.BehaviourMonitoringSystem
3.GPSTrackingSystem
4.VideoMonitoringSystem""" .

lftdo:CattleWithFever a rdfs:Class ;
  rdfs:label "CattleWithFever" ;
  rdfs:comment "Cattle that hasBodyTemperature >= 39.4 celsius, is a Cattle with Fever" ;
  rdfs:subClassOf lftdo:Cattle .

lftdo:RestrictedArea a rdfs:Class ;
  rdfs:label "RestrictedArea" ;
  rdfs:comment "The RestrictedArea is a location in a farm that isSecuredGuardedBy only EndUser device." ;
  rdfs:subClassOf lftdo:Location .

lftdo:Veterinarian a rdfs:Class ;
  rdfs:label "Veterinarian" ;
  rdfs:comment "The veterinarian understands the behavior of domestic animals and often treats the domestic animals for diseases." ;
  rdfs:subClassOf lftdo:Participant .

lftdo:RoutineLogEvent a rdfs:Class ;
  rdfs:label "RoutineLogEvent" ;
  rdfs:comment "Classifies the a Data-Persistence Event" ;
  rdfs:subClassOf lftdo:SystemEvent .

lftdo:isStoredIn a rdf:Property ;
  rdfs:label "isStoredIn" ;
  rdfs:comment "This ensures the reasoner knows that log events are meant for storage, keeping the communication channel (the SoftwareApplication) clear of \"noise\"." ;
  rdfs:range lftdo:Database .

lftdo:logGeneratedBy a rdf:Property ;
  rdfs:label "logGeneratedBy" ;
  rdfs:comment "RoutineLogEvent isGeneratedBy some Software" ;
  rdfs:domain lftdo:RoutineLogEvent ;
  rdfs:range lftdo:SoftwareApplication .

lftdo:CattleWithNormalBodyTempareture a rdfs:Class ;
  rdfs:comment """Check the transition from normal to abnormal livestock Health condition when, for instance, a Cow's Body temperature
deviates from an normal body temperature of a healthy adult cow, which ranges from 38°C to 39.3°C, with an average of approximately 38.6°C.The the exceeded deviation from the norm could indicate synificant anomly and resulting in a potential theft or health alert issued to the farmer. 

e.g. Cattle with an Abnormal Body Temperatute has a hasBodyTemperature outside the normal range [>=38,>39.3]""" ;
  rdfs:subClassOf lftdo:Cattle .

<http://www.w3.org/2003/11/swrl#Variable> a rdfs:Class .

lftdo:SuspiciousIndicator a rdfs:Class ;
  rdfs:label "SuspiciousIndicator" ;
  rdfs:comment "Suspicious Indicator may indicate that there is a suspecious activity event." ;
  rdfs:subClassOf lftdo:LivestockIndicator .

lftdo:Farm a rdfs:Class ;
  rdfs:label "Farm" ;
  rdfs:comment "The farm is a location with some livestock." ;
  rdfs:subClassOf lftdo:Location .

lftdo:hasDevice a rdf:Property ;
  rdfs:label "hasDevice" ;
  rdfs:comment "Farm hasDevice" ;
  rdfs:domain lftdo:Farm ;
  rdfs:range lftdo:Device .

lftdo:hasFarmName a rdf:Property ;
  rdfs:label "hasFarmName" ;
  rdfs:comment "Farm has a name" ;
  rdfs:domain lftdo:Farm ;
  rdfs:range xsd:string .

lftdo:hasFarmSizeInHa a rdf:Property ;
  rdfs:label "hasFarmSizeInHa" ;
  rdfs:comment "Farm has Size In Hectors" ;
  rdfs:domain lftdo:Farm ;
  rdfs:range xsd:decimal .

lftdo:hasFarmID a rdf:Property ;
  rdfs:label "hasFarmID" ;
  rdfs:comment "Farm has FarmID" ;
  rdfs:domain lftdo:Farm ;
  rdfs:range xsd:string .

lftdo:SensorData a rdfs:Class ;
  rdfs:label "SensorData" ;
  rdfs:comment "SensorData: Represents data collected from device sensors attached to the livestock and environment, providing various behaviour states." .

lftdo:isExtractedTo a rdf:Property ;
  rdfs:label "isExtractedTo" ;
  rdfs:comment "SensorData isExtractedTo some LivestockIndicator" ;
  rdfs:domain lftdo:SensorData ;
  rdfs:range lftdo:LivestockIndicator .

lftdo:hasSensorTimeStamp a rdf:Property ;
  rdfs:label "hasSensorTimeStamp" ;
  rdfs:comment "SensorData has some date and time." ;
  rdfs:domain lftdo:SensorData ;
  rdfs:range xsd:dateTime .

lftdo:isSensorDataAnomaly a rdf:Property ;
  rdfs:label "isSensorDataAnomaly" ;
  rdfs:comment "is there some Sensor Data anomaly?" ;
  rdfs:domain lftdo:SensorData ;
  rdfs:range xsd:boolean .

lftdo:representsDataType a rdf:Property ;
  rdfs:label "representsDataType" ;
  rdfs:comment """SensorData has present some DataType.
\"Motion,\" \"Position,\" or \"Biometric\"""" ;
  rdfs:domain lftdo:SensorData ;
  rdfs:range xsd:string .

lftdo:hasValue a rdf:Property ;
  rdfs:label "hasValue" ;
  rdfs:comment "SensorData has some Value." ;
  rdfs:domain lftdo:SensorData ;
  rdfs:range xsd:decimal .

lftdo:hasSensorDataValue a rdf:Property ;
  rdfs:label "hasSensorDataValue" ;
  rdfs:comment "SensorData has some value." ;
  rdfs:domain lftdo:SensorData ;
  rdfs:range xsd:decimal .

lftdo:hasTransmissionTimeStamp a rdf:Property ;
  rdfs:label "hasTransmissionTimeStamp" ;
  rdfs:domain lftdo:SensorData ;
  rdfs:range xsd:dateTime .

lftdo:isGeneratedByDevice a rdf:Property ;
  rdfs:label "isGeneratedByDevice" ;
  rdfs:comment "SensorData isGeneratedBy of some Device" ;
  rdfs:domain lftdo:SensorData ;
  rdfs:range lftdo:Device .

lftdo:Fever a rdfs:Class ;
  rdfs:comment "Fever  is a health condition" ;
  rdfs:subClassOf lftdo:HealthCondition .

lftdo:hasSymptoms a rdf:Property ;
  rdfs:label "hasSymptoms" ;
  rdfs:comment "HealthCondition has some Symptoms" ;
  rdfs:domain lftdo:HealthCondition ;
  rdfs:range xsd:string .

lftdo:isExperiencedBy a rdf:Property ;
  rdfs:label "isExperiencedBy" ;
  rdfs:comment "HealthCondition isExperiencedBy Livestock" ;
  rdfs:domain lftdo:HealthCondition ;
  rdfs:range lftdo:Livestock .

lftdo:healthConditionBelongsTo a rdf:Property ;
  rdfs:label "healthConditionBelongsTo" ;
  rdfs:comment "HealthConditionBelongsTo to a specific Livestock type such Cattle, Sheep or Goat." ;
  rdfs:domain lftdo:HealthCondition ;
  rdfs:range lftdo:Livestock .

lftdo:hasHealthStatus a rdf:Property ;
  rdfs:domain lftdo:HealthCondition ;
  rdfs:range xsd:string .

lftdo:biologicallyAffects a rdf:Property ;
  rdfs:label "biologicallyAffects" ;
  rdfs:comment "HealthCondition biologicallyAffects some Livestock" ;
  rdfs:domain lftdo:HealthCondition ;
  rdfs:range lftdo:Livestock .

lftdo:lastVetCheck a rdf:Property ;
  rdfs:label "lastVetCheck" ;
  rdfs:domain lftdo:HealthCondition ;
  rdfs:range xsd:dateTime .

lftdo:hasHealthDescription a rdf:Property ;
  rdfs:label "hasHealthDescription" ;
  rdfs:comment "Health has some Description" ;
  rdfs:domain lftdo:HealthCondition ;
  rdfs:range xsd:string .

lftdo:healthInfluencesBehaviourState a rdf:Property ;
  rdfs:label "healthInfluencesBehaviourState" ;
  rdfs:comment "healthCondition Influences some Livestock BehaviourState" ;
  rdfs:domain lftdo:HealthCondition ;
  rdfs:range lftdo:BehaviourState .

lftdo:Sleeping a rdfs:Class ;
  rdfs:label "Sleeping" ;
  rdfs:comment """Referenced Ontology:
1.Sleeping is a behaviour
2.Sleeping can be a normal or abnormal state based on the sleeping duration
Sleeping = Sleep pattern(ATOL:000369) \"any measurable or observable characteristic related to the wake/sleep cycle\" (Meunier-Salaün et. al,2015)
Under: Animal Trait->Pyschoneuroendocrinological state trait->biological rhythm->sleep pattern""" ;
  rdfs:subClassOf lftdo:Behaviour .

lftdo:Device a rdfs:Class ;
  rdfs:label "Device" ;
  rdfs:comment """Device are different types of devices used in livestock farming for various reasons such as “autonomous real-time interaction” and collecting and exchanging of data between devices and software applications, this device includes sensors, end devices such as Radio Frequencies Identification(RFID), ear tags, collars, and end-user devices such as smartphones, communication gateways such as LoRagateway from different manufactures (Symeonaki et al., 2020). The devices are connected to the cloud for remote access.

Devices:
1.A Communication Gateway is a Device not fitted into a livestock and is connected to the internet(Cloud Computing Services)
2.End device is device attached to a livestock fitted with sensors 
3.Sensor is a Device that detect the changes on livestock and the environment
4.User device is a Device not fitted into a livestock 

Relationships:
1.A device is connected to one or more Cloud Computing Services
2.Some end device has some sensor
3.User devices are used by some Actors to track and monitor livestock""" .

lftdo:hasModulationFrequencyRange a rdf:Property ;
  rdfs:label "hasModulationFrequencyRange" ;
  rdfs:comment "The device of type communication gateway has some modulation frequency range measured in hertz e.g. 10Khz etc." ;
  rdfs:domain lftdo:Device ;
  rdfs:range xsd:string .

lftdo:hasDeviceDescription a rdf:Property ;
  rdfs:label "hasDeviceDescription" ;
  rdfs:comment "Device has some Description" ;
  rdfs:domain lftdo:Device ;
  rdfs:range xsd:string .

lftdo:hasSystemStatus a rdf:Property ;
  rdfs:label "hasSystemStatus" ;
  rdfs:range xsd:string .

lftdo:hasDeviceID a rdf:Property ;
  rdfs:label "hasDeviceID" ;
  rdfs:comment "Device has a DeviceID" ;
  rdfs:domain lftdo:Device ;
  rdfs:range xsd:integer .

lftdo:hasDeviceName a rdf:Property ;
  rdfs:label "hasDeviceName" ;
  rdfs:comment "Device has some DeviceName" ;
  rdfs:domain lftdo:Device ;
  rdfs:range xsd:string .

lftdo:transmitSensorDataTo a rdf:Property ;
  rdfs:label "transmitSensorDataTo" ;
  rdfs:comment "Device(EndDevice) transmit some SensorDataTo a DataTransmission" ;
  rdfs:domain lftdo:Device ;
  rdfs:range lftdo:DataTransmission .

lftdo:hasManufacturerDate a rdf:Property ;
  rdfs:label "hasManufacturerDate" ;
  rdfs:comment "The device has the manufacture date." ;
  rdfs:domain lftdo:Device ;
  rdfs:range xsd:dateTime .

lftdo:hasDeviceSensorType a rdf:Property ;
  rdfs:label "hasDeviceSensorType" ;
  rdfs:comment "Device has some SensorType" ;
  rdfs:domain lftdo:Device ;
  rdfs:range xsd:string .

lftdo:hasDeviceSerialNumber a rdf:Property ;
  rdfs:label "hasDeviceSerialNumber" ;
  rdfs:comment "Device has some DeviceSerialNumber" ;
  rdfs:domain lftdo:Device ;
  rdfs:range xsd:string .

lftdo:hasDevicePrice a rdf:Property ;
  rdfs:label "hasDevicePrice" ;
  rdfs:comment "Device has some DevicePrice" ;
  rdfs:domain lftdo:Device ;
  rdfs:range xsd:decimal .

lftdo:hasManufacturerName a rdf:Property ;
  rdfs:label "hasManufacturerName" ;
  rdfs:comment "The device has some manufacturer" ;
  rdfs:domain lftdo:Device ;
  rdfs:range xsd:string .

lftdo:generatesData a rdf:Property ;
  rdfs:label "generatesData" ;
  rdfs:comment "Device generates some Data" ;
  rdfs:domain lftdo:Device ;
  rdfs:range lftdo:SensorData .

lftdo:hasPowerStatus a rdf:Property ;
  rdfs:label "hasPowerStatus" ;
  rdfs:comment "A Device has power status 'On' or 'Off' for a battery or connected to some power outlet. If its 'Off' it can indicate the some TheftIndicator of Sabotage Indicator" ;
  rdfs:domain lftdo:Device ;
  rdfs:range xsd:string .

lftdo:isDeviceOnline a rdf:Property ;
  rdfs:label "isDeviceOnline" ;
  rdfs:comment "Device has isDeviceOnline indicator" ;
  rdfs:domain lftdo:Device ;
  rdfs:range xsd:boolean .

lftdo:hasDeviceBatteryLife a rdf:Property ;
  rdfs:label "hasDeviceBatteryLife" ;
  rdfs:comment "Device has some BatteryLife" ;
  rdfs:domain lftdo:Device ;
  rdfs:range xsd:decimal .

lftdo:hasDeviceCapacity a rdf:Property ;
  rdfs:label "hasDeviceCapacity" ;
  rdfs:comment "Device has some Capacity" ;
  rdfs:domain lftdo:Device ;
  rdfs:range xsd:decimal .

lftdo:hasComponent a rdf:Property ;
  rdfs:label "hasComponent" ;
  rdfs:comment "Device has some Sensor Components" ;
  rdfs:domain lftdo:Device ;
  rdfs:range lftdo:Sensor .

lftdo:hasDeviceProtocol a rdf:Property ;
  rdfs:label "hasDeviceProtocol" ;
  rdfs:comment "Device has some DeviceProtocol" ;
  rdfs:domain lftdo:Device ;
  rdfs:range xsd:string .

lftdo:isSuitableForRuralAreas a rdf:Property ;
  rdfs:label "isSuitableForRuralAreas" ;
  rdfs:comment "Checks if the device is Suitable to use for rural areas?" ;
  rdfs:domain lftdo:Device ;
  rdfs:range xsd:boolean .

lftdo:hasDeviceType a rdf:Property ;
  rdfs:label "hasDeviceType" ;
  rdfs:comment "Device has some DeviceType" ;
  rdfs:domain lftdo:Device ;
  rdfs:range xsd:string .

lftdo:hasModulationType a rdf:Property ;
  rdfs:label "hasModulationType" ;
  rdfs:comment "The device of type communication gateway has some modulation type e.g. Amplitude etc." ;
  rdfs:domain lftdo:Device ;
  rdfs:range xsd:string .

lftdo:Livestock a rdfs:Class ;
  rdfs:label "Livestock" ;
  rdfs:comment """Livestock are domestic animals such as cattle, sheep, and goats for labor, and the production of commodities for humans such as meat, milk, wool, and leather (Britannica, 2020).

Relationships:
1.Livestock is fitted with some end device for tracking and monitoring.
2.Livestock has some body condition score.
3.Livestock exhibit some Behaviour 
4.Livestock is located at some Farm Location""" .

lftdo:VideoMonitoringSystem a rdfs:Class ;
  rdfs:label "VideoMonitoringSystem" ;
  rdfs:comment "VideoMonitoringSystem is a theft DetectionMethod" ;
  rdfs:subClassOf lftdo:DetectionMethod .

lftdo:Database a rdfs:Class ;
  rdfs:label "Database" ;
  rdfs:comment "The database is part of the cloud computing services for storing, accessing, and displaying data from livestock farming devices." .

lftdo:hasDatabaseBackupAndRecovery a rdf:Property ;
  rdfs:label "hasDatabaseBackupAndRecovery" ;
  rdfs:comment "Database has some BackupAndRecovery" ;
  rdfs:domain lftdo:Database ;
  rdfs:range xsd:boolean .

lftdo:isAccessedBy a rdf:Property ;
  rdfs:label "isAccessedBy" ;
  rdfs:comment "Database is accessed by some SoftwareApplication" ;
  rdfs:domain lftdo:Database ;
  rdfs:range lftdo:SoftwareApplication .

lftdo:storeData a rdf:Property ;
  rdfs:label "storeData" ;
  rdfs:comment "Database stores some Data from Sensors, SystemLogs .e.t.c." ;
  rdfs:domain lftdo:Database ;
  rdfs:range xsd:string .

lftdo:recordsEvent a rdf:Property ;
  rdfs:label "records" ;
  rdfs:comment """LivestockIndicator or Software Application records some RoutineLogEvent in the Database.
The software writes to the log.""" ;
  rdfs:domain lftdo:Database ;
  rdfs:range xsd:string .

lftdo:hasDatabaseType a rdf:Property ;
  rdfs:label "hasDatabaseType" ;
  rdfs:comment "Database has some Type" ;
  rdfs:domain lftdo:Database ;
  rdfs:range xsd:string .

lftdo:hasEncryptionStandard a rdf:Property ;
  rdfs:label "hasEncryptionStandard" ;
  rdfs:domain lftdo:Database ;
  rdfs:range xsd:string .

lftdo:isStoredOn a rdf:Property ;
  rdfs:label "isStoredOn" ;
  rdfs:comment "Database is stored on some cloudservice" ;
  rdfs:domain lftdo:Database ;
  rdfs:range lftdo:CloudService .

lftdo:hasLastBackup a rdf:Property ;
  rdfs:label "hasLastBackup" ;
  rdfs:domain lftdo:Database ;
  rdfs:range xsd:dateTime .

lftdo:hasDatabaseStorageCapacity a rdf:Property ;
  rdfs:label "hasDatabaseStorageCapacity" ;
  rdfs:comment "Database has some StorageCapacity" ;
  rdfs:domain lftdo:Database ;
  rdfs:range xsd:string .

lftdo:hasDatabaseSchema a rdf:Property ;
  rdfs:label "hasDatabaseSchema" ;
  rdfs:comment "Database has a Schema" ;
  rdfs:domain lftdo:Database ;
  rdfs:range xsd:string .

lftdo:hasDatabaseAccessControl a rdf:Property ;
  rdfs:label "hasDatabaseAccessControl" ;
  rdfs:comment "Database has some AccessControl" ;
  rdfs:domain lftdo:Database ;
  rdfs:range xsd:string .

lftdo:isAnalysedBy a rdf:Property ;
  rdfs:label "isAnalysedBy" ;
  rdfs:comment "Database is analysed by some DetectionMethod" ;
  rdfs:domain lftdo:Database ;
  rdfs:range lftdo:DetectionMethod .

lftdo:BehaviourState a rdfs:Class ;
  rdfs:label "BehaviourState" ;
  rdfs:comment """Livestock behavior state the actions that are are likely and less likely to happen at any point in time such as normal behavior state that includes grazing and feeding, and abnormal behavior states such as restlessness and aggression (Dieng et al., 2017, Risteska Stojkoska et al., 2018). Behavior states are influenced by health, environmental, body conditions, and their locations at any point in time.

sub-classes:
1.NormalState
2.AbnormalState""" .

lftdo:Agression a rdfs:Class ;
  rdfs:label "Aggression" ;
  rdfs:comment """1.Aggression is a behaviour
Referenced Ontology: Aggression (ATOL:0001782)=Aggregative  behaviour (Meunier-Salaün et. al,2015)
Under Behavior trait->Motor activity->aggregative behavior.""" ;
  rdfs:subClassOf lftdo:Behaviour .

lftdo:DistressVocalizations a rdfs:Class ;
  rdfs:label "DistressVocalization" ;
  rdfs:comment "DistressVocalisation is an AbnormalState of Behaviour of Livestock" ;
  rdfs:subClassOf lftdo:AbnormalState , lftdo:BehaviourState .

lftdo:SpaceUse a rdfs:Class ;
  rdfs:label "SpaceUse" ;
  rdfs:comment "Referenced Ontology: SpaceUse = Space use(ATOL0000831:) \"any measurable or observable characteristic related to the behavior of the animals to use their physical environment according to the social or physical stimuli within this environment  (e.g. use of perches, use of specific area, geographic location)\" (Meunier-Salaün et. al,2015)" ;
  rdfs:subClassOf lftdo:Behaviour .

lftdo:Cattle a rdfs:Class ;
  rdfs:label "Cattle" ;
  rdfs:comment "Cattle is a livestock" ;
  rdfs:subClassOf lftdo:Livestock .

lftdo:LawEnforcementAgency a rdfs:Class ;
  rdfs:label "LawEnforcementAgency" ;
  rdfs:comment "Law enforcement agents, enforce the law of the country pertaining to Livestock if not being adhered to such as theft, and abuse of livestock." ;
  rdfs:subClassOf lftdo:Participant .

lftdo:EscapedLivestock a rdfs:Class ;
  rdfs:label "EscapedLivestock" ;
  rdfs:comment "EscapedLivestock: Is trigged by some EscapeIndicator that is identified as a Livestock that has Escaped the Farm or Known Area." ;
  rdfs:subClassOf lftdo:LivestockEvent .

lftdo:CattleWithLowAbnormalBodyTempareture a rdfs:Class ;
  rdfs:label "CattleWithLowAbnormalBodyTempareture" ;
  rdfs:comment """Check the transition from normal to abnormal livestock Health condition when, for instance, a Cow's Body temperature
deviates from an normal body temperature of a healthy adult cow, which ranges from 38°C to 39.3°C, with an average of approximately 38.6°C.The the exceeded deviation from the norm could indicate synificant anomly and resulting in a potential theft or health alert issued to the farmer. 

e.g. Cattle with an Abnormal Body Temperatute has a hasBodyTemperature outside the normal range [>=38,>39.3]""" ;
  rdfs:subClassOf lftdo:Cattle .

lftdo:ExtremeNightTimeHeat a rdfs:Class ;
  rdfs:label "ExtremeNightTimeHeat" ;
  rdfs:comment "Extereme Night Time Heat Temperature that is above than 25 degree celcius" ;
  rdfs:subClassOf lftdo:AmbientTemperature .

lftdo:hasTemporalContext a rdf:Property ;
  rdfs:label "hasTemporalContext" ;
  rdfs:comment "Relating to time: \"the spatial and temporal dimensions of human interference in complex ecosystems\", this is demoted with \"DayTime\" or \"NightTime\"" ;
  rdfs:range xsd:string .

lftdo:hasWeatherCondition a rdf:Property ;
  rdfs:label "hasWeatherCondition" ;
  rdfs:comment "Enviromental Condition has some WeatherCondition" ;
  rdfs:domain lftdo:EnvironmentalCondition ;
  rdfs:range xsd:string .

lftdo:hasPrecipitation a rdf:Property ;
  rdfs:label "hasPrecipitation" ;
  rdfs:comment "Environmental condition has some precipitation e.g. No rain." ;
  rdfs:domain lftdo:EnvironmentalCondition ;
  rdfs:range xsd:string .

lftdo:isContextOf a rdf:Property ;
  rdfs:label "isContextOf" ;
  rdfs:comment """EnvironmentalCondition is context of some BehaviourState

isContextOf (Passive/Spatio-Temporal): This simply means the behavior and the environment happened at the same time and place.
Example: \"The sheep is grazing while it is raining.\"""" ;
  rdfs:domain lftdo:EnvironmentalCondition ;
  rdfs:range lftdo:BehaviourState .

lftdo:hasEnvironmentDescription a rdf:Property ;
  rdfs:label "hasEnvironmentDescription" ;
  rdfs:comment "EnvironmentCondition has some Description" ;
  rdfs:domain lftdo:EnvironmentalCondition ;
  rdfs:range xsd:string .

lftdo:externallyAffects a rdf:Property ;
  rdfs:label "externallyAffects" ;
  rdfs:comment "EnvironmentalCondition externallyAffects Livestock" ;
  rdfs:domain lftdo:EnvironmentalCondition ;
  rdfs:range lftdo:Livestock .

lftdo:influences a rdf:Property ;
  rdfs:label "influences" ;
  rdfs:comment "EnvironmentalCondition influences Livestock Behaviour." ;
  rdfs:domain lftdo:EnvironmentalCondition ;
  rdfs:range lftdo:BehaviourState .

lftdo:hasEnvValue a rdf:Property ;
  rdfs:label "hasEnvValue" ;
  rdfs:comment "EnvironmentCondition has some Tempareture" ;
  rdfs:domain lftdo:EnvironmentalCondition ;
  rdfs:range xsd:decimal .

lftdo:OccursAtLocation a rdf:Property ;
  rdfs:label "OccursAtLocation" ;
  rdfs:comment "Some Enviromental Condition, TheftIndicator, TheftEvent Occurrs at some Location" ;
  rdfs:domain lftdo:EnvironmentalCondition ;
  rdfs:range lftdo:Location .

lftdo:hasEnvUnit a rdf:Property ;
  rdfs:label "hasEnvUnit" ;
  rdfs:comment """Unit of measure e.g. Celsius
\"°C\", \"%\"""" ;
  rdfs:domain lftdo:EnvironmentalCondition ;
  rdfs:range <https://w3id.org/linkml/Any> .

lftdo:ModerateAmbientTemperature a rdfs:Class ;
  rdfs:label "ModerateAmbientTemperature" ;
  rdfs:comment "Moderate Ambient Temperature range that applies to many populated areas might be considered:Daytime: Around 20 °C to  34.9 °C." ;
  rdfs:subClassOf lftdo:AmbientTemperature .

lftdo:TechnicalIndicator a rdfs:Class ;
  rdfs:subClassOf lftdo:LivestockIndicator .

lftdo:HealthCondition a rdfs:Class ;
  rdfs:label "HealthCondition" ;
  rdfs:comment """Health condition indicates various health situations of a livestock, related to Livestock behavior pertaining to livestock theft situations.
Sub-routine:
1.LegInjurty
2.Sick""" .

lftdo:ExtendedOfficer a rdfs:Class ;
  rdfs:label "ExtendedOfficer" ;
  rdfs:comment """ExtendedOfficer assist with managing some Livestock.
Extended officers, work on a farm, to manage livestock such as feeding, keeping count, managing their well-being, and protecting against theft.""" ;
  rdfs:subClassOf lftdo:Participant .

lftdo:SecurityBreach a rdfs:Class ;
  rdfs:label "SecurityBreach" ;
  rdfs:comment "SecurityBreach: is triggered by Sabotage indicators that related to technologies misfunctions or fence cut or collar removed from Livestock." ;
  rdfs:subClassOf lftdo:LivestockEvent .

lftdo:LegInjury a rdfs:Class ;
  rdfs:label "LegInjury" ;
  rdfs:comment "LegInjury is a health condition" ;
  rdfs:subClassOf lftdo:HealthCondition .

lftdo:Sitting a rdfs:Class ;
  rdfs:label "Sitting" ;
  rdfs:comment """1.Sitting is a behaviour
2.Sitting can be a normal or abnormal behaviour state based on duration of sitting""" ;
  rdfs:subClassOf lftdo:Behaviour .

lftdo:SheepWithFever a rdfs:Class ;
  rdfs:label "SheepWithFever" ;
  rdfs:comment "Sheep  that hasBodyTemperature >= 40 celsius, is a Sheep with Fever" ;
  rdfs:subClassOf lftdo:Sheep .

lftdo:hasSheepBodyConditionScore a rdf:Property ;
  rdfs:label "hasSheepBodyConditionScore" ;
  rdfs:comment "Livestock(Sheep) has some SheepBodyConditionScore" ;
  rdfs:domain lftdo:Sheep ;
  rdfs:range xsd:integer .

lftdo:CommunicationGateway a rdfs:Class ;
  rdfs:label "CommunicationGateway" ;
  rdfs:comment "1.A Communication Gateway is a Device not fitted into a livestock and is connected to the internet(Cloud Computing Services)" ;
  rdfs:subClassOf lftdo:Device .

lftdo:BodyTemperature a rdfs:Class ;
  rdfs:label "BodyTemperature" ;
  rdfs:comment "Body temperature serves as a key vital sign in assessing livestock health, offering important  insights into the physiological status and general well-being of animals." ;
  rdfs:subClassOf lftdo:HealthCondition .

lftdo:Startle a rdfs:Class ;
  rdfs:label "Startle" ;
  rdfs:comment """Referenced Ontology:
1. Startle is a Behaviour = startle reponses(ATOL:0000368), \"any measurable or observable characteristic related to the response of the whole body to triggering stimulus without any voluntary orientation towards this given stimulus\"

In ATOL under:Aninmal trait of livestock->animal welfare trait->psychoneuroendcrinological state trait->behavior trait->motor activity->body movement->locomotor activity->startle response""" ;
  rdfs:subClassOf lftdo:Behaviour .

lftdo:Sheep a rdfs:Class ;
  rdfs:label "Sheep" ;
  rdfs:comment "Sheep is a livestock" ;
  rdfs:subClassOf lftdo:Livestock .

lftdo:Suckling a rdfs:Class ;
  rdfs:label "Suckling" ;
  rdfs:comment """Referenced Ontology:
1.Suckling = suckling behavior(ATOL:0000365)\"any measurable or observable beahvioral characteristic related to the intake of milk by a preweaning organism\"(Meunier-Salaün et. al,2015)
2.Suckling indicates the baby of livestock sucking miik from their mother, it had different rates, and number of times it does in an hour/day. 
3. it may have a abnormal behaviour state based on decreased suckling rate, which could indicate a baby livestock is separated from its mother

In ATOL under: animal trait of livestock->animal welfare trait->psychoneuroendocrinological state trait->behaviour trait->ingestive behavior->suckling behavior""" ;
  rdfs:subClassOf lftdo:Behaviour .

lftdo:ExtremeHeat a rdfs:Class ;
  rdfs:label "ExtremeHeat" ;
  rdfs:comment "ExtremeHeat is an environmental condition" ;
  rdfs:subClassOf lftdo:AmbientTemperature .

lftdo:UserDevice a rdfs:Class ;
  rdfs:label "UserDevice" ;
  rdfs:comment """1.User device is a Device not fitted into a livestock 
2.User devices are used by some Actors such as to track and monitor livestock, secure the Farm Location""" ;
  rdfs:subClassOf lftdo:Device .

lftdo:TheftIndicator a rdfs:Class ;
  rdfs:label "TheftIndicator" ;
  rdfs:comment "Factors suggesting a potential of theft, linking them to relevant behavior states, environment, and health conditions." ;
  rdfs:subClassOf lftdo:LivestockIndicator .

lftdo:indicatedBy a rdf:Property ;
  rdfs:label "indicatedBy" ;
  rdfs:comment "TheftIndicator is indicated by some Abnorma behaviour state" ;
  rdfs:domain lftdo:TheftIndicator ;
  rdfs:range xsd:string .

lftdo:AmbientTemperature a rdfs:Class ;
  rdfs:label "AmbientTemperature" ;
  rdfs:comment """Ambient Temperature: Refers to the temperature of the surroundings, often measured in degrees Celsius or Fahrenheit. It is the temperature experienced by a person in their environment, not the temperature of the person themselves.

These refers to the warmth or coldness of the air, which influences areas such as livestock farming and human health.""" ;
  rdfs:subClassOf lftdo:EnvironmentalCondition .

lftdo:Panting a rdfs:Class ;
  rdfs:label "Panting" ;
  rdfs:comment """Referenced Ontology:
Panting = Panting(ATOL:00832)
\"any measurable or observable characteristic related to the ability of increasing breathing by polypnea or hyperpnea performed with open mouth and distinct thoracic movements, to increase O2-CO2 exchanges and/or to increase evaporative heat loss.\" (Meunier-Salaün et. al,2015)""" ;
  rdfs:subClassOf lftdo:Behaviour .

lftdo:Sensor a rdfs:Class ;
  rdfs:label "Sensor" ;
  rdfs:comment "1.Sensor is a Device that detect the changes on livestock and the environment" ;
  rdfs:subClassOf lftdo:Device .

lftdo:isSensorOf a rdf:Property ;
  rdfs:label "isSensorOf" ;
  rdfs:domain lftdo:Sensor ;
  rdfs:range lftdo:Device .

lftdo:hasSensorType a rdf:Property ;
  rdfs:label "hasSensorType" ;
  rdfs:comment "Sensor hasSensorType" ;
  rdfs:domain lftdo:Sensor ;
  rdfs:range xsd:string .

lftdo:isSensorCalibrated a rdf:Property ;
  rdfs:label "isSensorCalibrated" ;
  rdfs:comment "Sensor is isSensorCalibrated" ;
  rdfs:domain lftdo:Sensor ;
  rdfs:range xsd:boolean .

lftdo:UnauthorisedPerson a rdfs:Class ;
  rdfs:label "UnauthorisedPerson" ;
  rdfs:comment "UnauthorisedPerson: Represents individuals not permitted to access specific farm areas (also referred to as \"Unknown Person(s)\"). This class is essential for modeling security breaches and theft intent." ;
  rdfs:subClassOf lftdo:Participant .

lftdo:TheftOfLivestockProducts a rdfs:Class ;
  rdfs:label "TheftOfLivestockProducts" ;
  rdfs:comment "The theft of livestock-derived products (e.g., milk, wool, meat)." ;
  rdfs:subClassOf lftdo:TheftEvent .

lftdo:Behaviour a rdfs:Class ;
  rdfs:label "Behaviour" ;
  rdfs:comment """Livestock behavior includes a broader range of activities exhibited by an animal over a period. It includes actions, reactions, and responses to various stimuli and situations. 

Sub-classess
1.Sleeping
2.Breeding
3.Grazing
4.Feeding
5.Sitting
6.AbnormalBehaviour
7.Agreession
8.NormalBehaviour
9.Running""" .

lftdo:Breeding a rdfs:Class ;
  rdfs:label "Breeding" ;
  rdfs:comment "1.Breeding is a behaviour" ;
  rdfs:subClassOf lftdo:Behaviour .

lftdo:Feeding a rdfs:Class ;
  rdfs:label "Feeding" ;
  rdfs:comment """Referenced Ontology:
1.Feeding is a behaviour  =  feeding behavior(ATOL:0000363) \"any measurable or observable characteristic related to the consumption of solid ressources for nutritionnal needs.\"(Meunier-Salaün et. al,2015).

In ATOL under: animal trait of livestock->animal welfare trait->psychoneuroendocrinological state trait->behaviour trait->ingestive behavior->feeding behavior""" ;
  rdfs:subClassOf lftdo:Behaviour .

lftdo:NormalState a rdfs:Class ;
  rdfs:label "NormalState" ;
  rdfs:comment """Behaviour state that are a social norm, that is statistically frequent and prevents livestock from functioning.
Sub-classes:
1.CatleRunningState
2.GoatGrazingState""" ;
  rdfs:subClassOf lftdo:BehaviourState .

lftdo:transitionsTo a rdf:Property ;
  rdfs:label "transitionsTo" ;
  rdfs:comment "NormalState get transitioned to AbnormalState" ;
  rdfs:domain lftdo:NormalState ;
  rdfs:range lftdo:AbnormalState .

lftdo:hasBaseLineHeadingDirectionUoM a rdf:Property ;
  rdfs:label "hasBaseLineHeadingDirectionUoM" ;
  rdfs:comment "baseLineHeadingDirectionUoM" ;
  rdfs:domain lftdo:NormalState ;
  rdfs:range xsd:string .

lftdo:hasDurationBaseline a rdf:Property ;
  rdfs:label "hasDurationBaseline" ;
  rdfs:comment "hasDurationBaseline define the NormalState" ;
  rdfs:domain lftdo:NormalState ;
  rdfs:range xsd:decimal .

lftdo:hasBehaviourStateDeviation a rdf:Property ;
  rdfs:label "hasBehaviourStateDeviation" ;
  rdfs:comment "Normal BehaviourState has some DeviationThresholdIn%" ;
  rdfs:domain lftdo:NormalState ;
  rdfs:range xsd:decimal .

lftdo:hasBaseLineSignalStrength a rdf:Property ;
  rdfs:label "hasBaseLineSignalStrength" ;
  rdfs:comment "Signal Strength inidcaites the normal baseline for received signal strength indicator(RSSI) for e.g. a very weak RSSI, indicates the collar is nearing the edge of the network range." ;
  rdfs:domain lftdo:NormalState ;
  rdfs:range xsd:decimal .

lftdo:hasBaseLineSignalStrengthUoM a rdf:Property ;
  rdfs:label "hasBaseLineSignalStrengthUoM" ;
  rdfs:comment "Measured in dBm (decibels-milliwatts)" ;
  rdfs:domain lftdo:NormalState ;
  rdfs:range xsd:string .

lftdo:hasBehaviourStateBaselineValues a rdf:Property ;
  rdfs:label "hasBehaviourBaselineValues" ;
  rdfs:comment "NormalState has some BaselineValue" ;
  rdfs:domain lftdo:NormalState ;
  rdfs:range xsd:decimal .

lftdo:hasBaseLineHeadingDirection a rdf:Property ;
  rdfs:label "hasBaseLineHeadingDirection" ;
  rdfs:comment "Baseline Heading direction to check if Livestock is moving away from define GeoLocation for to justify if its almost due East (90°), moving directly away from the farm center." ;
  rdfs:domain lftdo:NormalState ;
  rdfs:range xsd:decimal .

lftdo:LivestockEvent a rdfs:Class ;
  rdfs:label "LivestockEvent" ;
  rdfs:comment "LivestockEvent  is the \"Outcome\" or \"Alert\" of the Livestock Indicators." .

lftdo:CattleWithHighAbnormalBodyTempareture a rdfs:Class ;
  rdfs:label "CattleWithHighAbnormalBodyTempareture" ;
  rdfs:comment """Check the transition from normal to abnormal livestock Health condition when, for instance, a Cow's Body temperature
deviates from an normal body temperature of a healthy adult cow, which ranges from 38°C to 39.3°C, with an average of approximately 38.6°C.The the exceeded deviation from the norm could indicate synificant anomly and resulting in a potential theft or health alert issued to the farmer. 

e.g. Cattle with an Abnormal Body Temperatute has a hasBodyTemperature outside the normal range [>=38,>39.3]""" ;
  rdfs:subClassOf lftdo:Cattle .

lftdo:GoatGrazingState a rdfs:Class ;
  rdfs:label "GoatGrazingState" ;
  rdfs:comment "GoatGrazingState is normalState" ;
  rdfs:subClassOf lftdo:BehaviourState , lftdo:NormalState .

lftdo:LivestockIndicator a rdfs:Class ;
  rdfs:label "LivestockIndicator" ;
  rdfs:comment "LivestockIndicators satisfy the necessary and sufficient conditions to infer a different high-level LivestockEvent (e.g., TheftEvent), providing a clear audit trail from raw data to actionable alert." .

lftdo:GPSMonitoringSystem a rdfs:Class ;
  rdfs:label "GPSTrackingSystem" ;
  rdfs:comment "GPSTrackingSystem is a theft DetectionMethod" ;
  rdfs:subClassOf lftdo:DetectionMethod .

lftdo:CloudService a rdfs:Class ;
  rdfs:label "CloudService" ;
  rdfs:comment "Cloud Computing Service enables the on-demand and convenient delivery of shared configurable computing resources and services over a network (Kuo, 2011, Paul and Ghose, 2012). CC plays a key role in enabling the ability of IoT devices to send, store, analyze data, and receive analyzed data remotely. CC service includes machine learning algorithms to analyze livestock behavior to detect and indicate livestock theft." .

lftdo:hasCloudServiceType a rdf:Property ;
  rdfs:label "hasCloudServiceType" ;
  rdfs:comment "CloudService has some Type" ;
  rdfs:domain lftdo:CloudService ;
  rdfs:range xsd:string .

lftdo:isCloudEncrypted a rdf:Property ;
  rdfs:comment "isCloudEncrypted" ;
  rdfs:domain lftdo:CloudService ;
  rdfs:range xsd:boolean ;
  rdfs:subPropertyOf lftdo:hasCloudSecurityFeatures .

lftdo:hasCloudServiceCost a rdf:Property ;
  rdfs:label "hasCloudServiceCost" ;
  rdfs:comment "CloudService has some Cost" ;
  rdfs:domain lftdo:CloudService ;
  rdfs:range xsd:decimal .

lftdo:hostsDatabase a rdf:Property ;
  rdfs:label "hostsDatabase" ;
  rdfs:comment "Cloud Service hosts some Database" ;
  rdfs:domain lftdo:CloudService ;
  rdfs:range lftdo:Database .

lftdo:cloudServiceName a rdf:Property ;
  rdfs:label "cloudServiceName" ;
  rdfs:comment "CloudService has a Name" ;
  rdfs:domain lftdo:CloudService ;
  rdfs:range xsd:string .

lftdo:hasCloudSecurityFeatures a rdf:Property ;
  rdfs:label "hasCloudSecurityFeatures" ;
  rdfs:comment "CloudService has some Features" ;
  rdfs:domain lftdo:CloudService ;
  rdfs:range xsd:string .

lftdo:executesApplication a rdf:Property ;
  rdfs:label "executesApplication" ;
  rdfs:comment "CloudService executes some Software Application" ;
  rdfs:domain lftdo:CloudService ;
  rdfs:range lftdo:SoftwareApplication .

lftdo:hasUptimeGuarantee a rdf:Property ;
  rdfs:label "hasUptimeGuarantee" ;
  rdfs:domain lftdo:CloudService ;
  rdfs:range xsd:decimal ;
  rdfs:subPropertyOf lftdo:hasCloudSecurityFeatures .

lftdo:receivesDataFrom a rdf:Property ;
  rdfs:label "receivesDataFrom" ;
  rdfs:comment "CloudService receive data from some Data Transmission" ;
  rdfs:domain lftdo:CloudService ;
  rdfs:range lftdo:DataTransmission .

lftdo:hasStorageCapacity a rdf:Property ;
  rdfs:label "hasStorageCapacity" ;
  rdfs:comment "To define the limits of the RoutineLogEvent storage." ;
  rdfs:domain lftdo:CloudService ;
  rdfs:range xsd:decimal .

lftdo:hasCloudServiceDescription a rdf:Property ;
  rdfs:label "hasCloudServiceDescription" ;
  rdfs:comment "CloudService has some description" ;
  rdfs:domain lftdo:CloudService ;
  rdfs:range xsd:string .

lftdo:isCloudServiceScalable a rdf:Property ;
  rdfs:label "isCloudServiceScalable" ;
  rdfs:comment """is CloudService Scalable?
True/False: The system can handle horizontal or vertical growth.""" ;
  rdfs:domain lftdo:CloudService ;
  rdfs:range xsd:boolean .

lftdo:hasCloudServiceProvider a rdf:Property ;
  rdfs:label "hasCloudServiceProvider" ;
  rdfs:comment """CloudService has some Provider
To identify if you are using AWS, Azure, or a local TUT server.""" ;
  rdfs:domain lftdo:CloudService ;
  rdfs:range xsd:string .

lftdo:Running a rdfs:Class ;
  rdfs:label "Running" ;
  rdfs:comment """Referenced Ontology:
1.Running is a behaviour = running behavior(ATOL:0000806), \"any measurable or observable characteristic related to rapidely coordinated displacement of the body on foot or limbs\"  (Meunier-Salaün et. al,2015)
2.Running can have normal or abnomal behaviour state based on the livestock speed and running duration.

AOL Under: Animal trait of livestock->animal welfar trait->psychoneuroendocrinological state trait->motor activity->locomotor activity->running behaviour""" ;
  rdfs:subClassOf lftdo:Behaviour .

lftdo:ExtremeDayTimeHeat a rdfs:Class ;
  rdfs:label "ExtremeDayTimeHeat" ;
  rdfs:comment "Extereme Day Time Heat Temperature that is above than 35 degree celcius during 'DayTime'." ;
  rdfs:subClassOf lftdo:AmbientTemperature .

lftdo:StatusUpdateEvent a rdfs:Class ;
  rdfs:label "StatusUpdateEvent" ;
  rdfs:comment "Classified the state change event." ;
  rdfs:subClassOf lftdo:SystemEvent .

lftdo:statusInitiatedBy a rdf:Property ;
  rdfs:label "statusUpdateInitiatedBy" ;
  rdfs:comment "StatusUpdateEvent is initiated by some SoftwareApplication" ;
  rdfs:domain lftdo:StatusUpdateEvent ;
  rdfs:range lftdo:BehaviourState .

lftdo:hasUpdateFrequency a rdf:Property ;
  rdfs:label "hasUpdateFrequency" ;
  rdfs:comment """hasUpdateFrequency

hasUpdateFrequency ∈ {
  \"real-time\",
  \"near-real-time\",
  \"secondly\",
  \"sub-minute\",
  \"minutely\",
  \"five-minute\",
  \"quarter-hourly\",
  \"half-hourly\",
  \"hourly\",
  \"daily\",
  \"on-demand\",
  \"event-driven\",
  \"irregular\"
}""" ;
  rdfs:domain lftdo:StatusUpdateEvent ;
  rdfs:range xsd:string .

lftdo:isValidatedBy a rdf:Property ;
  rdfs:label "isValidatedBy" ;
  rdfs:comment "LivestockEvent isValidatedBy Farmer." ;
  rdfs:domain lftdo:StatusUpdateEvent ;
  rdfs:range lftdo:Participant .

lftdo:isCurrentStatusOf a rdf:Property ;
  rdfs:label "isCurrentStatusOf" ;
  rdfs:domain lftdo:StatusUpdateEvent ;
  rdfs:range lftdo:Livestock .

lftdo:updatesUI a rdf:Property ;
  rdfs:label "updatesUI" ;
  rdfs:comment "StatusUpdateEvent updates some SoftwareApplication's UserInterface" ;
  rdfs:domain lftdo:StatusUpdateEvent ;
  rdfs:range lftdo:SoftwareApplication .

lftdo:hasStatus a rdf:Property ;
  rdfs:label "hasStatus" ;
  rdfs:comment """Active (Default)
Processing
Pending
Ignored
Accepted
Rejected""" ;
  rdfs:domain lftdo:StatusUpdateEvent ;
  rdfs:range <https://w3id.org/linkml/Any> .

lftdo:BehaviorMonitoringSystem a rdfs:Class ;
  rdfs:label "BehaviourMonitoringSystem" ;
  rdfs:comment "BehaviourMonitoringSystem is a theft DetectionMethod" ;
  rdfs:subClassOf lftdo:DetectionMethod .

lftdo:AbnormalBodyTemperature a rdfs:Class ;
  rdfs:label "AbnormalBodyTemperature" ;
  rdfs:comment "The Abnormal body temperature is the opposite of any normal defined body temperature for Livestock." ;
  rdfs:subClassOf lftdo:BodyTemperature .

lftdo:Algorithm a rdfs:Class ;
  rdfs:label "Algorithm" ;
  rdfs:comment """1.Machine Learning(ML) algorithm is part of the cloud computing service for some behaviour analysis
2.ML Algorithm(MLA) uses data in the Database to detect theft""" .

lftdo:hasDescription a rdf:Property ;
  rdfs:label "hasDescription" ;
  rdfs:comment "Software App, Algorithm, Cloud Service has some Description" ;
  rdfs:range xsd:string .

lftdo:useDatabaseData a rdf:Property ;
  rdfs:label "useDatabaseData" ;
  rdfs:comment "Machine Learning Algorithms uses some SensorData stored in the Database to analyse and make predictions." ;
  rdfs:domain lftdo:Algorithm ;
  rdfs:range lftdo:Database .

lftdo:hasAlgorithmName a rdf:Property ;
  rdfs:label "hasName" ;
  rdfs:comment "Any instance like Software, Database, Algorithm and has some name" ;
  rdfs:range xsd:string .

lftdo:hasOutputFormat a rdf:Property ;
  rdfs:label "hasOutputFormat" ;
  rdfs:comment "MLAlgorithm has some output format." ;
  rdfs:domain lftdo:Algorithm ;
  rdfs:range xsd:string .

lftdo:isUsedBy a rdf:Property ;
  rdfs:label "isUsedBy" ;
  rdfs:comment "Algorithm is used by some DetectionMethod" ;
  rdfs:domain lftdo:Algorithm ;
  rdfs:range lftdo:DetectionMethod .

lftdo:isOptimized a rdf:Property ;
  rdfs:label "isOptimized" ;
  rdfs:domain lftdo:Algorithm ;
  rdfs:range xsd:boolean .

lftdo:hasInputFeatures a rdf:Property ;
  rdfs:label "hasInputFeatures" ;
  rdfs:comment """Algorithm has some InputFeatures
\"GPS_Coord, Velocity, Time_of_Day\"""" ;
  rdfs:domain lftdo:Algorithm ;
  rdfs:range xsd:string .

lftdo:hasResourceRequirements a rdf:Property ;
  rdfs:label "hasResourceRequirements" ;
  rdfs:comment "MLA has some resource requirements." ;
  rdfs:domain lftdo:Algorithm ;
  rdfs:range xsd:string .

lftdo:hasExecutionTimeMs a rdf:Property ;
  rdfs:label "hasExecutionTimeMs" ;
  rdfs:domain lftdo:Algorithm ;
  rdfs:range xsd:decimal .

lftdo:hasAlgorithmType a rdf:Property ;
  rdfs:label "hasAlgorithmType" ;
  rdfs:comment "hasAlgorithmType like e.g., Machine Learning or Threshold-based or Moving Average)." ;
  rdfs:domain lftdo:Algorithm ;
  rdfs:range xsd:string .

lftdo:hasPurpose a rdf:Property ;
  rdfs:label "hasPurpose" ;
  rdfs:comment "MLAgorithm has some purpose." ;
  rdfs:domain lftdo:Algorithm ;
  rdfs:range xsd:string .

lftdo:hasVersion a rdf:Property ;
  rdfs:label "hasVersion" ;
  rdfs:comment "Algorithm has version" ;
  rdfs:range xsd:string .

lftdo:hasComplexity a rdf:Property ;
  rdfs:label "hasComplexity" ;
  rdfs:comment "hasComplexity such as HIGH. LOW, MEDIUM" ;
  rdfs:domain lftdo:Algorithm ;
  rdfs:range xsd:string .

lftdo:Grazing a rdfs:Class ;
  rdfs:label "Grazing" ;
  rdfs:comment "1.Grazing  is a behaviour of Livestock looking for food" ;
  rdfs:subClassOf lftdo:Behaviour .

lftdo:hasGoatGrazingSpeedInMS a rdf:Property ;
  rdfs:label "hasGoatGrazingSpeedInMS" ;
  rdfs:comment """Speed meanured in meters per seconds(m/s)
hasSpeedInMetersPerSecond shorten to (hasSpeedInMS)""" ;
  rdfs:domain lftdo:Grazing ;
  rdfs:range xsd:decimal .

lftdo:EndDevice a rdfs:Class ;
  rdfs:label "EndDevice" ;
  rdfs:comment """1.End device is device attached to a livestock fitted with sensors 
2.Some end device has some sensor""" ;
  rdfs:subClassOf lftdo:Device .

lftdo:isAttachedTo a rdf:Property ;
  rdfs:label "isAttachedToLivestock" ;
  rdfs:comment "Device(EndDevice) is attached to some Livestock" ;
  rdfs:domain lftdo:EndDevice ;
  rdfs:range lftdo:Livestock .

lftdo:CattleRestingState a rdfs:Class ;
  rdfs:comment "CattleRestingState is a NormalState" ;
  rdfs:subClassOf lftdo:NormalState .

lftdo:GoatRunningState a rdfs:Class .

lftdo:SystemEvent a rdfs:Class ;
  rdfs:label "SystemEvent" ;
  rdfs:comment "SystemEvent (Events related to the software's operations)" .

lftdo:Sick a rdfs:Class ;
  rdfs:label "Sick" ;
  rdfs:comment "Sick is health condition" ;
  rdfs:subClassOf lftdo:HealthCondition .

lftdo:Goat a rdfs:Class ;
  rdfs:label "Goat" ;
  rdfs:comment "Goat is a livestock" ;
  rdfs:subClassOf lftdo:Livestock .

<https://w3id.org/linkml/Any> a rdfs:Class ;
  rdfs:comment "An unconstrained type or object" ;
  rdfs:seeAlso <https://linkml.io/linkml/schemas/advanced.html#linkml-any-type> .

lftdo:Resting a rdfs:Class ;
  rdfs:comment """1.Resting is a behaviour
2.Resting can be a normal or abnormal behaviour state based on duration of the rest""" ;
  rdfs:subClassOf lftdo:Behaviour .

lftdo:AbnormalState a rdfs:Class ;
  rdfs:label "AbnormalState" ;
  rdfs:comment """Behaviour state that breaks a social norm, that is statistically infrequent and prevents livestock from functioning.

Sub-classes:
1.DistressVocalization
2.Restlessness
3.UnusualMovement""" ;
  rdfs:subClassOf lftdo:BehaviourState .

lftdo:Participant a rdfs:Class ;
  rdfs:label "Participant" ;
  rdfs:comment """A participant in livestock farming such as Farmers, and others such as extended officers, veterinarians, and Law enforcement agents.
A Farmer owns various domestic animals such as cattle, sheep, and goats. 
The veterinarian understands the behavior of domestic animals and often treats the domestic animals for diseases.    
Extended officers, work on a farm, to manage livestock such as feeding, keeping count, managing their well-being, and protecting against theft.
Law enforcement agents, enforce the law of the country if not being adhered to such as theft, and abuse of livestock.

Sub-classes:
1. Farmer
2.ExtendedOfficer
3.LawEnforcementAgency
4.Veterinarian""" .

lftdo:EnvironmentalCondition a rdfs:Class ;
  rdfs:label "EnvironmentalCondition" ;
  rdfs:comment """Environmental condition influence livestock behavior, such as grazing, sleeping, and feeding, are also significantly influenced by their environmental conditions and weather changes such as rain, heat, and cold (Chaudhry et al., 2020).

Sub-classes:
1.ExtreamHeat""" .

lftdo:SoftwareApplication a rdfs:Class ;
  rdfs:label "SoftwareApplication" ;
  rdfs:comment """1.Software application is part of cloud computing services and uses some Machine Learning algorithm
2.Software Application uses results from ML Algorithm
(MLA)""" .

lftdo:hasSoftwareVersion a rdf:Property ;
  rdfs:label "hasSoftwareVersion" ;
  rdfs:comment "The software application has some version." ;
  rdfs:domain lftdo:SoftwareApplication ;
  rdfs:range xsd:string .

lftdo:notifies a rdf:Property ;
  rdfs:label "notifies" ;
  rdfs:comment "Software Application notify some Participant" ;
  rdfs:domain lftdo:SoftwareApplication ;
  rdfs:range lftdo:Participant .

lftdo:isOnline a rdf:Property ;
  rdfs:label "isOnline" ;
  rdfs:domain lftdo:SoftwareApplication ;
  rdfs:range xsd:boolean .

lftdo:hasResponseTimeMs a rdf:Property ;
  rdfs:label "hasResponseTimeMs" ;
  rdfs:domain lftdo:SoftwareApplication ;
  rdfs:range xsd:decimal .

lftdo:hasCompatibility a rdf:Property ;
  rdfs:label "hasCompatibility" ;
  rdfs:comment "SoftwareApplication has some Compatibility" ;
  rdfs:domain lftdo:SoftwareApplication ;
  rdfs:range xsd:string .

lftdo:implements a rdf:Property ;
  rdfs:label "implements" ;
  rdfs:comment """SoftwareApplication implements some DetectionMethod.
A single App (like SoftwareApp001) can contain multiple detection \"modules\" (e.g., one for Theft, one for Health, one for Heat Detection). It can also exist with Zero methods if it’s just a data-viewer app.""" ;
  rdfs:domain lftdo:SoftwareApplication ;
  rdfs:range lftdo:DetectionMethod .

lftdo:accesses a rdf:Property ;
  rdfs:label "accesses" ;
  rdfs:comment "SoftwareApplication accesses some Database" ;
  rdfs:domain lftdo:SoftwareApplication ;
  rdfs:range lftdo:Database .

lftdo:isDeployedOn a rdf:Property ;
  rdfs:label "isDeployedOn" ;
  rdfs:comment "SoftwareApplication is deployed on some cloudservice." ;
  rdfs:domain lftdo:SoftwareApplication ;
  rdfs:range lftdo:CloudService .

lftdo:hasFunctionality a rdf:Property ;
  rdfs:label "hasFunctionality" ;
  rdfs:comment "SoftwareApplication has some Functionality" ;
  rdfs:domain lftdo:SoftwareApplication ;
  rdfs:range xsd:string .

lftdo:uiUpdatedBy a rdf:Property ;
  rdfs:label "SoftwareApplication's UI is updated by StatusUpdateEvent" ;
  rdfs:domain lftdo:SoftwareApplication ;
  rdfs:range lftdo:StatusUpdateEvent .

lftdo:hasSoftwareAppName a rdf:Property ;
  rdfs:label "hasSoftwareAppName" ;
  rdfs:comment "Software application has a name" ;
  rdfs:domain lftdo:SoftwareApplication ;
  rdfs:range xsd:string .

lftdo:generatesLog a rdf:Property ;
  rdfs:label "generatesLog" ;
  rdfs:comment "SoftwareApplication generate some RoutineLog" ;
  rdfs:domain lftdo:SoftwareApplication ;
  rdfs:range lftdo:RoutineLogEvent .

lftdo:hasLastSyncTime a rdf:Property ;
  rdfs:label "hasLastSyncTime" ;
  rdfs:domain lftdo:SoftwareApplication ;
  rdfs:range xsd:dateTime .

lftdo:hasSoftwareAppType a rdf:Property ;
  rdfs:label "hasSoftwareAppType" ;
  rdfs:comment "Software has some Application Type." ;
  rdfs:domain lftdo:SoftwareApplication ;
  rdfs:range xsd:string .

lftdo:experienceEnvironmentalCondition a rdf:Property ;
  rdfs:label "experienceEnvironmentalCondition" ;
  rdfs:range <https://w3id.org/linkml/Any> .

lftdo:hasAlgorithmVersion a rdf:Property ;
  rdfs:label "hasAlgorithmVersion" ;
  rdfs:range <https://w3id.org/linkml/Any> .

lftdo:hasBaseLineTemp a rdf:Property ;
  rdfs:label "hasBaseLineTemp" ;
  rdfs:range xsd:decimal .

lftdo:hasBaseLineTempUoM a rdf:Property ;
  rdfs:label "hasBaseLineTempUoM" ;
  rdfs:range xsd:string .

lftdo:hasBaseLineType a rdf:Property ;
  rdfs:label "hasBaseLineType" ;
  rdfs:range xsd:string .

lftdo:hasBaselinePosture a rdf:Property ;
  rdfs:label "hasBaselinePosture" ;
  rdfs:comment "Defines \"Horizontal\" as the required state for resting." ;
  rdfs:range xsd:decimal .

lftdo:hasBaselinePostureUoM a rdf:Property ;
  rdfs:label "hasBaselinePostureUoM" ;
  rdfs:comment "Ensures the unit matches the Gyroscope output." ;
  rdfs:range xsd:string .

lftdo:hasBaselineStepCount a rdf:Property ;
  rdfs:label "hasBaselineStepCount" ;
  rdfs:comment "Defines \"Stationary\" as the required activity level." ;
  rdfs:range xsd:integer .

lftdo:hasBaselineStepCountUoM a rdf:Property ;
  rdfs:label "hasBaselineStepCountUoM" ;
  rdfs:comment "Ensures the unit matches the Pedometer output." ;
  rdfs:range xsd:string .

lftdo:hasID a rdf:Property ;
  rdfs:label "hasID" ;
  rdfs:comment "Generic Identification to identify instances or individuals." ;
  rdfs:range xsd:string .

lftdo:hasMaxLat a rdf:Property ;
  rdfs:label "hasMaxLat" ;
  rdfs:comment "Northern Boundary" ;
  rdfs:range <https://w3id.org/linkml/Any> .

lftdo:hasMaxLon a rdf:Property ;
  rdfs:label "hasMaxLon" ;
  rdfs:comment "Eastern Boundary" ;
  rdfs:range <https://w3id.org/linkml/Any> .

lftdo:hasMinLat a rdf:Property ;
  rdfs:label "hasMinLat" ;
  rdfs:comment "Southern Boundary" ;
  rdfs:range <https://w3id.org/linkml/Any> .

lftdo:hasPartLocation a rdf:Property ;
  rdfs:label "hasPartLocation" ;
  rdfs:comment "The standard inverse for an \"isPartOfLocation\" relationship is typically named hasPartLocation." ;
  rdfs:range <https://w3id.org/linkml/Any> .

lftdo:hasUoM a rdf:Property ;
  rdfs:label "hasUoM" ;
  rdfs:comment "Measuring unit tools has different unit of measures for e.g. speed measured in meters per seconds(m/s) or kilometers per hour(km/h)" ;
  rdfs:range xsd:string .

lftdo:hasValidationStatus a rdf:Property ;
  rdfs:label "hasValidationStatus" ;
  rdfs:comment "Event has hasValidationStatus, \"Confirmed\" or \"Rejected\"/\"Ignored\" from Participant" ;
  rdfs:range <https://w3id.org/linkml/Any> .

lftdo:isAdjacentTo a rdf:Property ;
  rdfs:label "isAdjacentTo" ;
  rdfs:comment "A Point of Reference a location may be next to or adjacent to." ;
  rdfs:range lftdo:Location .

lftdo:isComponentOf a rdf:Property ;
  rdfs:label "isComponentOf" ;
  rdfs:range lftdo:RestrictedArea .

lftdo:isCurrentLocationOf a rdf:Property ;
  rdfs:label "isCurrentLocationOf" ;
  rdfs:comment "Inverse of hasCurrentLocation to tell which Livestock occupy the location at any point in time." ;
  rdfs:range <https://w3id.org/linkml/Any> .

lftdo:isPartOfLocation a rdf:Property ;
  rdfs:label "isPartOfLocation" ;
  rdfs:comment "isPartOfLocation is used to ensure the LFTDO can accurately pinpoint anomalies, locations are modeled using a hierarchical \"Part-Whole\" relationship. This allows for spatial containment reasoning, where sub-locations (e.g., Kraal001) are logically nested within the parent Farm001." ;
  rdfs:range <https://w3id.org/linkml/Any> .

lftdo:overridesStatus a rdf:Property ;
  rdfs:label "overridesStatus" ;
  rdfs:comment """Participant can override status provided by the System.
Allows the farmer to explicitly cancel the AI's choice.""" ;
  rdfs:range <https://w3id.org/linkml/Any> .

lftdo:transmittedSensorDataFrom a rdf:Property ;
  rdfs:label "transmittedSensorDataFrom" ;
  rdfs:range <https://w3id.org/linkml/Any> .

lftdo:SabotageIndicator a rdfs:Class ;
  rdfs:label "SabotageIndicator" ;
  rdfs:comment "Sabotage Theft Indicator may indicate that there is a potential theft indicator" ;
  rdfs:subClassOf lftdo:LivestockIndicator .

lftdo:SabotageTheftIndicator001 a lftdo:SabotageIndicator ;
  rdfs:label "SabotageTheftIndicator001" .

lftdo:SheepRestingState a rdfs:Class ;
  rdfs:comment "SheepRestingState is normalState" ;
  rdfs:subClassOf lftdo:NormalState .

lftdo:NormalSheepRestingState a lftdo:SheepRestingState ;
  rdfs:label "NormalSheepRestingState" .

lftdo:SheepWanderingState a rdfs:Class ;
  rdfs:label "SheepWanderingState" ;
  rdfs:subClassOf lftdo:NormalState .

lftdo:NormalSheepWanderingState a lftdo:SheepWanderingState ;
  rdfs:label "NormalSheepWanderingState" .

lftdo:CattleRunningState a rdfs:Class ;
  rdfs:label "CattleRunningState" ;
  rdfs:comment "CattleRunningState is a NormalState" ;
  rdfs:subClassOf lftdo:NormalState .

lftdo:CowRunningState001 a lftdo:CattleRunningState ;
  rdfs:label "CowRunningState001" .

lftdo:NormalCattleRunningState a lftdo:CattleRunningState ;
  rdfs:label "NormalCattleRunningState" .

lftdo:GoatWanderingState a rdfs:Class ;
  rdfs:label "GoatWanderingState" ;
  rdfs:subClassOf lftdo:NormalState .

lftdo:NormalGoatWanderingState a lftdo:GoatWanderingState ;
  rdfs:label "NormalGoatWanderingState" .

lftdo:CattleWanderingState a rdfs:Class ;
  rdfs:label "CattleWanderingState" ;
  rdfs:subClassOf lftdo:NormalState .

lftdo:NormalCattleWanderingState a lftdo:CattleWanderingState ;
  rdfs:label "NormalCattleWanderingState" .

lftdo:Wandering a rdfs:Class ;
  rdfs:label "Wandering" ;
  rdfs:comment "Wandering is a Behaviour." ;
  rdfs:subClassOf lftdo:Behaviour .

lftdo:SheepWandering031 a lftdo:Wandering ;
  rdfs:label "SheepWandering031" .

lftdo:SheepWandering032 a lftdo:Wandering ;
  rdfs:label "SheepWandering032" .

lftdo:SheepWandering033 a lftdo:Wandering ;
  rdfs:label "SheepWandering033" .

lftdo:SheepWandering034 a lftdo:Wandering ;
  rdfs:label "SheepWandering034" .

lftdo:SheepWandering035 a lftdo:Wandering ;
  rdfs:label "SheepWandering035" .

lftdo:SheepWandering036 a lftdo:Wandering ;
  rdfs:label "SheepWandering036" .

lftdo:SheepWandering037 a lftdo:Wandering ;
  rdfs:label "SheepWandering037" .

lftdo:SheepWandering038 a lftdo:Wandering ;
  rdfs:label "SheepWandering038" .

lftdo:SheepWandering039 a lftdo:Wandering ;
  rdfs:label "SheepWandering039" .

lftdo:SheepWandering040 a lftdo:Wandering ;
  rdfs:label "SheepWandering040" .

lftdo:SheepWandering041 a lftdo:Wandering ;
  rdfs:label "SheepWandering041" .

lftdo:SheepWandering042 a lftdo:Wandering ;
  rdfs:label "SheepWandering042" .

lftdo:SheepWandering043 a lftdo:Wandering ;
  rdfs:label "SheepWandering043" .

lftdo:SheepWandering044 a lftdo:Wandering ;
  rdfs:label "SheepWandering044" .

lftdo:SheepWandering045 a lftdo:Wandering ;
  rdfs:label "SheepWandering045" .

lftdo:SheepWandering046 a lftdo:Wandering ;
  rdfs:label "SheepWandering046" .

lftdo:SheepWandering047 a lftdo:Wandering ;
  rdfs:label "SheepWandering047" .

lftdo:SheepWandering048 a lftdo:Wandering ;
  rdfs:label "SheepWandering048" .

lftdo:SheepWandering049 a lftdo:Wandering ;
  rdfs:label "SheepWandering049" .

lftdo:SheepWandering050 a lftdo:Wandering ;
  rdfs:label "SheepWandering050" .

lftdo:SheepWandering051 a lftdo:Wandering ;
  rdfs:label "SheepWandering051" .

lftdo:SheepWandering052 a lftdo:Wandering ;
  rdfs:label "SheepWandering052" .

lftdo:SheepWandering053 a lftdo:Wandering ;
  rdfs:label "SheepWandering053" .

lftdo:SheepWandering054 a lftdo:Wandering ;
  rdfs:label "SheepWandering054" .

lftdo:SheepWandering055 a lftdo:Wandering ;
  rdfs:label "SheepWandering055" .

lftdo:SheepWandering056 a lftdo:Wandering ;
  rdfs:label "SheepWandering056" .

lftdo:SheepWandering057 a lftdo:Wandering ;
  rdfs:label "SheepWandering057" .

lftdo:SheepWandering058 a lftdo:Wandering ;
  rdfs:label "SheepWandering058" .

lftdo:SheepWandering059 a lftdo:Wandering ;
  rdfs:label "SheepWandering059" .

lftdo:SheepWandering060 a lftdo:Wandering ;
  rdfs:label "SheepWandering060" .

lftdo:SheepWandering061 a lftdo:Wandering ;
  rdfs:label "SheepWandering061" .

lftdo:SheepWandering062 a lftdo:Wandering ;
  rdfs:label "SheepWandering062" .

lftdo:SheepWandering063 a lftdo:Wandering ;
  rdfs:label "SheepWandering063" .

lftdo:SheepWandering064 a lftdo:Wandering ;
  rdfs:label "SheepWandering064" .

lftdo:SheepWandering065 a lftdo:Wandering ;
  rdfs:label "SheepWandering065" .

lftdo:CowBehaviour061 a lftdo:Wandering ;
  rdfs:label "CowBehaviour061" .

lftdo:CowBehaviour062 a lftdo:Wandering ;
  rdfs:label "CowBehaviour062" .

lftdo:CowBehaviour063 a lftdo:Wandering ;
  rdfs:label "CowBehaviour063" .

lftdo:CowBehaviour064 a lftdo:Wandering ;
  rdfs:label "CowBehaviour064" .

lftdo:CowBehaviour065 a lftdo:Wandering ;
  rdfs:label "CowBehaviour065" .

lftdo:CowBehaviour066 a lftdo:Wandering ;
  rdfs:label "CowBehaviour066" .

lftdo:CowBehaviour067 a lftdo:Wandering ;
  rdfs:label "CowBehaviour067" .

lftdo:CowBehaviour068 a lftdo:Wandering ;
  rdfs:label "CowBehaviour068" .

lftdo:CowBehaviour069 a lftdo:Wandering ;
  rdfs:label "CowBehaviour069" .

lftdo:CowBehaviour070 a lftdo:Wandering ;
  rdfs:label "CowBehaviour070" .

lftdo:CowBehaviour071 a lftdo:Wandering ;
  rdfs:label "CowBehaviour071" .

lftdo:CowBehaviour072 a lftdo:Wandering ;
  rdfs:label "CowBehaviour072" .

lftdo:CowBehaviour073 a lftdo:Wandering ;
  rdfs:label "CowBehaviour073" .

lftdo:CowBehaviour074 a lftdo:Wandering ;
  rdfs:label "CowBehaviour074" .

lftdo:CowBehaviour075 a lftdo:Wandering ;
  rdfs:label "CowBehaviour075" .

lftdo:CowBehaviour076 a lftdo:Wandering ;
  rdfs:label "CowBehaviour076" .

lftdo:CowBehaviour077 a lftdo:Wandering ;
  rdfs:label "CowBehaviour077" .

lftdo:CowBehaviour078 a lftdo:Wandering ;
  rdfs:label "CowBehaviour078" .

lftdo:CowBehaviour079 a lftdo:Wandering ;
  rdfs:label "CowBehaviour079" .

lftdo:CowBehaviour080 a lftdo:Wandering ;
  rdfs:label "CowBehaviour080" .

lftdo:CowBehaviour095 a lftdo:Wandering ;
  rdfs:label "CowBehaviour095" .

lftdo:CowBehaviour096 a lftdo:Wandering ;
  rdfs:label "CowBehaviour096" .

lftdo:CowBehaviour097 a lftdo:Wandering ;
  rdfs:label "CowBehaviour097" .

lftdo:SheepGrazingState a rdfs:Class ;
  rdfs:label "SheepGrazingState" ;
  rdfs:comment "SheepGrazingState is normalState" ;
  rdfs:subClassOf lftdo:NormalState .

lftdo:NormalSheepGrazingState a lftdo:SheepGrazingState ;
  rdfs:label "NormalSheepGrazingState" .

lftdo:SlaughterTheft a rdfs:Class ;
  rdfs:label "SlaughterTheft" ;
  rdfs:comment "The illegal killing and stealing of livestock for meat." ;
  rdfs:subClassOf lftdo:TheftEvent .

lftdo:SlaughterTheft001 a lftdo:SlaughterTheft ;
  rdfs:label "SlaughterTheft001" .

lftdo:Restless a rdfs:Class ;
  rdfs:label "Restless" ;
  rdfs:comment "Livestock may exhibit some restless behaviour." ;
  rdfs:subClassOf lftdo:Behaviour .

lftdo:RestlessPacing a lftdo:Restless ;
  rdfs:label "RestlessPacing" .

lftdo:Isolation a rdfs:Class ;
  rdfs:label "Isolation" ;
  rdfs:comment "Livestock exhibits some Isolation behaviour." ;
  rdfs:subClassOf lftdo:Behaviour .

lftdo:SolitaryBehaviour a lftdo:Isolation ;
  rdfs:label "SolitaryBehaviour" .

lftdo:HealthIndicator a rdfs:Class ;
  rdfs:label "HealthIndicator" ;
  rdfs:comment "HealthIndicator may indicate that the Livestock might have experienced some health issues in the Farm." ;
  rdfs:subClassOf lftdo:LivestockIndicator .

lftdo:FeverIndicator a lftdo:HealthIndicator ;
  rdfs:label "FeverIndicator" .

lftdo:LethargyIndicator a lftdo:HealthIndicator ;
  rdfs:label "LethargyIndicator" .

lftdo:HighHealthTheftIndicator002 a lftdo:HealthIndicator ;
  rdfs:label "HighHealthTheftIndicator002" .

lftdo:GoatRestingState a rdfs:Class ;
  rdfs:label "GoatRestingState" ;
  rdfs:comment "GoatRestingState is a NormalState" ;
  rdfs:subClassOf lftdo:NormalState .

lftdo:NormalGoatRestingState a lftdo:GoatRestingState ;
  rdfs:label "NormalGoatRestingState" .

lftdo:CattleGrazingState a rdfs:Class ;
  rdfs:comment "CattleGrazingState is a NormalState" ;
  rdfs:subClassOf lftdo:NormalState .

lftdo:NormalCattleGrazingState a lftdo:CattleGrazingState ;
  rdfs:label "NormalCattleGrazingState" .

lftdo:Rustling a rdfs:Class ;
  rdfs:label "Rustling" ;
  rdfs:comment "Rustling: The illegal taking of livestock from a farm or ranch without permission of the farmer(Dieng,2017)." ;
  rdfs:subClassOf lftdo:TheftEvent .

lftdo:RustlingTheft001 a lftdo:Rustling ;
  rdfs:label "RustlingTheft001" .

lftdo:SheepRunningState a rdfs:Class ;
  rdfs:label "SheepRunningState" ;
  rdfs:comment "SheepRunningState is normalState" ;
  rdfs:subClassOf lftdo:NormalState .

lftdo:NormalSheepRunningState_Midnight a lftdo:SheepRunningState ;
  rdfs:label "NormalSheepRunningState_Midnight" .

lftdo:NormalSheepRunningState a lftdo:SheepRunningState ;
  rdfs:label "NormalSheepRunningState" .

lftdo:RestingState a rdfs:Class ;
  rdfs:label "RestingState" ;
  rdfs:subClassOf lftdo:NormalState .

lftdo:NormalCattleRestingState a lftdo:RestingState ;
  rdfs:label "NormalCattleRestingState" .

lftdo:EscapeIndicator a rdfs:Class ;
  rdfs:label "EscapeIndicator" ;
  rdfs:comment "Escape Indicator may indicate that the Livestock might have escaped the Farm or restricted area." ;
  rdfs:subClassOf lftdo:LivestockIndicator .

lftdo:SheepSlowEscapedIndicator001 a lftdo:EscapeIndicator .

lftdo:EscapedActivityIndicator a lftdo:EscapeIndicator ;
  rdfs:label "EscapedActivityIndicator" .

lftdo:NormalGrazingIndicator a rdfs:Class ;
  rdfs:label "NormalGrazingIndicator" ;
  rdfs:comment "Normal Grazing Indicator may indicate that livestock is normally grazing on the Farm or Restricted area." ;
  rdfs:subClassOf lftdo:LivestockIndicator .

lftdo:NormalActivityIndicator a lftdo:NormalGrazingIndicator ;
  rdfs:label "NormalActivityIndicator" .
