David Leal

Activities documented for PCA-RDL

......@@ -42,6 +42,9 @@ ep-activity:ActivitySuccessType
rdfs:label "activity success type"^^xsd:string ;
rdfs:subClassOf owl:Class .
ep-activity:ApproveAReport
rdfs:comment "activity that is approving a report"^^xsd:string .
ep-activity:DailyDrillingActivity
rdf:type owl:Class ;
rdfs:comment "drilling activity that consists of all that is done in order to drill a well during one day"^^xsd:string ;
......@@ -74,11 +77,6 @@ ep-activity:DailyDrillingActivityToStatus
owl:onProperty ep-core:hasPart
] .
ep-activity:DailyProductionActivity
rdf:type owl:Class ;
rdfs:label "daily production activity"^^xsd:string ;
rdfs:subClassOf ep-activity:ProductionActivity .
ep-activity:Drill-bypass
rdf:type ep-activity:WellBoreDrillingType ;
rdfs:label "drill - bypass"^^xsd:string ;
......@@ -245,6 +243,7 @@ ep-activity:FluidReading
ep-activity:FormationIntegrityTest
rdf:type ep-activity:PressureTestType , owl:Class ;
rdfs:comment "wellbore pressure test that is a formation integrity test. NOTE If the formation is not able to withstand the given pressure, the result of the test is the strength of the formation. (source DDR-XSD)"^^xsd:string ;
rdfs:label "formation integrity test"^^xsd:string ;
rdfs:subClassOf ep-activity:WellBorePressureTest ;
owl:disjointWith ep-activity:LeakOffTest .
......@@ -324,8 +323,12 @@ ep-activity:GasReadingType
rdfs:label "gas reading type"^^xsd:string ;
rdfs:subClassOf owl:Class .
ep-activity:IssueAReport
rdfs:comment "activity that is issuing a report"^^xsd:string .
ep-activity:LeakOffTest
rdf:type ep-activity:PressureTestType , owl:Class ;
rdfs:comment "wellbore pressure test that is a leak-off test where the well is shut in and fluid is pumped into the wellbore gradually to increase the pressure that the formation experiences. NOTE A leakoff test is usually conducted immediately after drilling below a new casing shoe. (source DDR-XSD)"^^xsd:string ;
rdfs:label "leak-off test"^^xsd:string ;
rdfs:subClassOf ep-activity:WellBorePressureTest ;
owl:disjointWith ep-activity:FormationIntegrityTest .
......@@ -347,30 +350,8 @@ ep-activity:MonthlyDrillingActivity
owl:onProperty ep-activity:hasSubActivity
] .
ep-activity:OffshoreActivity
rdf:type owl:Class ;
rdfs:label "Offshore activity"^^xsd:string ;
rdfs:subClassOf ep-activity:Activity .
ep-activity:OffshoreWellActivity
rdf:type owl:Class ;
rdfs:label "Offshore well activity"^^xsd:string ;
rdfs:subClassOf ep-activity:OffshoreActivity ;
rdfs:subClassOf
[ rdf:type owl:Restriction ;
owl:cardinality "1"^^xsd:nonNegativeInteger ;
owl:onProperty ep-activity:onRig
] ;
rdfs:subClassOf
[ rdf:type owl:Restriction ;
owl:cardinality "1"^^xsd:nonNegativeInteger ;
owl:onProperty ep-activity:onWell
] ;
rdfs:subClassOf
[ rdf:type owl:Restriction ;
owl:allValuesFrom <http://www.reportinghub.no/ep/schema/well#Well> ;
owl:onProperty ep-activity:onWell
] .
ep-activity:ObserveTheWeather
rdfs:comment "make an observation that is of the weather"^^xsd:string .
ep-activity:OpenPerforationInterval
rdf:type owl:Class ;
......@@ -412,7 +393,7 @@ ep-activity:PreliminaryZonation
ep-activity:PressureTestType
rdf:type rdfs:Class ;
rdfs:comment "class of pressure test on the basis of what is tested"^^xsd:string ;
rdfs:comment "class of pressure test on the basis of what is tested that is defined by the PresTestType enumeration in the DDR-XSD"^^xsd:string ;
rdfs:label "pressure test type"^^xsd:string ;
rdfs:subClassOf owl:Class .
......@@ -422,11 +403,6 @@ ep-activity:ProductionActivity
rdfs:label "Production activity"^^xsd:string ;
rdfs:subClassOf ep-activity:Activity .
ep-activity:ProductionActivityToDate
rdf:type owl:Class ;
rdfs:label "production activity to date"^^xsd:string ;
rdfs:subClassOf ep-activity:ProductionActivity .
ep-activity:ProductionTest
rdf:type ep-activity:WellTestType , owl:Class ;
rdfs:comment "a well test that is intended to determine the daily rate of oil, gas, and water production from a (potential) reservoir"^^xsd:string ;
......@@ -434,6 +410,9 @@ ep-activity:ProductionTest
rdfs:subClassOf ep-activity:WellTest ;
owl:disjointWith ep-activity:DrillStemTest .
ep-activity:ProductionWellTest
rdfs:comment "well test that is a production activity"^^xsd:string .
ep-activity:SuccessfulActivity
rdf:type ep-activity:ActivitySuccessType , owl:Class ;
rdfs:comment "activity that succeeds"^^xsd:string ;
......@@ -452,11 +431,6 @@ ep-activity:WeeklyDrillingActivity
owl:onProperty ep-activity:hasSubActivity
] .
ep-activity:WeeklyProductionActivity
rdf:type owl:Class ;
rdfs:label "weekly production activity"^^xsd:string ;
rdfs:subClassOf ep-activity:ProductionActivity .
ep-activity:WellBoreBitOperation-withinReportingPeriod
rdf:type owl:Class ;
rdfs:comment "the parts of the runs for a single drill bit that are within a reporting period"^^xsd:string ;
......@@ -495,9 +469,9 @@ ep-activity:WellBoreLogRun
ep-activity:WellBorePressureTest
rdf:type owl:Class ;
rdfs:comment "activity that is a wellbore pressure test"^^xsd:string ;
rdfs:comment "well test that is a wellbore pressure test"^^xsd:string ;
rdfs:label "well bore pressure test"^^xsd:string ;
rdfs:subClassOf ep-activity:WellOperation .
rdfs:subClassOf ep-activity:WellTest .
ep-activity:WellBoreReportingPeriodDrilling
rdf:type owl:Class ;
......@@ -807,8 +781,9 @@ ep-activity:WellStimulation
ep-activity:WellTest
rdf:type owl:Class ;
rdfs:comment "activity that is a well test"^^xsd:string ;
rdfs:label "well test"^^xsd:string ;
rdfs:subClassOf ep-activity:DrillingActivity .
rdfs:subClassOf ep-activity:Activity .
ep-activity:WellTestType
rdf:type rdfs:Class ;
......
This diff could not be displayed because it is too large.
......@@ -137,7 +137,7 @@ ep-prodact:AllocateSplitFactors
ep-prodact:AnnualProductionActivityToDate
rdf:type owl:Class , ep-prodact:ProductionOperationClassByDuration ;
rdfs:comment "not used in the MPR"^^xsd:string ;
rdfs:comment "production activity that is during the year to date"^^xsd:string ;
rdfs:label "annual production activity to date"^^xsd:string ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#ProductionActivity> .
......@@ -149,11 +149,13 @@ ep-prodact:AnnualProductionOperationToDate
ep-prodact:BasketMovement
rdf:type owl:Class ;
rdfs:comment "marine operation that is a basket movement"^^xsd:string ;
rdfs:label "basket movement"^^xsd:string ;
rdfs:subClassOf ep-prodact:MarineOperation .
ep-prodact:CargoShipOperation
rdf:type owl:Class ;
rdfs:comment "production activity that is the operation of a cargo ship"^^xsd:string ;
rdfs:label "cargo ship operation"^^xsd:string ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#ProductionActivity> .
......@@ -173,6 +175,7 @@ ep-prodact:DailyProductionOperationProcessingLoss
ep-prodact:DataAcquisitionActivity
rdf:type owl:Class ;
rdfs:comment "activity that is data acquisition"^^xsd:string ;
rdfs:label "data acquisition activity"^^xsd:string ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#Activity> .
......@@ -190,6 +193,7 @@ ep-prodact:Deviation
ep-prodact:DischargeWater
rdf:type owl:Class ;
rdfs:comment "production activity that is the discharge of water"^^xsd:string ;
rdfs:label "discharge water"^^xsd:string ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#ProductionActivity> .
......@@ -219,8 +223,9 @@ ep-prodact:Fire
ep-prodact:FluidLevelTest
rdf:type owl:Class ;
rdfs:comment "production well test that is a fluid level test"^^xsd:string ;
rdfs:label "fluid level 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#ProductionWellTest> .
ep-prodact:FluidSampling-DST
rdf:type owl:Class , ep-prodact:FluidSamplingType ;
......@@ -230,6 +235,7 @@ ep-prodact:FluidSampling-DST
ep-prodact:FluidSampling-RFTorMDT
rdf:type owl:Class , ep-prodact:FluidSamplingType ;
rdfs:comment "<no definition in MPR-XSD>"^^xsd:string ;
rdfs:label "fluid sampling - RFT or MDT"^^xsd:string ;
rdfs:subClassOf ep-prodact:FluidSamplingAndAnalysis .
......@@ -247,26 +253,31 @@ ep-prodact:FluidSampling-formationTester
ep-prodact:FluidSampling-recombined
rdf:type owl:Class , ep-prodact:FluidSamplingType ;
rdfs:comment "<no definition in MPR-XSD>"^^xsd:string ;
rdfs:label "fluid sampling - recombined"^^xsd:string ;
rdfs:subClassOf ep-prodact:FluidSamplingAndAnalysis .
ep-prodact:FluidSampling-separatorGas
rdf:type owl:Class , ep-prodact:FluidSamplingType ;
rdfs:comment "<no definition in MPR-XSD>"^^xsd:string ;
rdfs:label "fluid sampling - separator gas"^^xsd:string ;
rdfs:subClassOf ep-prodact:FluidSamplingAndAnalysis .
ep-prodact:FluidSampling-separatorOil
rdf:type owl:Class , ep-prodact:FluidSamplingType ;
rdfs:comment "<no definition in MPR-XSD>"^^xsd:string ;
rdfs:label "fluid sampling - separator oil"^^xsd:string ;
rdfs:subClassOf ep-prodact:FluidSamplingAndAnalysis .
ep-prodact:FluidSampling-separatorWater
rdf:type owl:Class , ep-prodact:FluidSamplingType ;
rdfs:comment "<no definition in MPR-XSD>"^^xsd:string ;
rdfs:label "fluid sampling - separator water"^^xsd:string ;
rdfs:subClassOf ep-prodact:FluidSamplingAndAnalysis .
ep-prodact:FluidSampling-synthetic
rdf:type owl:Class , ep-prodact:FluidSamplingType ;
rdfs:comment "<no definition in MPR-XSD>"^^xsd:string ;
rdfs:label "fluid sampling - synthetic"^^xsd:string ;
rdfs:subClassOf ep-prodact:FluidSamplingAndAnalysis .
......@@ -278,6 +289,7 @@ ep-prodact:FluidSampling-wellhead
ep-prodact:FluidSamplingAndAnalysis
rdf:type owl:Class ;
rdfs:comment "activity that is fluid sampling and analysis"^^xsd:string ;
rdfs:label "fluid sampling and analysis"^^xsd:string ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#Activity> .
......@@ -287,18 +299,6 @@ ep-prodact:FluidSamplingType
rdfs:label "fluid sampling type"^^xsd:string ;
rdfs:subClassOf owl:Class .
ep-prodact:FusionOfHSEActivitiesOverPeriod
rdf:type owl:Class ;
rdfs:comment "not used in the MPR"^^xsd:string ;
rdfs:label "fusion of HSE activities over a period"^^xsd:string ;
rdfs:subClassOf ep-prodact:FusionOfPartsOfProductionActivityOverPeriod .
ep-prodact:FusionOfPartsOfProductionActivityOverPeriod
rdf:type owl:Class ;
rdfs:comment "not used in the MPR"^^xsd:string ;
rdfs:label "fusion of parts of a production activity over period"^^xsd:string ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#ProductionActivity> .
ep-prodact:HSEProblem
rdf:type owl:Class , ep-prodact:ReasonForLossOfProcessingType ;
rdfs:comment "activity that is an HSE problem"^^xsd:string ;
......@@ -325,8 +325,9 @@ ep-prodact:InitialWellTest
ep-prodact:InjectionWellTest
rdf:type owl:Class ;
rdfs:comment "production well test that is an injection well test"^^xsd:string ;
rdfs:label "injection 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#ProductionWellTest> .
ep-prodact:Injury
rdf:type owl:Class ;
......@@ -360,6 +361,7 @@ ep-prodact:JobObservation
ep-prodact:LastPartOfTypeRemainingActivityPair
rdf:type owl:Class ;
rdfs:comment "thing that is a pair of activities, where one is the last activity of a particular type within a whole and the other is the part of the whole that comes after the last of the type"^^xsd:string ;
rdfs:label "last part of type - remaining activity pair"^^xsd:string ;
rdfs:subClassOf owl:Thing .
......@@ -385,6 +387,7 @@ ep-prodact:MaintenanceActivity
ep-prodact:MakeAComment
rdf:type owl:Class ;
rdfs:comment "activity that is making a comment"^^xsd:string ;
rdfs:label "make a comment"^^xsd:string ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#Activity> .
......@@ -396,21 +399,25 @@ ep-prodact:MakeATransaction
ep-prodact:MarineOperation
rdf:type owl:Class ;
rdfs:comment "production activity that is a marine operation"^^xsd:string ;
rdfs:label "marine operation"^^xsd:string ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#ProductionActivity> .
ep-prodact:MarkedGasLossOfExport
rdf:type owl:Class , ep-prodact:ReasonForLossOfProcessingType ;
rdfs:comment "activity that is not exporting gas due to marked product"^^xsd:string ;
rdfs:label "marked gas loss of export"^^xsd:string ;
rdfs:subClassOf ep-prodact:ProductionOperationProcessingLoss .
ep-prodact:MarkedOilLossOfExport
rdf:type owl:Class , ep-prodact:ReasonForLossOfProcessingType ;
rdfs:comment "activity that is not exporting oil due to marked product"^^xsd:string ;
rdfs:label "marked oil loss of export"^^xsd:string ;
rdfs:subClassOf ep-prodact:ProductionOperationProcessingLoss .
ep-prodact:MeasurePropertiesOfAFlow
rdf:type owl:Class ;
rdfs:comment "activity that is measuring the properties of a flow"^^xsd:string ;
rdfs:label "measure properties of a flow"^^xsd:string ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#Activity> .
......@@ -516,11 +523,6 @@ ep-prodact:ProductCompletedLifting
rdfs:label "product completed lifting"^^xsd:string ;
rdfs:subClassOf ep-prodact:MovementOfProduct .
ep-prodact:ProductDespatch
rdf:type owl:Class ;
rdfs:label "product despatch"^^xsd:string ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#ProductionActivity> .
ep-prodact:ProductGain-Loss
rdf:type owl:Class , ep-prodact:MovementOfProductType ;
rdfs:comment "movement of product that is the lack of proper proportion or relation between the corresponding input and liftings transactions (source: MPR-XSD)"^^xsd:string ;
......@@ -658,11 +660,6 @@ ep-prodact:ProductionOperationProduction
rdfs:label "production operation production"^^xsd:string ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#ProductionActivity> .
ep-prodact:ProductionOperationProductionAndInjection
rdf:type owl:Class ;
rdfs:label "production operation production and injection"^^xsd:string ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#ProductionActivity> .
ep-prodact:RaiseAnAlert
rdf:type owl:Class ;
rdfs:comment "activity that draws attention to an unexpected value in a set of data"^^xsd:string ;
......@@ -761,6 +758,7 @@ ep-prodact:SevereAccident
ep-prodact:ShutdownProduction
rdf:type owl:Class ;
rdfs:comment "production activity that is shutting down production"^^xsd:string ;
rdfs:label "shutdown production"^^xsd:string ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#ProductionActivity> .
......@@ -784,6 +782,7 @@ ep-prodact:SplitFactorDeterminationType
ep-prodact:StandbyVesselOperation
rdf:type owl:Class ;
rdfs:comment "marine operation that is conducted by a standby vessel"^^xsd:string ;
rdfs:label "standby vessel operation"^^xsd:string ;
rdfs:subClassOf ep-prodact:MarineOperation .
......@@ -795,6 +794,7 @@ ep-prodact:StrikeOrLockout
ep-prodact:SupplyShipOperation
rdf:type owl:Class ;
rdfs:comment "marine operation that is conducted by a supply ship"^^xsd:string ;
rdfs:label "supply ship operation"^^xsd:string ;
rdfs:subClassOf ep-prodact:MarineOperation .
......@@ -822,11 +822,6 @@ ep-prodact:TrafficAccident
rdfs:label "traffic accident"^^xsd:string ;
rdfs:subClassOf ep-prodact:AccidentOrInjury .
ep-prodact:TransportationActivity
rdf:type owl:Class ;
rdfs:label "transportation activity"^^xsd:string ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#Activity> .
ep-prodact:UnavailableTankerStorage
rdf:type owl:Class , ep-prodact:ReasonForLossOfProcessingType ;
rdfs:comment "activity that is unavailable tanker storage"^^xsd:string ;
......@@ -839,11 +834,6 @@ ep-prodact:UnknownReasonWellTest
rdfs:label "unknown reason well test"^^xsd:string ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#WellTest> .
ep-prodact:WaterCleaningOperation
rdf:type owl:Class ;
rdfs:label "water cleaning operation"^^xsd:string ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#Activity> .
ep-prodact:WeatherProblem
rdf:type owl:Class , ep-prodact:ReasonForLossOfProcessingType ;
rdfs:comment "activity that is a weather problem"^^xsd:string ;
......@@ -932,7 +922,6 @@ ep-prodact:causedBy
ep-prodact:classificationBySafetyActivityType
rdf:type owl:ObjectProperty ;
rdfs:domain ep-prodact:FusionOfHSEActivitiesOverPeriod ;
rdfs:range ep-prodact:SafetyActivityType .
ep-prodact:commentMade
......@@ -1042,6 +1031,13 @@ ep-prodact:injectionWellTestWellheadMaximumPressure
rdfs:label "injection well test wellhead maximum pressure"^^xsd:string ;
rdfs:range ep-core:Pressure .
ep-prodact:lastPartOfTypeDefiningType
rdf:type owl:ObjectProperty , owl:FunctionalProperty ;
rdfs:comment "class of activity that the last part of type is a member of"^^xsd:string ;
rdfs:domain ep-prodact:LastPartOfTypeRemainingActivityPair ;
rdfs:label "last part of type defining type"^^xsd:string ;
rdfs:range owl:Class .
ep-prodact:measuredFlow
rdf:type owl:ObjectProperty ;
rdfs:domain ep-prodact:MeasurePropertiesOfAFlow ;
......@@ -1090,7 +1086,6 @@ ep-prodact:processingLost
ep-prodact:productionActivityPeriodClassification
rdf:type owl:ObjectProperty ;
rdfs:comment "not used in the MPR"^^xsd:string ;
rdfs:domain ep-prodact:FusionOfPartsOfProductionActivityOverPeriod ;
rdfs:range ep-prodact:ProductionOperationClassByDuration .
ep-prodact:productionOperator
......@@ -1101,6 +1096,7 @@ ep-prodact:productionOperator
ep-prodact:remainingActivity
rdf:type owl:ObjectProperty , owl:FunctionalProperty ;
rdfs:comment "activity that is after the last part of type"^^xsd:string ;
rdfs:domain ep-prodact:LastPartOfTypeRemainingActivityPair ;
rdfs:label "remaining activity"^^xsd:string ;
rdfs:range <http://www.reportinghub.no/ep/schema/activity#Activity> .
......@@ -1166,10 +1162,6 @@ ep-prodact:totalOrganicCarbonInWater
rdf:type owl:ObjectProperty ;
rdfs:range ep-core:MassPerMass .
ep-prodact:waterSampleTaken
rdf:type owl:ObjectProperty ;
rdfs:domain ep-prodact:WaterCleaningOperation .
ep-prodact:xpathToDataInSourceXmlFile
rdf:type owl:DatatypeProperty ;
rdfs:domain ep-prodact:RaiseAnAlert ;
......
......@@ -32,7 +32,7 @@
sp:predicate rdf:type ;
sp:subject _:b1
] [ sp:object <http://www.reportinghub.no/ep/schema/production-activity#LostTimeAccident> ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#definingType> ;
sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#lastPartOfTypeDefiningType> ;
sp:subject _:b1
] [ sp:object _:b2 ;
sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#remainingActivity> ;
......@@ -129,23 +129,37 @@
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 40307 Set the number of number of medical treatments"^^xsd:string ;
rdfs:comment "STEP 40304 Set the time since most recent accident prevention exercise"^^xsd:string ;
sp:templates ([ sp:object _:b4 ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#hasSetOfAllPartsOfDefinedType> ;
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/core#SetOfAllPartsOfDefinedType> ;
] [ sp:object <http://www.reportinghub.no/ep/schema/production-activity#LastPartOfTypeRemainingActivityPair> ;
sp:predicate rdf:type ;
sp:subject _:b4
] [ sp:object <http://www.reportinghub.no/ep/schema/production-activity#MedicalTreatment> ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#definingType> ;
] [ sp:object <http://www.reportinghub.no/ep/schema/production-activity#AccidentPreventionExercise> ;
sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#lastPartOfTypeDefiningType> ;
sp:subject _:b4
] [ sp:object _:b5 ;
sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#remainingActivity> ;
sp:subject _:b4
] [ sp:object <http://www.reportinghub.no/ep/schema/production-activity#ProductionOperation> ;
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#TimeDuration> ;
sp:predicate rdf:type ;
sp:subject _:b6
] [ sp:object
[ sp:varName "medicalTreatmentCount"^^xsd:string
[ sp:varName "realSincePreventionExercise"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#numberInSet> ;
sp:subject _:b4
sp:predicate
[ sp:varName "sincePreventionExerciseScale"^^xsd:string
] ;
sp:subject _:b6
]) ;
sp:where ([ sp:object
[ sp:varName "productionOperationRef"^^xsd:string
......@@ -189,48 +203,70 @@
[ 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.epim.no/schemas/mprml/1#operationalHSERef> ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject
[ sp:varName "installationReportRef"^^xsd:string
[ sp:varName "sincePreventionExerciseRef"^^xsd:string
]
] [ sp:object
[ sp:varName "medicalTreatmentCount"^^xsd:string
[ sp:varName "uomSincePreventionExercise"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#medicalTreatmentCount> ;
sp:predicate <http://www.epim.no/schemas/mprml/1#uomRef> ;
sp:subject
[ sp:varName "operationalHSERef"^^xsd:string
[ 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 40309 Set the mean time between incidents"^^xsd:string ;
sp:templates ([ sp:object _:b5 ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#hasCompositionOfAllPartsOfDefinedType> ;
rdfs:comment "STEP 40305 Set the time since most recent defined hazard and accident situation"^^xsd:string ;
sp:templates ([ sp:object _:b7 ;
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/core#CompositionOfAllPartsOfDefinedType> ;
] [ sp:object <http://www.reportinghub.no/ep/schema/production-activity#LastPartOfTypeRemainingActivityPair> ;
sp:predicate rdf:type ;
sp:subject _:b5
] [ sp:object <http://www.reportinghub.no/ep/schema/production-activity#AccidentOrInjury> ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#definingType> ;
sp:subject _:b5
] [ sp:object _:b6 ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#meanTimeBetweenParts> ;
sp:subject _:b5
sp:subject _:b7
] [ sp:object <http://www.reportinghub.no/ep/schema/production-activity#DefinedHazardAndAccidentSituation> ;
sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#lastPartOfTypeDefiningType> ;
sp:subject _:b7
] [ sp:object _:b8 ;
sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#remainingActivity> ;
sp:subject _:b7
] [ sp:object <http://www.reportinghub.no/ep/schema/production-activity#ProductionOperation> ;
sp:predicate rdf:type ;
sp:subject _:b8
] [ sp:object _:b9 ;
sp:predicate rdf:type ;
sp:subject _:b8
] [ sp:object <http://www.reportinghub.no/ep/schema/core#TimeDuration> ;
sp:predicate rdf:type ;
sp:subject _:b6
sp:subject _:b9
] [ sp:object
[ sp:varName "realMeantimeIncident"^^xsd:string
[ sp:varName "realSinceDefinedSituation"^^xsd:string
] ;
sp:predicate
[ sp:varName "meantimeIncidentScale"^^xsd:string
[ sp:varName "sinceDefinedSituationScale"^^xsd:string
] ;
sp:subject _:b6
sp:subject _:b9
]) ;
sp:where ([ sp:object
[ sp:varName "productionOperationRef"^^xsd:string
......@@ -274,71 +310,56 @@
[ 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:varName "sinceDefinedSituationRef"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#safetyRef> ;
sp:predicate <http://www.epim.no/schemas/mprml/1#sinceDefinedSituationRef> ;
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:varName "realSinceDefinedSituation"^^xsd:string
] ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject
[ sp:varName "meantimeIncidentRef"^^xsd:string
[ sp:varName "sinceDefinedSituationRef"^^xsd:string
]
] [ sp:object
[ sp:varName "uomMeantimeIncident"^^xsd:string
[ sp:varName "uomSinceDefinedSituation"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#uomRef> ;
sp:subject
[ sp:varName "meantimeIncidentRef"^^xsd:string
[ sp:varName "sinceDefinedSituationRef"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-mpr-spin-lib:selectDurationScale ;
sp:arg1 [ sp:varName "uomMeantimeIncident"^^xsd:string
sp:arg1 [ sp:varName "uomSinceDefinedSituation"^^xsd:string
]
] ;
sp:variable
[ sp:varName "meantimeIncidentScale"^^xsd:string
[ sp:varName "sinceDefinedSituationScale"^^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 _:b7 ;
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/core#hasSetOfAllPartsOfDefinedType> ;
sp:subject
[ sp:varName "annualProductionOperationToDate"^^xsd:string
[ sp:varName "productionOperation"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/core#SetOfAllPartsOfDefinedType> ;
sp:predicate rdf:type ;
sp:subject _:b7
] [ sp:object <http://www.reportinghub.no/ep/schema/production-activity#Incident> ;
sp:subject _:b10
] [ sp:object <http://www.reportinghub.no/ep/schema/production-activity#AccidentOrInjury> ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#definingType> ;
sp:subject _:b7
sp:subject _:b10
] [ sp:object
[ sp:varName "safetyCount"^^xsd:string
[ sp:varName "incidentCount"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#numberInSet> ;
sp:subject _:b7
sp:subject _:b10
]) ;
sp:where ([ sp:object
[ sp:varName "productionOperationRef"^^xsd:string
......@@ -382,18 +403,6 @@ period not processed"""^^xsd:string ;
[ 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> ;
......@@ -401,58 +410,34 @@ period not processed"""^^xsd:string ;
[ sp:varName "installationReportRef"^^xsd:string
]
] [ sp:object
[ sp:varName "safetyRef"^^xsd:string
[ sp:varName "incidentCount"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#safetyRef> ;
sp:predicate <http://www.epim.no/schemas/mprml/1#incidentCount> ;
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 40312 Set the whole activity and the type of part activity for comment
rdfs:comment """STEP 40311 Set the safety counts - for year to date incidents
period not processed"""^^xsd:string ;
sp:templates ([ sp:object
[ sp:varName "commentRef"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#forComment> ;
sp:templates ([ sp:object _:b11 ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#hasSetOfAllPartsOfDefinedType> ;
sp:subject
[ sp:varName "productionOperation"^^xsd:string
[ sp:varName "annualProductionOperationToDate"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/core#SetOfAllPartsOfDefinedType> ;
sp:predicate rdf:type ;
sp:subject _:b11
] [ sp:object <http://www.reportinghub.no/ep/schema/production-activity#Incident> ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#definingType> ;
sp:subject _:b11
] [ sp:object
[ sp:varName "commentRef"^^xsd:string
[ sp:varName "safetyCount"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#typeOfPartCommentedOn> ;
sp:subject <http://www.reportinghub.no/ep/schema/production-activity#HealthSafetyAndEnvironmentActivity>
sp:predicate <http://www.reportinghub.no/ep/schema/core#numberInSet> ;
sp:subject _:b11
]) ;
sp:where ([ sp:object
[ sp:varName "productionOperationRef"^^xsd:string
......@@ -522,33 +507,57 @@ period not processed"""^^xsd:string ;
[ sp:varName "operationalHSERef"^^xsd:string
]
] [ sp:object
[ sp:varName "commentRef"^^xsd:string
[ sp:varName "safetyCountRef"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#commentRef> ;
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 40308 Set the number of number of alarms"^^xsd:string ;
sp:templates ([ sp:object _:b8 ;
rdfs:comment """STEP 40310 Set the safety counts - except year to date incidents
period not processed"""^^xsd:string ;
sp:templates ([ sp:object _:b12 ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#hasSetOfAllPartsOfDefinedType> ;
sp:subject
[ sp:varName "productionOperation"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/core#SetOfAllPartsOfDefinedType> ;
sp:predicate rdf:type ;
sp:subject _:b8
] [ sp:object <http://www.reportinghub.no/ep/schema/production-activity#Alarm> ;
sp:subject _:b12
] [ sp:object
[ sp:varName "safetyActivityType"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#definingType> ;
sp:subject _:b8
sp:subject _:b12
] [ sp:object
[ sp:varName "alarmCount"^^xsd:string
[ sp:varName "safetyCount"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#numberInSet> ;
sp:subject _:b8
sp:subject _:b12
]) ;
sp:where ([ sp:object
[ sp:varName "productionOperationRef"^^xsd:string
......@@ -599,47 +608,78 @@ period not processed"""^^xsd:string ;
[ sp:varName "installationReportRef"^^xsd:string
]
] [ sp:object
[ sp:varName "alarmCount"^^xsd:string
[ sp:varName "safetyRef"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#alarmCount> ;
sp:predicate <http://www.epim.no/schemas/mprml/1#safetyRef> ;
sp:subject
[ sp:varName "operationalHSERef"^^xsd:string
]
])
] [ sp:object
[ sp:varName "safetyCountRef"^^xsd:string
] ;
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 _:b9 ;
sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#hasLastPartOfTypeRemainingActivityPair> ;
sp:predicate <http://www.epim.no/schemas/mprml/1#safetyCountRef> ;
sp:subject
[ sp:varName "productionOperation"^^xsd:string
[ sp:varName "safetyRef"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/production-activity#LastPartOfTypeRemainingActivityPair> ;
sp:predicate rdf:type ;
sp:subject _:b9
] [ sp:object <http://www.reportinghub.no/ep/schema/production-activity#DefinedHazardAndAccidentSituation> ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#definingType> ;
sp:subject _:b9
] [ sp:object _:b10 ;
sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#remainingActivity> ;
sp:subject _:b9
] [ sp:object <http://www.reportinghub.no/ep/schema/production-activity#ProductionOperation> ;
sp:predicate rdf:type ;
sp:subject _:b10
] [ sp:object _:b11 ;
sp:predicate rdf:type ;
sp:subject _:b10
] [ sp:object <http://www.reportinghub.no/ep/schema/core#TimeDuration> ;
sp:predicate rdf:type ;
sp:subject _:b11
] [ sp:object
[ sp:varName "realSinceDefinedSituation"^^xsd:string
[ sp:varName "safetyCount"^^xsd:string
] ;
sp:predicate
[ sp:varName "sinceDefinedSituationScale"^^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:subject _:b11
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 40302 Set the safety consideration description"^^xsd:string ;
sp:templates ([ sp:object _:b13 ;
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 _:b13
] [ sp:object
[ sp:varName "safetyDescription"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#description> ;
sp:subject _:b13
]) ;
sp:where ([ sp:object
[ sp:varName "productionOperationRef"^^xsd:string
......@@ -683,70 +723,30 @@ period not processed"""^^xsd:string ;
[ sp:varName "productionOperation"^^xsd:string
]
] [ sp:object
[ sp:varName "sinceDefinedSituationRef"^^xsd:string
[ sp:varName "safetyDescription"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#sinceDefinedSituationRef> ;
sp:predicate <http://www.epim.no/schemas/mprml/1#safetyDescription> ;
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 40304 Set the time since most recent accident prevention exercise"^^xsd:string ;
sp:templates ([ sp:object _:b12 ;
sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#hasLastPartOfTypeRemainingActivityPair> ;
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/transform/transform-helper-schema#forComment> ;
sp:subject
[ sp:varName "productionOperation"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/production-activity#LastPartOfTypeRemainingActivityPair> ;
sp:predicate rdf:type ;
sp:subject _:b12
] [ sp:object <http://www.reportinghub.no/ep/schema/production-activity#AccidentPreventionExercise> ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#definingType> ;
sp:subject _:b12
] [ sp:object _:b13 ;
sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#remainingActivity> ;
sp:subject _:b12
] [ sp:object <http://www.reportinghub.no/ep/schema/production-activity#ProductionOperation> ;
sp:predicate rdf:type ;
sp:subject _:b13
] [ sp:object _:b14 ;
sp:predicate rdf:type ;
sp:subject _:b13
] [ sp:object <http://www.reportinghub.no/ep/schema/core#TimeDuration> ;
sp:predicate rdf:type ;
sp:subject _:b14
] [ sp:object
[ sp:varName "realSincePreventionExercise"^^xsd:string
] ;
sp:predicate
[ sp:varName "sincePreventionExerciseScale"^^xsd:string
[ sp:varName "commentRef"^^xsd:string
] ;
sp:subject _:b14
sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#typeOfPartCommentedOn> ;
sp:subject <http://www.reportinghub.no/ep/schema/production-activity#HealthSafetyAndEnvironmentActivity>
]) ;
sp:where ([ sp:object
[ sp:varName "productionOperationRef"^^xsd:string
......@@ -790,56 +790,59 @@ period not processed"""^^xsd:string ;
[ sp:varName "productionOperation"^^xsd:string
]
] [ sp:object
[ sp:varName "sincePreventionExerciseRef"^^xsd:string
[ sp:varName "annualProductionOperationToDate"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#sincePreventionExerciseRef> ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject
[ sp:varName "operationalHSERef"^^xsd:string
[ 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 "realSincePreventionExercise"^^xsd:string
[ sp:varName "operationalHSERef"^^xsd:string
] ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:predicate <http://www.epim.no/schemas/mprml/1#operationalHSERef> ;
sp:subject
[ sp:varName "sincePreventionExerciseRef"^^xsd:string
[ sp:varName "installationReportRef"^^xsd:string
]
] [ sp:object
[ sp:varName "uomSincePreventionExercise"^^xsd:string
[ sp:varName "safetyRef"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#uomRef> ;
sp:predicate <http://www.epim.no/schemas/mprml/1#safetyRef> ;
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:varName "operationalHSERef"^^xsd:string
]
] [ sp:object
[ sp:varName "commentRef"^^xsd:string
] ;
sp:variable
[ sp:varName "sincePreventionExerciseScale"^^xsd:string
sp:predicate <http://www.epim.no/schemas/mprml/1#commentRef> ;
sp:subject
[ sp:varName "safetyRef"^^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 _:b15 ;
rdfs:comment "STEP 40301 Set the number of personnel safety introductions"^^xsd:string ;
sp:templates ([ sp:object _:b14 ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#hasSetOfAllPartsOfDefinedType> ;
sp:subject
[ sp:varName "productionOperation"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/core#SetOfAllPartsOfDefinedType> ;
sp:predicate rdf:type ;
sp:subject _:b15
] [ sp:object <http://www.reportinghub.no/ep/schema/production-activity#AccidentOrInjury> ;
sp:subject _:b14
] [ sp:object <http://www.reportinghub.no/ep/schema/production-activity#PersonnelSafetyIntroduction> ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#definingType> ;
sp:subject _:b15
sp:subject _:b14
] [ sp:object
[ sp:varName "incidentCount"^^xsd:string
[ sp:varName "safetyIntroCount"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#numberInSet> ;
sp:subject _:b15
sp:subject _:b14
]) ;
sp:where ([ sp:object
[ sp:varName "productionOperationRef"^^xsd:string
......@@ -890,9 +893,9 @@ period not processed"""^^xsd:string ;
[ sp:varName "installationReportRef"^^xsd:string
]
] [ sp:object
[ sp:varName "incidentCount"^^xsd:string
[ sp:varName "safetyIntroCount"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#incidentCount> ;
sp:predicate <http://www.epim.no/schemas/mprml/1#safetyIntroCount> ;
sp:subject
[ sp:varName "operationalHSERef"^^xsd:string
]
......@@ -900,23 +903,23 @@ period not processed"""^^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 _:b16 ;
rdfs:comment "STEP 40307 Set the number of number of medical treatments"^^xsd:string ;
sp:templates ([ sp:object _:b15 ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#hasSetOfAllPartsOfDefinedType> ;
sp:subject
[ sp:varName "productionOperation"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/core#SetOfAllPartsOfDefinedType> ;
sp:predicate rdf:type ;
sp:subject _:b16
] [ sp:object <http://www.reportinghub.no/ep/schema/production-activity#PersonnelSafetyIntroduction> ;
sp:subject _:b15
] [ sp:object <http://www.reportinghub.no/ep/schema/production-activity#MedicalTreatment> ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#definingType> ;
sp:subject _:b16
sp:subject _:b15
] [ sp:object
[ sp:varName "safetyIntroCount"^^xsd:string
[ sp:varName "medicalTreatmentCount"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#numberInSet> ;
sp:subject _:b16
sp:subject _:b15
]) ;
sp:where ([ sp:object
[ sp:varName "productionOperationRef"^^xsd:string
......@@ -967,9 +970,9 @@ period not processed"""^^xsd:string ;
[ sp:varName "installationReportRef"^^xsd:string
]
] [ sp:object
[ sp:varName "safetyIntroCount"^^xsd:string
[ sp:varName "medicalTreatmentCount"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#safetyIntroCount> ;
sp:predicate <http://www.epim.no/schemas/mprml/1#medicalTreatmentCount> ;
sp:subject
[ sp:varName "operationalHSERef"^^xsd:string
]
......@@ -977,25 +980,30 @@ period not processed"""^^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 _:b17 ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#hasSetOfAllPartsOfDefinedType> ;
rdfs:comment "STEP 40309 Set the mean time between incidents"^^xsd:string ;
sp:templates ([ sp:object _:b16 ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#hasCompositionOfAllPartsOfDefinedType> ;
sp:subject
[ sp:varName "productionOperation"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/core#SetOfAllPartsOfDefinedType> ;
] [ sp:object <http://www.reportinghub.no/ep/schema/core#CompositionOfAllPartsOfDefinedType> ;
sp:predicate rdf:type ;
sp:subject _:b17
] [ sp:object
[ sp:varName "safetyActivityType"^^xsd:string
] ;
sp:subject _:b16
] [ sp:object <http://www.reportinghub.no/ep/schema/production-activity#AccidentOrInjury> ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#definingType> ;
sp:subject _:b16
] [ sp:object _:b17 ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#meanTimeBetweenParts> ;
sp:subject _:b16
] [ sp:object <http://www.reportinghub.no/ep/schema/core#TimeDuration> ;
sp:predicate rdf:type ;
sp:subject _:b17
] [ sp:object
[ sp:varName "safetyCount"^^xsd:string
[ sp:varName "realMeantimeIncident"^^xsd:string
] ;
sp:predicate
[ sp:varName "meantimeIncidentScale"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#numberInSet> ;
sp:subject _:b17
]) ;
sp:where ([ sp:object
......@@ -1054,70 +1062,55 @@ period not processed"""^^xsd:string ;
[ sp:varName "operationalHSERef"^^xsd:string
]
] [ sp:object
[ sp:varName "safetyCountRef"^^xsd:string
[ sp:varName "meantimeIncidentRef"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#safetyCountRef> ;
sp:predicate <http://www.epim.no/schemas/mprml/1#meantimeIncidentRef> ;
sp:subject
[ sp:varName "safetyRef"^^xsd:string
]
] [ sp:object
[ sp:varName "safetyCount"^^xsd:string
[ sp:varName "realMeantimeIncident"^^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
[ sp:varName "meantimeIncidentRef"^^xsd:string
]
])
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object
[ sp:varName "reportingPeriod"^^xsd:string
] [ sp:object
[ sp:varName "uomMeantimeIncident"^^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:predicate <http://www.epim.no/schemas/mprml/1#uomRef> ;
sp:subject
[ sp:varName "safetyCountRef"^^xsd:string
[ sp:varName "meantimeIncidentRef"^^xsd:string
]
])
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-mpr-spin-lib:selectSafetyActivityType ;
sp:arg1 [ sp:varName "safetyTypeRef"^^xsd:string
[ rdf:type ep-mpr-spin-lib:selectDurationScale ;
sp:arg1 [ sp:varName "uomMeantimeIncident"^^xsd:string
]
] ;
sp:variable
[ sp:varName "safetyActivityType"^^xsd:string
[ sp:varName "meantimeIncidentScale"^^xsd:string
]
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 40302 Set the safety consideration description"^^xsd:string ;
rdfs:comment "STEP 40308 Set the number of number of alarms"^^xsd:string ;
sp:templates ([ sp:object _:b18 ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#hasPart> ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#hasSetOfAllPartsOfDefinedType> ;
sp:subject
[ sp:varName "productionOperation"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/production-activity#SafetyConsideration> ;
] [ sp:object <http://www.reportinghub.no/ep/schema/core#SetOfAllPartsOfDefinedType> ;
sp:predicate rdf:type ;
sp:subject _:b18
] [ sp:object <http://www.reportinghub.no/ep/schema/production-activity#Alarm> ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#definingType> ;
sp:subject _:b18
] [ sp:object
[ sp:varName "safetyDescription"^^xsd:string
[ sp:varName "alarmCount"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#description> ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#numberInSet> ;
sp:subject _:b18
]) ;
sp:where ([ sp:object
......@@ -1162,9 +1155,16 @@ period not processed"""^^xsd:string ;
[ sp:varName "productionOperation"^^xsd:string
]
] [ sp:object
[ sp:varName "safetyDescription"^^xsd:string
[ sp:varName "operationalHSERef"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#safetyDescription> ;
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
]
......@@ -1173,5 +1173,5 @@ period not processed"""^^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/transform/transform-helper-schema> , <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: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> , <http://www.reportinghub.no/ep/transform/transform-helper-schema> ;
owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
......