PREFIX folio: <http://IBCNServices.github.io/Folio-Ontology/Folio.owl#>
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#>

folio:FailureMode a rdfs:Class ;
  rdfs:label "FailureMode"@en ;
  rdfs:comment "The specific manner or way by which a failure occurs in terms of failure of the item (being a part or (sub) system) function under investigation; it may generally describe the way the failure occurs. It shall at least clearly describe a (end) failure state of the item (or function in case of a Functional FMEA) under consideration. It is the result of the failure mechanism (cause of the failure mode).."@en .

folio:happenedAt a rdf:Property ;
  rdfs:label "happenedAt"@en ;
  rdfs:comment "Relation between the failure cause and the corresponding device/system."@en ;
  rdfs:range <https://w3id.org/linkml/Any> .

folio:hasEffect a rdf:Property ;
  rdfs:label "hasEffect"@en ;
  rdfs:comment "Relation between a failure and it corresponding effect."@en ;
  rdfs:range <https://w3id.org/linkml/Any> .

folio:hasCause a rdf:Property ;
  rdfs:label "hasCause"@en ;
  rdfs:comment "Relation between a failure and it corresponding cause."@en ;
  rdfs:range <https://w3id.org/linkml/Any> .

folio:DetectionMethod a rdfs:Class ;
  rdfs:label "DetectionMethod"@en ;
  rdfs:comment "This relies on components’ survey to trigger a warning about abnormalities."@en .

folio:Category a rdfs:Class ;
  rdfs:label "Category"@en ;
  rdfs:comment "An ConfirmedAnomaly can happen once (transient), periodically (recurrent) or definitively (permanent)."@en .

folio:NotReviewed a rdfs:Class ;
  rdfs:subClassOf folio:Status .

<http://www.w3.org/ns/sosa/resultTime> a rdf:Property ;
  rdfs:range <https://w3id.org/linkml/Any> .

folio:hasLabeller a rdf:Property ;
  rdfs:range <https://w3id.org/linkml/Any> .

folio:ConsequenceDomain a rdfs:Class ;
  rdfs:label "ConsequenceDomain"@en ;
  rdfs:comment "Each domain relates to a specific kind of consequence of the ConfirmedAnomaly."@en .

<http://www.w3.org/ns/sosa/Procedure> a rdfs:Class .

<http://www.w3.org/ns/sosa/Observation> a rdfs:Class .

folio:Rejected a rdfs:Class ;
  rdfs:subClassOf folio:Status .

folio:toObservation a rdfs:Class ;
  rdfs:label "toObservation"@en ;
  rdfs:subClassOf <http://www.w3.org/ns/sosa/Observation> .

<http://www.w3.org/ns/sosa/ObservableProperty> a rdfs:Class .

folio:observedProperty a rdfs:Class ;
  rdfs:label "observedProperty"@en ;
  rdfs:subClassOf <http://www.w3.org/ns/sosa/ObservableProperty> .

<http://www.w3.org/ns/sosa/resultTime> a rdfs:Class .

folio:Cause a rdfs:Class ;
  rdfs:label "Cause"@en ;
  rdfs:comment "The cause refers to the description suspected to be the source of the ConfirmedAnomaly"@en .

folio:fromObservation a rdfs:Class ;
  rdfs:label "fromObservation"@en ;
  rdfs:comment "First observation describing the underfined behaviour"@en ;
  rdfs:subClassOf <http://www.w3.org/ns/sosa/Observation> .

folio:MergedAnomaly a rdfs:Class ;
  rdfs:subClassOf folio:Anomaly .

folio:hasCategory a rdf:Property ;
  rdfs:label "hasCategory"@en ;
  rdfs:comment "Relation between the observed element and its category"@en ;
  rdfs:range <https://w3id.org/linkml/Any> .

<http://www.w3.org/ns/ssn/wasOriginatedBy> a rdf:Property ;
  rdfs:range <https://w3id.org/linkml/Any> .

folio:hasSubAnomaly a rdf:Property ;
  rdfs:range <https://w3id.org/linkml/Any> .

folio:hasDomain a rdf:Property ;
  rdfs:label "hasDomain"@en ;
  rdfs:comment "Relation between the observed element and its domain"@en ;
  rdfs:range <https://w3id.org/linkml/Any> .

<http://www.w3.org/ns/sosa/usedProcedure> a rdf:Property ;
  rdfs:range <https://w3id.org/linkml/Any> .

folio:hasDetection a rdf:Property ;
  rdfs:label "hasDetection"@en ;
  rdfs:comment "Relation between the observed element and the detection method"@en ;
  rdfs:range <https://w3id.org/linkml/Any> .

folio:hasCriticality a rdf:Property ;
  rdfs:label "hasCriticality"@en ;
  rdfs:comment "Relation between the observed element and the criticality"@en ;
  rdfs:range <https://w3id.org/linkml/Any> .

