@prefix rdf:  <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix owl:  <http://www.w3.org/2002/07/owl#> .
@prefix xsd:  <http://www.w3.org/2001/XMLSchema#> .
@prefix prov: <http://www.w3.org/ns/prov#> .
@prefix aips: <https://aips.kivanura.org/spec/aips/0.1/> .
@prefix pdep: <https://aips.kivanura.org/spec/aips/pdep/0.1/> .

pdep:PDEPLifecycleRecord a rdfs:Class ;
  rdfs:subClassOf prov:Entity ;
  rdfs:label "PDEP Spec C lifecycle record"@en ;
  rdfs:comment "Version-specific lifecycle evidence binding preliminary qualification, definitive AQE/APT, governance, AIPROD, AIPDS, trust publication and continuous-assurance currentness."@en .

pdep:PreliminaryQualification a rdfs:Class ; rdfs:subClassOf prov:Entity .
pdep:ConstitutionProfile a rdfs:Class ; rdfs:subClassOf prov:Entity .
pdep:DefinitiveQualification a rdfs:Class ; rdfs:subClassOf prov:Entity .
pdep:DeploymentRegistration a rdfs:Class ; rdfs:subClassOf prov:Entity .
pdep:TrustCurrentness a rdfs:Class ; rdfs:subClassOf prov:Entity .
pdep:ContinuousAssurance a rdfs:Class ; rdfs:subClassOf prov:Entity .
pdep:GateDecision a rdfs:Class ; rdfs:subClassOf prov:Entity .
pdep:CandidateDependency a rdfs:Class ; rdfs:subClassOf prov:Entity .

pdep:productIdentity a owl:ObjectProperty ; rdfs:domain pdep:PDEPLifecycleRecord .
pdep:candidateProductVersion a owl:ObjectProperty ; rdfs:domain pdep:PDEPLifecycleRecord ; rdfs:range aips:AIProductVersion .
pdep:currentStage a owl:DatatypeProperty ; rdfs:domain pdep:PDEPLifecycleRecord ; rdfs:range xsd:integer .
pdep:stageStatus a owl:ObjectProperty ; rdfs:domain pdep:PDEPLifecycleRecord .
pdep:preliminaryQualification a owl:ObjectProperty ; rdfs:domain pdep:PDEPLifecycleRecord ; rdfs:range pdep:PreliminaryQualification .
pdep:authorityDecisionRef a owl:ObjectProperty ; rdfs:domain pdep:PDEPLifecycleRecord .
pdep:constitutionProfile a owl:ObjectProperty ; rdfs:domain pdep:PDEPLifecycleRecord ; rdfs:range pdep:ConstitutionProfile .
pdep:riskDecisionRef a owl:ObjectProperty ; rdfs:domain pdep:PDEPLifecycleRecord .
pdep:constraintReportRef a owl:ObjectProperty ; rdfs:domain pdep:PDEPLifecycleRecord .
pdep:behaviorContractRef a owl:ObjectProperty ; rdfs:domain pdep:PDEPLifecycleRecord .
pdep:definitiveQualification a owl:ObjectProperty ; rdfs:domain pdep:PDEPLifecycleRecord ; rdfs:range pdep:DefinitiveQualification .
pdep:governanceProfileRef a owl:ObjectProperty ; rdfs:domain pdep:PDEPLifecycleRecord ; rdfs:range aips:GovernanceObligationProfile .
pdep:aiprodRef a owl:ObjectProperty ; rdfs:domain pdep:PDEPLifecycleRecord ; rdfs:range aips:AIPROD .
pdep:aipdsRef a owl:ObjectProperty ; rdfs:domain pdep:PDEPLifecycleRecord ; rdfs:range aips:AIPDS .
pdep:deploymentRegistration a owl:ObjectProperty ; rdfs:domain pdep:PDEPLifecycleRecord ; rdfs:range pdep:DeploymentRegistration .
pdep:dppRef a owl:ObjectProperty ; rdfs:domain pdep:PDEPLifecycleRecord .
pdep:trustCurrentness a owl:ObjectProperty ; rdfs:domain pdep:PDEPLifecycleRecord ; rdfs:range pdep:TrustCurrentness .
pdep:continuousAssurance a owl:ObjectProperty ; rdfs:domain pdep:PDEPLifecycleRecord ; rdfs:range pdep:ContinuousAssurance .
pdep:gateDecision a owl:ObjectProperty ; rdfs:domain pdep:PDEPLifecycleRecord ; rdfs:range pdep:GateDecision .

pdep:qualificationEvidenceRef a owl:ObjectProperty ; rdfs:domain pdep:DefinitiveQualification ; rdfs:range aips:AIQualificationEvidence .
pdep:resolvedAPT a owl:ObjectProperty ; rdfs:domain pdep:DefinitiveQualification ; rdfs:range aips:AIProductType .
pdep:derivationTopology a owl:ObjectProperty ; rdfs:domain pdep:DefinitiveQualification ; rdfs:range aips:DerivationTopology .
pdep:compiledAt a owl:DatatypeProperty ; rdfs:domain pdep:DefinitiveQualification ; rdfs:range xsd:dateTime .

pdep:qualificationCurrentness a owl:ObjectProperty ; rdfs:domain pdep:TrustCurrentness ; rdfs:range aips:QualificationStatus .
pdep:dependencyCurrentness a owl:ObjectProperty ; rdfs:domain pdep:TrustCurrentness ; rdfs:range aips:QualificationStatus .
pdep:governanceCurrentness a owl:ObjectProperty ; rdfs:domain pdep:TrustCurrentness ; rdfs:range aips:QualificationStatus .
pdep:assuranceCurrentness a owl:ObjectProperty ; rdfs:domain pdep:TrustCurrentness ; rdfs:range aips:QualificationStatus .

pdep:PreliminaryAIQualification a rdfs:Resource ; rdfs:label "Preliminary AI Qualification gate"@en .
pdep:DefinitiveAIQualification a rdfs:Resource ; rdfs:label "Definitive AI Qualification gate"@en .
pdep:GovernanceCompilation a rdfs:Resource ; rdfs:label "Governance Compilation gate"@en .
pdep:Promotion a rdfs:Resource ; rdfs:label "Promotion gate"@en .
pdep:ContinuousAssuranceGate a rdfs:Resource ; rdfs:label "Continuous Assurance gate"@en .

# Stage 9 COVP lifecycle bindings
<https://aips.kivanura.org/spec/aips/pdep/0.1/covpObservationSetRef> a <http://www.w3.org/2002/07/owl#ObjectProperty> .
<https://aips.kivanura.org/spec/aips/pdep/0.1/fitnessCurrentness> a <http://www.w3.org/2002/07/owl#DatatypeProperty> .
<https://aips.kivanura.org/spec/aips/pdep/0.1/valueEvidenceCurrentness> a <http://www.w3.org/2002/07/owl#DatatypeProperty> .
<https://aips.kivanura.org/spec/aips/pdep/0.1/valueReviewRequired> a <http://www.w3.org/2002/07/owl#DatatypeProperty> .
