David Leal

More MPR_productionOperation transform stuff

......@@ -39,7 +39,7 @@
<http://www.reportinghub.no/ep/schema/activity#ProductionWellTest>
rdf:type owl:Class ;
rdfs:label "production well test"^^xsd:string ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#WellTest> , <http://www.reportinghub.no/ep/schema/activity#ProductionActivity> .
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#ProductionActivity> , <http://www.reportinghub.no/ep/schema/activity#WellTest> .
<http://www.reportinghub.no/ep/schema/activity#WeeklyProductionActivity>
rdf:type ep-prodact:ProductionOperationClassByDuration .
......@@ -54,7 +54,7 @@
rdfs:range <http://www.reportinghub.no/ep/schema/flow#WholeLifeFlow> .
ep-core:Mass
rdf:type ep-core:PropertySpace , rdfs:Class ;
rdf:type rdfs:Class , ep-core:PropertySpace ;
rdfs:label "mass"^^xsd:string ;
rdfs:subClassOf ep-core:MeasureOfAmountOfMaterial .
......@@ -98,14 +98,25 @@ ep-core:Mass
rdf:type owl:Class ;
rdfs:label "(temporal part of a) sample of material"^^xsd:string .
ep-prodact:AccidentOrInjury
rdf:type owl:Class ;
rdfs:label "accident or injury"^^xsd:string ;
rdfs:subClassOf ep-prodact:Incident .
ep-prodact:AccidentPreventionExercise
rdf:type owl:Class ;
rdfs:label "accident prevention exercise"^^xsd:string ;
rdfs:subClassOf ep-prodact:DrillOrExcercise .
ep-prodact:AdministerFirstAid
rdf:type ep-prodact:SafetyActivityType , owl:Class ;
rdfs:subClassOf ep-prodact:HealthSafetyAndEnvironmentActivity .
rdf:type owl:Class , ep-prodact:SafetyActivityType ;
rdfs:label "administer first aid"^^xsd:string ;
rdfs:subClassOf ep-prodact:MedicalTreatment .
ep-prodact:AirTrafficOperation
rdf:type ep-prodact:ProductionActivityType , owl:Class ;
rdf:type owl:Class , ep-prodact:ProductionActivityType ;
rdfs:label "air traffic operation"^^xsd:string ;
rdfs:subClassOf ep-prodact:PartOfProductionActivity , ep-prodact:TransportationActivity .
rdfs:subClassOf ep-prodact:TransportationActivity , ep-prodact:PartOfProductionActivity .
ep-prodact:Alarm
rdf:type owl:Class ;
......@@ -122,81 +133,89 @@ ep-prodact:AlertType
rdfs:subClassOf owl:Class .
ep-prodact:AllocateSplitFactors
rdf:type ep-prodact:SplitFactorDeterminationType , owl:Class ;
rdf:type owl:Class , ep-prodact:SplitFactorDeterminationType ;
rdfs:label "allocate split factors"^^xsd:string ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#Activity> .
ep-prodact:AnnualProductionActivity
rdf:type owl:Class , ep-prodact:ProductionOperationClassByDuration ;
rdf:type ep-prodact:ProductionOperationClassByDuration , owl:Class ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#ProductionActivity> .
ep-prodact:AnnualProductionActivityToDate
rdf:type ep-prodact:ProductionOperationClassByDuration , owl:Class ;
rdf:type owl:Class , ep-prodact:ProductionOperationClassByDuration ;
rdfs:subClassOf ep-prodact:AnnualProductionActivity .
ep-prodact:AnnualProductionOperationToDate
rdf:type ep-prodact:ProductionOperationClassByDuration , owl:Class ;
rdf:type owl:Class , ep-prodact:ProductionOperationClassByDuration ;
rdfs:label "annual production operation to date"^^xsd:string ;
rdfs:subClassOf ep-prodact:AnnualProductionActivityToDate , ep-prodact:ProductionOperation .
rdfs:subClassOf ep-prodact:ProductionOperation , ep-prodact:AnnualProductionActivityToDate .
ep-prodact:AnnualProductionVolumeActivityToEndOfReportingPeriod
rdf:type owl:Class , ep-prodact:ProductionOperationClassByDuration ;
rdfs:subClassOf ep-prodact:ProductionVolumeActivity , ep-prodact:AnnualProductionActivityToDate .
rdf:type ep-prodact:ProductionOperationClassByDuration , owl:Class ;
rdfs:subClassOf ep-prodact:AnnualProductionActivityToDate , ep-prodact:ProductionVolumeActivity .
ep-prodact:BasketMovement
rdf:type owl:Class ;
rdfs:label "basket movement"^^xsd:string ;
rdfs:subClassOf ep-prodact:MarineOperation .
ep-prodact:CargoShipOperation
rdf:type owl:Class ;
rdfs:subClassOf ep-prodact:PartOfProductionActivity , ep-prodact:TransportationActivity .
rdfs:subClassOf ep-prodact:TransportationActivity , ep-prodact:PartOfProductionActivity .
ep-prodact:ConstructionOperation
rdf:type ep-prodact:ProductionActivityType , owl:Class ;
rdf:type owl:Class , ep-prodact:ProductionActivityType ;
rdfs:label "construction operation"^^xsd:string ;
rdfs:subClassOf ep-prodact:PartOfProductionActivity .
ep-prodact:CumulativeProductionActivitySinceProductionBegan
rdf:type owl:Class , ep-prodact:ProductionOperationClassByDuration ;
rdf:type ep-prodact:ProductionOperationClassByDuration , owl:Class ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#ProductionActivity> .
ep-prodact:DailyProductionOperation
rdf:type owl:Class , ep-prodact:ProductionOperationClassByDuration ;
rdf:type ep-prodact:ProductionOperationClassByDuration , owl:Class ;
rdfs:label "daily production operation"^^xsd:string ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#DailyProductionActivity> , ep-prodact:ProductionOperation .
rdfs:subClassOf ep-prodact:ProductionOperation , <http://www.reportinghub.no/ep/schema/activity#DailyProductionActivity> .
ep-prodact:DailyProductionOperationProcessingLoss
rdf:type ep-prodact:ReasonForLossOfProcessingType , owl:Class ;
rdf:type owl:Class , ep-prodact:ReasonForLossOfProcessingType ;
rdfs:label "daily production operation processing loss"^^xsd:string ;
rdfs:subClassOf ep-prodact:ProductionOperationProcessingLoss .
ep-prodact:DailyProductionVolumeActivity
rdf:type owl:Class , ep-prodact:ProductionOperationClassByDuration ;
rdfs:subClassOf ep-prodact:ProductionVolumeActivity , <http://www.reportinghub.no/ep/schema/activity#DailyProductionActivity> .
rdf:type ep-prodact:ProductionOperationClassByDuration , owl:Class ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#DailyProductionActivity> , ep-prodact:ProductionVolumeActivity .
ep-prodact:DefinedHazardAndAccidentSituation
rdf:type owl:Class ;
rdfs:label "defined hazard and accident situation"^^xsd:string ;
rdfs:subClassOf ep-prodact:Incident .
ep-prodact:Deviation
rdf:type ep-prodact:ProductionActivityType , owl:Class ;
rdf:type owl:Class , ep-prodact:ProductionActivityType ;
rdfs:label "deviation"^^xsd:string ;
rdfs:subClassOf ep-prodact:PartOfProductionActivity .
ep-prodact:DrillOrExcercise
rdf:type ep-prodact:SafetyActivityType , owl:Class ;
rdf:type owl:Class , ep-prodact:SafetyActivityType ;
rdfs:label "drill or exercise"^^xsd:string ;
rdfs:subClassOf ep-prodact:HealthSafetyAndEnvironmentActivity .
ep-prodact:ExtendedMaintenanceTurnaround
rdf:type ep-prodact:ReasonForLossOfProcessingType , owl:Class ;
rdf:type owl:Class , ep-prodact:ReasonForLossOfProcessingType ;
rdfs:label "extended maintenance turnaround"^^xsd:string ;
rdfs:subClassOf ep-prodact:ProductionOperationProcessingLoss .
ep-prodact:ExtendedMaintenanceTurnaroundExportTerminal
rdf:type owl:Class , ep-prodact:ReasonForLossOfProcessingType ;
rdf:type ep-prodact:ReasonForLossOfProcessingType , owl:Class ;
rdfs:label "extended maintenance turnaround export terminal"^^xsd:string ;
rdfs:subClassOf ep-prodact:ExtendedMaintenanceTurnaround .
ep-prodact:Fire
rdf:type owl:Class ;
rdf:type owl:Class , ep-prodact:SafetyActivityType ;
rdfs:label "fire"^^xsd:string ;
rdfs:subClassOf ep-prodact:Incident .
ep-prodact:FirstAid
rdf:type owl:Class ;
rdfs:subClassOf ep-prodact:HealthSafetyAndEnvironmentActivity .
ep-prodact:FlowLine
rdf:type owl:Class ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/equipment#TemporalPartOfAFlowLine> .
......@@ -208,55 +227,55 @@ ep-prodact:FlowLine-Production
ep-prodact:FluidLevelTest
rdf:type owl:Class ;
rdfs:label "fluid level test"^^xsd:string ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#ProductionActivity> , <http://www.reportinghub.no/ep/schema/activity#WellTest> .
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#WellTest> , <http://www.reportinghub.no/ep/schema/activity#ProductionActivity> .
ep-prodact:FluidSampling-DST
rdf:type owl:Class , ep-prodact:FluidSamplingType ;
rdf:type ep-prodact:FluidSamplingType , owl:Class ;
rdfs:label "fluid sampling - DST"^^xsd:string ;
rdfs:subClassOf ep-prodact:FluidSamplingAndAnalysis .
ep-prodact:FluidSampling-RFTorMDT
rdf:type owl:Class , ep-prodact:FluidSamplingType ;
rdf:type ep-prodact:FluidSamplingType , owl:Class ;
rdfs:label "fluid sampling - RFT or MDT"^^xsd:string ;
rdfs:subClassOf ep-prodact:FluidSamplingAndAnalysis .
ep-prodact:FluidSampling-bottomhole
rdf:type owl:Class , ep-prodact:FluidSamplingType ;
rdf:type ep-prodact:FluidSamplingType , owl:Class ;
rdfs:label "fluid sampling - bottomhole"^^xsd:string ;
rdfs:subClassOf ep-prodact:FluidSamplingAndAnalysis .
ep-prodact:FluidSampling-formationTester
rdf:type owl:Class , ep-prodact:FluidSamplingType ;
rdf:type ep-prodact:FluidSamplingType , owl:Class ;
rdfs:label "fluid sampling - formation tester"^^xsd:string ;
rdfs:subClassOf ep-prodact:FluidSamplingAndAnalysis .
ep-prodact:FluidSampling-recombined
rdf:type owl:Class , ep-prodact:FluidSamplingType ;
rdf:type ep-prodact:FluidSamplingType , owl:Class ;
rdfs:label "fluid sampling - recombined"^^xsd:string ;
rdfs:subClassOf ep-prodact:FluidSamplingAndAnalysis .
ep-prodact:FluidSampling-separatorGas
rdf:type owl:Class , ep-prodact:FluidSamplingType ;
rdf:type ep-prodact:FluidSamplingType , owl:Class ;
rdfs:label "fluid sampling - separator gas"^^xsd:string ;
rdfs:subClassOf ep-prodact:FluidSamplingAndAnalysis .
ep-prodact:FluidSampling-separatorOil
rdf:type owl:Class , ep-prodact:FluidSamplingType ;
rdf:type ep-prodact:FluidSamplingType , owl:Class ;
rdfs:label "fluid sampling - separator oil"^^xsd:string ;
rdfs:subClassOf ep-prodact:FluidSamplingAndAnalysis .
ep-prodact:FluidSampling-separatorWater
rdf:type owl:Class , ep-prodact:FluidSamplingType ;
rdf:type ep-prodact:FluidSamplingType , owl:Class ;
rdfs:label "fluid sampling - separator water"^^xsd:string ;
rdfs:subClassOf ep-prodact:FluidSamplingAndAnalysis .
ep-prodact:FluidSampling-synthetic
rdf:type owl:Class , ep-prodact:FluidSamplingType ;
rdf:type ep-prodact:FluidSamplingType , owl:Class ;
rdfs:label "fluid sampling - synthetic"^^xsd:string ;
rdfs:subClassOf ep-prodact:FluidSamplingAndAnalysis .
ep-prodact:FluidSampling-wellhead
rdf:type ep-prodact:FluidSamplingType , owl:Class ;
rdf:type owl:Class , ep-prodact:FluidSamplingType ;
rdfs:label "fluid sampling - wellhead"^^xsd:string ;
rdfs:subClassOf ep-prodact:FluidSamplingAndAnalysis .
......@@ -279,7 +298,7 @@ ep-prodact:FusionOfPartsOfProductionActivityOverPeriod
rdfs:subClassOf ep-prodact:PartOfProductionActivity .
ep-prodact:HSEProblem
rdf:type ep-prodact:ReasonForLossOfProcessingType , owl:Class ;
rdf:type owl:Class , ep-prodact:ReasonForLossOfProcessingType ;
rdfs:label "HSE problem"^^xsd:string ;
rdfs:subClassOf ep-prodact:ProductionOperationProcessingLoss .
......@@ -292,46 +311,60 @@ ep-prodact:Incident
rdfs:subClassOf ep-prodact:HealthSafetyAndEnvironmentActivity .
ep-prodact:InitialWellTest
rdf:type owl:Class , ep-prodact:WellTestReasonType ;
rdf:type ep-prodact:WellTestReasonType , owl:Class ;
rdfs:label "initial"^^xsd:string ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#WellTest> .
ep-prodact:InjectionWellTest
rdf:type owl:Class ;
rdfs:label "injection well test"^^xsd:string ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#ProductionActivity> , <http://www.reportinghub.no/ep/schema/activity#WellTest> .
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#WellTest> , <http://www.reportinghub.no/ep/schema/activity#ProductionActivity> .
ep-prodact:Injury
rdf:type ep-prodact:SafetyActivityType , owl:Class ;
rdfs:subClassOf ep-prodact:HealthSafetyAndEnvironmentActivity .
rdf:type owl:Class ;
rdfs:label "injury"^^xsd:string ;
rdfs:subClassOf ep-prodact:AccidentOrInjury .
ep-prodact:IssueBillOfLading
rdf:type owl:Class , ep-prodact:SalesActivityType ;
rdf:type ep-prodact:SalesActivityType , owl:Class ;
rdfs:label "issue bill of lading"^^xsd:string ;
rdfs:subClassOf ep-prodact:SalesActivity .
ep-prodact:IssueWorkPermit
rdf:type ep-prodact:SafetyActivityType , owl:Class ;
rdf:type owl:Class , ep-prodact:SafetyActivityType ;
rdfs:label "issue work permit"^^xsd:string ;
rdfs:subClassOf ep-prodact:HealthSafetyAndEnvironmentActivity .
ep-prodact:IssueWorkPermitWithSJA
rdf:type owl:Class , ep-prodact:SafetyActivityType ;
rdfs:label "issue work permit with SJA"^^xsd:string ;
rdfs:subClassOf ep-prodact:IssueWorkPermit .
ep-prodact:JobObservation
rdf:type owl:Class ;
rdf:type owl:Class , ep-prodact:SafetyActivityType ;
rdfs:label "job observation"^^xsd:string ;
rdfs:subClassOf ep-prodact:HealthSafetyAndEnvironmentActivity .
ep-prodact:LastPartOfTypeRemainingActivityPair
rdf:type owl:Class ;
rdfs:label "last part of type - remaining activity pair"^^xsd:string ;
rdfs:subClassOf owl:Thing .
ep-prodact:LostProduction
rdf:type owl:Class ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#ProductionActivity> .
ep-prodact:LostTimeAccident
rdf:type owl:Class ;
rdfs:subClassOf ep-prodact:HealthSafetyAndEnvironmentActivity .
rdfs:subClassOf ep-prodact:Incident .
ep-prodact:LostTimeIncident
rdf:type owl:Class ;
rdf:type owl:Class , ep-prodact:SafetyActivityType ;
rdfs:label "lost time incident"^^xsd:string ;
rdfs:subClassOf ep-prodact:Incident .
ep-prodact:MaintenanceActivity
rdf:type ep-prodact:ProductionActivityType , owl:Class ;
rdf:type owl:Class , ep-prodact:ProductionActivityType ;
rdfs:label "maintenance activity"^^xsd:string ;
rdfs:subClassOf ep-prodact:PartOfProductionActivity .
......@@ -341,21 +374,21 @@ ep-prodact:MakeAComment
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#Activity> .
ep-prodact:MakeATransaction
rdf:type owl:Class , ep-prodact:SalesActivityType ;
rdf:type ep-prodact:SalesActivityType , owl:Class ;
rdfs:label "make a transaction"^^xsd:string ;
rdfs:subClassOf ep-prodact:SalesActivity .
ep-prodact:MarineOperation
rdf:type owl:Class ;
rdfs:subClassOf ep-prodact:PartOfProductionActivity , ep-prodact:TransportationActivity .
rdfs:subClassOf ep-prodact:TransportationActivity , ep-prodact:PartOfProductionActivity .
ep-prodact:MarkedGasLossOfExport
rdf:type owl:Class , ep-prodact:ReasonForLossOfProcessingType ;
rdf:type ep-prodact:ReasonForLossOfProcessingType , owl:Class ;
rdfs:label "marked gas loss of export"^^xsd:string ;
rdfs:subClassOf ep-prodact:ProductionOperationProcessingLoss .
ep-prodact:MarkedOilLossOfExport
rdf:type ep-prodact:ReasonForLossOfProcessingType , owl:Class ;
rdf:type owl:Class , ep-prodact:ReasonForLossOfProcessingType ;
rdfs:label "marked oil loss of export"^^xsd:string ;
rdfs:subClassOf ep-prodact:ProductionOperationProcessingLoss .
......@@ -365,30 +398,36 @@ ep-prodact:MeasurePropertiesOfAFlow
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#Activity> .
ep-prodact:MeasureSplitFactors
rdf:type owl:Class , ep-prodact:SplitFactorDeterminationType ;
rdf:type ep-prodact:SplitFactorDeterminationType , owl:Class ;
rdfs:label "measure split factors"^^xsd:string ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#Activity> .
ep-prodact:MedicalTreatment
rdf:type owl:Class ;
rdfs:label "medical treatment"^^xsd:string ;
rdfs:subClassOf ep-prodact:HealthSafetyAndEnvironmentActivity .
ep-prodact:MedicalTreatmentInjury
rdf:type ep-prodact:SafetyActivityType , owl:Class ;
rdf:type owl:Class , ep-prodact:SafetyActivityType ;
rdfs:label "medical treatment"^^xsd:string ;
rdfs:subClassOf ep-prodact:Injury .
ep-prodact:ModificationProject
rdf:type owl:Class , ep-prodact:ReasonForLossOfProcessingType ;
rdf:type ep-prodact:ReasonForLossOfProcessingType , owl:Class ;
rdfs:label "modification project"^^xsd:string ;
rdfs:subClassOf ep-prodact:ProductionOperationProcessingLoss .
ep-prodact:MonthlyProductionActivity
rdf:type owl:Class , ep-prodact:ProductionOperationClassByDuration ;
rdf:type ep-prodact:ProductionOperationClassByDuration , owl:Class ;
rdfs:label "monthly production activity"^^xsd:string ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#ProductionActivity> .
ep-prodact:MonthlyProductionActivityToEndOfReportingPeriod
rdf:type owl:Class , ep-prodact:ProductionOperationClassByDuration ;
rdf:type ep-prodact:ProductionOperationClassByDuration , owl:Class ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#MonthlyProductionActivity> .
ep-prodact:MonthlyProductionOperationToDate
rdf:type owl:Class , ep-prodact:ProductionOperationClassByDuration ;
rdf:type ep-prodact:ProductionOperationClassByDuration , owl:Class ;
rdfs:label "monthly production to date"^^xsd:string ;
rdfs:subClassOf ep-prodact:ProductionOperation .
......@@ -403,7 +442,8 @@ ep-prodact:MovementOfProductType
rdfs:subClassOf owl:Class .
ep-prodact:NearMiss
rdf:type owl:Class ;
rdf:type owl:Class , ep-prodact:SafetyActivityType ;
rdfs:label "near miss"^^xsd:string ;
rdfs:subClassOf ep-prodact:HealthSafetyAndEnvironmentActivity .
ep-prodact:NotablePartOfProductionActivity
......@@ -411,17 +451,17 @@ ep-prodact:NotablePartOfProductionActivity
rdfs:subClassOf ep-prodact:PartOfProductionActivity .
ep-prodact:OperationMistakes
rdf:type ep-prodact:ReasonForLossOfProcessingType , owl:Class ;
rdf:type owl:Class , ep-prodact:ReasonForLossOfProcessingType ;
rdfs:label "operation mistakes"^^xsd:string ;
rdfs:subClassOf ep-prodact:ProductionOperationProcessingLoss .
ep-prodact:OtherProductionActivity
rdf:type ep-prodact:ProductionActivityType , owl:Class ;
rdf:type owl:Class , ep-prodact:ProductionActivityType ;
rdfs:label "other production activity"^^xsd:string ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#Activity> .
ep-prodact:OtherReasonWellTest
rdf:type owl:Class , ep-prodact:WellTestReasonType ;
rdf:type ep-prodact:WellTestReasonType , owl:Class ;
rdfs:label "other"^^xsd:string ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#WellTest> .
......@@ -436,32 +476,37 @@ ep-prodact:Participation
rdfs:subPropertyOf ep-prodact:involvement .
ep-prodact:PeriodicWellTest
rdf:type owl:Class , ep-prodact:WellTestReasonType ;
rdf:type ep-prodact:WellTestReasonType , owl:Class ;
rdfs:label "periodic"^^xsd:string ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#WellTest> .
ep-prodact:PersonnelSafetyIntroduction
rdf:type owl:Class ;
rdfs:label "personnel safety introduction"^^xsd:string ;
rdfs:subClassOf ep-prodact:HealthSafetyAndEnvironmentActivity .
ep-prodact:PlannedMaintenanceTurnaround
rdf:type ep-prodact:ReasonForLossOfProcessingType , owl:Class ;
rdf:type owl:Class , ep-prodact:ReasonForLossOfProcessingType ;
rdfs:label "planned maintenace turnaround"^^xsd:string ;
rdfs:subClassOf ep-prodact:ProductionOperationProcessingLoss .
ep-prodact:PowerStationFailure
rdf:type ep-prodact:ProductionActivityType , owl:Class ;
rdf:type owl:Class , ep-prodact:ProductionActivityType ;
rdfs:label "power station failure"^^xsd:string ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#Activity> .
ep-prodact:PreventiveMaintenanceTopside
rdf:type ep-prodact:ReasonForLossOfProcessingType , owl:Class ;
rdf:type owl:Class , ep-prodact:ReasonForLossOfProcessingType ;
rdfs:label "preventive maintenace topside"^^xsd:string ;
rdfs:subClassOf ep-prodact:ProductionOperationProcessingLoss .
ep-prodact:ProcessAndOperationProblem
rdf:type ep-prodact:ReasonForLossOfProcessingType , owl:Class ;
rdf:type owl:Class , ep-prodact:ReasonForLossOfProcessingType ;
rdfs:label "process and operation problem"^^xsd:string ;
rdfs:subClassOf ep-prodact:ProductionOperationProcessingLoss .
ep-prodact:ProductCompletedLifting
rdf:type ep-prodact:MovementOfProductType , owl:Class ;
rdf:type owl:Class , ep-prodact:MovementOfProductType ;
rdfs:label "product completed lifting"^^xsd:string ;
rdfs:subClassOf ep-prodact:MovementOfProduct .
......@@ -471,77 +516,77 @@ ep-prodact:ProductDespatch
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#ProductionActivity> .
ep-prodact:ProductGain-Loss
rdf:type ep-prodact:MovementOfProductType , owl:Class ;
rdf:type owl:Class , ep-prodact:MovementOfProductType ;
rdfs:label "product gain/loss"^^xsd:string ;
rdfs:subClassOf ep-prodact:MovementOfProduct .
ep-prodact:ProductInputToStorage
rdf:type ep-prodact:MovementOfProductType , owl:Class ;
rdf:type owl:Class , ep-prodact:MovementOfProductType ;
rdfs:label "product input to storage"^^xsd:string ;
rdfs:subClassOf ep-prodact:MovementOfProduct .
ep-prodact:ProductLifted
rdf:type ep-prodact:MovementOfProductType , owl:Class ;
rdf:type owl:Class , ep-prodact:MovementOfProductType ;
rdfs:label "product lifted"^^xsd:string ;
rdfs:subClassOf ep-prodact:MovementOfProduct .
ep-prodact:ProductLiftingEntitlement
rdf:type ep-prodact:MovementOfProductType , owl:Class ;
rdf:type owl:Class , ep-prodact:MovementOfProductType ;
rdfs:label "product lifting entitlement"^^xsd:string ;
rdfs:subClassOf ep-prodact:MovementOfProduct .
ep-prodact:ProductLiftingEntitlementRemaining
rdf:type ep-prodact:MovementOfProductType , owl:Class ;
rdf:type owl:Class , ep-prodact:MovementOfProductType ;
rdfs:label "product lifting entitlement remaining"^^xsd:string ;
rdfs:subClassOf ep-prodact:MovementOfProduct .
ep-prodact:ProductLinePack
rdf:type owl:Class , ep-prodact:MovementOfProductType ;
rdf:type ep-prodact:MovementOfProductType , owl:Class ;
rdfs:label "product line pack"^^xsd:string ;
rdfs:subClassOf ep-prodact:MovementOfProduct .
ep-prodact:ProductMassAdjustment
rdf:type ep-prodact:MovementOfProductType , owl:Class ;
rdf:type owl:Class , ep-prodact:MovementOfProductType ;
rdfs:label "product mass adjustment"^^xsd:string ;
rdfs:subClassOf ep-prodact:MovementOfProduct .
ep-prodact:ProductPartialLifting
rdf:type ep-prodact:MovementOfProductType , owl:Class ;
rdf:type owl:Class , ep-prodact:MovementOfProductType ;
rdfs:label "product partial lifting"^^xsd:string ;
rdfs:subClassOf ep-prodact:MovementOfProduct .
ep-prodact:ProductPipelineLifting
rdf:type ep-prodact:MovementOfProductType , owl:Class ;
rdf:type owl:Class , ep-prodact:MovementOfProductType ;
rdfs:label "product pipeline lifting"^^xsd:string ;
rdfs:subClassOf ep-prodact:MovementOfProduct .
ep-prodact:ProductProductionImbalance
rdf:type ep-prodact:MovementOfProductType , owl:Class ;
rdf:type owl:Class , ep-prodact:MovementOfProductType ;
rdfs:label "product production imbalance"^^xsd:string ;
rdfs:subClassOf ep-prodact:MovementOfProduct .
ep-prodact:ProductSwap
rdf:type ep-prodact:MovementOfProductType , owl:Class ;
rdf:type owl:Class , ep-prodact:MovementOfProductType ;
rdfs:label "product swap"^^xsd:string ;
rdfs:subClassOf ep-prodact:MovementOfProduct .
ep-prodact:ProductTankerLifting
rdf:type ep-prodact:MovementOfProductType , owl:Class ;
rdf:type owl:Class , ep-prodact:MovementOfProductType ;
rdfs:label "product tanker lifting"^^xsd:string ;
rdfs:subClassOf ep-prodact:MovementOfProduct .
ep-prodact:ProductTransaction
rdf:type ep-prodact:MovementOfProductType , owl:Class ;
rdf:type owl:Class , ep-prodact:MovementOfProductType ;
rdfs:label "product transaction"^^xsd:string ;
rdfs:subClassOf ep-prodact:MovementOfProduct .
ep-prodact:ProductTransfer
rdf:type ep-prodact:MovementOfProductType , owl:Class ;
rdf:type owl:Class , ep-prodact:MovementOfProductType ;
rdfs:label "product transfer"^^xsd:string ;
rdfs:subClassOf ep-prodact:MovementOfProduct .
ep-prodact:ProductionActivityLastingLessThanAYear
rdf:type owl:Class , ep-prodact:ProductionOperationClassByDuration ;
rdf:type ep-prodact:ProductionOperationClassByDuration , owl:Class ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#ProductionActivity> .
ep-prodact:ProductionActivityType
......@@ -550,7 +595,7 @@ ep-prodact:ProductionActivityType
rdfs:subClassOf owl:Class .
ep-prodact:ProductionOperation
rdf:type owl:Class , ep-prodact:ProductionActivityType ;
rdf:type ep-prodact:ProductionActivityType , owl:Class ;
rdfs:label "production operation"^^xsd:string ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#ProductionActivity> .
......@@ -575,12 +620,12 @@ ep-prodact:ProductionOperationProcessingLoss
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#ProductionActivity> .
ep-prodact:ProductionOperationProcessingLossForUnspecifiedReason
rdf:type owl:Class , ep-prodact:ReasonForLossOfProcessingType ;
rdf:type ep-prodact:ReasonForLossOfProcessingType , owl:Class ;
rdfs:label "production operation processing loss for unspecified reason"^^xsd:string ;
rdfs:subClassOf ep-prodact:ProductionOperationProcessingLoss .
ep-prodact:ProductionOperationProcessingRegulatoryReference
rdf:type ep-prodact:ReasonForLossOfProcessingType , owl:Class ;
rdf:type owl:Class , ep-prodact:ReasonForLossOfProcessingType ;
rdfs:label "production operation processing regulatory reference"^^xsd:string ;
rdfs:subClassOf ep-prodact:ProductionOperationProcessingLoss .
......@@ -608,16 +653,23 @@ ep-prodact:ReasonForLossOfProcessingType
rdfs:label "reason for loss of processing type"^^xsd:string ;
rdfs:subClassOf owl:Class .
ep-prodact:ReleasedToWater
rdf:type owl:Class ;
rdfs:subClassOf ep-prodact:HealthSafetyAndEnvironmentActivity .
ep-prodact:ReleaseToAir
rdf:type owl:Class , ep-prodact:SafetyActivityType ;
rdfs:label "release to air"^^xsd:string ;
rdfs:subClassOf ep-prodact:SpillOrLeak .
ep-prodact:ReleaseToWater
rdf:type owl:Class , ep-prodact:SafetyActivityType ;
rdfs:label "release to water"^^xsd:string ;
rdfs:subClassOf ep-prodact:SpillOrLeak .
ep-prodact:ReportHazard
rdf:type ep-prodact:SafetyActivityType , owl:Class ;
rdf:type owl:Class , ep-prodact:SafetyActivityType ;
rdfs:label "report hazard"^^xsd:string ;
rdfs:subClassOf ep-prodact:HealthSafetyAndEnvironmentActivity .
ep-prodact:ReservoirLoss
rdf:type ep-prodact:ReasonForLossOfProcessingType , owl:Class ;
rdf:type owl:Class , ep-prodact:ReasonForLossOfProcessingType ;
rdfs:label "reservoir loss"^^xsd:string ;
rdfs:subClassOf ep-prodact:ProductionOperationProcessingLoss .
......@@ -626,20 +678,28 @@ ep-prodact:RestrictedWork
rdfs:subClassOf ep-prodact:HealthSafetyAndEnvironmentActivity .
ep-prodact:RestrictedWorkInjury
rdf:type ep-prodact:SafetyActivityType , owl:Class ;
rdf:type owl:Class , ep-prodact:SafetyActivityType ;
rdfs:label "restricted work injury"^^xsd:string ;
rdfs:subClassOf ep-prodact:Injury .
ep-prodact:RevisionWellTest
rdf:type owl:Class , ep-prodact:WellTestReasonType ;
rdf:type ep-prodact:WellTestReasonType , owl:Class ;
rdfs:label "revision"^^xsd:string ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#WellTest> .
ep-prodact:SafetyActivityType
rdf:type rdfs:Class ;
rdfs:label "safety activity type"^^xsd:string ;
rdfs:subClassOf owl:Class .
ep-prodact:SafetyConsideration
rdf:type owl:Class ;
rdfs:label "safety consideration"^^xsd:string ;
rdfs:subClassOf ep-prodact:HealthSafetyAndEnvironmentActivity .
ep-prodact:SafetyMeeting
rdf:type ep-prodact:SafetyActivityType , owl:Class ;
rdf:type owl:Class , ep-prodact:SafetyActivityType ;
rdfs:label "safety meeting"^^xsd:string ;
rdfs:subClassOf ep-prodact:HealthSafetyAndEnvironmentActivity .
ep-prodact:SalesActivity
......@@ -653,28 +713,37 @@ ep-prodact:SalesActivityType
rdfs:subClassOf owl:Class .
ep-prodact:SentAshore
rdf:type owl:Class ;
rdf:type owl:Class , ep-prodact:SafetyActivityType ;
rdfs:label "sent ashore"^^xsd:string ;
rdfs:subClassOf ep-prodact:HealthSafetyAndEnvironmentActivity .
ep-prodact:SevereAccident
rdf:type owl:Class ;
rdfs:subClassOf ep-prodact:HealthSafetyAndEnvironmentActivity .
rdf:type owl:Class , ep-prodact:SafetyActivityType ;
rdfs:label "severe accident"^^xsd:string ;
rdfs:subClassOf ep-prodact:Incident .
ep-prodact:SickOnBoard
rdf:type owl:Class ;
rdf:type owl:Class , ep-prodact:SafetyActivityType ;
rdfs:label "sick on board"^^xsd:string ;
rdfs:subClassOf ep-prodact:HealthSafetyAndEnvironmentActivity .
ep-prodact:SpillOrLeak
rdf:type ep-prodact:SafetyActivityType , owl:Class ;
rdfs:subClassOf ep-prodact:HealthSafetyAndEnvironmentActivity .
rdf:type owl:Class , ep-prodact:SafetyActivityType ;
rdfs:label "spill or leak"^^xsd:string ;
rdfs:subClassOf ep-prodact:Incident .
ep-prodact:SplitFactorDeterminationType
rdf:type rdfs:Class ;
rdfs:label "split factor determination type"^^xsd:string ;
rdfs:subClassOf owl:Class .
ep-prodact:StandbyVesselOperation
rdf:type owl:Class ;
rdfs:label "standby vessel operation"^^xsd:string ;
rdfs:subClassOf ep-prodact:MarineOperation .
ep-prodact:StrikeOrLockout
rdf:type ep-prodact:ReasonForLossOfProcessingType , owl:Class ;
rdf:type owl:Class , ep-prodact:ReasonForLossOfProcessingType ;
rdfs:label "strike or lock-out"^^xsd:string ;
rdfs:subClassOf ep-prodact:ProductionOperationProcessingLoss .
......@@ -683,32 +752,42 @@ ep-prodact:SubstanceType
rdfs:label "substance type"^^xsd:string ;
rdfs:subClassOf owl:Class .
ep-prodact:SupplyShipOperation
rdf:type owl:Class ;
rdfs:label "supply ship operation"^^xsd:string ;
rdfs:subClassOf ep-prodact:MarineOperation .
ep-prodact:TestingAndLogging
rdf:type ep-prodact:ReasonForLossOfProcessingType , owl:Class ;
rdf:type owl:Class , ep-prodact:ReasonForLossOfProcessingType ;
rdfs:label "testing and logging"^^xsd:string ;
rdfs:subClassOf ep-prodact:ProductionOperationProcessingLoss .
ep-prodact:ThirdPartyProcessingLoss
rdf:type ep-prodact:ReasonForLossOfProcessingType , owl:Class ;
rdf:type owl:Class , ep-prodact:ReasonForLossOfProcessingType ;
rdfs:label "third party processing loss"^^xsd:string ;
rdfs:subClassOf ep-prodact:ProductionOperationProcessingLoss .
ep-prodact:TopsideEquipmentFailureMaintenance
rdf:type ep-prodact:ReasonForLossOfProcessingType , owl:Class ;
rdf:type owl:Class , ep-prodact:ReasonForLossOfProcessingType ;
rdfs:label "topside equipment failure maintenance"^^xsd:string ;
rdfs:subClassOf ep-prodact:ProductionOperationProcessingLoss .
ep-prodact:TrafficAccident
rdf:type owl:Class , ep-prodact:SafetyActivityType ;
rdfs:label "traffic accident"^^xsd:string ;
rdfs:subClassOf ep-prodact:Incident .
ep-prodact:TransportationActivity
rdf:type owl:Class ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#Activity> .
ep-prodact:UnavailableTankerStorage
rdf:type ep-prodact:ReasonForLossOfProcessingType , owl:Class ;
rdf:type owl:Class , ep-prodact:ReasonForLossOfProcessingType ;
rdfs:label "unavailable tanker storage"^^xsd:string ;
rdfs:subClassOf ep-prodact:ProductionOperationProcessingLoss .
ep-prodact:UnknownReasonWellTest
rdf:type owl:Class , ep-prodact:WellTestReasonType ;
rdf:type ep-prodact:WellTestReasonType , owl:Class ;
rdfs:label "unknown"^^xsd:string ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#WellTest> .
......@@ -724,30 +803,30 @@ ep-prodact:WaterDischarge
ep-prodact:WaterSample
rdf:type owl:Class ;
rdfs:label "(temporal part of a) water sample"^^xsd:string ;
rdfs:subClassOf ep-material:Water , <http://www.reportinghub.no/ep/schema/flow#SampleOfMaterial> .
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/flow#SampleOfMaterial> , ep-material:Water .
ep-prodact:WeatherProblem
rdf:type owl:Class , ep-prodact:ReasonForLossOfProcessingType ;
rdf:type ep-prodact:ReasonForLossOfProcessingType , owl:Class ;
rdfs:label "weather problem"^^xsd:string ;
rdfs:subClassOf ep-prodact:ProductionOperationProcessingLoss .
ep-prodact:WellEquipmentFailureMaintenance
rdf:type ep-prodact:ReasonForLossOfProcessingType , owl:Class ;
rdf:type owl:Class , ep-prodact:ReasonForLossOfProcessingType ;
rdfs:label "well equipment failure maintenance"^^xsd:string ;
rdfs:subClassOf ep-prodact:ProductionOperationProcessingLoss .
ep-prodact:WellPlannedOperations
rdf:type ep-prodact:ReasonForLossOfProcessingType , owl:Class ;
rdf:type owl:Class , ep-prodact:ReasonForLossOfProcessingType ;
rdfs:label "well planned operations"^^xsd:string ;
rdfs:subClassOf ep-prodact:ProductionOperationProcessingLoss .
ep-prodact:WellPreventiveMaintenance
rdf:type ep-prodact:ReasonForLossOfProcessingType , owl:Class ;
rdf:type owl:Class , ep-prodact:ReasonForLossOfProcessingType ;
rdfs:label "well preventive maintenance"^^xsd:string ;
rdfs:subClassOf ep-prodact:ProductionOperationProcessingLoss .
ep-prodact:WellProblems
rdf:type ep-prodact:ReasonForLossOfProcessingType , owl:Class ;
rdf:type owl:Class , ep-prodact:ReasonForLossOfProcessingType ;
rdfs:label "well problems"^^xsd:string ;
rdfs:subClassOf ep-prodact:ProductionOperationProcessingLoss .
......@@ -756,14 +835,6 @@ ep-prodact:WellTestReasonType
rdfs:label "well test reason type"^^xsd:string ;
rdfs:subClassOf owl:Class .
ep-prodact:WorkingUnderPermit
rdf:type ep-prodact:SafetyActivityType , owl:Class ;
rdfs:subClassOf ep-prodact:HealthSafetyAndEnvironmentActivity .
ep-prodact:WorkingUnderPermitWithSJA
rdf:type ep-prodact:SafetyActivityType , owl:Class ;
rdfs:subClassOf ep-prodact:WorkingUnderPermit .
ep-prodact:accountNumber
rdf:type owl:DatatypeProperty ;
rdfs:domain ep-prodact:SalesActivity ;
......@@ -792,7 +863,7 @@ ep-prodact:buyer
rdfs:range <http://www.reportinghub.no/ep/schema/production-organization#PersonOrOrganization> .
ep-prodact:cargoBatchNumber
rdf:type owl:FunctionalProperty , owl:DatatypeProperty ;
rdf:type owl:DatatypeProperty , owl:FunctionalProperty ;
rdfs:label "cargo batch number"^^xsd:string .
ep-prodact:cargoLoaded
......@@ -802,7 +873,7 @@ ep-prodact:cargoLoaded
rdfs:range ep-core:PhysicalObject .
ep-prodact:cargoNumber
rdf:type owl:FunctionalProperty , owl:DatatypeProperty ;
rdf:type owl:DatatypeProperty , owl:FunctionalProperty ;
rdfs:label "cargo number"^^xsd:string .
ep-prodact:classificationBySafetyActivityType
......@@ -849,17 +920,29 @@ ep-prodact:destination
rdfs:label "destination"^^xsd:string ;
rdfs:range <http://www.reportinghub.no/ep/schema/geography#PartOfTheSurfaceOfTheEarth> .
ep-prodact:forComment
rdf:type owl:ObjectProperty ;
rdfs:comment "Used to pass an argument to Cs_datedComment"^^xsd:string ;
rdfs:domain <http://www.reportinghub.no/ep/schema/activity#Activity> ;
rdfs:label "for comment"^^xsd:string .
ep-prodact:glycolDensity
rdf:type owl:FunctionalProperty , ep-core:Class_of_indirect_property , owl:ObjectProperty ;
rdf:type owl:ObjectProperty , ep-core:Class_of_indirect_property , owl:FunctionalProperty ;
rdfs:domain ep-prodact:WaterSample ;
rdfs:range ep-core:Density .
ep-prodact:hasGasLiftChoke
rdf:type owl:ObjectProperty , owl:FunctionalProperty ;
rdf:type owl:FunctionalProperty , owl:ObjectProperty ;
rdfs:domain <http://www.reportinghub.no/ep/schema/activity#WellTest> ;
rdfs:label "has gas lift choke"^^xsd:string ;
rdfs:range <http://www.reportinghub.no/ep/schema/production-equipment#GasLiftChoke> .
ep-prodact:hasLastPartOfTypeRemainingActivityPair
rdf:type owl:ObjectProperty ;
rdfs:domain <http://www.reportinghub.no/ep/schema/activity#Activity> ;
rdfs:label "has last part of type - remaining activity pair"^^xsd:string ;
rdfs:range ep-prodact:LastPartOfTypeRemainingActivityPair .
ep-prodact:hasPart
rdf:type owl:ObjectProperty ;
rdfs:domain <http://www.reportinghub.no/ep/schema/activity#ProductionActivity> ;
......@@ -872,7 +955,7 @@ ep-prodact:hasPredecessor
rdfs:range <http://www.reportinghub.no/ep/schema/activity#Activity> .
ep-prodact:hasShutInPressure
rdf:type owl:ObjectProperty , owl:FunctionalProperty , ep-core:Class_of_indirect_property ;
rdf:type ep-core:Class_of_indirect_property , owl:FunctionalProperty , owl:ObjectProperty ;
rdfs:domain <http://www.reportinghub.no/ep/schema/activity#ProductionWellTest> ;
rdfs:label "has shut-in pressure"^^xsd:string ;
rdfs:range ep-core:Pressure .
......@@ -884,25 +967,25 @@ ep-prodact:hasValidPredecessor
rdfs:range <http://www.reportinghub.no/ep/schema/activity#Activity> .
ep-prodact:injectionWellTestMaximumAnnularPressure
rdf:type owl:ObjectProperty , owl:FunctionalProperty , ep-core:Class_of_indirect_property ;
rdf:type ep-core:Class_of_indirect_property , owl:FunctionalProperty , owl:ObjectProperty ;
rdfs:domain ep-prodact:InjectionWellTest ;
rdfs:label "injection well test maximum annular pressure"^^xsd:string ;
rdfs:range ep-core:Pressure .
ep-prodact:injectionWellTestMinimumAnnularPressure
rdf:type owl:ObjectProperty , owl:FunctionalProperty , ep-core:Class_of_indirect_property ;
rdf:type ep-core:Class_of_indirect_property , owl:FunctionalProperty , owl:ObjectProperty ;
rdfs:domain ep-prodact:InjectionWellTest ;
rdfs:label "injection well test minimum annular pressure"^^xsd:string ;
rdfs:range ep-core:Pressure .
ep-prodact:injectionWellTestWellheadFlowingPressure
rdf:type owl:ObjectProperty , owl:FunctionalProperty , ep-core:Class_of_indirect_property ;
rdf:type ep-core:Class_of_indirect_property , owl:FunctionalProperty , owl:ObjectProperty ;
rdfs:domain ep-prodact:InjectionWellTest ;
rdfs:label "injection well test wellhead flowing pressure"^^xsd:string ;
rdfs:range ep-core:Pressure .
ep-prodact:injectionWellTestWellheadMaximumPressure
rdf:type owl:ObjectProperty , owl:FunctionalProperty , ep-core:Class_of_indirect_property ;
rdf:type ep-core:Class_of_indirect_property , owl:FunctionalProperty , owl:ObjectProperty ;
rdfs:domain ep-prodact:InjectionWellTest ;
rdfs:label "injection well test wellhead maximum pressure"^^xsd:string ;
rdfs:range ep-core:Pressure .
......@@ -919,7 +1002,7 @@ ep-prodact:measuredFlow
rdfs:range <http://www.reportinghub.no/ep/schema/flow#Flow> .
ep-prodact:movedProduct
rdf:type owl:ObjectProperty , owl:FunctionalProperty ;
rdf:type owl:FunctionalProperty , owl:ObjectProperty ;
rdfs:domain ep-prodact:MovementOfProduct ;
rdfs:label "moved product"^^xsd:string .
......@@ -938,16 +1021,6 @@ ep-prodact:noOfHazardReportCards
rdfs:domain <http://www.reportinghub.no/ep/schema/activity#ProductionActivity> ;
rdfs:range xsd:integer .
ep-prodact:noOfIncidentsTotal
rdf:type owl:DatatypeProperty ;
rdfs:domain <http://www.reportinghub.no/ep/schema/activity#ProductionActivity> ;
rdfs:range xsd:integer .
ep-prodact:noOfLostTimeIncidents
rdf:type owl:DatatypeProperty ;
rdfs:domain <http://www.reportinghub.no/ep/schema/activity#ProductionActivity> ;
rdfs:range xsd:integer .
ep-prodact:noOfMiscellaneousHseEvents
rdf:type owl:DatatypeProperty ;
rdfs:domain <http://www.reportinghub.no/ep/schema/activity#ProductionActivity> ;
......@@ -973,13 +1046,19 @@ ep-prodact:noOfSpillsOrLeaks
rdfs:domain <http://www.reportinghub.no/ep/schema/activity#ProductionActivity> ;
rdfs:range xsd:integer .
ep-prodact:noOfSystemAlarms
rdf:type owl:FunctionalProperty , owl:DatatypeProperty ;
rdfs:domain <http://www.reportinghub.no/ep/schema/activity#ProductionActivity> ;
rdfs:label "number of system alarms"^^xsd:string ;
rdfs:range xsd:integer .
ep-prodact:oilInWater
rdf:type owl:ObjectProperty ;
rdfs:domain ep-prodact:WaterSample ;
rdfs:range ep-core:MassPerUnitMassConcentration .
ep-prodact:onProductionFacility
rdf:type owl:ObjectProperty , owl:FunctionalProperty ;
rdf:type owl:FunctionalProperty , owl:ObjectProperty ;
rdfs:domain <http://www.reportinghub.no/ep/schema/activity#ProductionActivity> ;
rdfs:label "on facility"^^xsd:string ;
rdfs:range <http://www.reportinghub.no/ep/schema/facility#TemporalPartOfAProductionFacility> .
......@@ -1000,7 +1079,7 @@ ep-prodact:phenolDensity
rdfs:range ep-core:Density .
ep-prodact:processingLost
rdf:type owl:ObjectProperty , owl:FunctionalProperty ;
rdf:type owl:FunctionalProperty , owl:ObjectProperty ;
rdfs:domain ep-prodact:ProductionOperationProcessingLoss ;
rdfs:range ep-material:QuantityOfMaterial .
......@@ -1010,11 +1089,17 @@ ep-prodact:productionActivityPeriodClassification
rdfs:range ep-prodact:ProductionOperationClassByDuration .
ep-prodact:productionOperator
rdf:type owl:FunctionalProperty , owl:ObjectProperty ;
rdf:type owl:ObjectProperty , owl:FunctionalProperty ;
rdfs:domain <http://www.reportinghub.no/ep/schema/activity#ProductionActivity> ;
rdfs:label "production operator"^^xsd:string ;
rdfs:range <http://www.reportinghub.no/ep/schema/organization#Organization> .
ep-prodact:remainingActivity
rdf:type owl:ObjectProperty , owl:FunctionalProperty ;
rdfs:domain ep-prodact:LastPartOfTypeRemainingActivityPair ;
rdfs:label "remaining activity"^^xsd:string ;
rdfs:range <http://www.reportinghub.no/ep/schema/activity#Activity> .
ep-prodact:residualChlorideInWater
rdf:type owl:ObjectProperty ;
rdfs:domain ep-prodact:WaterSample ;
......@@ -1032,7 +1117,7 @@ ep-prodact:samplePhValue
rdfs:range xsd:double .
ep-prodact:samplePoint
rdf:type owl:FunctionalProperty , owl:ObjectProperty ;
rdf:type owl:ObjectProperty , owl:FunctionalProperty ;
rdfs:domain ep-prodact:WaterSample ;
rdfs:range <http://www.reportinghub.no/ep/schema/production-core#TemporalPartOfAPointInSpace> .
......@@ -1070,13 +1155,13 @@ ep-prodact:sourceOrganization
rdfs:range <http://www.reportinghub.no/ep/schema/organization#Organization> .
ep-prodact:testedWellBoreInterval
rdf:type owl:ObjectProperty , owl:FunctionalProperty ;
rdf:type owl:FunctionalProperty , owl:ObjectProperty ;
rdfs:domain <http://www.reportinghub.no/ep/schema/activity#WellTest> ;
rdfs:label "tested wellbore interval"^^xsd:string ;
rdfs:range ep-core:PhysicalObject .
ep-prodact:timeWorked
rdf:type owl:ObjectProperty , owl:FunctionalProperty , ep-core:Class_of_indirect_property ;
rdf:type ep-core:Class_of_indirect_property , owl:FunctionalProperty , owl:ObjectProperty ;
rdfs:domain ep-prodact:ProductionOperation ;
rdfs:label "time worked"^^xsd:string ;
rdfs:range ep-core:TimeDuration .
......@@ -1091,6 +1176,12 @@ ep-prodact:totalOrganicCarbonInWater
rdfs:domain ep-prodact:WaterSample ;
rdfs:range ep-core:MassPerUnitMassConcentration .
ep-prodact:typeOfPartCommentedOn
rdf:type owl:ObjectProperty ;
rdfs:comment "Used to pass an argument to Cs_datedComment"^^xsd:string ;
rdfs:domain owl:Class ;
rdfs:label "type of part commented on"^^xsd:string .
ep-prodact:waterSampleTaken
rdf:type owl:ObjectProperty ;
rdfs:domain ep-prodact:WaterCleaningOperation ;
......
......@@ -1065,11 +1065,6 @@ ep-core:halfMillisecond
rdfs:domain ep-core:TimeDuration ;
rdfs:label "half millisecond"^^xsd:string .
ep-core:hasSetOfAllPartsOfType
rdf:type owl:ObjectProperty ;
rdfs:domain ep-core:PhysicalThing ;
rdfs:label "basis for"^^xsd:string .
ep-core:hectare
rdf:type ep-core:Scale , owl:FunctionalProperty , owl:DatatypeProperty ;
rdfs:label "hectares"^^xsd:string .
......@@ -3127,6 +3122,11 @@ ep-prodcore:Acidity
rdfs:label "acidity"^^xsd:string ;
rdfs:subClassOf owl:Class .
ep-prodcore:CompositionOfAllPartsOfDefinedType
rdf:type rdfs:Class ;
rdfs:label "composition of all parts of defined type"^^xsd:string ;
rdfs:subClassOf ep-core:PhysicalObject .
ep-prodcore:DensityAt0degC1atm
rdf:type ep-core:PropertySpace , rdfs:Class ;
rdfs:label "density at 0 degrees C 1 atmosphere"^^xsd:string ;
......@@ -3161,6 +3161,11 @@ ep-prodcore:RegionOfSpace
rdfs:label "region of space"^^xsd:string ;
rdfs:subClassOf ep-prodcore:TemporalPartOfARegionOfSpace .
ep-prodcore:SetOfAllPartsOfDefinedType
rdf:type rdfs:Class ;
rdfs:label "set of all parts of defined type"^^xsd:string ;
rdfs:subClassOf owl:Class .
ep-prodcore:TemporalPartOfAPointInSpace
rdf:type owl:Class ;
rdfs:label "temporal part of a point in space"^^xsd:string ;
......@@ -3181,10 +3186,26 @@ ep-prodcore:VolumeFlowRateAt0degC1atm
rdfs:label "volume flow rate at 0 degrees C 1 atmosphere"^^xsd:string ;
rdfs:subClassOf ep-core:MeasureOfFlowOfMaterial .
ep-prodcore:definingType
rdf:type owl:FunctionalProperty ;
rdfs:label "defining type"^^xsd:string ;
rdfs:range owl:Class .
ep-prodcore:dummyTrue
rdf:type owl:FunctionalProperty , owl:DatatypeProperty ;
rdfs:label "dummy true - I can't get FILTER to work."^^xsd:string .
ep-prodcore:hasCompositionOfAllPartsOfDefinedType
rdf:type owl:ObjectProperty ;
rdfs:domain ep-core:PhysicalObject ;
rdfs:label "has composition of all parts of defined type"^^xsd:string ;
rdfs:range ep-prodcore:CompositionOfAllPartsOfDefinedType .
ep-prodcore:hasSetOfAllPartsOfDefinedType
rdf:type owl:ObjectProperty ;
rdfs:label "has set of all parts of defined type"^^xsd:string ;
rdfs:range ep-prodcore:SetOfAllPartsOfDefinedType .
ep-prodcore:intervalIdentifier
rdf:type owl:DatatypeProperty , owl:FunctionalProperty ;
rdfs:label "ph"^^xsd:string .
......@@ -3193,6 +3214,17 @@ ep-prodcore:mapsTo
rdf:type rdf:Property ;
rdfs:label "maps to"^^xsd:string .
ep-prodcore:meanTimeBetweenParts
rdf:type owl:FunctionalProperty , owl:ObjectProperty , ep-core:Class_of_indirect_property ;
rdfs:domain ep-prodcore:CompositionOfAllPartsOfDefinedType ;
rdfs:label "mean time between parts"^^xsd:string ;
rdfs:range ep-core:TimeDuration .
ep-prodcore:numberInSet
rdf:type owl:DatatypeProperty , owl:FunctionalProperty ;
rdfs:domain owl:Class ;
rdfs:label "number in set"^^xsd:string .
ep-prodcore:ph
rdf:type owl:DatatypeProperty , owl:FunctionalProperty , ep-core:Scale ;
rdfs:domain ep-prodcore:Acidity ;
......
......@@ -10,14 +10,14 @@
<http://www.reportinghub.no/ep/schema/1.0/production-organization>
rdf:type owl:Ontology ;
owl:imports <http://www.reportinghub.no/ep/schema/1.0/organization> , <http://www.reportinghub.no/ep/schema/1.0/facility> ;
owl:imports <http://www.reportinghub.no/ep/schema/1.0/facility> , <http://www.reportinghub.no/ep/schema/1.0/organization> ;
owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
<http://www.reportinghub.no/ep/schema/organization#Organization>
rdfs:subClassOf ep-prodorg:PersonOrOrganization .
ep-prodorg:CateringCrew
rdf:type ep-prodorg:CrewType , owl:Class ;
rdf:type owl:Class , ep-prodorg:CrewType ;
rdfs:label "catering crew"^^xsd:string ;
rdfs:subClassOf ep-prodorg:Crew .
......@@ -27,7 +27,7 @@ ep-prodorg:CommercialEntity
rdfs:subClassOf ep-prodorg:PersonOrOrganization .
ep-prodorg:ContractorCrew
rdf:type ep-prodorg:CrewType , owl:Class ;
rdf:type owl:Class , ep-prodorg:CrewType ;
rdfs:label "contractor crew"^^xsd:string ;
rdfs:subClassOf ep-prodorg:Crew .
......@@ -42,27 +42,27 @@ ep-prodorg:CrewType
rdfs:subClassOf owl:Class .
ep-prodorg:DayVisitorCrew
rdf:type ep-prodorg:CrewType , owl:Class ;
rdf:type owl:Class , ep-prodorg:CrewType ;
rdfs:label "day visitor crew"^^xsd:string ;
rdfs:subClassOf ep-prodorg:Crew .
ep-prodorg:DrillingContractCrew
rdf:type ep-prodorg:CrewType , owl:Class ;
rdf:type owl:Class , ep-prodorg:CrewType ;
rdfs:label "drilling contract crew"^^xsd:string ;
rdfs:subClassOf ep-prodorg:Crew .
ep-prodorg:NonOperatorOvernightVisitorCrew
rdf:type owl:Class , ep-prodorg:CrewType ;
rdf:type ep-prodorg:CrewType , owl:Class ;
rdfs:label "non-operator overnight visitor crew"^^xsd:string ;
rdfs:subClassOf ep-prodorg:Crew .
ep-prodorg:OperatorNormalCrew
rdf:type ep-prodorg:CrewType , owl:Class ;
rdf:type owl:Class , ep-prodorg:CrewType ;
rdfs:label "operator normal crew"^^xsd:string ;
rdfs:subClassOf ep-prodorg:Crew .
ep-prodorg:OperatorOvernightVisitorCrew
rdf:type ep-prodorg:CrewType , owl:Class ;
rdf:type owl:Class , ep-prodorg:CrewType ;
rdfs:label "operator overnight visitor crew"^^xsd:string ;
rdfs:subClassOf ep-prodorg:Crew .
......@@ -79,8 +79,13 @@ ep-prodorg:PersonRole
rdfs:label "person role"^^xsd:string ;
rdfs:subClassOf ep-prodorg:Person .
ep-prodorg:PersonRoleType
rdf:type rdfs:Class ;
rdfs:label "person role type"^^xsd:string ;
rdfs:subClassOf owl:Class .
ep-prodorg:TotalCrew
rdf:type ep-prodorg:CrewType , owl:Class ;
rdf:type owl:Class , ep-prodorg:CrewType ;
rdfs:label "total crew"^^xsd:string ;
rdfs:subClassOf ep-prodorg:Crew .
......@@ -96,7 +101,7 @@ ep-prodorg:hasCrew
rdfs:range ep-prodorg:Crew .
ep-prodorg:numberInCrew
rdf:type owl:DatatypeProperty , owl:FunctionalProperty ;
rdf:type owl:FunctionalProperty , owl:DatatypeProperty ;
rdfs:domain ep-prodorg:Crew ;
rdfs:label "number in crew"^^xsd:string .
......
......@@ -78,6 +78,28 @@ arg2 is the report end date"""^^xsd:string ;
])
] .
ep-mpr-spin-lib:buildPersonRoleTypeURI
rdf:type spin:Function ;
rdfs:label "build PersonRoleType URI"^^xsd:string ;
rdfs:subClassOf ep-mpr-spin-lib:Function ;
spin:body
[ rdf:type sp:Select ;
sp:resultVariables ([ sp:varName "uri"^^xsd:string
]) ;
sp:where ([ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:buildURI ;
sp:arg1 "https://www.reportinghub.no/ep/data/personRoleType/" ;
sp:arg2 [ rdf:type fn:concat ;
sp:arg1 spin:_arg1
]
] ;
sp:variable
[ sp:varName "uri"^^xsd:string
]
])
] .
ep-mpr-spin-lib:buildProductionReportURI
rdf:type spin:Function ;
rdfs:subClassOf ep-mpr-spin-lib:Function ;
......@@ -5323,6 +5345,170 @@ ep-mpr-spin-lib:selectReportPeriodType
])
] .
ep-mpr-spin-lib:selectSafetyActivityType
rdf:type spin:Function ;
rdfs:label "select SafetyActivityType"^^xsd:string ;
rdfs:subClassOf ep-mpr-spin-lib:Function ;
spin:body
[ rdf:type sp:Select ;
sp:resultVariables ([ sp:varName "safetyActivityType"^^xsd:string
]) ;
sp:where ([ rdf:type sp:Bind ;
sp:expression
[ rdf:type sp:if ;
sp:arg1 [ rdf:type sp:eq ;
sp:arg1 spin:_arg1 ;
sp:arg2 <http://www.epim.no/schemas/mprml/1#ST_releasedtoair>
] ;
sp:arg2 <http://www.reportinghub.no/ep/schema/production-activity#ReleaseToAir> ;
sp:arg3 [ rdf:type sp:if ;
sp:arg1 [ rdf:type sp:eq ;
sp:arg1 spin:_arg1 ;
sp:arg2 <http://www.epim.no/schemas/mprml/1#ST_fire>
] ;
sp:arg2 <http://www.reportinghub.no/ep/schema/production-activity#Fire> ;
sp:arg3 [ rdf:type sp:if ;
sp:arg1 [ rdf:type sp:eq ;
sp:arg1 spin:_arg1 ;
sp:arg2 <http://www.epim.no/schemas/mprml/1#ST_nearmiss>
] ;
sp:arg2 <http://www.reportinghub.no/ep/schema/production-activity#NearMiss> ;
sp:arg3 [ rdf:type sp:if ;
sp:arg1 [ rdf:type sp:eq ;
sp:arg1 spin:_arg1 ;
sp:arg2 <http://www.epim.no/schemas/mprml/1#ST_miscellaneous>
] ;
sp:arg2 <http://www.reportinghub.no/ep/schema/production-activity#HealthSafetyAndEnvironmentActivity> ;
sp:arg3 [ rdf:type sp:if ;
sp:arg1 [ rdf:type sp:eq ;
sp:arg1 spin:_arg1 ;
sp:arg2 <http://www.epim.no/schemas/mprml/1#ST_sickonboard>
] ;
sp:arg2 <http://www.reportinghub.no/ep/schema/production-activity#SickOnBoard> ;
sp:arg3 [ rdf:type sp:if ;
sp:arg1 [ rdf:type sp:eq ;
sp:arg1 spin:_arg1 ;
sp:arg2 <http://www.epim.no/schemas/mprml/1#ST_releasedtowater>
] ;
sp:arg2 <http://www.reportinghub.no/ep/schema/production-activity#ReleaseToWater> ;
sp:arg3 [ rdf:type sp:if ;
sp:arg1 [ rdf:type sp:eq ;
sp:arg1 spin:_arg1 ;
sp:arg2 <http://www.epim.no/schemas/mprml/1#ST_firstaid>
] ;
sp:arg2 <http://www.reportinghub.no/ep/schema/production-activity#AdministerFirstAid> ;
sp:arg3 [ rdf:type sp:if ;
sp:arg1 [ rdf:type sp:eq ;
sp:arg1 spin:_arg1 ;
sp:arg2 <http://www.epim.no/schemas/mprml/1#ST_totalpermits>
] ;
sp:arg2 <http://www.reportinghub.no/ep/schema/production-activity#IssueWorkPermit> ;
sp:arg3 [ rdf:type sp:if ;
sp:arg1 [ rdf:type sp:eq ;
sp:arg1 spin:_arg1 ;
sp:arg2 <http://www.epim.no/schemas/mprml/1#ST_losttimeincident>
] ;
sp:arg2 <http://www.reportinghub.no/ep/schema/production-activity#LostTimeIncident> ;
sp:arg3 [ rdf:type sp:if ;
sp:arg1 [ rdf:type sp:eq ;
sp:arg1 spin:_arg1 ;
sp:arg2 <http://www.epim.no/schemas/mprml/1#ST_restrictedwork>
] ;
sp:arg2 <http://www.reportinghub.no/ep/schema/production-activity#RestrictedWork> ;
sp:arg3 [ rdf:type sp:if ;
sp:arg1 [ rdf:type sp:eq ;
sp:arg1 spin:_arg1 ;
sp:arg2 <http://www.epim.no/schemas/mprml/1#ST_losttimeaccident>
] ;
sp:arg2 <http://www.reportinghub.no/ep/schema/production-activity#LostTimeAccident> ;
sp:arg3 [ rdf:type sp:if ;
sp:arg1 [ rdf:type sp:eq ;
sp:arg1 spin:_arg1 ;
sp:arg2 <http://www.epim.no/schemas/mprml/1#ST_drillorexercise>
] ;
sp:arg2 <http://www.reportinghub.no/ep/schema/production-activity#DrillOrExcercise> ;
sp:arg3 [ rdf:type sp:if ;
sp:arg1 [ rdf:type sp:eq ;
sp:arg1 spin:_arg1 ;
sp:arg2 <http://www.epim.no/schemas/mprml/1#ST_safetymeeting>
] ;
sp:arg2 <http://www.reportinghub.no/ep/schema/production-activity#SafetyMeeting> ;
sp:arg3 [ rdf:type sp:if ;
sp:arg1 [ rdf:type sp:eq ;
sp:arg1 spin:_arg1 ;
sp:arg2 <http://www.epim.no/schemas/mprml/1#ST_permitwithSJA>
] ;
sp:arg2 <http://www.reportinghub.no/ep/schema/production-activity#IssueWorkPermitWithSJA> ;
sp:arg3 [ rdf:type sp:if ;
sp:arg1 [ rdf:type sp:eq ;
sp:arg1 spin:_arg1 ;
sp:arg2 <http://www.epim.no/schemas/mprml/1#ST_spillorleak>
] ;
sp:arg2 <http://www.reportinghub.no/ep/schema/production-activity#SpillOrLeak> ;
sp:arg3 [ rdf:type sp:if ;
sp:arg1 [ rdf:type sp:eq ;
sp:arg1 spin:_arg1 ;
sp:arg2 <http://www.epim.no/schemas/mprml/1#ST_severeaccident>
] ;
sp:arg2 <http://www.reportinghub.no/ep/schema/production-activity#SevereAccident> ;
sp:arg3 [ rdf:type sp:if ;
sp:arg1 [ rdf:type sp:eq ;
sp:arg1 spin:_arg1 ;
sp:arg2 <http://www.epim.no/schemas/mprml/1#ST_sentashore>
] ;
sp:arg2 <http://www.reportinghub.no/ep/schema/production-activity#SentAshore> ;
sp:arg3 [ rdf:type sp:if ;
sp:arg1 [ rdf:type sp:eq ;
sp:arg1 spin:_arg1 ;
sp:arg2 <http://www.epim.no/schemas/mprml/1#ST_hazardreportcard>
] ;
sp:arg2 <http://www.reportinghub.no/ep/schema/production-activity#ReportHazard> ;
sp:arg3 [ rdf:type sp:if ;
sp:arg1 [ rdf:type sp:eq ;
sp:arg1 spin:_arg1 ;
sp:arg2 <http://www.epim.no/schemas/mprml/1#ST_jobobservation>
] ;
sp:arg2 <http://www.reportinghub.no/ep/schema/production-activity#JobObservation> ;
sp:arg3 [ rdf:type sp:if ;
sp:arg1 [ rdf:type sp:eq ;
sp:arg1 spin:_arg1 ;
sp:arg2 <http://www.epim.no/schemas/mprml/1#ST_year-to-dateincidents>
] ;
sp:arg2 <http://www.reportinghub.no/ep/schema/production-activity#Incident> ;
sp:arg3 [ rdf:type sp:if ;
sp:arg1 [ rdf:type sp:eq ;
sp:arg1 spin:_arg1 ;
sp:arg2 <http://www.epim.no/schemas/mprml/1#ST_trafficaccident>
] ;
sp:arg2 <http://www.reportinghub.no/ep/schema/production-activity#TrafficAccident> ;
sp:arg3 <http://www.reportinghub.no/ep/schema/production-activity#HealthSafetyAndEnvironmentActivity>
]
]
]
]
]
]
]
]
]
]
]
]
]
]
]
]
]
]
]
]
] ;
sp:variable
[ sp:varName "safetyActivityType"^^xsd:string
]
])
] .
ep-mpr-spin-lib:selectSalesActivityType
rdf:type spin:Function ;
rdfs:label "select SalesActivityType"^^xsd:string ;
......
......@@ -9,7 +9,9 @@
# imports: http://www.reportinghub.no/ep/transform/1.0/dpr/productionOperations
# imports: http://www.reportinghub.no/ep/transform/1.0/dpr/productionTestResults
# imports: http://www.reportinghub.no/ep/transform/1.0/dpr/wellTest
# imports: http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-comment-v1.1.1
@prefix TRANSFORM_mpr-comment-v1.1: <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-comment-v1.1.1#> .
@prefix dailyProductionActivity: <http://www.reportinghub.no/ep/transform/1.0/dpr/dailyProductionReport#> .
@prefix injectionTestData: <http://www.reportinghub.no/ep/transform/1.0/dpr/injectionTestData#> .
@prefix injectionTestResults: <http://www.reportinghub.no/ep/transform/1.0/dpr/injectionTestResults#> .
......@@ -28,5 +30,5 @@
<http://www.reportinghub.no/ep/transform/1.0/dpr/collector>
rdf:type owl:Ontology ;
owl:imports <http://www.reportinghub.no/ep/transform/1.0/dpr/dailyProductionReport> , <http://www.reportinghub.no/ep/transform/1.0/dpr/productionOperations> , <http://www.reportinghub.no/ep/transform/1.0/dpr/wellTest> , <http://www.reportinghub.no/ep/transform/1.0/dpr/productVolume> , <http://www.reportinghub.no/ep/transform/1.0/dpr/productVolumeReport> , <http://www.reportinghub.no/ep/transform/1.0/dpr/productionTestResults> , <http://www.reportinghub.no/ep/transform/1.0/dpr/injectionTestData> , <http://www.reportinghub.no/ep/schema/1.0/production> , <http://spinrdf.org/spin> , <http://www.reportinghub.no/ep/transform/1.0/dpr/injectionTestResults> ;
owl:imports <http://www.reportinghub.no/ep/transform/1.0/dpr/dailyProductionReport> , <http://www.reportinghub.no/ep/transform/1.0/dpr/productionOperations> , <http://www.reportinghub.no/ep/transform/1.0/dpr/wellTest> , <http://www.reportinghub.no/ep/transform/1.0/dpr/productVolume> , <http://www.reportinghub.no/ep/transform/1.0/dpr/productVolumeReport> , <http://www.reportinghub.no/ep/transform/1.0/dpr/productionTestResults> , <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-comment-v1.1.1> , <http://www.reportinghub.no/ep/transform/1.0/dpr/injectionTestData> , <http://www.reportinghub.no/ep/schema/1.0/production> , <http://www.reportinghub.no/ep/transform/1.0/dpr/injectionTestResults> , <http://spinrdf.org/spin> ;
owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
......
# baseURI: http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-comment-v1.1.1
# imports: http://spinrdf.org/spin
# imports: http://www.epim.no/schemas/mprml/1
# imports: http://www.reportinghub.no/ep/mpr/spin/1.1/lib
# imports: http://www.reportinghub.no/ep/schema/1.0/core
# imports: http://www.reportinghub.no/ep/schema/1.0/flow
# imports: http://www.reportinghub.no/ep/schema/1.0/material
@prefix : <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-comment-v1.1.1#> .
@prefix ep-mpr-spin-lib: <http://www.reportinghub.no/ep/mpr/spin/1.1/lib#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix sp: <http://spinrdf.org/sp#> .
@prefix spin: <http://spinrdf.org/spin#> .
@prefix spl: <http://spinrdf.org/spl#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
<http://www.epim.no/schemas/mprml/1#Cs_datedComment>
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 90203 Set the commentation role (whole life person not set)"^^xsd:string ;
sp:templates ([ sp:object _:b1 ;
sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#commentator> ;
sp:subject
[ sp:varName "commentingActivity"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/production-organization#Person> ;
sp:predicate rdf:type ;
sp:subject _:b1
] [ sp:object _:b2 ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject _:b1
] [ sp:object <http://www.reportinghub.no/ep/schema/production-organization#PersonRole> ;
sp:predicate rdf:type ;
sp:subject _:b2
] [ sp:object
[ sp:varName "personRoleType"^^xsd:string
] ;
sp:predicate rdf:type ;
sp:subject _:b2
] [ sp:object <http://www.reportinghub.no/ep/schema/production-organization#PersonRoleType> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "personRoleType"^^xsd:string
]
] [ sp:object
[ sp:varName "role"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#name> ;
sp:subject
[ sp:varName "personRoleType"^^xsd:string
]
]) ;
sp:where ([ sp:object spin:_this ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ;
sp:subject
[ sp:varName "commentingActivity"^^xsd:string
]
] [ rdf:type sp:NotExists ;
sp:elements ([ sp:object
[ sp:varName "commentator"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#commentator> ;
sp:subject
[ sp:varName "commentingActivity"^^xsd:string
]
])
] [ sp:object
[ sp:varName "role"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#role> ;
sp:subject spin:_this
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-mpr-spin-lib:buildPersonRoleTypeURI ;
sp:arg1 [ sp:varName "role"^^xsd:string
]
] ;
sp:variable
[ sp:varName "personRoleType"^^xsd:string
]
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 90202 Set the commentation role (whole life person set)"^^xsd:string ;
sp:templates ([ sp:object _:b3 ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject
[ sp:varName "commentator"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/production-organization#PersonRole> ;
sp:predicate rdf:type ;
sp:subject _:b3
] [ sp:object
[ sp:varName "personRoleType"^^xsd:string
] ;
sp:predicate rdf:type ;
sp:subject _:b3
] [ sp:object <http://www.reportinghub.no/ep/schema/production-organization#PersonRoleType> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "personRoleType"^^xsd:string
]
] [ sp:object
[ sp:varName "role"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#name> ;
sp:subject
[ sp:varName "personRoleType"^^xsd:string
]
]) ;
sp:where ([ sp:object spin:_this ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ;
sp:subject
[ sp:varName "commentingActivity"^^xsd:string
]
] [ sp:object
[ sp:varName "commentator"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#commentator> ;
sp:subject
[ sp:varName "commentingActivity"^^xsd:string
]
] [ sp:object
[ sp:varName "role"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#role> ;
sp:subject spin:_this
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-mpr-spin-lib:buildPersonRoleTypeURI ;
sp:arg1 [ sp:varName "role"^^xsd:string
]
] ;
sp:variable
[ sp:varName "personRoleType"^^xsd:string
]
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 90201 Set the commentation whole life person"^^xsd:string ;
sp:templates ([ sp:object _:b4 ;
sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#commentator> ;
sp:subject
[ sp:varName "commentingActivity"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/production-organization#Person> ;
sp:predicate rdf:type ;
sp:subject _:b4
] [ sp:object _:b5 ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject _:b4
] [ sp:object <http://www.reportinghub.no/ep/schema/production-organization#WholeLifePerson> ;
sp:predicate rdf:type ;
sp:subject _:b5
] [ sp:object
[ sp:varName "who"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#name> ;
sp:subject _:b5
]) ;
sp:where ([ sp:object spin:_this ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ;
sp:subject
[ sp:varName "commentingActivity"^^xsd:string
]
] [ sp:object
[ sp:varName "who"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#who> ;
sp:subject spin:_this
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 90200 Create the commenting activity"^^xsd:string ;
sp:templates ([ sp:object _:b6 ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#hasPart> ;
sp:subject
[ sp:varName "activityForComment"^^xsd:string
]
] [ sp:object
[ sp:varName "typeOfPartCommentedOn"^^xsd:string
] ;
sp:predicate rdf:type ;
sp:subject _:b6
] [ sp:object
[ sp:varName "dTimStart"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#startedAt> ;
sp:subject _:b6
] [ sp:object
[ sp:varName "dTimEnd"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#finishedAt> ;
sp:subject _:b6
] [ sp:object <http://www.reportinghub.no/ep/schema/production-activity#MakeAComment> ;
sp:predicate rdf:type ;
sp:subject _:b7
] [ sp:object _:b6 ;
sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#commentUpon> ;
sp:subject _:b7
] [ sp:object
[ sp:varName "remark"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#commentMade> ;
sp:subject _:b7
] [ sp:object spin:_this ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ;
sp:subject _:b7
]) ;
sp:where ([ sp:object spin:_this ;
sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#forComment> ;
sp:subject
[ sp:varName "activityForComment"^^xsd:string
]
] [ sp:object spin:_this ;
sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#typeOfPartCommentedOn> ;
sp:subject
[ sp:varName "typeOfPartCommentedOn"^^xsd:string
]
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object
[ sp:varName "dTimStart"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#dTimStart> ;
sp:subject spin:_this
])
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object
[ sp:varName "dTimEnd"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#dTimEnd> ;
sp:subject spin:_this
])
] [ sp:object
[ sp:varName "remark"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#remark> ;
sp:subject spin:_this
])
] .
<http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-comment-v1.1.1>
rdf:type owl:Ontology ;
owl:imports <http://www.reportinghub.no/ep/mpr/spin/1.1/lib> , <http://www.reportinghub.no/ep/schema/1.0/flow> , <http://www.reportinghub.no/ep/schema/1.0/material> , <http://www.reportinghub.no/ep/schema/1.0/core> , <http://www.epim.no/schemas/mprml/1> , <http://spinrdf.org/spin> ;
owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
# baseURI: null
@prefix composite: <http://www.topbraid.org/2007/05/composite.owl#> .
@prefix forms: <http://www.topbraid.org/2007/01/forms.owl#> .
@prefix inference: <http://www.topbraid.org/2007/06/inference.owl#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix visual: <http://topbraid.org/visual#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
[] rdf:type inference:Configuration ;
composite:child
[ rdf:type <http://spinrdf.org/spin#TopSPIN> ;
composite:index "0"^^xsd:int
] .
# baseURI: http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-operationalHSEReport-v1.1.1
# imports: http://spinrdf.org/spin
# imports: http://www.epim.no/schemas/mprml/1
# imports: http://www.reportinghub.no/ep/dpr/spin/1.1/lib
# imports: http://www.reportinghub.no/ep/mpr/spin/1.1/lib
@prefix : <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-operationalHSEReport-v1.1.1#> .
@prefix arg: <http://spinrdf.org/arg#> .
@prefix ep-dpr-spin-lib: <http://www.reportinghub.no/ep/dpr/spin/1.1/lib#> .
@prefix ep-mpr-spin-lib: <http://www.reportinghub.no/ep/mpr/spin/1.1/lib#> .
@prefix ep-spin-lib: <http://www.reportinghub.no/ep/spin/lib#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix rhspin: <http://www.reportinghub.no/spin/rh#> .
@prefix sp: <http://spinrdf.org/sp#> .
@prefix spin: <http://spinrdf.org/spin#> .
@prefix spl: <http://spinrdf.org/spl#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
<http://www.epim.no/schemas/mprml/1#A_Global-Objects>
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 40305 Set the time since most recent defined hazard and accident situation"^^xsd:string ;
sp:templates ([ sp:object _:b1 ;
sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#hasLastPartOfTypeRemainingActivityPair> ;
sp:subject
[ sp:varName "productionOperation"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/production-activity#LastPartOfTypeRemainingActivityPair> ;
sp:predicate rdf:type ;
sp:subject _:b1
] [ sp:object <http://www.reportinghub.no/ep/schema/production-activity#DefinedHazardAndAccidentSituation> ;
sp:predicate <http://www.reportinghub.no/ep/schema/production-core#definingType> ;
sp:subject _:b1
] [ sp:object _:b2 ;
sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#remainingActivity> ;
sp:subject _:b1
] [ sp:object <http://www.reportinghub.no/ep/schema/production-activity#ProductionOperation> ;
sp:predicate rdf:type ;
sp:subject _:b2
] [ sp:object _:b3 ;
sp:predicate rdf:type ;
sp:subject _:b2
] [ sp:object <http://www.reportinghub.no/ep/schema/core#TimeDuration> ;
sp:predicate rdf:type ;
sp:subject _:b3
] [ sp:object
[ sp:varName "realDefinedSituation"^^xsd:string
] ;
sp:predicate
[ sp:varName "sinceDefinedSituationScale"^^xsd:string
] ;
sp:subject _:b3
]) ;
sp:where ([ sp:object spin:_this ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ;
sp:subject
[ sp:varName "productionReport"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/production-report#ProductionOperationReport> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "productionOperationReport"^^xsd:string
]
] [ sp:object
[ sp:varName "productionReport"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#partOf> ;
sp:subject
[ sp:varName "productionOperationReport"^^xsd:string
]
] [ sp:object
[ sp:varName "productionOperationRef"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#objectRef> ;
sp:subject spin:_this
] [ sp:object <http://www.epim.no/schemas/mprml/1#Obj_productionOperation> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "productionOperationRef"^^xsd:string
]
] [ sp:object
[ sp:varName "installationReportRef"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#installationReportRef> ;
sp:subject
[ sp:varName "productionOperationRef"^^xsd:string
]
] [ sp:object
[ sp:varName "installationReportRef"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ;
sp:subject
[ sp:varName "temporalPartOfAProductionFacility"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/facility#TemporalPartOfAProductionFacility> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "temporalPartOfAProductionFacility"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/production-activity#ProductionOperation> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "productionOperation"^^xsd:string
]
] [ sp:object
[ sp:varName "temporalPartOfAProductionFacility"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#onProductionFacility> ;
sp:subject
[ sp:varName "productionOperation"^^xsd:string
]
] [ sp:object
[ sp:varName "sinceDefinedSituationRef"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#sinceDefinedSituationRef> ;
sp:subject
[ sp:varName "operationalHSERef"^^xsd:string
]
] [ sp:object
[ sp:varName "realSinceDefinedSituation"^^xsd:string
] ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject
[ sp:varName "sinceDefinedSituationRef"^^xsd:string
]
] [ sp:object
[ sp:varName "uomSinceDefinedSituation"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#uomRef> ;
sp:subject
[ sp:varName "sinceDefinedSituationRef"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-mpr-spin-lib:selectDurationScale ;
sp:arg1 [ sp:varName "uomSinceDefinedSituation"^^xsd:string
]
] ;
sp:variable
[ sp:varName "sinceDefinedSituationScale"^^xsd:string
]
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 40309 Set the mean time between incidents"^^xsd:string ;
sp:templates ([ sp:object _:b4 ;
sp:predicate <http://www.reportinghub.no/ep/schema/production-core#hasCompositionOfAllPartsOfDefinedType> ;
sp:subject
[ sp:varName "productionOperation"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/production-core#CompositionOfAllPartsOfDefinedType> ;
sp:predicate rdf:type ;
sp:subject _:b4
] [ sp:object <http://www.reportinghub.no/ep/schema/production-activity#AccidentOrInjury> ;
sp:predicate <http://www.reportinghub.no/ep/schema/production-core#definingType> ;
sp:subject _:b4
] [ sp:object _:b5 ;
sp:predicate <http://www.reportinghub.no/ep/schema/production-core#meanTimeBetweenParts> ;
sp:subject _:b4
] [ sp:object <http://www.reportinghub.no/ep/schema/core#TimeDuration> ;
sp:predicate rdf:type ;
sp:subject _:b5
] [ sp:object
[ sp:varName "realMeantimeIncident"^^xsd:string
] ;
sp:predicate
[ sp:varName "meantimeIncidentScale"^^xsd:string
] ;
sp:subject _:b5
]) ;
sp:where ([ sp:object spin:_this ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ;
sp:subject
[ sp:varName "productionReport"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/production-report#ProductionOperationReport> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "productionOperationReport"^^xsd:string
]
] [ sp:object
[ sp:varName "productionReport"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#partOf> ;
sp:subject
[ sp:varName "productionOperationReport"^^xsd:string
]
] [ sp:object
[ sp:varName "productionOperationRef"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#objectRef> ;
sp:subject spin:_this
] [ sp:object <http://www.epim.no/schemas/mprml/1#Obj_productionOperation> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "productionOperationRef"^^xsd:string
]
] [ sp:object
[ sp:varName "installationReportRef"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#installationReportRef> ;
sp:subject
[ sp:varName "productionOperationRef"^^xsd:string
]
] [ sp:object
[ sp:varName "installationReportRef"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ;
sp:subject
[ sp:varName "temporalPartOfAProductionFacility"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/facility#TemporalPartOfAProductionFacility> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "temporalPartOfAProductionFacility"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/production-activity#ProductionOperation> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "productionOperation"^^xsd:string
]
] [ sp:object
[ sp:varName "temporalPartOfAProductionFacility"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#onProductionFacility> ;
sp:subject
[ sp:varName "productionOperation"^^xsd:string
]
] [ sp:object
[ sp:varName "operationalHSERef"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#operationalHSERef> ;
sp:subject
[ sp:varName "installationReportRef"^^xsd:string
]
] [ sp:object
[ sp:varName "safetyRef"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#safetyRef> ;
sp:subject
[ sp:varName "operationalHSERef"^^xsd:string
]
] [ sp:object
[ sp:varName "meantimeIncidentRef"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#meantimeIncidentRef> ;
sp:subject
[ sp:varName "safetyRef"^^xsd:string
]
] [ sp:object
[ sp:varName "realMeantimeIncident"^^xsd:string
] ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject
[ sp:varName "meantimeIncidentRef"^^xsd:string
]
] [ sp:object
[ sp:varName "uomMeantimeIncident"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#uomRef> ;
sp:subject
[ sp:varName "meantimeIncidentRef"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-mpr-spin-lib:selectDurationScale ;
sp:arg1 [ sp:varName "uomMeantimeIncident"^^xsd:string
]
] ;
sp:variable
[ sp:varName "meantimeIncidentScale"^^xsd:string
]
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 40307 Set the number of number of medical treatments"^^xsd:string ;
sp:templates ([ sp:object _:b6 ;
sp:predicate <http://www.reportinghub.no/ep/schema/production-core#hasSetOfAllPartsOfDefinedType> ;
sp:subject
[ sp:varName "productionOperation"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/production-core#SetOfAllPartsOfDefinedType> ;
sp:predicate rdf:type ;
sp:subject _:b6
] [ sp:object <http://www.reportinghub.no/ep/schema/production-activity#MedicalTreatment> ;
sp:predicate <http://www.reportinghub.no/ep/schema/production-core#definingType> ;
sp:subject _:b6
] [ sp:object
[ sp:varName "medicalTreatmentCount"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/production-core#numberInSet> ;
sp:subject _:b6
]) ;
sp:where ([ sp:object spin:_this ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ;
sp:subject
[ sp:varName "productionReport"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/production-report#ProductionOperationReport> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "productionOperationReport"^^xsd:string
]
] [ sp:object
[ sp:varName "productionReport"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#partOf> ;
sp:subject
[ sp:varName "productionOperationReport"^^xsd:string
]
] [ sp:object
[ sp:varName "productionOperationRef"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#objectRef> ;
sp:subject spin:_this
] [ sp:object <http://www.epim.no/schemas/mprml/1#Obj_productionOperation> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "productionOperationRef"^^xsd:string
]
] [ sp:object
[ sp:varName "installationReportRef"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#installationReportRef> ;
sp:subject
[ sp:varName "productionOperationRef"^^xsd:string
]
] [ sp:object
[ sp:varName "installationReportRef"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ;
sp:subject
[ sp:varName "temporalPartOfAProductionFacility"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/facility#TemporalPartOfAProductionFacility> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "temporalPartOfAProductionFacility"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/production-activity#ProductionOperation> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "productionOperation"^^xsd:string
]
] [ sp:object
[ sp:varName "temporalPartOfAProductionFacility"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#onProductionFacility> ;
sp:subject
[ sp:varName "productionOperation"^^xsd:string
]
] [ sp:object
[ sp:varName "operationalHSERef"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#operationalHSERef> ;
sp:subject
[ sp:varName "installationReportRef"^^xsd:string
]
] [ sp:object
[ sp:varName "medicalTreatmentCount"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#medicalTreatmentCount> ;
sp:subject
[ sp:varName "operationalHSERef"^^xsd:string
]
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 40301 Set the number of personnel safety introductions"^^xsd:string ;
sp:templates ([ sp:object _:b7 ;
sp:predicate <http://www.reportinghub.no/ep/schema/production-core#hasSetOfAllPartsOfDefinedType> ;
sp:subject
[ sp:varName "productionOperation"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/production-core#SetOfAllPartsOfDefinedType> ;
sp:predicate rdf:type ;
sp:subject _:b7
] [ sp:object <http://www.reportinghub.no/ep/schema/production-activity#PersonnelSafetyIntroduction> ;
sp:predicate <http://www.reportinghub.no/ep/schema/production-core#definingType> ;
sp:subject _:b7
] [ sp:object
[ sp:varName "safetyIntroCount"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/production-core#numberInSet> ;
sp:subject _:b7
]) ;
sp:where ([ sp:object spin:_this ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ;
sp:subject
[ sp:varName "productionReport"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/production-report#ProductionOperationReport> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "productionOperationReport"^^xsd:string
]
] [ sp:object
[ sp:varName "productionReport"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#partOf> ;
sp:subject
[ sp:varName "productionOperationReport"^^xsd:string
]
] [ sp:object
[ sp:varName "productionOperationRef"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#objectRef> ;
sp:subject spin:_this
] [ sp:object <http://www.epim.no/schemas/mprml/1#Obj_productionOperation> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "productionOperationRef"^^xsd:string
]
] [ sp:object
[ sp:varName "installationReportRef"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#installationReportRef> ;
sp:subject
[ sp:varName "productionOperationRef"^^xsd:string
]
] [ sp:object
[ sp:varName "installationReportRef"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ;
sp:subject
[ sp:varName "temporalPartOfAProductionFacility"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/facility#TemporalPartOfAProductionFacility> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "temporalPartOfAProductionFacility"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/production-activity#ProductionOperation> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "productionOperation"^^xsd:string
]
] [ sp:object
[ sp:varName "temporalPartOfAProductionFacility"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#onProductionFacility> ;
sp:subject
[ sp:varName "productionOperation"^^xsd:string
]
] [ sp:object
[ sp:varName "operationalHSERef"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#operationalHSERef> ;
sp:subject
[ sp:varName "installationReportRef"^^xsd:string
]
] [ sp:object
[ sp:varName "safetyIntroCount"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#safetyIntroCount> ;
sp:subject
[ sp:varName "operationalHSERef"^^xsd:string
]
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 40308 Set the number of number of alarms"^^xsd:string ;
sp:templates ([ sp:object _:b8 ;
sp:predicate <http://www.reportinghub.no/ep/schema/production-core#hasSetOfAllPartsOfDefinedType> ;
sp:subject
[ sp:varName "productionOperation"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/production-core#SetOfAllPartsOfDefinedType> ;
sp:predicate rdf:type ;
sp:subject _:b8
] [ sp:object <http://www.reportinghub.no/ep/schema/production-activity#Alarm> ;
sp:predicate <http://www.reportinghub.no/ep/schema/production-core#definingType> ;
sp:subject _:b8
] [ sp:object
[ sp:varName "alarmCount"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/production-core#numberInSet> ;
sp:subject _:b8
]) ;
sp:where ([ sp:object spin:_this ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ;
sp:subject
[ sp:varName "productionReport"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/production-report#ProductionOperationReport> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "productionOperationReport"^^xsd:string
]
] [ sp:object
[ sp:varName "productionReport"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#partOf> ;
sp:subject
[ sp:varName "productionOperationReport"^^xsd:string
]
] [ sp:object
[ sp:varName "productionOperationRef"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#objectRef> ;
sp:subject spin:_this
] [ sp:object <http://www.epim.no/schemas/mprml/1#Obj_productionOperation> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "productionOperationRef"^^xsd:string
]
] [ sp:object
[ sp:varName "installationReportRef"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#installationReportRef> ;
sp:subject
[ sp:varName "productionOperationRef"^^xsd:string
]
] [ sp:object
[ sp:varName "installationReportRef"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ;
sp:subject
[ sp:varName "temporalPartOfAProductionFacility"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/facility#TemporalPartOfAProductionFacility> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "temporalPartOfAProductionFacility"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/production-activity#ProductionOperation> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "productionOperation"^^xsd:string
]
] [ sp:object
[ sp:varName "temporalPartOfAProductionFacility"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#onProductionFacility> ;
sp:subject
[ sp:varName "productionOperation"^^xsd:string
]
] [ sp:object
[ sp:varName "operationalHSERef"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#operationalHSERef> ;
sp:subject
[ sp:varName "installationReportRef"^^xsd:string
]
] [ sp:object
[ sp:varName "alarmCount"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#alarmCount> ;
sp:subject
[ sp:varName "operationalHSERef"^^xsd:string
]
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment """STEP 40311 Set the safety counts - for year to date incidents
period not processed"""^^xsd:string ;
sp:templates ([ sp:object _:b9 ;
sp:predicate <http://www.reportinghub.no/ep/schema/production-core#hasSetOfAllPartsOfDefinedType> ;
sp:subject
[ sp:varName "annualProductionOperationToDate"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/production-core#SetOfAllPartsOfDefinedType> ;
sp:predicate rdf:type ;
sp:subject _:b9
] [ sp:object <http://www.reportinghub.no/ep/schema/production-activity#Incident> ;
sp:predicate <http://www.reportinghub.no/ep/schema/production-core#definingType> ;
sp:subject _:b9
] [ sp:object
[ sp:varName "safetyCount"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/production-core#numberInSet> ;
sp:subject _:b9
]) ;
sp:where ([ sp:object spin:_this ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ;
sp:subject
[ sp:varName "productionReport"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/production-report#ProductionOperationReport> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "productionOperationReport"^^xsd:string
]
] [ sp:object
[ sp:varName "productionReport"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#partOf> ;
sp:subject
[ sp:varName "productionOperationReport"^^xsd:string
]
] [ sp:object
[ sp:varName "productionOperationRef"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#objectRef> ;
sp:subject spin:_this
] [ sp:object <http://www.epim.no/schemas/mprml/1#Obj_productionOperation> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "productionOperationRef"^^xsd:string
]
] [ sp:object
[ sp:varName "installationReportRef"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#installationReportRef> ;
sp:subject
[ sp:varName "productionOperationRef"^^xsd:string
]
] [ sp:object
[ sp:varName "installationReportRef"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ;
sp:subject
[ sp:varName "temporalPartOfAProductionFacility"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/facility#TemporalPartOfAProductionFacility> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "temporalPartOfAProductionFacility"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/production-activity#ProductionOperation> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "productionOperation"^^xsd:string
]
] [ sp:object
[ sp:varName "temporalPartOfAProductionFacility"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#onProductionFacility> ;
sp:subject
[ sp:varName "productionOperation"^^xsd:string
]
] [ sp:object
[ sp:varName "annualProductionOperationToDate"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject
[ sp:varName "productionOperation"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/production-activity#AnnualProductionOperationToDate> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "annualProductionOperationToDate"^^xsd:string
]
] [ sp:object
[ sp:varName "operationalHSERef"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#operationalHSERef> ;
sp:subject
[ sp:varName "installationReportRef"^^xsd:string
]
] [ sp:object
[ sp:varName "safetyRef"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#safetyRef> ;
sp:subject
[ sp:varName "operationalHSERef"^^xsd:string
]
] [ sp:object
[ sp:varName "safetyCountRef"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#safetyCountRef> ;
sp:subject
[ sp:varName "safetyRef"^^xsd:string
]
] [ sp:object
[ sp:varName "safetyCount"^^xsd:string
] ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject
[ sp:varName "safetyCountRef"^^xsd:string
]
] [ sp:object <http://www.epim.no/schemas/mprml/1#ST_year-to-dateincidents> ;
sp:predicate <http://www.epim.no/schemas/mprml/1#typeRef> ;
sp:subject
[ sp:varName "safetyCountRef"^^xsd:string
]
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object
[ sp:varName "reportingPeriod"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#periodRef> ;
sp:subject
[ sp:varName "safetyCountRef"^^xsd:string
]
])
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 40306 Set the number of number of accidents and injuries"^^xsd:string ;
sp:templates ([ sp:object _:b10 ;
sp:predicate <http://www.reportinghub.no/ep/schema/production-core#hasSetOfAllPartsOfDefinedType> ;
sp:subject
[ sp:varName "productionOperation"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/production-core#SetOfAllPartsOfDefinedType> ;
sp:predicate rdf:type ;
sp:subject _:b10
] [ sp:object <http://www.reportinghub.no/ep/schema/production-activity#AccidentOrInjury> ;
sp:predicate <http://www.reportinghub.no/ep/schema/production-core#definingType> ;
sp:subject _:b10
] [ sp:object
[ sp:varName "incidentCount"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/production-core#numberInSet> ;
sp:subject _:b10
]) ;
sp:where ([ sp:object spin:_this ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ;
sp:subject
[ sp:varName "productionReport"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/production-report#ProductionOperationReport> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "productionOperationReport"^^xsd:string
]
] [ sp:object
[ sp:varName "productionReport"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#partOf> ;
sp:subject
[ sp:varName "productionOperationReport"^^xsd:string
]
] [ sp:object
[ sp:varName "productionOperationRef"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#objectRef> ;
sp:subject spin:_this
] [ sp:object <http://www.epim.no/schemas/mprml/1#Obj_productionOperation> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "productionOperationRef"^^xsd:string
]
] [ sp:object
[ sp:varName "installationReportRef"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#installationReportRef> ;
sp:subject
[ sp:varName "productionOperationRef"^^xsd:string
]
] [ sp:object
[ sp:varName "installationReportRef"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ;
sp:subject
[ sp:varName "temporalPartOfAProductionFacility"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/facility#TemporalPartOfAProductionFacility> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "temporalPartOfAProductionFacility"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/production-activity#ProductionOperation> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "productionOperation"^^xsd:string
]
] [ sp:object
[ sp:varName "temporalPartOfAProductionFacility"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#onProductionFacility> ;
sp:subject
[ sp:varName "productionOperation"^^xsd:string
]
] [ sp:object
[ sp:varName "operationalHSERef"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#operationalHSERef> ;
sp:subject
[ sp:varName "installationReportRef"^^xsd:string
]
] [ sp:object
[ sp:varName "incidentCount"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#incidentCount> ;
sp:subject
[ sp:varName "operationalHSERef"^^xsd:string
]
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 40304 Set the time since most recent accident prevention exercise"^^xsd:string ;
sp:templates ([ sp:object _:b11 ;
sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#hasLastPartOfTypeRemainingActivityPair> ;
sp:subject
[ sp:varName "productionOperation"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/production-activity#LastPartOfTypeRemainingActivityPair> ;
sp:predicate rdf:type ;
sp:subject _:b11
] [ sp:object <http://www.reportinghub.no/ep/schema/production-activity#AccidentPreventionExercise> ;
sp:predicate <http://www.reportinghub.no/ep/schema/production-core#definingType> ;
sp:subject _:b11
] [ sp:object _:b12 ;
sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#remainingActivity> ;
sp:subject _:b11
] [ sp:object <http://www.reportinghub.no/ep/schema/production-activity#ProductionOperation> ;
sp:predicate rdf:type ;
sp:subject _:b12
] [ sp:object _:b13 ;
sp:predicate rdf:type ;
sp:subject _:b12
] [ sp:object <http://www.reportinghub.no/ep/schema/core#TimeDuration> ;
sp:predicate rdf:type ;
sp:subject _:b13
] [ sp:object
[ sp:varName "realSincePreventionExercise"^^xsd:string
] ;
sp:predicate
[ sp:varName "sincePreventionExerciseScale"^^xsd:string
] ;
sp:subject _:b13
]) ;
sp:where ([ sp:object spin:_this ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ;
sp:subject
[ sp:varName "productionReport"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/production-report#ProductionOperationReport> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "productionOperationReport"^^xsd:string
]
] [ sp:object
[ sp:varName "productionReport"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#partOf> ;
sp:subject
[ sp:varName "productionOperationReport"^^xsd:string
]
] [ sp:object
[ sp:varName "productionOperationRef"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#objectRef> ;
sp:subject spin:_this
] [ sp:object <http://www.epim.no/schemas/mprml/1#Obj_productionOperation> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "productionOperationRef"^^xsd:string
]
] [ sp:object
[ sp:varName "installationReportRef"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#installationReportRef> ;
sp:subject
[ sp:varName "productionOperationRef"^^xsd:string
]
] [ sp:object
[ sp:varName "installationReportRef"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ;
sp:subject
[ sp:varName "temporalPartOfAProductionFacility"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/facility#TemporalPartOfAProductionFacility> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "temporalPartOfAProductionFacility"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/production-activity#ProductionOperation> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "productionOperation"^^xsd:string
]
] [ sp:object
[ sp:varName "temporalPartOfAProductionFacility"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#onProductionFacility> ;
sp:subject
[ sp:varName "productionOperation"^^xsd:string
]
] [ sp:object
[ sp:varName "sincePreventionExerciseRef"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#sincePreventionExerciseRef> ;
sp:subject
[ sp:varName "operationalHSERef"^^xsd:string
]
] [ sp:object
[ sp:varName "realSincePreventionExercise"^^xsd:string
] ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject
[ sp:varName "sincePreventionExerciseRef"^^xsd:string
]
] [ sp:object
[ sp:varName "uomSincePreventionExercise"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#uomRef> ;
sp:subject
[ sp:varName "sincePreventionExerciseRef"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-mpr-spin-lib:selectDurationScale ;
sp:arg1 [ sp:varName "uomSincePreventionExercise"^^xsd:string
]
] ;
sp:variable
[ sp:varName "sincePreventionExerciseScale"^^xsd:string
]
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 40302 Set the safety consideration description"^^xsd:string ;
sp:templates ([ sp:object _:b14 ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#hasPart> ;
sp:subject
[ sp:varName "productionOperation"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/production-activity#SafetyConsideration> ;
sp:predicate rdf:type ;
sp:subject _:b14
] [ sp:object
[ sp:varName "safetyDescription"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#description> ;
sp:subject _:b14
]) ;
sp:where ([ sp:object spin:_this ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ;
sp:subject
[ sp:varName "productionReport"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/production-report#ProductionOperationReport> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "productionOperationReport"^^xsd:string
]
] [ sp:object
[ sp:varName "productionReport"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#partOf> ;
sp:subject
[ sp:varName "productionOperationReport"^^xsd:string
]
] [ sp:object
[ sp:varName "productionOperationRef"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#objectRef> ;
sp:subject spin:_this
] [ sp:object <http://www.epim.no/schemas/mprml/1#Obj_productionOperation> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "productionOperationRef"^^xsd:string
]
] [ sp:object
[ sp:varName "installationReportRef"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#installationReportRef> ;
sp:subject
[ sp:varName "productionOperationRef"^^xsd:string
]
] [ sp:object
[ sp:varName "installationReportRef"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ;
sp:subject
[ sp:varName "temporalPartOfAProductionFacility"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/facility#TemporalPartOfAProductionFacility> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "temporalPartOfAProductionFacility"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/production-activity#ProductionOperation> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "productionOperation"^^xsd:string
]
] [ sp:object
[ sp:varName "temporalPartOfAProductionFacility"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#onProductionFacility> ;
sp:subject
[ sp:varName "productionOperation"^^xsd:string
]
] [ sp:object
[ sp:varName "safetyDescription"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#safetyDescription> ;
sp:subject
[ sp:varName "operationalHSERef"^^xsd:string
]
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 40303 Set the time since most recent lost time accident"^^xsd:string ;
sp:templates ([ sp:object _:b15 ;
sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#hasLastPartOfTypeRemainingActivityPair> ;
sp:subject
[ sp:varName "productionOperation"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/production-activity#LastPartOfTypeRemainingActivityPair> ;
sp:predicate rdf:type ;
sp:subject _:b15
] [ sp:object <http://www.reportinghub.no/ep/schema/production-activity#LostTimeAccident> ;
sp:predicate <http://www.reportinghub.no/ep/schema/production-core#definingType> ;
sp:subject _:b15
] [ sp:object _:b16 ;
sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#remainingActivity> ;
sp:subject _:b15
] [ sp:object <http://www.reportinghub.no/ep/schema/production-activity#ProductionOperation> ;
sp:predicate rdf:type ;
sp:subject _:b16
] [ sp:object _:b17 ;
sp:predicate rdf:type ;
sp:subject _:b16
] [ sp:object <http://www.reportinghub.no/ep/schema/core#TimeDuration> ;
sp:predicate rdf:type ;
sp:subject _:b17
] [ sp:object
[ sp:varName "realSinceLostTime"^^xsd:string
] ;
sp:predicate
[ sp:varName "sinceLostTimeScale"^^xsd:string
] ;
sp:subject _:b17
]) ;
sp:where ([ sp:object spin:_this ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ;
sp:subject
[ sp:varName "productionReport"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/production-report#ProductionOperationReport> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "productionOperationReport"^^xsd:string
]
] [ sp:object
[ sp:varName "productionReport"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#partOf> ;
sp:subject
[ sp:varName "productionOperationReport"^^xsd:string
]
] [ sp:object
[ sp:varName "productionOperationRef"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#objectRef> ;
sp:subject spin:_this
] [ sp:object <http://www.epim.no/schemas/mprml/1#Obj_productionOperation> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "productionOperationRef"^^xsd:string
]
] [ sp:object
[ sp:varName "installationReportRef"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#installationReportRef> ;
sp:subject
[ sp:varName "productionOperationRef"^^xsd:string
]
] [ sp:object
[ sp:varName "installationReportRef"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ;
sp:subject
[ sp:varName "temporalPartOfAProductionFacility"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/facility#TemporalPartOfAProductionFacility> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "temporalPartOfAProductionFacility"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/production-activity#ProductionOperation> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "productionOperation"^^xsd:string
]
] [ sp:object
[ sp:varName "temporalPartOfAProductionFacility"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#onProductionFacility> ;
sp:subject
[ sp:varName "productionOperation"^^xsd:string
]
] [ sp:object
[ sp:varName "sinceLostTimeRef"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#sinceLostTimeRef> ;
sp:subject
[ sp:varName "operationalHSERef"^^xsd:string
]
] [ sp:object
[ sp:varName "realSinceLostTime"^^xsd:string
] ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject
[ sp:varName "sinceLostTimeRef"^^xsd:string
]
] [ sp:object
[ sp:varName "uomSinceLostTime"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#uomRef> ;
sp:subject
[ sp:varName "sinceLostTimeRef"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-mpr-spin-lib:selectDurationScale ;
sp:arg1 [ sp:varName "uomSinceLostTime"^^xsd:string
]
] ;
sp:variable
[ sp:varName "sinceLostTimeScale"^^xsd:string
]
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment """STEP 40310 Set the safety counts - except year to date incidents
period not processed"""^^xsd:string ;
sp:templates ([ sp:object _:b18 ;
sp:predicate <http://www.reportinghub.no/ep/schema/production-core#hasSetOfAllPartsOfDefinedType> ;
sp:subject
[ sp:varName "productionOperation"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/production-core#SetOfAllPartsOfDefinedType> ;
sp:predicate rdf:type ;
sp:subject _:b18
] [ sp:object
[ sp:varName "safetyActivityType"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/production-core#definingType> ;
sp:subject _:b18
] [ sp:object
[ sp:varName "safetyCount"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/production-core#numberInSet> ;
sp:subject _:b18
]) ;
sp:where ([ sp:object spin:_this ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ;
sp:subject
[ sp:varName "productionReport"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/production-report#ProductionOperationReport> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "productionOperationReport"^^xsd:string
]
] [ sp:object
[ sp:varName "productionReport"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#partOf> ;
sp:subject
[ sp:varName "productionOperationReport"^^xsd:string
]
] [ sp:object
[ sp:varName "productionOperationRef"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#objectRef> ;
sp:subject spin:_this
] [ sp:object <http://www.epim.no/schemas/mprml/1#Obj_productionOperation> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "productionOperationRef"^^xsd:string
]
] [ sp:object
[ sp:varName "installationReportRef"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#installationReportRef> ;
sp:subject
[ sp:varName "productionOperationRef"^^xsd:string
]
] [ sp:object
[ sp:varName "installationReportRef"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ;
sp:subject
[ sp:varName "temporalPartOfAProductionFacility"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/facility#TemporalPartOfAProductionFacility> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "temporalPartOfAProductionFacility"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/production-activity#ProductionOperation> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "productionOperation"^^xsd:string
]
] [ sp:object
[ sp:varName "temporalPartOfAProductionFacility"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#onProductionFacility> ;
sp:subject
[ sp:varName "productionOperation"^^xsd:string
]
] [ sp:object
[ sp:varName "operationalHSERef"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#operationalHSERef> ;
sp:subject
[ sp:varName "installationReportRef"^^xsd:string
]
] [ sp:object
[ sp:varName "safetyRef"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#safetyRef> ;
sp:subject
[ sp:varName "operationalHSERef"^^xsd:string
]
] [ sp:object
[ sp:varName "safetyCountRef"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#safetyCountRef> ;
sp:subject
[ sp:varName "safetyRef"^^xsd:string
]
] [ sp:object
[ sp:varName "safetyCount"^^xsd:string
] ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject
[ sp:varName "safetyCountRef"^^xsd:string
]
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object
[ sp:varName "safetyTypeRef"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#typeRef> ;
sp:subject
[ sp:varName "safetyCountRef"^^xsd:string
]
])
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object
[ sp:varName "reportingPeriod"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#periodRef> ;
sp:subject
[ sp:varName "safetyCountRef"^^xsd:string
]
])
] [ rdf:type sp:NotExists ;
sp:elements ([ sp:object <http://www.epim.no/schemas/mprml/1#ST_year-to-dateincidents> ;
sp:predicate <http://www.epim.no/schemas/mprml/1#typeRef> ;
sp:subject
[ sp:varName "safetyCountRef"^^xsd:string
]
])
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-mpr-spin-lib:selectSafetyActivityType ;
sp:arg1 [ sp:varName "safetyTypeRef"^^xsd:string
]
] ;
sp:variable
[ sp:varName "safetyActivityType"^^xsd:string
]
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment """STEP 40312 Set the whole activity and the type of part activity for comment
period not processed"""^^xsd:string ;
sp:templates ([ sp:object
[ sp:varName "commentRef"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#forComment> ;
sp:subject
[ sp:varName "productionOperation"^^xsd:string
]
] [ sp:object
[ sp:varName "commentRef"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#typeOfPartCommentedOn> ;
sp:subject <http://www.reportinghub.no/ep/schema/production-activity#HealthSafetyAndEnvironmentActivity>
]) ;
sp:where ([ sp:object spin:_this ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ;
sp:subject
[ sp:varName "productionReport"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/production-report#ProductionOperationReport> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "productionOperationReport"^^xsd:string
]
] [ sp:object
[ sp:varName "productionReport"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#partOf> ;
sp:subject
[ sp:varName "productionOperationReport"^^xsd:string
]
] [ sp:object
[ sp:varName "productionOperationRef"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#objectRef> ;
sp:subject spin:_this
] [ sp:object <http://www.epim.no/schemas/mprml/1#Obj_productionOperation> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "productionOperationRef"^^xsd:string
]
] [ sp:object
[ sp:varName "installationReportRef"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#installationReportRef> ;
sp:subject
[ sp:varName "productionOperationRef"^^xsd:string
]
] [ sp:object
[ sp:varName "installationReportRef"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ;
sp:subject
[ sp:varName "temporalPartOfAProductionFacility"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/facility#TemporalPartOfAProductionFacility> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "temporalPartOfAProductionFacility"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/production-activity#ProductionOperation> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "productionOperation"^^xsd:string
]
] [ sp:object
[ sp:varName "temporalPartOfAProductionFacility"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#onProductionFacility> ;
sp:subject
[ sp:varName "productionOperation"^^xsd:string
]
] [ sp:object
[ sp:varName "annualProductionOperationToDate"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject
[ sp:varName "productionOperation"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/production-activity#AnnualProductionOperationToDate> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "annualProductionOperationToDate"^^xsd:string
]
] [ sp:object
[ sp:varName "operationalHSERef"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#operationalHSERef> ;
sp:subject
[ sp:varName "installationReportRef"^^xsd:string
]
] [ sp:object
[ sp:varName "safetyRef"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#safetyRef> ;
sp:subject
[ sp:varName "operationalHSERef"^^xsd:string
]
] [ sp:object
[ sp:varName "commentRef"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#commentRef> ;
sp:subject
[ sp:varName "safetyRef"^^xsd:string
]
])
] .
<http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-operationalHSEReport-v1.1.1>
rdf:type owl:Ontology ;
owl:imports <http://www.reportinghub.no/ep/mpr/spin/1.1/lib> , <http://www.epim.no/schemas/mprml/1> , <http://spinrdf.org/spin> , <http://www.reportinghub.no/ep/dpr/spin/1.1/lib> ;
owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
# baseURI: null
@prefix composite: <http://www.topbraid.org/2007/05/composite.owl#> .
@prefix forms: <http://www.topbraid.org/2007/01/forms.owl#> .
@prefix inference: <http://www.topbraid.org/2007/06/inference.owl#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix visual: <http://topbraid.org/visual#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
[] rdf:type inference:Configuration ;
composite:child
[ rdf:type <http://spinrdf.org/spin#TopSPIN> ;
composite:index "0"^^xsd:int
] .
......@@ -21,20 +21,19 @@
<http://www.epim.no/schemas/mprml/1#A_Global-Objects>
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 40202 Create the ProductionOperationInjection activity"^^xsd:string ;
sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/production-activity#ProductionOperationInjection> ;
sp:predicate rdf:type ;
sp:subject _:b1
] [ sp:object
[ sp:varName "productionOperationProductionAndInjection"^^xsd:string
rdfs:comment "STEP 40207 Set the marine operation activity comment"^^xsd:string ;
sp:templates ([ sp:object
[ sp:varName "activityRef"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#partOf> ;
sp:subject _:b1
sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#forComment> ;
sp:subject
[ sp:varName "marineOperation"^^xsd:string
]
] [ sp:object
[ sp:varName "lostInjectionRef"^^xsd:string
[ sp:varName "activityRef"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ;
sp:subject _:b1
sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#typeOfPartCommentedOn> ;
sp:subject <http://www.reportinghub.no/ep/schema/production-activity#MarineOperation>
]) ;
sp:where ([ sp:object
[ sp:varName "productionOperationRef"^^xsd:string
......@@ -80,18 +79,6 @@
[ sp:varName "productionOperation"^^xsd:string
]
] [ sp:object
[ sp:varName "productionOperation"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#partOf> ;
sp:subject
[ sp:varName "productionOperationProductionAndInjection"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/production-activity#ProductionOperationProductionAndInjection> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "productionOperationProductionAndInjection"^^xsd:string
]
] [ sp:object
[ sp:varName "productionActivityRef"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#productionActivityRef> ;
......@@ -99,44 +86,45 @@
[ sp:varName "installationReportRef"^^xsd:string
]
] [ sp:object
[ sp:varName "lostInjectionRef"^^xsd:string
[ sp:varName "marineOperationRef"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#lostInjectionRef> ;
sp:predicate <http://www.epim.no/schemas/mprml/1#marineOperationRef> ;
sp:subject
[ sp:varName "productionActivityRef"^^xsd:string
]
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 40200 Create the ProductionOperationProductionAndInjection activity"^^xsd:string ;
sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/production-activity#ProductionOperationProductionAndInjection> ;
sp:predicate rdf:type ;
sp:subject _:b2
] [ sp:object
[ sp:varName "productionOperation"^^xsd:string
[ sp:varName "marineOperationRef"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#partOf> ;
sp:subject _:b2
]) ;
sp:where ([ sp:object spin:_this ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ;
sp:subject
[ sp:varName "productionReport"^^xsd:string
[ sp:varName "marineOperation"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/production-report#ProductionOperationReport> ;
sp:predicate rdf:type ;
] [ sp:object
[ sp:varName "activityRef"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#activityRef> ;
sp:subject
[ sp:varName "productionOperationReport"^^xsd:string
[ sp:varName "marineOperationRef"^^xsd:string
]
] [ sp:object
[ sp:varName "productionReport"^^xsd:string
])
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#partOf> ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 40206 Set the basket movement comment"^^xsd:string ;
sp:templates ([ sp:object
[ sp:varName "basketMovementRef"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#forComment> ;
sp:subject
[ sp:varName "productionOperationReport"^^xsd:string
[ sp:varName "marineOperation"^^xsd:string
]
] [ sp:object
[ sp:varName "basketMovementRef"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#typeOfPartCommentedOn> ;
sp:subject <http://www.reportinghub.no/ep/schema/production-activity#BasketMovement>
]) ;
sp:where ([ sp:object
[ sp:varName "productionOperationRef"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#objectRef> ;
......@@ -186,24 +174,44 @@
sp:subject
[ sp:varName "installationReportRef"^^xsd:string
]
] [ sp:object
[ sp:varName "marineOperationRef"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#marineOperationRef> ;
sp:subject
[ sp:varName "productionActivityRef"^^xsd:string
]
] [ sp:object
[ sp:varName "marineOperationRef"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ;
sp:subject
[ sp:varName "marineOperation"^^xsd:string
]
] [ sp:object
[ sp:varName "basketMovementRef"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#basketMovementRef> ;
sp:subject
[ sp:varName "marineOperationRef"^^xsd:string
]
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 40201 Create the ProductionOperationProduction activity"^^xsd:string ;
sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/production-activity#ProductionOperationProduction> ;
sp:predicate rdf:type ;
sp:subject _:b3
] [ sp:object
[ sp:varName "productionOperationProductionAndInjection"^^xsd:string
rdfs:comment "STEP 40205 Set the supply ship operation comment"^^xsd:string ;
sp:templates ([ sp:object
[ sp:varName "standbyVesselCommentRef"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#partOf> ;
sp:subject _:b3
sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#forComment> ;
sp:subject
[ sp:varName "marineOperation"^^xsd:string
]
] [ sp:object
[ sp:varName "lostProductionRef"^^xsd:string
[ sp:varName "standbyVesselCommentRef"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ;
sp:subject _:b3
sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#typeOfPartCommentedOn> ;
sp:subject <http://www.reportinghub.no/ep/schema/production-activity#StandbyVesselOperation>
]) ;
sp:where ([ sp:object
[ sp:varName "productionOperationRef"^^xsd:string
......@@ -249,222 +257,402 @@
[ sp:varName "productionOperation"^^xsd:string
]
] [ sp:object
[ sp:varName "productionOperation"^^xsd:string
[ sp:varName "productionActivityRef"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#partOf> ;
sp:predicate <http://www.epim.no/schemas/mprml/1#productionActivityRef> ;
sp:subject
[ sp:varName "productionOperationProductionAndInjection"^^xsd:string
[ sp:varName "installationReportRef"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/production-activity#ProductionOperationProductionAndInjection> ;
sp:predicate rdf:type ;
] [ sp:object
[ sp:varName "marineOperationRef"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#marineOperationRef> ;
sp:subject
[ sp:varName "productionOperationProductionAndInjection"^^xsd:string
[ sp:varName "productionActivityRef"^^xsd:string
]
] [ sp:object
[ sp:varName "productionActivityRef"^^xsd:string
[ sp:varName "marineOperationRef"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#productionActivityRef> ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ;
sp:subject
[ sp:varName "installationReportRef"^^xsd:string
[ sp:varName "marineOperation"^^xsd:string
]
] [ sp:object
[ sp:varName "lostProductionRef"^^xsd:string
[ sp:varName "standbyVesselCommentRef"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#lostProductionRef> ;
sp:predicate <http://www.epim.no/schemas/mprml/1#standbyVesselCommentRef> ;
sp:subject
[ sp:varName "productionActivityRef"^^xsd:string
[ sp:varName "marineOperationRef"^^xsd:string
]
])
] .
<http://www.epim.no/schemas/mprml/1#Cs_productionOperationLostProduction>
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 40291 Create the ProductionOperationProcessing - loss contributing activities"^^xsd:string ;
rdfs:comment "STEP 40204 Set the supply ship operation comment"^^xsd:string ;
sp:templates ([ sp:object
[ sp:varName "reasonForLossOfProcessingType"^^xsd:string
[ sp:varName "supplyShipCommentRef"^^xsd:string
] ;
sp:predicate rdf:type ;
sp:subject _:b4
sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#forComment> ;
sp:subject
[ sp:varName "marineOperation"^^xsd:string
]
] [ sp:object
[ sp:varName "productionOperationProcessing"^^xsd:string
[ sp:varName "supplyShipCommentRef"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#partOf> ;
sp:subject _:b4
] [ sp:object _:b5 ;
sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#processingLost> ;
sp:subject _:b4
] [ sp:object <http://www.reportinghub.no/ep/schema/material#QuantityOfMaterial> ;
sp:predicate rdf:type ;
sp:subject _:b5
] [ sp:object _:b6 ;
sp:predicate rdf:type ;
sp:subject _:b5
] [ sp:object <http://www.reportinghub.no/ep/schema/core#Volume> ;
sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#typeOfPartCommentedOn> ;
sp:subject <http://www.reportinghub.no/ep/schema/production-activity#SupplyShipOperation>
]) ;
sp:where ([ sp:object
[ sp:varName "productionOperationRef"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#objectRef> ;
sp:subject spin:_this
] [ sp:object <http://www.epim.no/schemas/mprml/1#Obj_productionOperation> ;
sp:predicate rdf:type ;
sp:subject _:b6
sp:subject
[ sp:varName "productionOperationRef"^^xsd:string
]
] [ sp:object
[ sp:varName "realVolume"^^xsd:string
[ sp:varName "installationReportRef"^^xsd:string
] ;
sp:predicate
[ sp:varName "volumeScale"^^xsd:string
sp:predicate <http://www.epim.no/schemas/mprml/1#installationReportRef> ;
sp:subject
[ sp:varName "productionOperationRef"^^xsd:string
]
] [ sp:object
[ sp:varName "installationReportRef"^^xsd:string
] ;
sp:subject _:b6
]) ;
sp:where ([ sp:object spin:_this ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ;
sp:subject
[ sp:varName "productionOperationProcessing"^^xsd:string
[ sp:varName "temporalPartOfAProductionFacility"^^xsd:string
]
] [ sp:object
[ sp:varName "volumeAndReasonRef"^^xsd:string
[ sp:varName "productionFacility"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#volumeAndReasonRef> ;
sp:subject spin:_this
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject
[ sp:varName "temporalPartOfAProductionFacility"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/production-activity#ProductionOperation> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "productionOperation"^^xsd:string
]
] [ sp:object
[ sp:varName "realVolume"^^xsd:string
[ sp:varName "temporalPartOfAProductionFacility"^^xsd:string
] ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#onProductionFacility> ;
sp:subject
[ sp:varName "volumeAndReasonRef"^^xsd:string
[ sp:varName "productionOperation"^^xsd:string
]
] [ sp:object
[ sp:varName "uomVolume"^^xsd:string
[ sp:varName "productionActivityRef"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#uomRef> ;
sp:predicate <http://www.epim.no/schemas/mprml/1#productionActivityRef> ;
sp:subject
[ sp:varName "volumeAndReasonRef"^^xsd:string
[ sp:varName "installationReportRef"^^xsd:string
]
] [ sp:object
[ sp:varName "reasonLostRef"^^xsd:string
[ sp:varName "marineOperationRef"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#reasonLostRef> ;
sp:predicate <http://www.epim.no/schemas/mprml/1#marineOperationRef> ;
sp:subject
[ sp:varName "volumeAndReasonRef"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-mpr-spin-lib:selectReasonForLossOfProcessingType ;
sp:arg1 [ sp:varName "reasonLostRef"^^xsd:string
[ sp:varName "productionActivityRef"^^xsd:string
]
] [ sp:object
[ sp:varName "marineOperationRef"^^xsd:string
] ;
sp:variable
[ sp:varName "reasonForLossOfProcessingType"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-mpr-spin-lib:selectVolumeScale ;
sp:arg1 [ sp:varName "uomVolume"^^xsd:string
sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ;
sp:subject
[ sp:varName "marineOperation"^^xsd:string
]
] [ sp:object
[ sp:varName "supplyShipCommentRef"^^xsd:string
] ;
sp:variable
[ sp:varName "volumeScale"^^xsd:string
sp:predicate <http://www.epim.no/schemas/mprml/1#supplyShipCommentRef> ;
sp:subject
[ sp:varName "marineOperationRef"^^xsd:string
]
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 40292 Create the ProductionOperationProcessing - loss contributing third party processing"^^xsd:string ;
sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/production-activity#ThirdPartyProcessingLoss> ;
rdfs:comment "STEP 40203 Create the MarineOperation activity"^^xsd:string ;
sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/production-activity#MarineOperation> ;
sp:predicate rdf:type ;
sp:subject _:b7
sp:subject _:b1
] [ sp:object
[ sp:varName "productionOperationProcessing"^^xsd:string
[ sp:varName "productionOperation"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#partOf> ;
sp:subject _:b7
sp:subject _:b1
] [ sp:object
[ sp:varName "thirdPartyProcessingRef"^^xsd:string
[ sp:varName "marineOperationRef"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ;
sp:subject _:b7
sp:subject _:b1
]) ;
sp:where ([ sp:object spin:_this ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ;
sp:where ([ sp:object
[ sp:varName "productionOperationRef"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#objectRef> ;
sp:subject spin:_this
] [ sp:object <http://www.epim.no/schemas/mprml/1#Obj_productionOperation> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "productionOperationProcessing"^^xsd:string
[ sp:varName "productionOperationRef"^^xsd:string
]
] [ sp:object
[ sp:varName "thirdPartyProcessingRef"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#thirdPartyProcessingRef> ;
sp:subject spin:_this
])
[ sp:varName "installationReportRef"^^xsd:string
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 40293 Create the ProductionOperationProcessing - loss contributing third party processing - add third party installation"^^xsd:string ;
sp:templates ([ sp:object _:b8 ;
sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#onProductionFacility> ;
sp:predicate <http://www.epim.no/schemas/mprml/1#installationReportRef> ;
sp:subject
[ sp:varName "thirdPartyProcessingLoss"^^xsd:string
[ sp:varName "productionOperationRef"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/facility#TemporalPartOfAProductionFacility> ;
sp:predicate rdf:type ;
sp:subject _:b8
] [ sp:object
[ sp:varName "thirdPartyProductionFacility"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject _:b8
]) ;
sp:where ([ sp:object
[ sp:varName "thirdPartyProcessingRef"^^xsd:string
[ sp:varName "installationReportRef"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#thirdPartyProcessingRef> ;
sp:subject spin:_this
sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ;
sp:subject
[ sp:varName "temporalPartOfAProductionFacility"^^xsd:string
]
] [ sp:object
[ sp:varName "thirdPartyProcessingRef"^^xsd:string
[ sp:varName "productionFacility"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject
[ sp:varName "thirdPartyProcessingLoss"^^xsd:string
[ sp:varName "temporalPartOfAProductionFacility"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/production-activity#ThirdPartyProcessingLoss> ;
] [ sp:object <http://www.reportinghub.no/ep/schema/production-activity#ProductionOperation> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "thirdPartyProcessingLoss"^^xsd:string
[ sp:varName "productionOperation"^^xsd:string
]
] [ sp:object
[ sp:varName "installationRef"^^xsd:string
[ sp:varName "temporalPartOfAProductionFacility"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#installationRef> ;
sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#onProductionFacility> ;
sp:subject
[ sp:varName "thirdPartyProcessingRef"^^xsd:string
[ sp:varName "productionOperation"^^xsd:string
]
] [ sp:object
[ sp:varName "installationRef"^^xsd:string
[ sp:varName "productionActivityRef"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#productionActivityRef> ;
sp:subject
[ sp:varName "installationReportRef"^^xsd:string
]
] [ sp:object
[ sp:varName "marineOperationRef"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#marineOperationRef> ;
sp:subject
[ sp:varName "productionActivityRef"^^xsd:string
]
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 40202 Create the ProductionOperationInjection activity"^^xsd:string ;
sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/production-activity#ProductionOperationInjection> ;
sp:predicate rdf:type ;
sp:subject _:b2
] [ sp:object
[ sp:varName "productionOperation"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#partOf> ;
sp:subject _:b2
] [ sp:object
[ sp:varName "lostInjectionRef"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ;
sp:subject _:b2
]) ;
sp:where ([ sp:object
[ sp:varName "productionOperationRef"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#objectRef> ;
sp:subject spin:_this
] [ sp:object <http://www.epim.no/schemas/mprml/1#Obj_productionOperation> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "thirdPartyProductionFacility"^^xsd:string
[ sp:varName "productionOperationRef"^^xsd:string
]
] [ sp:object
[ sp:varName "installationReportRef"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#installationReportRef> ;
sp:subject
[ sp:varName "productionOperationRef"^^xsd:string
]
] [ sp:object
[ sp:varName "installationReportRef"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ;
sp:subject
[ sp:varName "temporalPartOfAProductionFacility"^^xsd:string
]
] [ sp:object
[ sp:varName "productionFacility"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject
[ sp:varName "temporalPartOfAProductionFacility"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/production-activity#ProductionOperation> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "productionOperation"^^xsd:string
]
] [ sp:object
[ sp:varName "temporalPartOfAProductionFacility"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#onProductionFacility> ;
sp:subject
[ sp:varName "productionOperation"^^xsd:string
]
] [ sp:object
[ sp:varName "productionOperation"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#partOf> ;
sp:subject
[ sp:varName "productionOperationProductionAndInjection"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/production-activity#ProductionOperationProductionAndInjection> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "productionOperationProductionAndInjection"^^xsd:string
]
] [ sp:object
[ sp:varName "productionActivityRef"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#productionActivityRef> ;
sp:subject
[ sp:varName "installationReportRef"^^xsd:string
]
] [ sp:object
[ sp:varName "lostInjectionRef"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#lostInjectionRef> ;
sp:subject
[ sp:varName "productionActivityRef"^^xsd:string
]
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 40294 Create the ProductionOperationProcessing - loss contributing third party processing - add oil volume"^^xsd:string ;
sp:templates ([ sp:object _:b9 ;
rdfs:comment "STEP 40201 Create the ProductionOperationProduction activity"^^xsd:string ;
sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/production-activity#ProductionOperationProduction> ;
sp:predicate rdf:type ;
sp:subject _:b3
] [ sp:object
[ sp:varName "productionOperation"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#partOf> ;
sp:subject _:b3
] [ sp:object
[ sp:varName "lostProductionRef"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ;
sp:subject _:b3
]) ;
sp:where ([ sp:object
[ sp:varName "productionOperationRef"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#objectRef> ;
sp:subject spin:_this
] [ sp:object <http://www.epim.no/schemas/mprml/1#Obj_productionOperation> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "productionOperationRef"^^xsd:string
]
] [ sp:object
[ sp:varName "installationReportRef"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#installationReportRef> ;
sp:subject
[ sp:varName "productionOperationRef"^^xsd:string
]
] [ sp:object
[ sp:varName "installationReportRef"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ;
sp:subject
[ sp:varName "temporalPartOfAProductionFacility"^^xsd:string
]
] [ sp:object
[ sp:varName "productionFacility"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject
[ sp:varName "temporalPartOfAProductionFacility"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/production-activity#ProductionOperation> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "productionOperation"^^xsd:string
]
] [ sp:object
[ sp:varName "temporalPartOfAProductionFacility"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#onProductionFacility> ;
sp:subject
[ sp:varName "productionOperation"^^xsd:string
]
] [ sp:object
[ sp:varName "productionOperation"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#partOf> ;
sp:subject
[ sp:varName "productionOperationProductionAndInjection"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/production-activity#ProductionOperationProductionAndInjection> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "productionOperationProductionAndInjection"^^xsd:string
]
] [ sp:object
[ sp:varName "productionActivityRef"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#productionActivityRef> ;
sp:subject
[ sp:varName "installationReportRef"^^xsd:string
]
] [ sp:object
[ sp:varName "lostProductionRef"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#lostProductionRef> ;
sp:subject
[ sp:varName "productionActivityRef"^^xsd:string
]
])
] .
<http://www.epim.no/schemas/mprml/1#Cs_productionOperationLostProduction>
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 40295 Create the ProductionOperationProcessing - loss contributing third party processing - add gas volume"^^xsd:string ;
sp:templates ([ sp:object _:b4 ;
sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#processingLost> ;
sp:subject
[ sp:varName "thirdPartyProcessingLoss"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/material#Oil> ;
] [ sp:object <http://www.reportinghub.no/ep/schema/material#Gas> ;
sp:predicate rdf:type ;
sp:subject _:b9
] [ sp:object _:b10 ;
sp:subject _:b4
] [ sp:object _:b5 ;
sp:predicate rdf:type ;
sp:subject _:b9
sp:subject _:b4
] [ sp:object <http://www.reportinghub.no/ep/schema/core#Volume> ;
sp:predicate rdf:type ;
sp:subject _:b10
sp:subject _:b5
] [ sp:object
[ sp:varName "realVolume"^^xsd:string
] ;
sp:predicate
[ sp:varName "volumeScale"^^xsd:string
] ;
sp:subject _:b10
sp:subject _:b5
]) ;
sp:where ([ sp:object
[ sp:varName "thirdPartyProcessingRef"^^xsd:string
......@@ -484,9 +672,9 @@
[ sp:varName "thirdPartyProcessingLoss"^^xsd:string
]
] [ sp:object
[ sp:varName "oilStdTempPresRef"^^xsd:string
[ sp:varName "gasStdTempPresRef"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#oilStdTempPresRef> ;
sp:predicate <http://www.epim.no/schemas/mprml/1#gasStdTempPresRef> ;
sp:subject
[ sp:varName "thirdPartyProcessingRef"^^xsd:string
]
......@@ -495,14 +683,14 @@
] ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject
[ sp:varName "oilStdTempPresRef"^^xsd:string
[ sp:varName "gasStdTempPresRef"^^xsd:string
]
] [ sp:object
[ sp:varName "uomVolume"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#uomRef> ;
sp:subject
[ sp:varName "oilStdTempPresRef"^^xsd:string
[ sp:varName "gasStdTempPresRef"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
......@@ -517,28 +705,28 @@
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 40295 Create the ProductionOperationProcessing - loss contributing third party processing - add gas volume"^^xsd:string ;
sp:templates ([ sp:object _:b11 ;
rdfs:comment "STEP 40294 Create the ProductionOperationProcessing - loss contributing third party processing - add oil volume"^^xsd:string ;
sp:templates ([ sp:object _:b6 ;
sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#processingLost> ;
sp:subject
[ sp:varName "thirdPartyProcessingLoss"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/material#Gas> ;
] [ sp:object <http://www.reportinghub.no/ep/schema/material#Oil> ;
sp:predicate rdf:type ;
sp:subject _:b11
] [ sp:object _:b12 ;
sp:subject _:b6
] [ sp:object _:b7 ;
sp:predicate rdf:type ;
sp:subject _:b11
sp:subject _:b6
] [ sp:object <http://www.reportinghub.no/ep/schema/core#Volume> ;
sp:predicate rdf:type ;
sp:subject _:b12
sp:subject _:b7
] [ sp:object
[ sp:varName "realVolume"^^xsd:string
] ;
sp:predicate
[ sp:varName "volumeScale"^^xsd:string
] ;
sp:subject _:b12
sp:subject _:b7
]) ;
sp:where ([ sp:object
[ sp:varName "thirdPartyProcessingRef"^^xsd:string
......@@ -558,9 +746,9 @@
[ sp:varName "thirdPartyProcessingLoss"^^xsd:string
]
] [ sp:object
[ sp:varName "gasStdTempPresRef"^^xsd:string
[ sp:varName "oilStdTempPresRef"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#gasStdTempPresRef> ;
sp:predicate <http://www.epim.no/schemas/mprml/1#oilStdTempPresRef> ;
sp:subject
[ sp:varName "thirdPartyProcessingRef"^^xsd:string
]
......@@ -569,14 +757,177 @@
] ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject
[ sp:varName "gasStdTempPresRef"^^xsd:string
[ sp:varName "oilStdTempPresRef"^^xsd:string
]
] [ sp:object
[ sp:varName "uomVolume"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#uomRef> ;
sp:subject
[ sp:varName "gasStdTempPresRef"^^xsd:string
[ sp:varName "oilStdTempPresRef"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-mpr-spin-lib:selectVolumeScale ;
sp:arg1 [ sp:varName "uomVolume"^^xsd:string
]
] ;
sp:variable
[ sp:varName "volumeScale"^^xsd:string
]
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 40293 Create the ProductionOperationProcessing - loss contributing third party processing - add third party installation"^^xsd:string ;
sp:templates ([ sp:object _:b8 ;
sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#onProductionFacility> ;
sp:subject
[ sp:varName "thirdPartyProcessingLoss"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/facility#TemporalPartOfAProductionFacility> ;
sp:predicate rdf:type ;
sp:subject _:b8
] [ sp:object
[ sp:varName "thirdPartyProductionFacility"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject _:b8
]) ;
sp:where ([ sp:object
[ sp:varName "thirdPartyProcessingRef"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#thirdPartyProcessingRef> ;
sp:subject spin:_this
] [ sp:object
[ sp:varName "thirdPartyProcessingRef"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ;
sp:subject
[ sp:varName "thirdPartyProcessingLoss"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/production-activity#ThirdPartyProcessingLoss> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "thirdPartyProcessingLoss"^^xsd:string
]
] [ sp:object
[ sp:varName "installationRef"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#installationRef> ;
sp:subject
[ sp:varName "thirdPartyProcessingRef"^^xsd:string
]
] [ sp:object
[ sp:varName "installationRef"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ;
sp:subject
[ sp:varName "thirdPartyProductionFacility"^^xsd:string
]
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 40292 Create the ProductionOperationProcessing - loss contributing third party processing"^^xsd:string ;
sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/production-activity#ThirdPartyProcessingLoss> ;
sp:predicate rdf:type ;
sp:subject _:b9
] [ sp:object
[ sp:varName "productionOperationProcessing"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#partOf> ;
sp:subject _:b9
] [ sp:object
[ sp:varName "thirdPartyProcessingRef"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ;
sp:subject _:b9
]) ;
sp:where ([ sp:object spin:_this ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ;
sp:subject
[ sp:varName "productionOperationProcessing"^^xsd:string
]
] [ sp:object
[ sp:varName "thirdPartyProcessingRef"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#thirdPartyProcessingRef> ;
sp:subject spin:_this
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 40291 Create the ProductionOperationProcessing - loss contributing activities"^^xsd:string ;
sp:templates ([ sp:object
[ sp:varName "reasonForLossOfProcessingType"^^xsd:string
] ;
sp:predicate rdf:type ;
sp:subject _:b10
] [ sp:object
[ sp:varName "productionOperationProcessing"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#partOf> ;
sp:subject _:b10
] [ sp:object _:b11 ;
sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#processingLost> ;
sp:subject _:b10
] [ sp:object <http://www.reportinghub.no/ep/schema/material#QuantityOfMaterial> ;
sp:predicate rdf:type ;
sp:subject _:b11
] [ sp:object _:b12 ;
sp:predicate rdf:type ;
sp:subject _:b11
] [ sp:object <http://www.reportinghub.no/ep/schema/core#Volume> ;
sp:predicate rdf:type ;
sp:subject _:b12
] [ sp:object
[ sp:varName "realVolume"^^xsd:string
] ;
sp:predicate
[ sp:varName "volumeScale"^^xsd:string
] ;
sp:subject _:b12
]) ;
sp:where ([ sp:object spin:_this ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ;
sp:subject
[ sp:varName "productionOperationProcessing"^^xsd:string
]
] [ sp:object
[ sp:varName "volumeAndReasonRef"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#volumeAndReasonRef> ;
sp:subject spin:_this
] [ sp:object
[ sp:varName "realVolume"^^xsd:string
] ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject
[ sp:varName "volumeAndReasonRef"^^xsd:string
]
] [ sp:object
[ sp:varName "uomVolume"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#uomRef> ;
sp:subject
[ sp:varName "volumeAndReasonRef"^^xsd:string
]
] [ sp:object
[ sp:varName "reasonLostRef"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#reasonLostRef> ;
sp:subject
[ sp:varName "volumeAndReasonRef"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-mpr-spin-lib:selectReasonForLossOfProcessingType ;
sp:arg1 [ sp:varName "reasonLostRef"^^xsd:string
]
] ;
sp:variable
[ sp:varName "reasonForLossOfProcessingType"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
......@@ -592,5 +943,5 @@
<http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-productionActivity-v1.1.1>
rdf:type owl:Ontology ;
owl:imports <http://www.reportinghub.no/ep/mpr/spin/1.1/lib> , <http://www.epim.no/schemas/mprml/1> , <http://spinrdf.org/spin> , <http://www.reportinghub.no/ep/dpr/spin/1.1/lib> ;
owl:imports <http://www.reportinghub.no/ep/dpr/spin/1.1/lib> , <http://spinrdf.org/spin> , <http://www.epim.no/schemas/mprml/1> , <http://www.reportinghub.no/ep/mpr/spin/1.1/lib> ;
owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
......