<http://www.w3.org/ns/ssn/System> a rdfs:Class .

folio:RelabeledAnomaly a rdfs:Class ;
  rdfs:subClassOf folio:Anomaly .

folio:Anomaly a rdfs:Class ;
  rdfs:label "Anomaly"@en ;
  rdfs:comment "Description of possible unwanted behaviour"@en .

folio:IntermediateEffect a rdfs:Class ;
  rdfs:label "IntermediateEffect"@en ;
  rdfs:comment "The failure effect as it applies at the next higher indenture level."@en ;
  rdfs:subClassOf folio:FailureEffect .

folio:isIntermediateEffect a rdf:Property ;
  rdfs:label "isIntermediateEffect"@en ;
  rdfs:comment "Relation defining an failure effect as intermediate effect."@en ;
  rdfs:range <https://w3id.org/linkml/Any> .

folio:hasFailureMode a rdf:Property ;
  rdfs:label "hasFailureMode"@en ;
  rdfs:comment "Relation between the failure effect and the corresponding failure mode."@en ;
  rdfs:range <https://w3id.org/linkml/Any> .

<http://www.w3.org/ns/ssn/Stimulus> a rdfs:Class .

folio:LocalEffect a rdfs:Class ;
  rdfs:label "LocalEffect"@en ;
  rdfs:comment "The visible failure effect as it applies to the item under analysis."@en ;
  rdfs:subClassOf folio:FailureEffect , <http://www.w3.org/ns/sosa/Observation> .

folio:isLocalEffect a rdf:Property ;
  rdfs:label "isLocalEffect"@en ;
  rdfs:comment "Relation defining an failure effect as the first mentioned effect."@en ;
  rdfs:range <https://w3id.org/linkml/Any> .

folio:FailureEffect a rdfs:Class ;
  rdfs:label "FailureEffect"@en ;
  rdfs:comment "Immediate consequences of a failure on operation, function or functionality, or status of some item."@en ;
  rdfs:subClassOf folio:Effect , folio:FailureMode .

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

folio:ConfirmedAnomaly a rdfs:Class ;
  rdfs:label "ConfirmedAnomaly"@en ;
  rdfs:comment "ConfirmedAnomaly’s description. Should then express, at least, which part of the system is affected, by what. Ideally, this should be completed with additional information, such as which components observe the ConfirmedAnomaly, or the worth of its management."@en ;
  rdfs:subClassOf folio:Anomaly .

folio:hasStatus a rdf:Property ;
  rdfs:range folio:Confirmed .

folio:UnknownPatternAnomaly a rdfs:Class ;
  rdfs:subClassOf folio:Anomaly .

folio:Effect a rdfs:Class ;
  rdfs:label "Effect"@en ;
  rdfs:comment "The effect describes one aspect of the observed phenomenon."@en .

folio:Confirmed a rdfs:Class ;
  rdfs:subClassOf folio:Status .

folio:FailureCause a rdfs:Class ;
  rdfs:label "FailureCause"@en ;
  rdfs:comment "Failure causes are defects in design, process, quality, or part application, which are the underlying cause of a failure or which initiate a process which leads to failure. Also, the failure effect at the highest indenture level or total system. A failure mode may have more causes."@en ;
  rdfs:subClassOf folio:Cause , folio:FailureMode .

folio:isEndEffect a rdf:Property ;
  rdfs:label "isEndEffect"@en ;
  rdfs:comment "Relation defining an failure effect as end effect."@en ;
  rdfs:range <https://w3id.org/linkml/Any> .

folio:Status a rdfs:Class .

folio:Criticality a rdfs:Class ;
  rdfs:label "Criticality"@en ;
  rdfs:comment "It is a time dependent worth attributed to the ConfirmedAnomaly management."@en .

folio:hasEpochTime a rdf:Property ;
  rdfs:range xsd:integer .

folio:hasLowerFailureEffect a rdf:Property ;
  rdfs:label "hasLowerFailureEffect"@en ;
  rdfs:comment "Relation between a failure effect and a previously occurring effect."@en ;
  rdfs:range <https://w3id.org/linkml/Any> .

folio:hasNextFailureEffect a rdf:Property ;
  rdfs:label "hasNextFailureEffect"@en ;
  rdfs:comment "Relation between a failure effect and a next effect."@en ;
  rdfs:range <https://w3id.org/linkml/Any> .

folio:observedBy a rdf:Property ;
  rdfs:label "observedBy"@en ;
  rdfs:range <https://w3id.org/linkml/Any> .

<http://www.w3.org/ns/sosa/hasResult> a rdf:Property ;
  rdfs:range <https://w3id.org/linkml/Any> .
