David Leal

More MPR_productionOperation transform stuff

...@@ -39,7 +39,7 @@ ...@@ -39,7 +39,7 @@
39 <http://www.reportinghub.no/ep/schema/activity#ProductionWellTest> 39 <http://www.reportinghub.no/ep/schema/activity#ProductionWellTest>
40 rdf:type owl:Class ; 40 rdf:type owl:Class ;
41 rdfs:label "production well test"^^xsd:string ; 41 rdfs:label "production well test"^^xsd:string ;
42 - rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#WellTest> , <http://www.reportinghub.no/ep/schema/activity#ProductionActivity> . 42 + rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#ProductionActivity> , <http://www.reportinghub.no/ep/schema/activity#WellTest> .
43 43
44 <http://www.reportinghub.no/ep/schema/activity#WeeklyProductionActivity> 44 <http://www.reportinghub.no/ep/schema/activity#WeeklyProductionActivity>
45 rdf:type ep-prodact:ProductionOperationClassByDuration . 45 rdf:type ep-prodact:ProductionOperationClassByDuration .
...@@ -54,7 +54,7 @@ ...@@ -54,7 +54,7 @@
54 rdfs:range <http://www.reportinghub.no/ep/schema/flow#WholeLifeFlow> . 54 rdfs:range <http://www.reportinghub.no/ep/schema/flow#WholeLifeFlow> .
55 55
56 ep-core:Mass 56 ep-core:Mass
57 - rdf:type ep-core:PropertySpace , rdfs:Class ; 57 + rdf:type rdfs:Class , ep-core:PropertySpace ;
58 rdfs:label "mass"^^xsd:string ; 58 rdfs:label "mass"^^xsd:string ;
59 rdfs:subClassOf ep-core:MeasureOfAmountOfMaterial . 59 rdfs:subClassOf ep-core:MeasureOfAmountOfMaterial .
60 60
...@@ -98,14 +98,25 @@ ep-core:Mass ...@@ -98,14 +98,25 @@ ep-core:Mass
98 rdf:type owl:Class ; 98 rdf:type owl:Class ;
99 rdfs:label "(temporal part of a) sample of material"^^xsd:string . 99 rdfs:label "(temporal part of a) sample of material"^^xsd:string .
100 100
101 +ep-prodact:AccidentOrInjury
102 + rdf:type owl:Class ;
103 + rdfs:label "accident or injury"^^xsd:string ;
104 + rdfs:subClassOf ep-prodact:Incident .
105 +
106 +ep-prodact:AccidentPreventionExercise
107 + rdf:type owl:Class ;
108 + rdfs:label "accident prevention exercise"^^xsd:string ;
109 + rdfs:subClassOf ep-prodact:DrillOrExcercise .
110 +
101 ep-prodact:AdministerFirstAid 111 ep-prodact:AdministerFirstAid
102 - rdf:type ep-prodact:SafetyActivityType , owl:Class ; 112 + rdf:type owl:Class , ep-prodact:SafetyActivityType ;
103 - rdfs:subClassOf ep-prodact:HealthSafetyAndEnvironmentActivity . 113 + rdfs:label "administer first aid"^^xsd:string ;
114 + rdfs:subClassOf ep-prodact:MedicalTreatment .
104 115
105 ep-prodact:AirTrafficOperation 116 ep-prodact:AirTrafficOperation
106 - rdf:type ep-prodact:ProductionActivityType , owl:Class ; 117 + rdf:type owl:Class , ep-prodact:ProductionActivityType ;
107 rdfs:label "air traffic operation"^^xsd:string ; 118 rdfs:label "air traffic operation"^^xsd:string ;
108 - rdfs:subClassOf ep-prodact:PartOfProductionActivity , ep-prodact:TransportationActivity . 119 + rdfs:subClassOf ep-prodact:TransportationActivity , ep-prodact:PartOfProductionActivity .
109 120
110 ep-prodact:Alarm 121 ep-prodact:Alarm
111 rdf:type owl:Class ; 122 rdf:type owl:Class ;
...@@ -122,81 +133,89 @@ ep-prodact:AlertType ...@@ -122,81 +133,89 @@ ep-prodact:AlertType
122 rdfs:subClassOf owl:Class . 133 rdfs:subClassOf owl:Class .
123 134
124 ep-prodact:AllocateSplitFactors 135 ep-prodact:AllocateSplitFactors
125 - rdf:type ep-prodact:SplitFactorDeterminationType , owl:Class ; 136 + rdf:type owl:Class , ep-prodact:SplitFactorDeterminationType ;
126 rdfs:label "allocate split factors"^^xsd:string ; 137 rdfs:label "allocate split factors"^^xsd:string ;
127 rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#Activity> . 138 rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#Activity> .
128 139
129 ep-prodact:AnnualProductionActivity 140 ep-prodact:AnnualProductionActivity
130 - rdf:type owl:Class , ep-prodact:ProductionOperationClassByDuration ; 141 + rdf:type ep-prodact:ProductionOperationClassByDuration , owl:Class ;
131 rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#ProductionActivity> . 142 rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#ProductionActivity> .
132 143
133 ep-prodact:AnnualProductionActivityToDate 144 ep-prodact:AnnualProductionActivityToDate
134 - rdf:type ep-prodact:ProductionOperationClassByDuration , owl:Class ; 145 + rdf:type owl:Class , ep-prodact:ProductionOperationClassByDuration ;
135 rdfs:subClassOf ep-prodact:AnnualProductionActivity . 146 rdfs:subClassOf ep-prodact:AnnualProductionActivity .
136 147
137 ep-prodact:AnnualProductionOperationToDate 148 ep-prodact:AnnualProductionOperationToDate
138 - rdf:type ep-prodact:ProductionOperationClassByDuration , owl:Class ; 149 + rdf:type owl:Class , ep-prodact:ProductionOperationClassByDuration ;
139 rdfs:label "annual production operation to date"^^xsd:string ; 150 rdfs:label "annual production operation to date"^^xsd:string ;
140 - rdfs:subClassOf ep-prodact:AnnualProductionActivityToDate , ep-prodact:ProductionOperation . 151 + rdfs:subClassOf ep-prodact:ProductionOperation , ep-prodact:AnnualProductionActivityToDate .
141 152
142 ep-prodact:AnnualProductionVolumeActivityToEndOfReportingPeriod 153 ep-prodact:AnnualProductionVolumeActivityToEndOfReportingPeriod
143 - rdf:type owl:Class , ep-prodact:ProductionOperationClassByDuration ; 154 + rdf:type ep-prodact:ProductionOperationClassByDuration , owl:Class ;
144 - rdfs:subClassOf ep-prodact:ProductionVolumeActivity , ep-prodact:AnnualProductionActivityToDate . 155 + rdfs:subClassOf ep-prodact:AnnualProductionActivityToDate , ep-prodact:ProductionVolumeActivity .
156 +
157 +ep-prodact:BasketMovement
158 + rdf:type owl:Class ;
159 + rdfs:label "basket movement"^^xsd:string ;
160 + rdfs:subClassOf ep-prodact:MarineOperation .
145 161
146 ep-prodact:CargoShipOperation 162 ep-prodact:CargoShipOperation
147 rdf:type owl:Class ; 163 rdf:type owl:Class ;
148 - rdfs:subClassOf ep-prodact:PartOfProductionActivity , ep-prodact:TransportationActivity . 164 + rdfs:subClassOf ep-prodact:TransportationActivity , ep-prodact:PartOfProductionActivity .
149 165
150 ep-prodact:ConstructionOperation 166 ep-prodact:ConstructionOperation
151 - rdf:type ep-prodact:ProductionActivityType , owl:Class ; 167 + rdf:type owl:Class , ep-prodact:ProductionActivityType ;
152 rdfs:label "construction operation"^^xsd:string ; 168 rdfs:label "construction operation"^^xsd:string ;
153 rdfs:subClassOf ep-prodact:PartOfProductionActivity . 169 rdfs:subClassOf ep-prodact:PartOfProductionActivity .
154 170
155 ep-prodact:CumulativeProductionActivitySinceProductionBegan 171 ep-prodact:CumulativeProductionActivitySinceProductionBegan
156 - rdf:type owl:Class , ep-prodact:ProductionOperationClassByDuration ; 172 + rdf:type ep-prodact:ProductionOperationClassByDuration , owl:Class ;
157 rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#ProductionActivity> . 173 rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#ProductionActivity> .
158 174
159 ep-prodact:DailyProductionOperation 175 ep-prodact:DailyProductionOperation
160 - rdf:type owl:Class , ep-prodact:ProductionOperationClassByDuration ; 176 + rdf:type ep-prodact:ProductionOperationClassByDuration , owl:Class ;
161 rdfs:label "daily production operation"^^xsd:string ; 177 rdfs:label "daily production operation"^^xsd:string ;
162 - rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#DailyProductionActivity> , ep-prodact:ProductionOperation . 178 + rdfs:subClassOf ep-prodact:ProductionOperation , <http://www.reportinghub.no/ep/schema/activity#DailyProductionActivity> .
163 179
164 ep-prodact:DailyProductionOperationProcessingLoss 180 ep-prodact:DailyProductionOperationProcessingLoss
165 - rdf:type ep-prodact:ReasonForLossOfProcessingType , owl:Class ; 181 + rdf:type owl:Class , ep-prodact:ReasonForLossOfProcessingType ;
166 rdfs:label "daily production operation processing loss"^^xsd:string ; 182 rdfs:label "daily production operation processing loss"^^xsd:string ;
167 rdfs:subClassOf ep-prodact:ProductionOperationProcessingLoss . 183 rdfs:subClassOf ep-prodact:ProductionOperationProcessingLoss .
168 184
169 ep-prodact:DailyProductionVolumeActivity 185 ep-prodact:DailyProductionVolumeActivity
170 - rdf:type owl:Class , ep-prodact:ProductionOperationClassByDuration ; 186 + rdf:type ep-prodact:ProductionOperationClassByDuration , owl:Class ;
171 - rdfs:subClassOf ep-prodact:ProductionVolumeActivity , <http://www.reportinghub.no/ep/schema/activity#DailyProductionActivity> . 187 + rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#DailyProductionActivity> , ep-prodact:ProductionVolumeActivity .
188 +
189 +ep-prodact:DefinedHazardAndAccidentSituation
190 + rdf:type owl:Class ;
191 + rdfs:label "defined hazard and accident situation"^^xsd:string ;
192 + rdfs:subClassOf ep-prodact:Incident .
172 193
173 ep-prodact:Deviation 194 ep-prodact:Deviation
174 - rdf:type ep-prodact:ProductionActivityType , owl:Class ; 195 + rdf:type owl:Class , ep-prodact:ProductionActivityType ;
175 rdfs:label "deviation"^^xsd:string ; 196 rdfs:label "deviation"^^xsd:string ;
176 rdfs:subClassOf ep-prodact:PartOfProductionActivity . 197 rdfs:subClassOf ep-prodact:PartOfProductionActivity .
177 198
178 ep-prodact:DrillOrExcercise 199 ep-prodact:DrillOrExcercise
179 - rdf:type ep-prodact:SafetyActivityType , owl:Class ; 200 + rdf:type owl:Class , ep-prodact:SafetyActivityType ;
201 + rdfs:label "drill or exercise"^^xsd:string ;
180 rdfs:subClassOf ep-prodact:HealthSafetyAndEnvironmentActivity . 202 rdfs:subClassOf ep-prodact:HealthSafetyAndEnvironmentActivity .
181 203
182 ep-prodact:ExtendedMaintenanceTurnaround 204 ep-prodact:ExtendedMaintenanceTurnaround
183 - rdf:type ep-prodact:ReasonForLossOfProcessingType , owl:Class ; 205 + rdf:type owl:Class , ep-prodact:ReasonForLossOfProcessingType ;
184 rdfs:label "extended maintenance turnaround"^^xsd:string ; 206 rdfs:label "extended maintenance turnaround"^^xsd:string ;
185 rdfs:subClassOf ep-prodact:ProductionOperationProcessingLoss . 207 rdfs:subClassOf ep-prodact:ProductionOperationProcessingLoss .
186 208
187 ep-prodact:ExtendedMaintenanceTurnaroundExportTerminal 209 ep-prodact:ExtendedMaintenanceTurnaroundExportTerminal
188 - rdf:type owl:Class , ep-prodact:ReasonForLossOfProcessingType ; 210 + rdf:type ep-prodact:ReasonForLossOfProcessingType , owl:Class ;
189 rdfs:label "extended maintenance turnaround export terminal"^^xsd:string ; 211 rdfs:label "extended maintenance turnaround export terminal"^^xsd:string ;
190 rdfs:subClassOf ep-prodact:ExtendedMaintenanceTurnaround . 212 rdfs:subClassOf ep-prodact:ExtendedMaintenanceTurnaround .
191 213
192 ep-prodact:Fire 214 ep-prodact:Fire
193 - rdf:type owl:Class ; 215 + rdf:type owl:Class , ep-prodact:SafetyActivityType ;
216 + rdfs:label "fire"^^xsd:string ;
194 rdfs:subClassOf ep-prodact:Incident . 217 rdfs:subClassOf ep-prodact:Incident .
195 218
196 -ep-prodact:FirstAid
197 - rdf:type owl:Class ;
198 - rdfs:subClassOf ep-prodact:HealthSafetyAndEnvironmentActivity .
199 -
200 ep-prodact:FlowLine 219 ep-prodact:FlowLine
201 rdf:type owl:Class ; 220 rdf:type owl:Class ;
202 rdfs:subClassOf <http://www.reportinghub.no/ep/schema/equipment#TemporalPartOfAFlowLine> . 221 rdfs:subClassOf <http://www.reportinghub.no/ep/schema/equipment#TemporalPartOfAFlowLine> .
...@@ -208,55 +227,55 @@ ep-prodact:FlowLine-Production ...@@ -208,55 +227,55 @@ ep-prodact:FlowLine-Production
208 ep-prodact:FluidLevelTest 227 ep-prodact:FluidLevelTest
209 rdf:type owl:Class ; 228 rdf:type owl:Class ;
210 rdfs:label "fluid level test"^^xsd:string ; 229 rdfs:label "fluid level test"^^xsd:string ;
211 - rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#ProductionActivity> , <http://www.reportinghub.no/ep/schema/activity#WellTest> . 230 + rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#WellTest> , <http://www.reportinghub.no/ep/schema/activity#ProductionActivity> .
212 231
213 ep-prodact:FluidSampling-DST 232 ep-prodact:FluidSampling-DST
214 - rdf:type owl:Class , ep-prodact:FluidSamplingType ; 233 + rdf:type ep-prodact:FluidSamplingType , owl:Class ;
215 rdfs:label "fluid sampling - DST"^^xsd:string ; 234 rdfs:label "fluid sampling - DST"^^xsd:string ;
216 rdfs:subClassOf ep-prodact:FluidSamplingAndAnalysis . 235 rdfs:subClassOf ep-prodact:FluidSamplingAndAnalysis .
217 236
218 ep-prodact:FluidSampling-RFTorMDT 237 ep-prodact:FluidSampling-RFTorMDT
219 - rdf:type owl:Class , ep-prodact:FluidSamplingType ; 238 + rdf:type ep-prodact:FluidSamplingType , owl:Class ;
220 rdfs:label "fluid sampling - RFT or MDT"^^xsd:string ; 239 rdfs:label "fluid sampling - RFT or MDT"^^xsd:string ;
221 rdfs:subClassOf ep-prodact:FluidSamplingAndAnalysis . 240 rdfs:subClassOf ep-prodact:FluidSamplingAndAnalysis .
222 241
223 ep-prodact:FluidSampling-bottomhole 242 ep-prodact:FluidSampling-bottomhole
224 - rdf:type owl:Class , ep-prodact:FluidSamplingType ; 243 + rdf:type ep-prodact:FluidSamplingType , owl:Class ;
225 rdfs:label "fluid sampling - bottomhole"^^xsd:string ; 244 rdfs:label "fluid sampling - bottomhole"^^xsd:string ;
226 rdfs:subClassOf ep-prodact:FluidSamplingAndAnalysis . 245 rdfs:subClassOf ep-prodact:FluidSamplingAndAnalysis .
227 246
228 ep-prodact:FluidSampling-formationTester 247 ep-prodact:FluidSampling-formationTester
229 - rdf:type owl:Class , ep-prodact:FluidSamplingType ; 248 + rdf:type ep-prodact:FluidSamplingType , owl:Class ;
230 rdfs:label "fluid sampling - formation tester"^^xsd:string ; 249 rdfs:label "fluid sampling - formation tester"^^xsd:string ;
231 rdfs:subClassOf ep-prodact:FluidSamplingAndAnalysis . 250 rdfs:subClassOf ep-prodact:FluidSamplingAndAnalysis .
232 251
233 ep-prodact:FluidSampling-recombined 252 ep-prodact:FluidSampling-recombined
234 - rdf:type owl:Class , ep-prodact:FluidSamplingType ; 253 + rdf:type ep-prodact:FluidSamplingType , owl:Class ;
235 rdfs:label "fluid sampling - recombined"^^xsd:string ; 254 rdfs:label "fluid sampling - recombined"^^xsd:string ;
236 rdfs:subClassOf ep-prodact:FluidSamplingAndAnalysis . 255 rdfs:subClassOf ep-prodact:FluidSamplingAndAnalysis .
237 256
238 ep-prodact:FluidSampling-separatorGas 257 ep-prodact:FluidSampling-separatorGas
239 - rdf:type owl:Class , ep-prodact:FluidSamplingType ; 258 + rdf:type ep-prodact:FluidSamplingType , owl:Class ;
240 rdfs:label "fluid sampling - separator gas"^^xsd:string ; 259 rdfs:label "fluid sampling - separator gas"^^xsd:string ;
241 rdfs:subClassOf ep-prodact:FluidSamplingAndAnalysis . 260 rdfs:subClassOf ep-prodact:FluidSamplingAndAnalysis .
242 261
243 ep-prodact:FluidSampling-separatorOil 262 ep-prodact:FluidSampling-separatorOil
244 - rdf:type owl:Class , ep-prodact:FluidSamplingType ; 263 + rdf:type ep-prodact:FluidSamplingType , owl:Class ;
245 rdfs:label "fluid sampling - separator oil"^^xsd:string ; 264 rdfs:label "fluid sampling - separator oil"^^xsd:string ;
246 rdfs:subClassOf ep-prodact:FluidSamplingAndAnalysis . 265 rdfs:subClassOf ep-prodact:FluidSamplingAndAnalysis .
247 266
248 ep-prodact:FluidSampling-separatorWater 267 ep-prodact:FluidSampling-separatorWater
249 - rdf:type owl:Class , ep-prodact:FluidSamplingType ; 268 + rdf:type ep-prodact:FluidSamplingType , owl:Class ;
250 rdfs:label "fluid sampling - separator water"^^xsd:string ; 269 rdfs:label "fluid sampling - separator water"^^xsd:string ;
251 rdfs:subClassOf ep-prodact:FluidSamplingAndAnalysis . 270 rdfs:subClassOf ep-prodact:FluidSamplingAndAnalysis .
252 271
253 ep-prodact:FluidSampling-synthetic 272 ep-prodact:FluidSampling-synthetic
254 - rdf:type owl:Class , ep-prodact:FluidSamplingType ; 273 + rdf:type ep-prodact:FluidSamplingType , owl:Class ;
255 rdfs:label "fluid sampling - synthetic"^^xsd:string ; 274 rdfs:label "fluid sampling - synthetic"^^xsd:string ;
256 rdfs:subClassOf ep-prodact:FluidSamplingAndAnalysis . 275 rdfs:subClassOf ep-prodact:FluidSamplingAndAnalysis .
257 276
258 ep-prodact:FluidSampling-wellhead 277 ep-prodact:FluidSampling-wellhead
259 - rdf:type ep-prodact:FluidSamplingType , owl:Class ; 278 + rdf:type owl:Class , ep-prodact:FluidSamplingType ;
260 rdfs:label "fluid sampling - wellhead"^^xsd:string ; 279 rdfs:label "fluid sampling - wellhead"^^xsd:string ;
261 rdfs:subClassOf ep-prodact:FluidSamplingAndAnalysis . 280 rdfs:subClassOf ep-prodact:FluidSamplingAndAnalysis .
262 281
...@@ -279,7 +298,7 @@ ep-prodact:FusionOfPartsOfProductionActivityOverPeriod ...@@ -279,7 +298,7 @@ ep-prodact:FusionOfPartsOfProductionActivityOverPeriod
279 rdfs:subClassOf ep-prodact:PartOfProductionActivity . 298 rdfs:subClassOf ep-prodact:PartOfProductionActivity .
280 299
281 ep-prodact:HSEProblem 300 ep-prodact:HSEProblem
282 - rdf:type ep-prodact:ReasonForLossOfProcessingType , owl:Class ; 301 + rdf:type owl:Class , ep-prodact:ReasonForLossOfProcessingType ;
283 rdfs:label "HSE problem"^^xsd:string ; 302 rdfs:label "HSE problem"^^xsd:string ;
284 rdfs:subClassOf ep-prodact:ProductionOperationProcessingLoss . 303 rdfs:subClassOf ep-prodact:ProductionOperationProcessingLoss .
285 304
...@@ -292,46 +311,60 @@ ep-prodact:Incident ...@@ -292,46 +311,60 @@ ep-prodact:Incident
292 rdfs:subClassOf ep-prodact:HealthSafetyAndEnvironmentActivity . 311 rdfs:subClassOf ep-prodact:HealthSafetyAndEnvironmentActivity .
293 312
294 ep-prodact:InitialWellTest 313 ep-prodact:InitialWellTest
295 - rdf:type owl:Class , ep-prodact:WellTestReasonType ; 314 + rdf:type ep-prodact:WellTestReasonType , owl:Class ;
296 rdfs:label "initial"^^xsd:string ; 315 rdfs:label "initial"^^xsd:string ;
297 rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#WellTest> . 316 rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#WellTest> .
298 317
299 ep-prodact:InjectionWellTest 318 ep-prodact:InjectionWellTest
300 rdf:type owl:Class ; 319 rdf:type owl:Class ;
301 rdfs:label "injection well test"^^xsd:string ; 320 rdfs:label "injection well test"^^xsd:string ;
302 - rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#ProductionActivity> , <http://www.reportinghub.no/ep/schema/activity#WellTest> . 321 + rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#WellTest> , <http://www.reportinghub.no/ep/schema/activity#ProductionActivity> .
303 322
304 ep-prodact:Injury 323 ep-prodact:Injury
305 - rdf:type ep-prodact:SafetyActivityType , owl:Class ; 324 + rdf:type owl:Class ;
306 - rdfs:subClassOf ep-prodact:HealthSafetyAndEnvironmentActivity . 325 + rdfs:label "injury"^^xsd:string ;
326 + rdfs:subClassOf ep-prodact:AccidentOrInjury .
307 327
308 ep-prodact:IssueBillOfLading 328 ep-prodact:IssueBillOfLading
309 - rdf:type owl:Class , ep-prodact:SalesActivityType ; 329 + rdf:type ep-prodact:SalesActivityType , owl:Class ;
310 rdfs:label "issue bill of lading"^^xsd:string ; 330 rdfs:label "issue bill of lading"^^xsd:string ;
311 rdfs:subClassOf ep-prodact:SalesActivity . 331 rdfs:subClassOf ep-prodact:SalesActivity .
312 332
313 ep-prodact:IssueWorkPermit 333 ep-prodact:IssueWorkPermit
314 - rdf:type ep-prodact:SafetyActivityType , owl:Class ; 334 + rdf:type owl:Class , ep-prodact:SafetyActivityType ;
335 + rdfs:label "issue work permit"^^xsd:string ;
315 rdfs:subClassOf ep-prodact:HealthSafetyAndEnvironmentActivity . 336 rdfs:subClassOf ep-prodact:HealthSafetyAndEnvironmentActivity .
316 337
338 +ep-prodact:IssueWorkPermitWithSJA
339 + rdf:type owl:Class , ep-prodact:SafetyActivityType ;
340 + rdfs:label "issue work permit with SJA"^^xsd:string ;
341 + rdfs:subClassOf ep-prodact:IssueWorkPermit .
342 +
317 ep-prodact:JobObservation 343 ep-prodact:JobObservation
318 - rdf:type owl:Class ; 344 + rdf:type owl:Class , ep-prodact:SafetyActivityType ;
345 + rdfs:label "job observation"^^xsd:string ;
319 rdfs:subClassOf ep-prodact:HealthSafetyAndEnvironmentActivity . 346 rdfs:subClassOf ep-prodact:HealthSafetyAndEnvironmentActivity .
320 347
348 +ep-prodact:LastPartOfTypeRemainingActivityPair
349 + rdf:type owl:Class ;
350 + rdfs:label "last part of type - remaining activity pair"^^xsd:string ;
351 + rdfs:subClassOf owl:Thing .
352 +
321 ep-prodact:LostProduction 353 ep-prodact:LostProduction
322 rdf:type owl:Class ; 354 rdf:type owl:Class ;
323 rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#ProductionActivity> . 355 rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#ProductionActivity> .
324 356
325 ep-prodact:LostTimeAccident 357 ep-prodact:LostTimeAccident
326 rdf:type owl:Class ; 358 rdf:type owl:Class ;
327 - rdfs:subClassOf ep-prodact:HealthSafetyAndEnvironmentActivity . 359 + rdfs:subClassOf ep-prodact:Incident .
328 360
329 ep-prodact:LostTimeIncident 361 ep-prodact:LostTimeIncident
330 - rdf:type owl:Class ; 362 + rdf:type owl:Class , ep-prodact:SafetyActivityType ;
363 + rdfs:label "lost time incident"^^xsd:string ;
331 rdfs:subClassOf ep-prodact:Incident . 364 rdfs:subClassOf ep-prodact:Incident .
332 365
333 ep-prodact:MaintenanceActivity 366 ep-prodact:MaintenanceActivity
334 - rdf:type ep-prodact:ProductionActivityType , owl:Class ; 367 + rdf:type owl:Class , ep-prodact:ProductionActivityType ;
335 rdfs:label "maintenance activity"^^xsd:string ; 368 rdfs:label "maintenance activity"^^xsd:string ;
336 rdfs:subClassOf ep-prodact:PartOfProductionActivity . 369 rdfs:subClassOf ep-prodact:PartOfProductionActivity .
337 370
...@@ -341,21 +374,21 @@ ep-prodact:MakeAComment ...@@ -341,21 +374,21 @@ ep-prodact:MakeAComment
341 rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#Activity> . 374 rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#Activity> .
342 375
343 ep-prodact:MakeATransaction 376 ep-prodact:MakeATransaction
344 - rdf:type owl:Class , ep-prodact:SalesActivityType ; 377 + rdf:type ep-prodact:SalesActivityType , owl:Class ;
345 rdfs:label "make a transaction"^^xsd:string ; 378 rdfs:label "make a transaction"^^xsd:string ;
346 rdfs:subClassOf ep-prodact:SalesActivity . 379 rdfs:subClassOf ep-prodact:SalesActivity .
347 380
348 ep-prodact:MarineOperation 381 ep-prodact:MarineOperation
349 rdf:type owl:Class ; 382 rdf:type owl:Class ;
350 - rdfs:subClassOf ep-prodact:PartOfProductionActivity , ep-prodact:TransportationActivity . 383 + rdfs:subClassOf ep-prodact:TransportationActivity , ep-prodact:PartOfProductionActivity .
351 384
352 ep-prodact:MarkedGasLossOfExport 385 ep-prodact:MarkedGasLossOfExport
353 - rdf:type owl:Class , ep-prodact:ReasonForLossOfProcessingType ; 386 + rdf:type ep-prodact:ReasonForLossOfProcessingType , owl:Class ;
354 rdfs:label "marked gas loss of export"^^xsd:string ; 387 rdfs:label "marked gas loss of export"^^xsd:string ;
355 rdfs:subClassOf ep-prodact:ProductionOperationProcessingLoss . 388 rdfs:subClassOf ep-prodact:ProductionOperationProcessingLoss .
356 389
357 ep-prodact:MarkedOilLossOfExport 390 ep-prodact:MarkedOilLossOfExport
358 - rdf:type ep-prodact:ReasonForLossOfProcessingType , owl:Class ; 391 + rdf:type owl:Class , ep-prodact:ReasonForLossOfProcessingType ;
359 rdfs:label "marked oil loss of export"^^xsd:string ; 392 rdfs:label "marked oil loss of export"^^xsd:string ;
360 rdfs:subClassOf ep-prodact:ProductionOperationProcessingLoss . 393 rdfs:subClassOf ep-prodact:ProductionOperationProcessingLoss .
361 394
...@@ -365,30 +398,36 @@ ep-prodact:MeasurePropertiesOfAFlow ...@@ -365,30 +398,36 @@ ep-prodact:MeasurePropertiesOfAFlow
365 rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#Activity> . 398 rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#Activity> .
366 399
367 ep-prodact:MeasureSplitFactors 400 ep-prodact:MeasureSplitFactors
368 - rdf:type owl:Class , ep-prodact:SplitFactorDeterminationType ; 401 + rdf:type ep-prodact:SplitFactorDeterminationType , owl:Class ;
369 rdfs:label "measure split factors"^^xsd:string ; 402 rdfs:label "measure split factors"^^xsd:string ;
370 rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#Activity> . 403 rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#Activity> .
371 404
405 +ep-prodact:MedicalTreatment
406 + rdf:type owl:Class ;
407 + rdfs:label "medical treatment"^^xsd:string ;
408 + rdfs:subClassOf ep-prodact:HealthSafetyAndEnvironmentActivity .
409 +
372 ep-prodact:MedicalTreatmentInjury 410 ep-prodact:MedicalTreatmentInjury
373 - rdf:type ep-prodact:SafetyActivityType , owl:Class ; 411 + rdf:type owl:Class , ep-prodact:SafetyActivityType ;
412 + rdfs:label "medical treatment"^^xsd:string ;
374 rdfs:subClassOf ep-prodact:Injury . 413 rdfs:subClassOf ep-prodact:Injury .
375 414
376 ep-prodact:ModificationProject 415 ep-prodact:ModificationProject
377 - rdf:type owl:Class , ep-prodact:ReasonForLossOfProcessingType ; 416 + rdf:type ep-prodact:ReasonForLossOfProcessingType , owl:Class ;
378 rdfs:label "modification project"^^xsd:string ; 417 rdfs:label "modification project"^^xsd:string ;
379 rdfs:subClassOf ep-prodact:ProductionOperationProcessingLoss . 418 rdfs:subClassOf ep-prodact:ProductionOperationProcessingLoss .
380 419
381 ep-prodact:MonthlyProductionActivity 420 ep-prodact:MonthlyProductionActivity
382 - rdf:type owl:Class , ep-prodact:ProductionOperationClassByDuration ; 421 + rdf:type ep-prodact:ProductionOperationClassByDuration , owl:Class ;
383 rdfs:label "monthly production activity"^^xsd:string ; 422 rdfs:label "monthly production activity"^^xsd:string ;
384 rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#ProductionActivity> . 423 rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#ProductionActivity> .
385 424
386 ep-prodact:MonthlyProductionActivityToEndOfReportingPeriod 425 ep-prodact:MonthlyProductionActivityToEndOfReportingPeriod
387 - rdf:type owl:Class , ep-prodact:ProductionOperationClassByDuration ; 426 + rdf:type ep-prodact:ProductionOperationClassByDuration , owl:Class ;
388 rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#MonthlyProductionActivity> . 427 rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#MonthlyProductionActivity> .
389 428
390 ep-prodact:MonthlyProductionOperationToDate 429 ep-prodact:MonthlyProductionOperationToDate
391 - rdf:type owl:Class , ep-prodact:ProductionOperationClassByDuration ; 430 + rdf:type ep-prodact:ProductionOperationClassByDuration , owl:Class ;
392 rdfs:label "monthly production to date"^^xsd:string ; 431 rdfs:label "monthly production to date"^^xsd:string ;
393 rdfs:subClassOf ep-prodact:ProductionOperation . 432 rdfs:subClassOf ep-prodact:ProductionOperation .
394 433
...@@ -403,7 +442,8 @@ ep-prodact:MovementOfProductType ...@@ -403,7 +442,8 @@ ep-prodact:MovementOfProductType
403 rdfs:subClassOf owl:Class . 442 rdfs:subClassOf owl:Class .
404 443
405 ep-prodact:NearMiss 444 ep-prodact:NearMiss
406 - rdf:type owl:Class ; 445 + rdf:type owl:Class , ep-prodact:SafetyActivityType ;
446 + rdfs:label "near miss"^^xsd:string ;
407 rdfs:subClassOf ep-prodact:HealthSafetyAndEnvironmentActivity . 447 rdfs:subClassOf ep-prodact:HealthSafetyAndEnvironmentActivity .
408 448
409 ep-prodact:NotablePartOfProductionActivity 449 ep-prodact:NotablePartOfProductionActivity
...@@ -411,17 +451,17 @@ ep-prodact:NotablePartOfProductionActivity ...@@ -411,17 +451,17 @@ ep-prodact:NotablePartOfProductionActivity
411 rdfs:subClassOf ep-prodact:PartOfProductionActivity . 451 rdfs:subClassOf ep-prodact:PartOfProductionActivity .
412 452
413 ep-prodact:OperationMistakes 453 ep-prodact:OperationMistakes
414 - rdf:type ep-prodact:ReasonForLossOfProcessingType , owl:Class ; 454 + rdf:type owl:Class , ep-prodact:ReasonForLossOfProcessingType ;
415 rdfs:label "operation mistakes"^^xsd:string ; 455 rdfs:label "operation mistakes"^^xsd:string ;
416 rdfs:subClassOf ep-prodact:ProductionOperationProcessingLoss . 456 rdfs:subClassOf ep-prodact:ProductionOperationProcessingLoss .
417 457
418 ep-prodact:OtherProductionActivity 458 ep-prodact:OtherProductionActivity
419 - rdf:type ep-prodact:ProductionActivityType , owl:Class ; 459 + rdf:type owl:Class , ep-prodact:ProductionActivityType ;
420 rdfs:label "other production activity"^^xsd:string ; 460 rdfs:label "other production activity"^^xsd:string ;
421 rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#Activity> . 461 rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#Activity> .
422 462
423 ep-prodact:OtherReasonWellTest 463 ep-prodact:OtherReasonWellTest
424 - rdf:type owl:Class , ep-prodact:WellTestReasonType ; 464 + rdf:type ep-prodact:WellTestReasonType , owl:Class ;
425 rdfs:label "other"^^xsd:string ; 465 rdfs:label "other"^^xsd:string ;
426 rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#WellTest> . 466 rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#WellTest> .
427 467
...@@ -436,32 +476,37 @@ ep-prodact:Participation ...@@ -436,32 +476,37 @@ ep-prodact:Participation
436 rdfs:subPropertyOf ep-prodact:involvement . 476 rdfs:subPropertyOf ep-prodact:involvement .
437 477
438 ep-prodact:PeriodicWellTest 478 ep-prodact:PeriodicWellTest
439 - rdf:type owl:Class , ep-prodact:WellTestReasonType ; 479 + rdf:type ep-prodact:WellTestReasonType , owl:Class ;
440 rdfs:label "periodic"^^xsd:string ; 480 rdfs:label "periodic"^^xsd:string ;
441 rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#WellTest> . 481 rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#WellTest> .
442 482
483 +ep-prodact:PersonnelSafetyIntroduction
484 + rdf:type owl:Class ;
485 + rdfs:label "personnel safety introduction"^^xsd:string ;
486 + rdfs:subClassOf ep-prodact:HealthSafetyAndEnvironmentActivity .
487 +
443 ep-prodact:PlannedMaintenanceTurnaround 488 ep-prodact:PlannedMaintenanceTurnaround
444 - rdf:type ep-prodact:ReasonForLossOfProcessingType , owl:Class ; 489 + rdf:type owl:Class , ep-prodact:ReasonForLossOfProcessingType ;
445 rdfs:label "planned maintenace turnaround"^^xsd:string ; 490 rdfs:label "planned maintenace turnaround"^^xsd:string ;
446 rdfs:subClassOf ep-prodact:ProductionOperationProcessingLoss . 491 rdfs:subClassOf ep-prodact:ProductionOperationProcessingLoss .
447 492
448 ep-prodact:PowerStationFailure 493 ep-prodact:PowerStationFailure
449 - rdf:type ep-prodact:ProductionActivityType , owl:Class ; 494 + rdf:type owl:Class , ep-prodact:ProductionActivityType ;
450 rdfs:label "power station failure"^^xsd:string ; 495 rdfs:label "power station failure"^^xsd:string ;
451 rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#Activity> . 496 rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#Activity> .
452 497
453 ep-prodact:PreventiveMaintenanceTopside 498 ep-prodact:PreventiveMaintenanceTopside
454 - rdf:type ep-prodact:ReasonForLossOfProcessingType , owl:Class ; 499 + rdf:type owl:Class , ep-prodact:ReasonForLossOfProcessingType ;
455 rdfs:label "preventive maintenace topside"^^xsd:string ; 500 rdfs:label "preventive maintenace topside"^^xsd:string ;
456 rdfs:subClassOf ep-prodact:ProductionOperationProcessingLoss . 501 rdfs:subClassOf ep-prodact:ProductionOperationProcessingLoss .
457 502
458 ep-prodact:ProcessAndOperationProblem 503 ep-prodact:ProcessAndOperationProblem
459 - rdf:type ep-prodact:ReasonForLossOfProcessingType , owl:Class ; 504 + rdf:type owl:Class , ep-prodact:ReasonForLossOfProcessingType ;
460 rdfs:label "process and operation problem"^^xsd:string ; 505 rdfs:label "process and operation problem"^^xsd:string ;
461 rdfs:subClassOf ep-prodact:ProductionOperationProcessingLoss . 506 rdfs:subClassOf ep-prodact:ProductionOperationProcessingLoss .
462 507
463 ep-prodact:ProductCompletedLifting 508 ep-prodact:ProductCompletedLifting
464 - rdf:type ep-prodact:MovementOfProductType , owl:Class ; 509 + rdf:type owl:Class , ep-prodact:MovementOfProductType ;
465 rdfs:label "product completed lifting"^^xsd:string ; 510 rdfs:label "product completed lifting"^^xsd:string ;
466 rdfs:subClassOf ep-prodact:MovementOfProduct . 511 rdfs:subClassOf ep-prodact:MovementOfProduct .
467 512
...@@ -471,77 +516,77 @@ ep-prodact:ProductDespatch ...@@ -471,77 +516,77 @@ ep-prodact:ProductDespatch
471 rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#ProductionActivity> . 516 rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#ProductionActivity> .
472 517
473 ep-prodact:ProductGain-Loss 518 ep-prodact:ProductGain-Loss
474 - rdf:type ep-prodact:MovementOfProductType , owl:Class ; 519 + rdf:type owl:Class , ep-prodact:MovementOfProductType ;
475 rdfs:label "product gain/loss"^^xsd:string ; 520 rdfs:label "product gain/loss"^^xsd:string ;
476 rdfs:subClassOf ep-prodact:MovementOfProduct . 521 rdfs:subClassOf ep-prodact:MovementOfProduct .
477 522
478 ep-prodact:ProductInputToStorage 523 ep-prodact:ProductInputToStorage
479 - rdf:type ep-prodact:MovementOfProductType , owl:Class ; 524 + rdf:type owl:Class , ep-prodact:MovementOfProductType ;
480 rdfs:label "product input to storage"^^xsd:string ; 525 rdfs:label "product input to storage"^^xsd:string ;
481 rdfs:subClassOf ep-prodact:MovementOfProduct . 526 rdfs:subClassOf ep-prodact:MovementOfProduct .
482 527
483 ep-prodact:ProductLifted 528 ep-prodact:ProductLifted
484 - rdf:type ep-prodact:MovementOfProductType , owl:Class ; 529 + rdf:type owl:Class , ep-prodact:MovementOfProductType ;
485 rdfs:label "product lifted"^^xsd:string ; 530 rdfs:label "product lifted"^^xsd:string ;
486 rdfs:subClassOf ep-prodact:MovementOfProduct . 531 rdfs:subClassOf ep-prodact:MovementOfProduct .
487 532
488 ep-prodact:ProductLiftingEntitlement 533 ep-prodact:ProductLiftingEntitlement
489 - rdf:type ep-prodact:MovementOfProductType , owl:Class ; 534 + rdf:type owl:Class , ep-prodact:MovementOfProductType ;
490 rdfs:label "product lifting entitlement"^^xsd:string ; 535 rdfs:label "product lifting entitlement"^^xsd:string ;
491 rdfs:subClassOf ep-prodact:MovementOfProduct . 536 rdfs:subClassOf ep-prodact:MovementOfProduct .
492 537
493 ep-prodact:ProductLiftingEntitlementRemaining 538 ep-prodact:ProductLiftingEntitlementRemaining
494 - rdf:type ep-prodact:MovementOfProductType , owl:Class ; 539 + rdf:type owl:Class , ep-prodact:MovementOfProductType ;
495 rdfs:label "product lifting entitlement remaining"^^xsd:string ; 540 rdfs:label "product lifting entitlement remaining"^^xsd:string ;
496 rdfs:subClassOf ep-prodact:MovementOfProduct . 541 rdfs:subClassOf ep-prodact:MovementOfProduct .
497 542
498 ep-prodact:ProductLinePack 543 ep-prodact:ProductLinePack
499 - rdf:type owl:Class , ep-prodact:MovementOfProductType ; 544 + rdf:type ep-prodact:MovementOfProductType , owl:Class ;
500 rdfs:label "product line pack"^^xsd:string ; 545 rdfs:label "product line pack"^^xsd:string ;
501 rdfs:subClassOf ep-prodact:MovementOfProduct . 546 rdfs:subClassOf ep-prodact:MovementOfProduct .
502 547
503 ep-prodact:ProductMassAdjustment 548 ep-prodact:ProductMassAdjustment
504 - rdf:type ep-prodact:MovementOfProductType , owl:Class ; 549 + rdf:type owl:Class , ep-prodact:MovementOfProductType ;
505 rdfs:label "product mass adjustment"^^xsd:string ; 550 rdfs:label "product mass adjustment"^^xsd:string ;
506 rdfs:subClassOf ep-prodact:MovementOfProduct . 551 rdfs:subClassOf ep-prodact:MovementOfProduct .
507 552
508 ep-prodact:ProductPartialLifting 553 ep-prodact:ProductPartialLifting
509 - rdf:type ep-prodact:MovementOfProductType , owl:Class ; 554 + rdf:type owl:Class , ep-prodact:MovementOfProductType ;
510 rdfs:label "product partial lifting"^^xsd:string ; 555 rdfs:label "product partial lifting"^^xsd:string ;
511 rdfs:subClassOf ep-prodact:MovementOfProduct . 556 rdfs:subClassOf ep-prodact:MovementOfProduct .
512 557
513 ep-prodact:ProductPipelineLifting 558 ep-prodact:ProductPipelineLifting
514 - rdf:type ep-prodact:MovementOfProductType , owl:Class ; 559 + rdf:type owl:Class , ep-prodact:MovementOfProductType ;
515 rdfs:label "product pipeline lifting"^^xsd:string ; 560 rdfs:label "product pipeline lifting"^^xsd:string ;
516 rdfs:subClassOf ep-prodact:MovementOfProduct . 561 rdfs:subClassOf ep-prodact:MovementOfProduct .
517 562
518 ep-prodact:ProductProductionImbalance 563 ep-prodact:ProductProductionImbalance
519 - rdf:type ep-prodact:MovementOfProductType , owl:Class ; 564 + rdf:type owl:Class , ep-prodact:MovementOfProductType ;
520 rdfs:label "product production imbalance"^^xsd:string ; 565 rdfs:label "product production imbalance"^^xsd:string ;
521 rdfs:subClassOf ep-prodact:MovementOfProduct . 566 rdfs:subClassOf ep-prodact:MovementOfProduct .
522 567
523 ep-prodact:ProductSwap 568 ep-prodact:ProductSwap
524 - rdf:type ep-prodact:MovementOfProductType , owl:Class ; 569 + rdf:type owl:Class , ep-prodact:MovementOfProductType ;
525 rdfs:label "product swap"^^xsd:string ; 570 rdfs:label "product swap"^^xsd:string ;
526 rdfs:subClassOf ep-prodact:MovementOfProduct . 571 rdfs:subClassOf ep-prodact:MovementOfProduct .
527 572
528 ep-prodact:ProductTankerLifting 573 ep-prodact:ProductTankerLifting
529 - rdf:type ep-prodact:MovementOfProductType , owl:Class ; 574 + rdf:type owl:Class , ep-prodact:MovementOfProductType ;
530 rdfs:label "product tanker lifting"^^xsd:string ; 575 rdfs:label "product tanker lifting"^^xsd:string ;
531 rdfs:subClassOf ep-prodact:MovementOfProduct . 576 rdfs:subClassOf ep-prodact:MovementOfProduct .
532 577
533 ep-prodact:ProductTransaction 578 ep-prodact:ProductTransaction
534 - rdf:type ep-prodact:MovementOfProductType , owl:Class ; 579 + rdf:type owl:Class , ep-prodact:MovementOfProductType ;
535 rdfs:label "product transaction"^^xsd:string ; 580 rdfs:label "product transaction"^^xsd:string ;
536 rdfs:subClassOf ep-prodact:MovementOfProduct . 581 rdfs:subClassOf ep-prodact:MovementOfProduct .
537 582
538 ep-prodact:ProductTransfer 583 ep-prodact:ProductTransfer
539 - rdf:type ep-prodact:MovementOfProductType , owl:Class ; 584 + rdf:type owl:Class , ep-prodact:MovementOfProductType ;
540 rdfs:label "product transfer"^^xsd:string ; 585 rdfs:label "product transfer"^^xsd:string ;
541 rdfs:subClassOf ep-prodact:MovementOfProduct . 586 rdfs:subClassOf ep-prodact:MovementOfProduct .
542 587
543 ep-prodact:ProductionActivityLastingLessThanAYear 588 ep-prodact:ProductionActivityLastingLessThanAYear
544 - rdf:type owl:Class , ep-prodact:ProductionOperationClassByDuration ; 589 + rdf:type ep-prodact:ProductionOperationClassByDuration , owl:Class ;
545 rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#ProductionActivity> . 590 rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#ProductionActivity> .
546 591
547 ep-prodact:ProductionActivityType 592 ep-prodact:ProductionActivityType
...@@ -550,7 +595,7 @@ ep-prodact:ProductionActivityType ...@@ -550,7 +595,7 @@ ep-prodact:ProductionActivityType
550 rdfs:subClassOf owl:Class . 595 rdfs:subClassOf owl:Class .
551 596
552 ep-prodact:ProductionOperation 597 ep-prodact:ProductionOperation
553 - rdf:type owl:Class , ep-prodact:ProductionActivityType ; 598 + rdf:type ep-prodact:ProductionActivityType , owl:Class ;
554 rdfs:label "production operation"^^xsd:string ; 599 rdfs:label "production operation"^^xsd:string ;
555 rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#ProductionActivity> . 600 rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#ProductionActivity> .
556 601
...@@ -575,12 +620,12 @@ ep-prodact:ProductionOperationProcessingLoss ...@@ -575,12 +620,12 @@ ep-prodact:ProductionOperationProcessingLoss
575 rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#ProductionActivity> . 620 rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#ProductionActivity> .
576 621
577 ep-prodact:ProductionOperationProcessingLossForUnspecifiedReason 622 ep-prodact:ProductionOperationProcessingLossForUnspecifiedReason
578 - rdf:type owl:Class , ep-prodact:ReasonForLossOfProcessingType ; 623 + rdf:type ep-prodact:ReasonForLossOfProcessingType , owl:Class ;
579 rdfs:label "production operation processing loss for unspecified reason"^^xsd:string ; 624 rdfs:label "production operation processing loss for unspecified reason"^^xsd:string ;
580 rdfs:subClassOf ep-prodact:ProductionOperationProcessingLoss . 625 rdfs:subClassOf ep-prodact:ProductionOperationProcessingLoss .
581 626
582 ep-prodact:ProductionOperationProcessingRegulatoryReference 627 ep-prodact:ProductionOperationProcessingRegulatoryReference
583 - rdf:type ep-prodact:ReasonForLossOfProcessingType , owl:Class ; 628 + rdf:type owl:Class , ep-prodact:ReasonForLossOfProcessingType ;
584 rdfs:label "production operation processing regulatory reference"^^xsd:string ; 629 rdfs:label "production operation processing regulatory reference"^^xsd:string ;
585 rdfs:subClassOf ep-prodact:ProductionOperationProcessingLoss . 630 rdfs:subClassOf ep-prodact:ProductionOperationProcessingLoss .
586 631
...@@ -608,16 +653,23 @@ ep-prodact:ReasonForLossOfProcessingType ...@@ -608,16 +653,23 @@ ep-prodact:ReasonForLossOfProcessingType
608 rdfs:label "reason for loss of processing type"^^xsd:string ; 653 rdfs:label "reason for loss of processing type"^^xsd:string ;
609 rdfs:subClassOf owl:Class . 654 rdfs:subClassOf owl:Class .
610 655
611 -ep-prodact:ReleasedToWater 656 +ep-prodact:ReleaseToAir
612 - rdf:type owl:Class ; 657 + rdf:type owl:Class , ep-prodact:SafetyActivityType ;
613 - rdfs:subClassOf ep-prodact:HealthSafetyAndEnvironmentActivity . 658 + rdfs:label "release to air"^^xsd:string ;
659 + rdfs:subClassOf ep-prodact:SpillOrLeak .
660 +
661 +ep-prodact:ReleaseToWater
662 + rdf:type owl:Class , ep-prodact:SafetyActivityType ;
663 + rdfs:label "release to water"^^xsd:string ;
664 + rdfs:subClassOf ep-prodact:SpillOrLeak .
614 665
615 ep-prodact:ReportHazard 666 ep-prodact:ReportHazard
616 - rdf:type ep-prodact:SafetyActivityType , owl:Class ; 667 + rdf:type owl:Class , ep-prodact:SafetyActivityType ;
668 + rdfs:label "report hazard"^^xsd:string ;
617 rdfs:subClassOf ep-prodact:HealthSafetyAndEnvironmentActivity . 669 rdfs:subClassOf ep-prodact:HealthSafetyAndEnvironmentActivity .
618 670
619 ep-prodact:ReservoirLoss 671 ep-prodact:ReservoirLoss
620 - rdf:type ep-prodact:ReasonForLossOfProcessingType , owl:Class ; 672 + rdf:type owl:Class , ep-prodact:ReasonForLossOfProcessingType ;
621 rdfs:label "reservoir loss"^^xsd:string ; 673 rdfs:label "reservoir loss"^^xsd:string ;
622 rdfs:subClassOf ep-prodact:ProductionOperationProcessingLoss . 674 rdfs:subClassOf ep-prodact:ProductionOperationProcessingLoss .
623 675
...@@ -626,20 +678,28 @@ ep-prodact:RestrictedWork ...@@ -626,20 +678,28 @@ ep-prodact:RestrictedWork
626 rdfs:subClassOf ep-prodact:HealthSafetyAndEnvironmentActivity . 678 rdfs:subClassOf ep-prodact:HealthSafetyAndEnvironmentActivity .
627 679
628 ep-prodact:RestrictedWorkInjury 680 ep-prodact:RestrictedWorkInjury
629 - rdf:type ep-prodact:SafetyActivityType , owl:Class ; 681 + rdf:type owl:Class , ep-prodact:SafetyActivityType ;
682 + rdfs:label "restricted work injury"^^xsd:string ;
630 rdfs:subClassOf ep-prodact:Injury . 683 rdfs:subClassOf ep-prodact:Injury .
631 684
632 ep-prodact:RevisionWellTest 685 ep-prodact:RevisionWellTest
633 - rdf:type owl:Class , ep-prodact:WellTestReasonType ; 686 + rdf:type ep-prodact:WellTestReasonType , owl:Class ;
634 rdfs:label "revision"^^xsd:string ; 687 rdfs:label "revision"^^xsd:string ;
635 rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#WellTest> . 688 rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#WellTest> .
636 689
637 ep-prodact:SafetyActivityType 690 ep-prodact:SafetyActivityType
638 rdf:type rdfs:Class ; 691 rdf:type rdfs:Class ;
692 + rdfs:label "safety activity type"^^xsd:string ;
639 rdfs:subClassOf owl:Class . 693 rdfs:subClassOf owl:Class .
640 694
695 +ep-prodact:SafetyConsideration
696 + rdf:type owl:Class ;
697 + rdfs:label "safety consideration"^^xsd:string ;
698 + rdfs:subClassOf ep-prodact:HealthSafetyAndEnvironmentActivity .
699 +
641 ep-prodact:SafetyMeeting 700 ep-prodact:SafetyMeeting
642 - rdf:type ep-prodact:SafetyActivityType , owl:Class ; 701 + rdf:type owl:Class , ep-prodact:SafetyActivityType ;
702 + rdfs:label "safety meeting"^^xsd:string ;
643 rdfs:subClassOf ep-prodact:HealthSafetyAndEnvironmentActivity . 703 rdfs:subClassOf ep-prodact:HealthSafetyAndEnvironmentActivity .
644 704
645 ep-prodact:SalesActivity 705 ep-prodact:SalesActivity
...@@ -653,28 +713,37 @@ ep-prodact:SalesActivityType ...@@ -653,28 +713,37 @@ ep-prodact:SalesActivityType
653 rdfs:subClassOf owl:Class . 713 rdfs:subClassOf owl:Class .
654 714
655 ep-prodact:SentAshore 715 ep-prodact:SentAshore
656 - rdf:type owl:Class ; 716 + rdf:type owl:Class , ep-prodact:SafetyActivityType ;
717 + rdfs:label "sent ashore"^^xsd:string ;
657 rdfs:subClassOf ep-prodact:HealthSafetyAndEnvironmentActivity . 718 rdfs:subClassOf ep-prodact:HealthSafetyAndEnvironmentActivity .
658 719
659 ep-prodact:SevereAccident 720 ep-prodact:SevereAccident
660 - rdf:type owl:Class ; 721 + rdf:type owl:Class , ep-prodact:SafetyActivityType ;
661 - rdfs:subClassOf ep-prodact:HealthSafetyAndEnvironmentActivity . 722 + rdfs:label "severe accident"^^xsd:string ;
723 + rdfs:subClassOf ep-prodact:Incident .
662 724
663 ep-prodact:SickOnBoard 725 ep-prodact:SickOnBoard
664 - rdf:type owl:Class ; 726 + rdf:type owl:Class , ep-prodact:SafetyActivityType ;
727 + rdfs:label "sick on board"^^xsd:string ;
665 rdfs:subClassOf ep-prodact:HealthSafetyAndEnvironmentActivity . 728 rdfs:subClassOf ep-prodact:HealthSafetyAndEnvironmentActivity .
666 729
667 ep-prodact:SpillOrLeak 730 ep-prodact:SpillOrLeak
668 - rdf:type ep-prodact:SafetyActivityType , owl:Class ; 731 + rdf:type owl:Class , ep-prodact:SafetyActivityType ;
669 - rdfs:subClassOf ep-prodact:HealthSafetyAndEnvironmentActivity . 732 + rdfs:label "spill or leak"^^xsd:string ;
733 + rdfs:subClassOf ep-prodact:Incident .
670 734
671 ep-prodact:SplitFactorDeterminationType 735 ep-prodact:SplitFactorDeterminationType
672 rdf:type rdfs:Class ; 736 rdf:type rdfs:Class ;
673 rdfs:label "split factor determination type"^^xsd:string ; 737 rdfs:label "split factor determination type"^^xsd:string ;
674 rdfs:subClassOf owl:Class . 738 rdfs:subClassOf owl:Class .
675 739
740 +ep-prodact:StandbyVesselOperation
741 + rdf:type owl:Class ;
742 + rdfs:label "standby vessel operation"^^xsd:string ;
743 + rdfs:subClassOf ep-prodact:MarineOperation .
744 +
676 ep-prodact:StrikeOrLockout 745 ep-prodact:StrikeOrLockout
677 - rdf:type ep-prodact:ReasonForLossOfProcessingType , owl:Class ; 746 + rdf:type owl:Class , ep-prodact:ReasonForLossOfProcessingType ;
678 rdfs:label "strike or lock-out"^^xsd:string ; 747 rdfs:label "strike or lock-out"^^xsd:string ;
679 rdfs:subClassOf ep-prodact:ProductionOperationProcessingLoss . 748 rdfs:subClassOf ep-prodact:ProductionOperationProcessingLoss .
680 749
...@@ -683,32 +752,42 @@ ep-prodact:SubstanceType ...@@ -683,32 +752,42 @@ ep-prodact:SubstanceType
683 rdfs:label "substance type"^^xsd:string ; 752 rdfs:label "substance type"^^xsd:string ;
684 rdfs:subClassOf owl:Class . 753 rdfs:subClassOf owl:Class .
685 754
755 +ep-prodact:SupplyShipOperation
756 + rdf:type owl:Class ;
757 + rdfs:label "supply ship operation"^^xsd:string ;
758 + rdfs:subClassOf ep-prodact:MarineOperation .
759 +
686 ep-prodact:TestingAndLogging 760 ep-prodact:TestingAndLogging
687 - rdf:type ep-prodact:ReasonForLossOfProcessingType , owl:Class ; 761 + rdf:type owl:Class , ep-prodact:ReasonForLossOfProcessingType ;
688 rdfs:label "testing and logging"^^xsd:string ; 762 rdfs:label "testing and logging"^^xsd:string ;
689 rdfs:subClassOf ep-prodact:ProductionOperationProcessingLoss . 763 rdfs:subClassOf ep-prodact:ProductionOperationProcessingLoss .
690 764
691 ep-prodact:ThirdPartyProcessingLoss 765 ep-prodact:ThirdPartyProcessingLoss
692 - rdf:type ep-prodact:ReasonForLossOfProcessingType , owl:Class ; 766 + rdf:type owl:Class , ep-prodact:ReasonForLossOfProcessingType ;
693 rdfs:label "third party processing loss"^^xsd:string ; 767 rdfs:label "third party processing loss"^^xsd:string ;
694 rdfs:subClassOf ep-prodact:ProductionOperationProcessingLoss . 768 rdfs:subClassOf ep-prodact:ProductionOperationProcessingLoss .
695 769
696 ep-prodact:TopsideEquipmentFailureMaintenance 770 ep-prodact:TopsideEquipmentFailureMaintenance
697 - rdf:type ep-prodact:ReasonForLossOfProcessingType , owl:Class ; 771 + rdf:type owl:Class , ep-prodact:ReasonForLossOfProcessingType ;
698 rdfs:label "topside equipment failure maintenance"^^xsd:string ; 772 rdfs:label "topside equipment failure maintenance"^^xsd:string ;
699 rdfs:subClassOf ep-prodact:ProductionOperationProcessingLoss . 773 rdfs:subClassOf ep-prodact:ProductionOperationProcessingLoss .
700 774
775 +ep-prodact:TrafficAccident
776 + rdf:type owl:Class , ep-prodact:SafetyActivityType ;
777 + rdfs:label "traffic accident"^^xsd:string ;
778 + rdfs:subClassOf ep-prodact:Incident .
779 +
701 ep-prodact:TransportationActivity 780 ep-prodact:TransportationActivity
702 rdf:type owl:Class ; 781 rdf:type owl:Class ;
703 rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#Activity> . 782 rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#Activity> .
704 783
705 ep-prodact:UnavailableTankerStorage 784 ep-prodact:UnavailableTankerStorage
706 - rdf:type ep-prodact:ReasonForLossOfProcessingType , owl:Class ; 785 + rdf:type owl:Class , ep-prodact:ReasonForLossOfProcessingType ;
707 rdfs:label "unavailable tanker storage"^^xsd:string ; 786 rdfs:label "unavailable tanker storage"^^xsd:string ;
708 rdfs:subClassOf ep-prodact:ProductionOperationProcessingLoss . 787 rdfs:subClassOf ep-prodact:ProductionOperationProcessingLoss .
709 788
710 ep-prodact:UnknownReasonWellTest 789 ep-prodact:UnknownReasonWellTest
711 - rdf:type owl:Class , ep-prodact:WellTestReasonType ; 790 + rdf:type ep-prodact:WellTestReasonType , owl:Class ;
712 rdfs:label "unknown"^^xsd:string ; 791 rdfs:label "unknown"^^xsd:string ;
713 rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#WellTest> . 792 rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#WellTest> .
714 793
...@@ -724,30 +803,30 @@ ep-prodact:WaterDischarge ...@@ -724,30 +803,30 @@ ep-prodact:WaterDischarge
724 ep-prodact:WaterSample 803 ep-prodact:WaterSample
725 rdf:type owl:Class ; 804 rdf:type owl:Class ;
726 rdfs:label "(temporal part of a) water sample"^^xsd:string ; 805 rdfs:label "(temporal part of a) water sample"^^xsd:string ;
727 - rdfs:subClassOf ep-material:Water , <http://www.reportinghub.no/ep/schema/flow#SampleOfMaterial> . 806 + rdfs:subClassOf <http://www.reportinghub.no/ep/schema/flow#SampleOfMaterial> , ep-material:Water .
728 807
729 ep-prodact:WeatherProblem 808 ep-prodact:WeatherProblem
730 - rdf:type owl:Class , ep-prodact:ReasonForLossOfProcessingType ; 809 + rdf:type ep-prodact:ReasonForLossOfProcessingType , owl:Class ;
731 rdfs:label "weather problem"^^xsd:string ; 810 rdfs:label "weather problem"^^xsd:string ;
732 rdfs:subClassOf ep-prodact:ProductionOperationProcessingLoss . 811 rdfs:subClassOf ep-prodact:ProductionOperationProcessingLoss .
733 812
734 ep-prodact:WellEquipmentFailureMaintenance 813 ep-prodact:WellEquipmentFailureMaintenance
735 - rdf:type ep-prodact:ReasonForLossOfProcessingType , owl:Class ; 814 + rdf:type owl:Class , ep-prodact:ReasonForLossOfProcessingType ;
736 rdfs:label "well equipment failure maintenance"^^xsd:string ; 815 rdfs:label "well equipment failure maintenance"^^xsd:string ;
737 rdfs:subClassOf ep-prodact:ProductionOperationProcessingLoss . 816 rdfs:subClassOf ep-prodact:ProductionOperationProcessingLoss .
738 817
739 ep-prodact:WellPlannedOperations 818 ep-prodact:WellPlannedOperations
740 - rdf:type ep-prodact:ReasonForLossOfProcessingType , owl:Class ; 819 + rdf:type owl:Class , ep-prodact:ReasonForLossOfProcessingType ;
741 rdfs:label "well planned operations"^^xsd:string ; 820 rdfs:label "well planned operations"^^xsd:string ;
742 rdfs:subClassOf ep-prodact:ProductionOperationProcessingLoss . 821 rdfs:subClassOf ep-prodact:ProductionOperationProcessingLoss .
743 822
744 ep-prodact:WellPreventiveMaintenance 823 ep-prodact:WellPreventiveMaintenance
745 - rdf:type ep-prodact:ReasonForLossOfProcessingType , owl:Class ; 824 + rdf:type owl:Class , ep-prodact:ReasonForLossOfProcessingType ;
746 rdfs:label "well preventive maintenance"^^xsd:string ; 825 rdfs:label "well preventive maintenance"^^xsd:string ;
747 rdfs:subClassOf ep-prodact:ProductionOperationProcessingLoss . 826 rdfs:subClassOf ep-prodact:ProductionOperationProcessingLoss .
748 827
749 ep-prodact:WellProblems 828 ep-prodact:WellProblems
750 - rdf:type ep-prodact:ReasonForLossOfProcessingType , owl:Class ; 829 + rdf:type owl:Class , ep-prodact:ReasonForLossOfProcessingType ;
751 rdfs:label "well problems"^^xsd:string ; 830 rdfs:label "well problems"^^xsd:string ;
752 rdfs:subClassOf ep-prodact:ProductionOperationProcessingLoss . 831 rdfs:subClassOf ep-prodact:ProductionOperationProcessingLoss .
753 832
...@@ -756,14 +835,6 @@ ep-prodact:WellTestReasonType ...@@ -756,14 +835,6 @@ ep-prodact:WellTestReasonType
756 rdfs:label "well test reason type"^^xsd:string ; 835 rdfs:label "well test reason type"^^xsd:string ;
757 rdfs:subClassOf owl:Class . 836 rdfs:subClassOf owl:Class .
758 837
759 -ep-prodact:WorkingUnderPermit
760 - rdf:type ep-prodact:SafetyActivityType , owl:Class ;
761 - rdfs:subClassOf ep-prodact:HealthSafetyAndEnvironmentActivity .
762 -
763 -ep-prodact:WorkingUnderPermitWithSJA
764 - rdf:type ep-prodact:SafetyActivityType , owl:Class ;
765 - rdfs:subClassOf ep-prodact:WorkingUnderPermit .
766 -
767 ep-prodact:accountNumber 838 ep-prodact:accountNumber
768 rdf:type owl:DatatypeProperty ; 839 rdf:type owl:DatatypeProperty ;
769 rdfs:domain ep-prodact:SalesActivity ; 840 rdfs:domain ep-prodact:SalesActivity ;
...@@ -792,7 +863,7 @@ ep-prodact:buyer ...@@ -792,7 +863,7 @@ ep-prodact:buyer
792 rdfs:range <http://www.reportinghub.no/ep/schema/production-organization#PersonOrOrganization> . 863 rdfs:range <http://www.reportinghub.no/ep/schema/production-organization#PersonOrOrganization> .
793 864
794 ep-prodact:cargoBatchNumber 865 ep-prodact:cargoBatchNumber
795 - rdf:type owl:FunctionalProperty , owl:DatatypeProperty ; 866 + rdf:type owl:DatatypeProperty , owl:FunctionalProperty ;
796 rdfs:label "cargo batch number"^^xsd:string . 867 rdfs:label "cargo batch number"^^xsd:string .
797 868
798 ep-prodact:cargoLoaded 869 ep-prodact:cargoLoaded
...@@ -802,7 +873,7 @@ ep-prodact:cargoLoaded ...@@ -802,7 +873,7 @@ ep-prodact:cargoLoaded
802 rdfs:range ep-core:PhysicalObject . 873 rdfs:range ep-core:PhysicalObject .
803 874
804 ep-prodact:cargoNumber 875 ep-prodact:cargoNumber
805 - rdf:type owl:FunctionalProperty , owl:DatatypeProperty ; 876 + rdf:type owl:DatatypeProperty , owl:FunctionalProperty ;
806 rdfs:label "cargo number"^^xsd:string . 877 rdfs:label "cargo number"^^xsd:string .
807 878
808 ep-prodact:classificationBySafetyActivityType 879 ep-prodact:classificationBySafetyActivityType
...@@ -849,17 +920,29 @@ ep-prodact:destination ...@@ -849,17 +920,29 @@ ep-prodact:destination
849 rdfs:label "destination"^^xsd:string ; 920 rdfs:label "destination"^^xsd:string ;
850 rdfs:range <http://www.reportinghub.no/ep/schema/geography#PartOfTheSurfaceOfTheEarth> . 921 rdfs:range <http://www.reportinghub.no/ep/schema/geography#PartOfTheSurfaceOfTheEarth> .
851 922
923 +ep-prodact:forComment
924 + rdf:type owl:ObjectProperty ;
925 + rdfs:comment "Used to pass an argument to Cs_datedComment"^^xsd:string ;
926 + rdfs:domain <http://www.reportinghub.no/ep/schema/activity#Activity> ;
927 + rdfs:label "for comment"^^xsd:string .
928 +
852 ep-prodact:glycolDensity 929 ep-prodact:glycolDensity
853 - rdf:type owl:FunctionalProperty , ep-core:Class_of_indirect_property , owl:ObjectProperty ; 930 + rdf:type owl:ObjectProperty , ep-core:Class_of_indirect_property , owl:FunctionalProperty ;
854 rdfs:domain ep-prodact:WaterSample ; 931 rdfs:domain ep-prodact:WaterSample ;
855 rdfs:range ep-core:Density . 932 rdfs:range ep-core:Density .
856 933
857 ep-prodact:hasGasLiftChoke 934 ep-prodact:hasGasLiftChoke
858 - rdf:type owl:ObjectProperty , owl:FunctionalProperty ; 935 + rdf:type owl:FunctionalProperty , owl:ObjectProperty ;
859 rdfs:domain <http://www.reportinghub.no/ep/schema/activity#WellTest> ; 936 rdfs:domain <http://www.reportinghub.no/ep/schema/activity#WellTest> ;
860 rdfs:label "has gas lift choke"^^xsd:string ; 937 rdfs:label "has gas lift choke"^^xsd:string ;
861 rdfs:range <http://www.reportinghub.no/ep/schema/production-equipment#GasLiftChoke> . 938 rdfs:range <http://www.reportinghub.no/ep/schema/production-equipment#GasLiftChoke> .
862 939
940 +ep-prodact:hasLastPartOfTypeRemainingActivityPair
941 + rdf:type owl:ObjectProperty ;
942 + rdfs:domain <http://www.reportinghub.no/ep/schema/activity#Activity> ;
943 + rdfs:label "has last part of type - remaining activity pair"^^xsd:string ;
944 + rdfs:range ep-prodact:LastPartOfTypeRemainingActivityPair .
945 +
863 ep-prodact:hasPart 946 ep-prodact:hasPart
864 rdf:type owl:ObjectProperty ; 947 rdf:type owl:ObjectProperty ;
865 rdfs:domain <http://www.reportinghub.no/ep/schema/activity#ProductionActivity> ; 948 rdfs:domain <http://www.reportinghub.no/ep/schema/activity#ProductionActivity> ;
...@@ -872,7 +955,7 @@ ep-prodact:hasPredecessor ...@@ -872,7 +955,7 @@ ep-prodact:hasPredecessor
872 rdfs:range <http://www.reportinghub.no/ep/schema/activity#Activity> . 955 rdfs:range <http://www.reportinghub.no/ep/schema/activity#Activity> .
873 956
874 ep-prodact:hasShutInPressure 957 ep-prodact:hasShutInPressure
875 - rdf:type owl:ObjectProperty , owl:FunctionalProperty , ep-core:Class_of_indirect_property ; 958 + rdf:type ep-core:Class_of_indirect_property , owl:FunctionalProperty , owl:ObjectProperty ;
876 rdfs:domain <http://www.reportinghub.no/ep/schema/activity#ProductionWellTest> ; 959 rdfs:domain <http://www.reportinghub.no/ep/schema/activity#ProductionWellTest> ;
877 rdfs:label "has shut-in pressure"^^xsd:string ; 960 rdfs:label "has shut-in pressure"^^xsd:string ;
878 rdfs:range ep-core:Pressure . 961 rdfs:range ep-core:Pressure .
...@@ -884,25 +967,25 @@ ep-prodact:hasValidPredecessor ...@@ -884,25 +967,25 @@ ep-prodact:hasValidPredecessor
884 rdfs:range <http://www.reportinghub.no/ep/schema/activity#Activity> . 967 rdfs:range <http://www.reportinghub.no/ep/schema/activity#Activity> .
885 968
886 ep-prodact:injectionWellTestMaximumAnnularPressure 969 ep-prodact:injectionWellTestMaximumAnnularPressure
887 - rdf:type owl:ObjectProperty , owl:FunctionalProperty , ep-core:Class_of_indirect_property ; 970 + rdf:type ep-core:Class_of_indirect_property , owl:FunctionalProperty , owl:ObjectProperty ;
888 rdfs:domain ep-prodact:InjectionWellTest ; 971 rdfs:domain ep-prodact:InjectionWellTest ;
889 rdfs:label "injection well test maximum annular pressure"^^xsd:string ; 972 rdfs:label "injection well test maximum annular pressure"^^xsd:string ;
890 rdfs:range ep-core:Pressure . 973 rdfs:range ep-core:Pressure .
891 974
892 ep-prodact:injectionWellTestMinimumAnnularPressure 975 ep-prodact:injectionWellTestMinimumAnnularPressure
893 - rdf:type owl:ObjectProperty , owl:FunctionalProperty , ep-core:Class_of_indirect_property ; 976 + rdf:type ep-core:Class_of_indirect_property , owl:FunctionalProperty , owl:ObjectProperty ;
894 rdfs:domain ep-prodact:InjectionWellTest ; 977 rdfs:domain ep-prodact:InjectionWellTest ;
895 rdfs:label "injection well test minimum annular pressure"^^xsd:string ; 978 rdfs:label "injection well test minimum annular pressure"^^xsd:string ;
896 rdfs:range ep-core:Pressure . 979 rdfs:range ep-core:Pressure .
897 980
898 ep-prodact:injectionWellTestWellheadFlowingPressure 981 ep-prodact:injectionWellTestWellheadFlowingPressure
899 - rdf:type owl:ObjectProperty , owl:FunctionalProperty , ep-core:Class_of_indirect_property ; 982 + rdf:type ep-core:Class_of_indirect_property , owl:FunctionalProperty , owl:ObjectProperty ;
900 rdfs:domain ep-prodact:InjectionWellTest ; 983 rdfs:domain ep-prodact:InjectionWellTest ;
901 rdfs:label "injection well test wellhead flowing pressure"^^xsd:string ; 984 rdfs:label "injection well test wellhead flowing pressure"^^xsd:string ;
902 rdfs:range ep-core:Pressure . 985 rdfs:range ep-core:Pressure .
903 986
904 ep-prodact:injectionWellTestWellheadMaximumPressure 987 ep-prodact:injectionWellTestWellheadMaximumPressure
905 - rdf:type owl:ObjectProperty , owl:FunctionalProperty , ep-core:Class_of_indirect_property ; 988 + rdf:type ep-core:Class_of_indirect_property , owl:FunctionalProperty , owl:ObjectProperty ;
906 rdfs:domain ep-prodact:InjectionWellTest ; 989 rdfs:domain ep-prodact:InjectionWellTest ;
907 rdfs:label "injection well test wellhead maximum pressure"^^xsd:string ; 990 rdfs:label "injection well test wellhead maximum pressure"^^xsd:string ;
908 rdfs:range ep-core:Pressure . 991 rdfs:range ep-core:Pressure .
...@@ -919,7 +1002,7 @@ ep-prodact:measuredFlow ...@@ -919,7 +1002,7 @@ ep-prodact:measuredFlow
919 rdfs:range <http://www.reportinghub.no/ep/schema/flow#Flow> . 1002 rdfs:range <http://www.reportinghub.no/ep/schema/flow#Flow> .
920 1003
921 ep-prodact:movedProduct 1004 ep-prodact:movedProduct
922 - rdf:type owl:ObjectProperty , owl:FunctionalProperty ; 1005 + rdf:type owl:FunctionalProperty , owl:ObjectProperty ;
923 rdfs:domain ep-prodact:MovementOfProduct ; 1006 rdfs:domain ep-prodact:MovementOfProduct ;
924 rdfs:label "moved product"^^xsd:string . 1007 rdfs:label "moved product"^^xsd:string .
925 1008
...@@ -938,16 +1021,6 @@ ep-prodact:noOfHazardReportCards ...@@ -938,16 +1021,6 @@ ep-prodact:noOfHazardReportCards
938 rdfs:domain <http://www.reportinghub.no/ep/schema/activity#ProductionActivity> ; 1021 rdfs:domain <http://www.reportinghub.no/ep/schema/activity#ProductionActivity> ;
939 rdfs:range xsd:integer . 1022 rdfs:range xsd:integer .
940 1023
941 -ep-prodact:noOfIncidentsTotal
942 - rdf:type owl:DatatypeProperty ;
943 - rdfs:domain <http://www.reportinghub.no/ep/schema/activity#ProductionActivity> ;
944 - rdfs:range xsd:integer .
945 -
946 -ep-prodact:noOfLostTimeIncidents
947 - rdf:type owl:DatatypeProperty ;
948 - rdfs:domain <http://www.reportinghub.no/ep/schema/activity#ProductionActivity> ;
949 - rdfs:range xsd:integer .
950 -
951 ep-prodact:noOfMiscellaneousHseEvents 1024 ep-prodact:noOfMiscellaneousHseEvents
952 rdf:type owl:DatatypeProperty ; 1025 rdf:type owl:DatatypeProperty ;
953 rdfs:domain <http://www.reportinghub.no/ep/schema/activity#ProductionActivity> ; 1026 rdfs:domain <http://www.reportinghub.no/ep/schema/activity#ProductionActivity> ;
...@@ -973,13 +1046,19 @@ ep-prodact:noOfSpillsOrLeaks ...@@ -973,13 +1046,19 @@ ep-prodact:noOfSpillsOrLeaks
973 rdfs:domain <http://www.reportinghub.no/ep/schema/activity#ProductionActivity> ; 1046 rdfs:domain <http://www.reportinghub.no/ep/schema/activity#ProductionActivity> ;
974 rdfs:range xsd:integer . 1047 rdfs:range xsd:integer .
975 1048
1049 +ep-prodact:noOfSystemAlarms
1050 + rdf:type owl:FunctionalProperty , owl:DatatypeProperty ;
1051 + rdfs:domain <http://www.reportinghub.no/ep/schema/activity#ProductionActivity> ;
1052 + rdfs:label "number of system alarms"^^xsd:string ;
1053 + rdfs:range xsd:integer .
1054 +
976 ep-prodact:oilInWater 1055 ep-prodact:oilInWater
977 rdf:type owl:ObjectProperty ; 1056 rdf:type owl:ObjectProperty ;
978 rdfs:domain ep-prodact:WaterSample ; 1057 rdfs:domain ep-prodact:WaterSample ;
979 rdfs:range ep-core:MassPerUnitMassConcentration . 1058 rdfs:range ep-core:MassPerUnitMassConcentration .
980 1059
981 ep-prodact:onProductionFacility 1060 ep-prodact:onProductionFacility
982 - rdf:type owl:ObjectProperty , owl:FunctionalProperty ; 1061 + rdf:type owl:FunctionalProperty , owl:ObjectProperty ;
983 rdfs:domain <http://www.reportinghub.no/ep/schema/activity#ProductionActivity> ; 1062 rdfs:domain <http://www.reportinghub.no/ep/schema/activity#ProductionActivity> ;
984 rdfs:label "on facility"^^xsd:string ; 1063 rdfs:label "on facility"^^xsd:string ;
985 rdfs:range <http://www.reportinghub.no/ep/schema/facility#TemporalPartOfAProductionFacility> . 1064 rdfs:range <http://www.reportinghub.no/ep/schema/facility#TemporalPartOfAProductionFacility> .
...@@ -1000,7 +1079,7 @@ ep-prodact:phenolDensity ...@@ -1000,7 +1079,7 @@ ep-prodact:phenolDensity
1000 rdfs:range ep-core:Density . 1079 rdfs:range ep-core:Density .
1001 1080
1002 ep-prodact:processingLost 1081 ep-prodact:processingLost
1003 - rdf:type owl:ObjectProperty , owl:FunctionalProperty ; 1082 + rdf:type owl:FunctionalProperty , owl:ObjectProperty ;
1004 rdfs:domain ep-prodact:ProductionOperationProcessingLoss ; 1083 rdfs:domain ep-prodact:ProductionOperationProcessingLoss ;
1005 rdfs:range ep-material:QuantityOfMaterial . 1084 rdfs:range ep-material:QuantityOfMaterial .
1006 1085
...@@ -1010,11 +1089,17 @@ ep-prodact:productionActivityPeriodClassification ...@@ -1010,11 +1089,17 @@ ep-prodact:productionActivityPeriodClassification
1010 rdfs:range ep-prodact:ProductionOperationClassByDuration . 1089 rdfs:range ep-prodact:ProductionOperationClassByDuration .
1011 1090
1012 ep-prodact:productionOperator 1091 ep-prodact:productionOperator
1013 - rdf:type owl:FunctionalProperty , owl:ObjectProperty ; 1092 + rdf:type owl:ObjectProperty , owl:FunctionalProperty ;
1014 rdfs:domain <http://www.reportinghub.no/ep/schema/activity#ProductionActivity> ; 1093 rdfs:domain <http://www.reportinghub.no/ep/schema/activity#ProductionActivity> ;
1015 rdfs:label "production operator"^^xsd:string ; 1094 rdfs:label "production operator"^^xsd:string ;
1016 rdfs:range <http://www.reportinghub.no/ep/schema/organization#Organization> . 1095 rdfs:range <http://www.reportinghub.no/ep/schema/organization#Organization> .
1017 1096
1097 +ep-prodact:remainingActivity
1098 + rdf:type owl:ObjectProperty , owl:FunctionalProperty ;
1099 + rdfs:domain ep-prodact:LastPartOfTypeRemainingActivityPair ;
1100 + rdfs:label "remaining activity"^^xsd:string ;
1101 + rdfs:range <http://www.reportinghub.no/ep/schema/activity#Activity> .
1102 +
1018 ep-prodact:residualChlorideInWater 1103 ep-prodact:residualChlorideInWater
1019 rdf:type owl:ObjectProperty ; 1104 rdf:type owl:ObjectProperty ;
1020 rdfs:domain ep-prodact:WaterSample ; 1105 rdfs:domain ep-prodact:WaterSample ;
...@@ -1032,7 +1117,7 @@ ep-prodact:samplePhValue ...@@ -1032,7 +1117,7 @@ ep-prodact:samplePhValue
1032 rdfs:range xsd:double . 1117 rdfs:range xsd:double .
1033 1118
1034 ep-prodact:samplePoint 1119 ep-prodact:samplePoint
1035 - rdf:type owl:FunctionalProperty , owl:ObjectProperty ; 1120 + rdf:type owl:ObjectProperty , owl:FunctionalProperty ;
1036 rdfs:domain ep-prodact:WaterSample ; 1121 rdfs:domain ep-prodact:WaterSample ;
1037 rdfs:range <http://www.reportinghub.no/ep/schema/production-core#TemporalPartOfAPointInSpace> . 1122 rdfs:range <http://www.reportinghub.no/ep/schema/production-core#TemporalPartOfAPointInSpace> .
1038 1123
...@@ -1070,13 +1155,13 @@ ep-prodact:sourceOrganization ...@@ -1070,13 +1155,13 @@ ep-prodact:sourceOrganization
1070 rdfs:range <http://www.reportinghub.no/ep/schema/organization#Organization> . 1155 rdfs:range <http://www.reportinghub.no/ep/schema/organization#Organization> .
1071 1156
1072 ep-prodact:testedWellBoreInterval 1157 ep-prodact:testedWellBoreInterval
1073 - rdf:type owl:ObjectProperty , owl:FunctionalProperty ; 1158 + rdf:type owl:FunctionalProperty , owl:ObjectProperty ;
1074 rdfs:domain <http://www.reportinghub.no/ep/schema/activity#WellTest> ; 1159 rdfs:domain <http://www.reportinghub.no/ep/schema/activity#WellTest> ;
1075 rdfs:label "tested wellbore interval"^^xsd:string ; 1160 rdfs:label "tested wellbore interval"^^xsd:string ;
1076 rdfs:range ep-core:PhysicalObject . 1161 rdfs:range ep-core:PhysicalObject .
1077 1162
1078 ep-prodact:timeWorked 1163 ep-prodact:timeWorked
1079 - rdf:type owl:ObjectProperty , owl:FunctionalProperty , ep-core:Class_of_indirect_property ; 1164 + rdf:type ep-core:Class_of_indirect_property , owl:FunctionalProperty , owl:ObjectProperty ;
1080 rdfs:domain ep-prodact:ProductionOperation ; 1165 rdfs:domain ep-prodact:ProductionOperation ;
1081 rdfs:label "time worked"^^xsd:string ; 1166 rdfs:label "time worked"^^xsd:string ;
1082 rdfs:range ep-core:TimeDuration . 1167 rdfs:range ep-core:TimeDuration .
...@@ -1091,6 +1176,12 @@ ep-prodact:totalOrganicCarbonInWater ...@@ -1091,6 +1176,12 @@ ep-prodact:totalOrganicCarbonInWater
1091 rdfs:domain ep-prodact:WaterSample ; 1176 rdfs:domain ep-prodact:WaterSample ;
1092 rdfs:range ep-core:MassPerUnitMassConcentration . 1177 rdfs:range ep-core:MassPerUnitMassConcentration .
1093 1178
1179 +ep-prodact:typeOfPartCommentedOn
1180 + rdf:type owl:ObjectProperty ;
1181 + rdfs:comment "Used to pass an argument to Cs_datedComment"^^xsd:string ;
1182 + rdfs:domain owl:Class ;
1183 + rdfs:label "type of part commented on"^^xsd:string .
1184 +
1094 ep-prodact:waterSampleTaken 1185 ep-prodact:waterSampleTaken
1095 rdf:type owl:ObjectProperty ; 1186 rdf:type owl:ObjectProperty ;
1096 rdfs:domain ep-prodact:WaterCleaningOperation ; 1187 rdfs:domain ep-prodact:WaterCleaningOperation ;
......
...@@ -1065,11 +1065,6 @@ ep-core:halfMillisecond ...@@ -1065,11 +1065,6 @@ ep-core:halfMillisecond
1065 rdfs:domain ep-core:TimeDuration ; 1065 rdfs:domain ep-core:TimeDuration ;
1066 rdfs:label "half millisecond"^^xsd:string . 1066 rdfs:label "half millisecond"^^xsd:string .
1067 1067
1068 -ep-core:hasSetOfAllPartsOfType
1069 - rdf:type owl:ObjectProperty ;
1070 - rdfs:domain ep-core:PhysicalThing ;
1071 - rdfs:label "basis for"^^xsd:string .
1072 -
1073 ep-core:hectare 1068 ep-core:hectare
1074 rdf:type ep-core:Scale , owl:FunctionalProperty , owl:DatatypeProperty ; 1069 rdf:type ep-core:Scale , owl:FunctionalProperty , owl:DatatypeProperty ;
1075 rdfs:label "hectares"^^xsd:string . 1070 rdfs:label "hectares"^^xsd:string .
...@@ -3127,6 +3122,11 @@ ep-prodcore:Acidity ...@@ -3127,6 +3122,11 @@ ep-prodcore:Acidity
3127 rdfs:label "acidity"^^xsd:string ; 3122 rdfs:label "acidity"^^xsd:string ;
3128 rdfs:subClassOf owl:Class . 3123 rdfs:subClassOf owl:Class .
3129 3124
3125 +ep-prodcore:CompositionOfAllPartsOfDefinedType
3126 + rdf:type rdfs:Class ;
3127 + rdfs:label "composition of all parts of defined type"^^xsd:string ;
3128 + rdfs:subClassOf ep-core:PhysicalObject .
3129 +
3130 ep-prodcore:DensityAt0degC1atm 3130 ep-prodcore:DensityAt0degC1atm
3131 rdf:type ep-core:PropertySpace , rdfs:Class ; 3131 rdf:type ep-core:PropertySpace , rdfs:Class ;
3132 rdfs:label "density at 0 degrees C 1 atmosphere"^^xsd:string ; 3132 rdfs:label "density at 0 degrees C 1 atmosphere"^^xsd:string ;
...@@ -3161,6 +3161,11 @@ ep-prodcore:RegionOfSpace ...@@ -3161,6 +3161,11 @@ ep-prodcore:RegionOfSpace
3161 rdfs:label "region of space"^^xsd:string ; 3161 rdfs:label "region of space"^^xsd:string ;
3162 rdfs:subClassOf ep-prodcore:TemporalPartOfARegionOfSpace . 3162 rdfs:subClassOf ep-prodcore:TemporalPartOfARegionOfSpace .
3163 3163
3164 +ep-prodcore:SetOfAllPartsOfDefinedType
3165 + rdf:type rdfs:Class ;
3166 + rdfs:label "set of all parts of defined type"^^xsd:string ;
3167 + rdfs:subClassOf owl:Class .
3168 +
3164 ep-prodcore:TemporalPartOfAPointInSpace 3169 ep-prodcore:TemporalPartOfAPointInSpace
3165 rdf:type owl:Class ; 3170 rdf:type owl:Class ;
3166 rdfs:label "temporal part of a point in space"^^xsd:string ; 3171 rdfs:label "temporal part of a point in space"^^xsd:string ;
...@@ -3181,10 +3186,26 @@ ep-prodcore:VolumeFlowRateAt0degC1atm ...@@ -3181,10 +3186,26 @@ ep-prodcore:VolumeFlowRateAt0degC1atm
3181 rdfs:label "volume flow rate at 0 degrees C 1 atmosphere"^^xsd:string ; 3186 rdfs:label "volume flow rate at 0 degrees C 1 atmosphere"^^xsd:string ;
3182 rdfs:subClassOf ep-core:MeasureOfFlowOfMaterial . 3187 rdfs:subClassOf ep-core:MeasureOfFlowOfMaterial .
3183 3188
3189 +ep-prodcore:definingType
3190 + rdf:type owl:FunctionalProperty ;
3191 + rdfs:label "defining type"^^xsd:string ;
3192 + rdfs:range owl:Class .
3193 +
3184 ep-prodcore:dummyTrue 3194 ep-prodcore:dummyTrue
3185 rdf:type owl:FunctionalProperty , owl:DatatypeProperty ; 3195 rdf:type owl:FunctionalProperty , owl:DatatypeProperty ;
3186 rdfs:label "dummy true - I can't get FILTER to work."^^xsd:string . 3196 rdfs:label "dummy true - I can't get FILTER to work."^^xsd:string .
3187 3197
3198 +ep-prodcore:hasCompositionOfAllPartsOfDefinedType
3199 + rdf:type owl:ObjectProperty ;
3200 + rdfs:domain ep-core:PhysicalObject ;
3201 + rdfs:label "has composition of all parts of defined type"^^xsd:string ;
3202 + rdfs:range ep-prodcore:CompositionOfAllPartsOfDefinedType .
3203 +
3204 +ep-prodcore:hasSetOfAllPartsOfDefinedType
3205 + rdf:type owl:ObjectProperty ;
3206 + rdfs:label "has set of all parts of defined type"^^xsd:string ;
3207 + rdfs:range ep-prodcore:SetOfAllPartsOfDefinedType .
3208 +
3188 ep-prodcore:intervalIdentifier 3209 ep-prodcore:intervalIdentifier
3189 rdf:type owl:DatatypeProperty , owl:FunctionalProperty ; 3210 rdf:type owl:DatatypeProperty , owl:FunctionalProperty ;
3190 rdfs:label "ph"^^xsd:string . 3211 rdfs:label "ph"^^xsd:string .
...@@ -3193,6 +3214,17 @@ ep-prodcore:mapsTo ...@@ -3193,6 +3214,17 @@ ep-prodcore:mapsTo
3193 rdf:type rdf:Property ; 3214 rdf:type rdf:Property ;
3194 rdfs:label "maps to"^^xsd:string . 3215 rdfs:label "maps to"^^xsd:string .
3195 3216
3217 +ep-prodcore:meanTimeBetweenParts
3218 + rdf:type owl:FunctionalProperty , owl:ObjectProperty , ep-core:Class_of_indirect_property ;
3219 + rdfs:domain ep-prodcore:CompositionOfAllPartsOfDefinedType ;
3220 + rdfs:label "mean time between parts"^^xsd:string ;
3221 + rdfs:range ep-core:TimeDuration .
3222 +
3223 +ep-prodcore:numberInSet
3224 + rdf:type owl:DatatypeProperty , owl:FunctionalProperty ;
3225 + rdfs:domain owl:Class ;
3226 + rdfs:label "number in set"^^xsd:string .
3227 +
3196 ep-prodcore:ph 3228 ep-prodcore:ph
3197 rdf:type owl:DatatypeProperty , owl:FunctionalProperty , ep-core:Scale ; 3229 rdf:type owl:DatatypeProperty , owl:FunctionalProperty , ep-core:Scale ;
3198 rdfs:domain ep-prodcore:Acidity ; 3230 rdfs:domain ep-prodcore:Acidity ;
......
...@@ -10,14 +10,14 @@ ...@@ -10,14 +10,14 @@
10 10
11 <http://www.reportinghub.no/ep/schema/1.0/production-organization> 11 <http://www.reportinghub.no/ep/schema/1.0/production-organization>
12 rdf:type owl:Ontology ; 12 rdf:type owl:Ontology ;
13 - owl:imports <http://www.reportinghub.no/ep/schema/1.0/organization> , <http://www.reportinghub.no/ep/schema/1.0/facility> ; 13 + owl:imports <http://www.reportinghub.no/ep/schema/1.0/facility> , <http://www.reportinghub.no/ep/schema/1.0/organization> ;
14 owl:versionInfo "Created with TopBraid Composer"^^xsd:string . 14 owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
15 15
16 <http://www.reportinghub.no/ep/schema/organization#Organization> 16 <http://www.reportinghub.no/ep/schema/organization#Organization>
17 rdfs:subClassOf ep-prodorg:PersonOrOrganization . 17 rdfs:subClassOf ep-prodorg:PersonOrOrganization .
18 18
19 ep-prodorg:CateringCrew 19 ep-prodorg:CateringCrew
20 - rdf:type ep-prodorg:CrewType , owl:Class ; 20 + rdf:type owl:Class , ep-prodorg:CrewType ;
21 rdfs:label "catering crew"^^xsd:string ; 21 rdfs:label "catering crew"^^xsd:string ;
22 rdfs:subClassOf ep-prodorg:Crew . 22 rdfs:subClassOf ep-prodorg:Crew .
23 23
...@@ -27,7 +27,7 @@ ep-prodorg:CommercialEntity ...@@ -27,7 +27,7 @@ ep-prodorg:CommercialEntity
27 rdfs:subClassOf ep-prodorg:PersonOrOrganization . 27 rdfs:subClassOf ep-prodorg:PersonOrOrganization .
28 28
29 ep-prodorg:ContractorCrew 29 ep-prodorg:ContractorCrew
30 - rdf:type ep-prodorg:CrewType , owl:Class ; 30 + rdf:type owl:Class , ep-prodorg:CrewType ;
31 rdfs:label "contractor crew"^^xsd:string ; 31 rdfs:label "contractor crew"^^xsd:string ;
32 rdfs:subClassOf ep-prodorg:Crew . 32 rdfs:subClassOf ep-prodorg:Crew .
33 33
...@@ -42,27 +42,27 @@ ep-prodorg:CrewType ...@@ -42,27 +42,27 @@ ep-prodorg:CrewType
42 rdfs:subClassOf owl:Class . 42 rdfs:subClassOf owl:Class .
43 43
44 ep-prodorg:DayVisitorCrew 44 ep-prodorg:DayVisitorCrew
45 - rdf:type ep-prodorg:CrewType , owl:Class ; 45 + rdf:type owl:Class , ep-prodorg:CrewType ;
46 rdfs:label "day visitor crew"^^xsd:string ; 46 rdfs:label "day visitor crew"^^xsd:string ;
47 rdfs:subClassOf ep-prodorg:Crew . 47 rdfs:subClassOf ep-prodorg:Crew .
48 48
49 ep-prodorg:DrillingContractCrew 49 ep-prodorg:DrillingContractCrew
50 - rdf:type ep-prodorg:CrewType , owl:Class ; 50 + rdf:type owl:Class , ep-prodorg:CrewType ;
51 rdfs:label "drilling contract crew"^^xsd:string ; 51 rdfs:label "drilling contract crew"^^xsd:string ;
52 rdfs:subClassOf ep-prodorg:Crew . 52 rdfs:subClassOf ep-prodorg:Crew .
53 53
54 ep-prodorg:NonOperatorOvernightVisitorCrew 54 ep-prodorg:NonOperatorOvernightVisitorCrew
55 - rdf:type owl:Class , ep-prodorg:CrewType ; 55 + rdf:type ep-prodorg:CrewType , owl:Class ;
56 rdfs:label "non-operator overnight visitor crew"^^xsd:string ; 56 rdfs:label "non-operator overnight visitor crew"^^xsd:string ;
57 rdfs:subClassOf ep-prodorg:Crew . 57 rdfs:subClassOf ep-prodorg:Crew .
58 58
59 ep-prodorg:OperatorNormalCrew 59 ep-prodorg:OperatorNormalCrew
60 - rdf:type ep-prodorg:CrewType , owl:Class ; 60 + rdf:type owl:Class , ep-prodorg:CrewType ;
61 rdfs:label "operator normal crew"^^xsd:string ; 61 rdfs:label "operator normal crew"^^xsd:string ;
62 rdfs:subClassOf ep-prodorg:Crew . 62 rdfs:subClassOf ep-prodorg:Crew .
63 63
64 ep-prodorg:OperatorOvernightVisitorCrew 64 ep-prodorg:OperatorOvernightVisitorCrew
65 - rdf:type ep-prodorg:CrewType , owl:Class ; 65 + rdf:type owl:Class , ep-prodorg:CrewType ;
66 rdfs:label "operator overnight visitor crew"^^xsd:string ; 66 rdfs:label "operator overnight visitor crew"^^xsd:string ;
67 rdfs:subClassOf ep-prodorg:Crew . 67 rdfs:subClassOf ep-prodorg:Crew .
68 68
...@@ -79,8 +79,13 @@ ep-prodorg:PersonRole ...@@ -79,8 +79,13 @@ ep-prodorg:PersonRole
79 rdfs:label "person role"^^xsd:string ; 79 rdfs:label "person role"^^xsd:string ;
80 rdfs:subClassOf ep-prodorg:Person . 80 rdfs:subClassOf ep-prodorg:Person .
81 81
82 +ep-prodorg:PersonRoleType
83 + rdf:type rdfs:Class ;
84 + rdfs:label "person role type"^^xsd:string ;
85 + rdfs:subClassOf owl:Class .
86 +
82 ep-prodorg:TotalCrew 87 ep-prodorg:TotalCrew
83 - rdf:type ep-prodorg:CrewType , owl:Class ; 88 + rdf:type owl:Class , ep-prodorg:CrewType ;
84 rdfs:label "total crew"^^xsd:string ; 89 rdfs:label "total crew"^^xsd:string ;
85 rdfs:subClassOf ep-prodorg:Crew . 90 rdfs:subClassOf ep-prodorg:Crew .
86 91
...@@ -96,7 +101,7 @@ ep-prodorg:hasCrew ...@@ -96,7 +101,7 @@ ep-prodorg:hasCrew
96 rdfs:range ep-prodorg:Crew . 101 rdfs:range ep-prodorg:Crew .
97 102
98 ep-prodorg:numberInCrew 103 ep-prodorg:numberInCrew
99 - rdf:type owl:DatatypeProperty , owl:FunctionalProperty ; 104 + rdf:type owl:FunctionalProperty , owl:DatatypeProperty ;
100 rdfs:domain ep-prodorg:Crew ; 105 rdfs:domain ep-prodorg:Crew ;
101 rdfs:label "number in crew"^^xsd:string . 106 rdfs:label "number in crew"^^xsd:string .
102 107
......
...@@ -78,6 +78,28 @@ arg2 is the report end date"""^^xsd:string ; ...@@ -78,6 +78,28 @@ arg2 is the report end date"""^^xsd:string ;
78 ]) 78 ])
79 ] . 79 ] .
80 80
81 +ep-mpr-spin-lib:buildPersonRoleTypeURI
82 + rdf:type spin:Function ;
83 + rdfs:label "build PersonRoleType URI"^^xsd:string ;
84 + rdfs:subClassOf ep-mpr-spin-lib:Function ;
85 + spin:body
86 + [ rdf:type sp:Select ;
87 + sp:resultVariables ([ sp:varName "uri"^^xsd:string
88 + ]) ;
89 + sp:where ([ rdf:type sp:Bind ;
90 + sp:expression
91 + [ rdf:type ep-spin-lib:buildURI ;
92 + sp:arg1 "https://www.reportinghub.no/ep/data/personRoleType/" ;
93 + sp:arg2 [ rdf:type fn:concat ;
94 + sp:arg1 spin:_arg1
95 + ]
96 + ] ;
97 + sp:variable
98 + [ sp:varName "uri"^^xsd:string
99 + ]
100 + ])
101 + ] .
102 +
81 ep-mpr-spin-lib:buildProductionReportURI 103 ep-mpr-spin-lib:buildProductionReportURI
82 rdf:type spin:Function ; 104 rdf:type spin:Function ;
83 rdfs:subClassOf ep-mpr-spin-lib:Function ; 105 rdfs:subClassOf ep-mpr-spin-lib:Function ;
...@@ -5323,6 +5345,170 @@ ep-mpr-spin-lib:selectReportPeriodType ...@@ -5323,6 +5345,170 @@ ep-mpr-spin-lib:selectReportPeriodType
5323 ]) 5345 ])
5324 ] . 5346 ] .
5325 5347
5348 +ep-mpr-spin-lib:selectSafetyActivityType
5349 + rdf:type spin:Function ;
5350 + rdfs:label "select SafetyActivityType"^^xsd:string ;
5351 + rdfs:subClassOf ep-mpr-spin-lib:Function ;
5352 + spin:body
5353 + [ rdf:type sp:Select ;
5354 + sp:resultVariables ([ sp:varName "safetyActivityType"^^xsd:string
5355 + ]) ;
5356 + sp:where ([ rdf:type sp:Bind ;
5357 + sp:expression
5358 + [ rdf:type sp:if ;
5359 + sp:arg1 [ rdf:type sp:eq ;
5360 + sp:arg1 spin:_arg1 ;
5361 + sp:arg2 <http://www.epim.no/schemas/mprml/1#ST_releasedtoair>
5362 + ] ;
5363 + sp:arg2 <http://www.reportinghub.no/ep/schema/production-activity#ReleaseToAir> ;
5364 + sp:arg3 [ rdf:type sp:if ;
5365 + sp:arg1 [ rdf:type sp:eq ;
5366 + sp:arg1 spin:_arg1 ;
5367 + sp:arg2 <http://www.epim.no/schemas/mprml/1#ST_fire>
5368 + ] ;
5369 + sp:arg2 <http://www.reportinghub.no/ep/schema/production-activity#Fire> ;
5370 + sp:arg3 [ rdf:type sp:if ;
5371 + sp:arg1 [ rdf:type sp:eq ;
5372 + sp:arg1 spin:_arg1 ;
5373 + sp:arg2 <http://www.epim.no/schemas/mprml/1#ST_nearmiss>
5374 + ] ;
5375 + sp:arg2 <http://www.reportinghub.no/ep/schema/production-activity#NearMiss> ;
5376 + sp:arg3 [ rdf:type sp:if ;
5377 + sp:arg1 [ rdf:type sp:eq ;
5378 + sp:arg1 spin:_arg1 ;
5379 + sp:arg2 <http://www.epim.no/schemas/mprml/1#ST_miscellaneous>
5380 + ] ;
5381 + sp:arg2 <http://www.reportinghub.no/ep/schema/production-activity#HealthSafetyAndEnvironmentActivity> ;
5382 + sp:arg3 [ rdf:type sp:if ;
5383 + sp:arg1 [ rdf:type sp:eq ;
5384 + sp:arg1 spin:_arg1 ;
5385 + sp:arg2 <http://www.epim.no/schemas/mprml/1#ST_sickonboard>
5386 + ] ;
5387 + sp:arg2 <http://www.reportinghub.no/ep/schema/production-activity#SickOnBoard> ;
5388 + sp:arg3 [ rdf:type sp:if ;
5389 + sp:arg1 [ rdf:type sp:eq ;
5390 + sp:arg1 spin:_arg1 ;
5391 + sp:arg2 <http://www.epim.no/schemas/mprml/1#ST_releasedtowater>
5392 + ] ;
5393 + sp:arg2 <http://www.reportinghub.no/ep/schema/production-activity#ReleaseToWater> ;
5394 + sp:arg3 [ rdf:type sp:if ;
5395 + sp:arg1 [ rdf:type sp:eq ;
5396 + sp:arg1 spin:_arg1 ;
5397 + sp:arg2 <http://www.epim.no/schemas/mprml/1#ST_firstaid>
5398 + ] ;
5399 + sp:arg2 <http://www.reportinghub.no/ep/schema/production-activity#AdministerFirstAid> ;
5400 + sp:arg3 [ rdf:type sp:if ;
5401 + sp:arg1 [ rdf:type sp:eq ;
5402 + sp:arg1 spin:_arg1 ;
5403 + sp:arg2 <http://www.epim.no/schemas/mprml/1#ST_totalpermits>
5404 + ] ;
5405 + sp:arg2 <http://www.reportinghub.no/ep/schema/production-activity#IssueWorkPermit> ;
5406 + sp:arg3 [ rdf:type sp:if ;
5407 + sp:arg1 [ rdf:type sp:eq ;
5408 + sp:arg1 spin:_arg1 ;
5409 + sp:arg2 <http://www.epim.no/schemas/mprml/1#ST_losttimeincident>
5410 + ] ;
5411 + sp:arg2 <http://www.reportinghub.no/ep/schema/production-activity#LostTimeIncident> ;
5412 + sp:arg3 [ rdf:type sp:if ;
5413 + sp:arg1 [ rdf:type sp:eq ;
5414 + sp:arg1 spin:_arg1 ;
5415 + sp:arg2 <http://www.epim.no/schemas/mprml/1#ST_restrictedwork>
5416 + ] ;
5417 + sp:arg2 <http://www.reportinghub.no/ep/schema/production-activity#RestrictedWork> ;
5418 + sp:arg3 [ rdf:type sp:if ;
5419 + sp:arg1 [ rdf:type sp:eq ;
5420 + sp:arg1 spin:_arg1 ;
5421 + sp:arg2 <http://www.epim.no/schemas/mprml/1#ST_losttimeaccident>
5422 + ] ;
5423 + sp:arg2 <http://www.reportinghub.no/ep/schema/production-activity#LostTimeAccident> ;
5424 + sp:arg3 [ rdf:type sp:if ;
5425 + sp:arg1 [ rdf:type sp:eq ;
5426 + sp:arg1 spin:_arg1 ;
5427 + sp:arg2 <http://www.epim.no/schemas/mprml/1#ST_drillorexercise>
5428 + ] ;
5429 + sp:arg2 <http://www.reportinghub.no/ep/schema/production-activity#DrillOrExcercise> ;
5430 + sp:arg3 [ rdf:type sp:if ;
5431 + sp:arg1 [ rdf:type sp:eq ;
5432 + sp:arg1 spin:_arg1 ;
5433 + sp:arg2 <http://www.epim.no/schemas/mprml/1#ST_safetymeeting>
5434 + ] ;
5435 + sp:arg2 <http://www.reportinghub.no/ep/schema/production-activity#SafetyMeeting> ;
5436 + sp:arg3 [ rdf:type sp:if ;
5437 + sp:arg1 [ rdf:type sp:eq ;
5438 + sp:arg1 spin:_arg1 ;
5439 + sp:arg2 <http://www.epim.no/schemas/mprml/1#ST_permitwithSJA>
5440 + ] ;
5441 + sp:arg2 <http://www.reportinghub.no/ep/schema/production-activity#IssueWorkPermitWithSJA> ;
5442 + sp:arg3 [ rdf:type sp:if ;
5443 + sp:arg1 [ rdf:type sp:eq ;
5444 + sp:arg1 spin:_arg1 ;
5445 + sp:arg2 <http://www.epim.no/schemas/mprml/1#ST_spillorleak>
5446 + ] ;
5447 + sp:arg2 <http://www.reportinghub.no/ep/schema/production-activity#SpillOrLeak> ;
5448 + sp:arg3 [ rdf:type sp:if ;
5449 + sp:arg1 [ rdf:type sp:eq ;
5450 + sp:arg1 spin:_arg1 ;
5451 + sp:arg2 <http://www.epim.no/schemas/mprml/1#ST_severeaccident>
5452 + ] ;
5453 + sp:arg2 <http://www.reportinghub.no/ep/schema/production-activity#SevereAccident> ;
5454 + sp:arg3 [ rdf:type sp:if ;
5455 + sp:arg1 [ rdf:type sp:eq ;
5456 + sp:arg1 spin:_arg1 ;
5457 + sp:arg2 <http://www.epim.no/schemas/mprml/1#ST_sentashore>
5458 + ] ;
5459 + sp:arg2 <http://www.reportinghub.no/ep/schema/production-activity#SentAshore> ;
5460 + sp:arg3 [ rdf:type sp:if ;
5461 + sp:arg1 [ rdf:type sp:eq ;
5462 + sp:arg1 spin:_arg1 ;
5463 + sp:arg2 <http://www.epim.no/schemas/mprml/1#ST_hazardreportcard>
5464 + ] ;
5465 + sp:arg2 <http://www.reportinghub.no/ep/schema/production-activity#ReportHazard> ;
5466 + sp:arg3 [ rdf:type sp:if ;
5467 + sp:arg1 [ rdf:type sp:eq ;
5468 + sp:arg1 spin:_arg1 ;
5469 + sp:arg2 <http://www.epim.no/schemas/mprml/1#ST_jobobservation>
5470 + ] ;
5471 + sp:arg2 <http://www.reportinghub.no/ep/schema/production-activity#JobObservation> ;
5472 + sp:arg3 [ rdf:type sp:if ;
5473 + sp:arg1 [ rdf:type sp:eq ;
5474 + sp:arg1 spin:_arg1 ;
5475 + sp:arg2 <http://www.epim.no/schemas/mprml/1#ST_year-to-dateincidents>
5476 + ] ;
5477 + sp:arg2 <http://www.reportinghub.no/ep/schema/production-activity#Incident> ;
5478 + sp:arg3 [ rdf:type sp:if ;
5479 + sp:arg1 [ rdf:type sp:eq ;
5480 + sp:arg1 spin:_arg1 ;
5481 + sp:arg2 <http://www.epim.no/schemas/mprml/1#ST_trafficaccident>
5482 + ] ;
5483 + sp:arg2 <http://www.reportinghub.no/ep/schema/production-activity#TrafficAccident> ;
5484 + sp:arg3 <http://www.reportinghub.no/ep/schema/production-activity#HealthSafetyAndEnvironmentActivity>
5485 + ]
5486 + ]
5487 + ]
5488 + ]
5489 + ]
5490 + ]
5491 + ]
5492 + ]
5493 + ]
5494 + ]
5495 + ]
5496 + ]
5497 + ]
5498 + ]
5499 + ]
5500 + ]
5501 + ]
5502 + ]
5503 + ]
5504 + ]
5505 + ] ;
5506 + sp:variable
5507 + [ sp:varName "safetyActivityType"^^xsd:string
5508 + ]
5509 + ])
5510 + ] .
5511 +
5326 ep-mpr-spin-lib:selectSalesActivityType 5512 ep-mpr-spin-lib:selectSalesActivityType
5327 rdf:type spin:Function ; 5513 rdf:type spin:Function ;
5328 rdfs:label "select SalesActivityType"^^xsd:string ; 5514 rdfs:label "select SalesActivityType"^^xsd:string ;
......
...@@ -9,7 +9,9 @@ ...@@ -9,7 +9,9 @@
9 # imports: http://www.reportinghub.no/ep/transform/1.0/dpr/productionOperations 9 # imports: http://www.reportinghub.no/ep/transform/1.0/dpr/productionOperations
10 # imports: http://www.reportinghub.no/ep/transform/1.0/dpr/productionTestResults 10 # imports: http://www.reportinghub.no/ep/transform/1.0/dpr/productionTestResults
11 # imports: http://www.reportinghub.no/ep/transform/1.0/dpr/wellTest 11 # imports: http://www.reportinghub.no/ep/transform/1.0/dpr/wellTest
12 +# imports: http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-comment-v1.1.1
12 13
14 +@prefix TRANSFORM_mpr-comment-v1.1: <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-comment-v1.1.1#> .
13 @prefix dailyProductionActivity: <http://www.reportinghub.no/ep/transform/1.0/dpr/dailyProductionReport#> . 15 @prefix dailyProductionActivity: <http://www.reportinghub.no/ep/transform/1.0/dpr/dailyProductionReport#> .
14 @prefix injectionTestData: <http://www.reportinghub.no/ep/transform/1.0/dpr/injectionTestData#> . 16 @prefix injectionTestData: <http://www.reportinghub.no/ep/transform/1.0/dpr/injectionTestData#> .
15 @prefix injectionTestResults: <http://www.reportinghub.no/ep/transform/1.0/dpr/injectionTestResults#> . 17 @prefix injectionTestResults: <http://www.reportinghub.no/ep/transform/1.0/dpr/injectionTestResults#> .
...@@ -28,5 +30,5 @@ ...@@ -28,5 +30,5 @@
28 30
29 <http://www.reportinghub.no/ep/transform/1.0/dpr/collector> 31 <http://www.reportinghub.no/ep/transform/1.0/dpr/collector>
30 rdf:type owl:Ontology ; 32 rdf:type owl:Ontology ;
31 - 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> ; 33 + 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> ;
32 owl:versionInfo "Created with TopBraid Composer"^^xsd:string . 34 owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
......
1 +# baseURI: http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-comment-v1.1.1
2 +# imports: http://spinrdf.org/spin
3 +# imports: http://www.epim.no/schemas/mprml/1
4 +# imports: http://www.reportinghub.no/ep/mpr/spin/1.1/lib
5 +# imports: http://www.reportinghub.no/ep/schema/1.0/core
6 +# imports: http://www.reportinghub.no/ep/schema/1.0/flow
7 +# imports: http://www.reportinghub.no/ep/schema/1.0/material
8 +
9 +@prefix : <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-comment-v1.1.1#> .
10 +@prefix ep-mpr-spin-lib: <http://www.reportinghub.no/ep/mpr/spin/1.1/lib#> .
11 +@prefix owl: <http://www.w3.org/2002/07/owl#> .
12 +@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
13 +@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
14 +@prefix sp: <http://spinrdf.org/sp#> .
15 +@prefix spin: <http://spinrdf.org/spin#> .
16 +@prefix spl: <http://spinrdf.org/spl#> .
17 +@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
18 +
19 +<http://www.epim.no/schemas/mprml/1#Cs_datedComment>
20 + spin:rule
21 + [ rdf:type sp:Construct ;
22 + rdfs:comment "STEP 90203 Set the commentation role (whole life person not set)"^^xsd:string ;
23 + sp:templates ([ sp:object _:b1 ;
24 + sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#commentator> ;
25 + sp:subject
26 + [ sp:varName "commentingActivity"^^xsd:string
27 + ]
28 + ] [ sp:object <http://www.reportinghub.no/ep/schema/production-organization#Person> ;
29 + sp:predicate rdf:type ;
30 + sp:subject _:b1
31 + ] [ sp:object _:b2 ;
32 + sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
33 + sp:subject _:b1
34 + ] [ sp:object <http://www.reportinghub.no/ep/schema/production-organization#PersonRole> ;
35 + sp:predicate rdf:type ;
36 + sp:subject _:b2
37 + ] [ sp:object
38 + [ sp:varName "personRoleType"^^xsd:string
39 + ] ;
40 + sp:predicate rdf:type ;
41 + sp:subject _:b2
42 + ] [ sp:object <http://www.reportinghub.no/ep/schema/production-organization#PersonRoleType> ;
43 + sp:predicate rdf:type ;
44 + sp:subject
45 + [ sp:varName "personRoleType"^^xsd:string
46 + ]
47 + ] [ sp:object
48 + [ sp:varName "role"^^xsd:string
49 + ] ;
50 + sp:predicate <http://www.reportinghub.no/ep/schema/core#name> ;
51 + sp:subject
52 + [ sp:varName "personRoleType"^^xsd:string
53 + ]
54 + ]) ;
55 + sp:where ([ sp:object spin:_this ;
56 + sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ;
57 + sp:subject
58 + [ sp:varName "commentingActivity"^^xsd:string
59 + ]
60 + ] [ rdf:type sp:NotExists ;
61 + sp:elements ([ sp:object
62 + [ sp:varName "commentator"^^xsd:string
63 + ] ;
64 + sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#commentator> ;
65 + sp:subject
66 + [ sp:varName "commentingActivity"^^xsd:string
67 + ]
68 + ])
69 + ] [ sp:object
70 + [ sp:varName "role"^^xsd:string
71 + ] ;
72 + sp:predicate <http://www.epim.no/schemas/mprml/1#role> ;
73 + sp:subject spin:_this
74 + ] [ rdf:type sp:Bind ;
75 + sp:expression
76 + [ rdf:type ep-mpr-spin-lib:buildPersonRoleTypeURI ;
77 + sp:arg1 [ sp:varName "role"^^xsd:string
78 + ]
79 + ] ;
80 + sp:variable
81 + [ sp:varName "personRoleType"^^xsd:string
82 + ]
83 + ])
84 + ] ;
85 + spin:rule
86 + [ rdf:type sp:Construct ;
87 + rdfs:comment "STEP 90202 Set the commentation role (whole life person set)"^^xsd:string ;
88 + sp:templates ([ sp:object _:b3 ;
89 + sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
90 + sp:subject
91 + [ sp:varName "commentator"^^xsd:string
92 + ]
93 + ] [ sp:object <http://www.reportinghub.no/ep/schema/production-organization#PersonRole> ;
94 + sp:predicate rdf:type ;
95 + sp:subject _:b3
96 + ] [ sp:object
97 + [ sp:varName "personRoleType"^^xsd:string
98 + ] ;
99 + sp:predicate rdf:type ;
100 + sp:subject _:b3
101 + ] [ sp:object <http://www.reportinghub.no/ep/schema/production-organization#PersonRoleType> ;
102 + sp:predicate rdf:type ;
103 + sp:subject
104 + [ sp:varName "personRoleType"^^xsd:string
105 + ]
106 + ] [ sp:object
107 + [ sp:varName "role"^^xsd:string
108 + ] ;
109 + sp:predicate <http://www.reportinghub.no/ep/schema/core#name> ;
110 + sp:subject
111 + [ sp:varName "personRoleType"^^xsd:string
112 + ]
113 + ]) ;
114 + sp:where ([ sp:object spin:_this ;
115 + sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ;
116 + sp:subject
117 + [ sp:varName "commentingActivity"^^xsd:string
118 + ]
119 + ] [ sp:object
120 + [ sp:varName "commentator"^^xsd:string
121 + ] ;
122 + sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#commentator> ;
123 + sp:subject
124 + [ sp:varName "commentingActivity"^^xsd:string
125 + ]
126 + ] [ sp:object
127 + [ sp:varName "role"^^xsd:string
128 + ] ;
129 + sp:predicate <http://www.epim.no/schemas/mprml/1#role> ;
130 + sp:subject spin:_this
131 + ] [ rdf:type sp:Bind ;
132 + sp:expression
133 + [ rdf:type ep-mpr-spin-lib:buildPersonRoleTypeURI ;
134 + sp:arg1 [ sp:varName "role"^^xsd:string
135 + ]
136 + ] ;
137 + sp:variable
138 + [ sp:varName "personRoleType"^^xsd:string
139 + ]
140 + ])
141 + ] ;
142 + spin:rule
143 + [ rdf:type sp:Construct ;
144 + rdfs:comment "STEP 90201 Set the commentation whole life person"^^xsd:string ;
145 + sp:templates ([ sp:object _:b4 ;
146 + sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#commentator> ;
147 + sp:subject
148 + [ sp:varName "commentingActivity"^^xsd:string
149 + ]
150 + ] [ sp:object <http://www.reportinghub.no/ep/schema/production-organization#Person> ;
151 + sp:predicate rdf:type ;
152 + sp:subject _:b4
153 + ] [ sp:object _:b5 ;
154 + sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
155 + sp:subject _:b4
156 + ] [ sp:object <http://www.reportinghub.no/ep/schema/production-organization#WholeLifePerson> ;
157 + sp:predicate rdf:type ;
158 + sp:subject _:b5
159 + ] [ sp:object
160 + [ sp:varName "who"^^xsd:string
161 + ] ;
162 + sp:predicate <http://www.reportinghub.no/ep/schema/core#name> ;
163 + sp:subject _:b5
164 + ]) ;
165 + sp:where ([ sp:object spin:_this ;
166 + sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ;
167 + sp:subject
168 + [ sp:varName "commentingActivity"^^xsd:string
169 + ]
170 + ] [ sp:object
171 + [ sp:varName "who"^^xsd:string
172 + ] ;
173 + sp:predicate <http://www.epim.no/schemas/mprml/1#who> ;
174 + sp:subject spin:_this
175 + ])
176 + ] ;
177 + spin:rule
178 + [ rdf:type sp:Construct ;
179 + rdfs:comment "STEP 90200 Create the commenting activity"^^xsd:string ;
180 + sp:templates ([ sp:object _:b6 ;
181 + sp:predicate <http://www.reportinghub.no/ep/schema/core#hasPart> ;
182 + sp:subject
183 + [ sp:varName "activityForComment"^^xsd:string
184 + ]
185 + ] [ sp:object
186 + [ sp:varName "typeOfPartCommentedOn"^^xsd:string
187 + ] ;
188 + sp:predicate rdf:type ;
189 + sp:subject _:b6
190 + ] [ sp:object
191 + [ sp:varName "dTimStart"^^xsd:string
192 + ] ;
193 + sp:predicate <http://www.reportinghub.no/ep/schema/activity#startedAt> ;
194 + sp:subject _:b6
195 + ] [ sp:object
196 + [ sp:varName "dTimEnd"^^xsd:string
197 + ] ;
198 + sp:predicate <http://www.reportinghub.no/ep/schema/activity#finishedAt> ;
199 + sp:subject _:b6
200 + ] [ sp:object <http://www.reportinghub.no/ep/schema/production-activity#MakeAComment> ;
201 + sp:predicate rdf:type ;
202 + sp:subject _:b7
203 + ] [ sp:object _:b6 ;
204 + sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#commentUpon> ;
205 + sp:subject _:b7
206 + ] [ sp:object
207 + [ sp:varName "remark"^^xsd:string
208 + ] ;
209 + sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#commentMade> ;
210 + sp:subject _:b7
211 + ] [ sp:object spin:_this ;
212 + sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ;
213 + sp:subject _:b7
214 + ]) ;
215 + sp:where ([ sp:object spin:_this ;
216 + sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#forComment> ;
217 + sp:subject
218 + [ sp:varName "activityForComment"^^xsd:string
219 + ]
220 + ] [ sp:object spin:_this ;
221 + sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#typeOfPartCommentedOn> ;
222 + sp:subject
223 + [ sp:varName "typeOfPartCommentedOn"^^xsd:string
224 + ]
225 + ] [ rdf:type sp:Optional ;
226 + sp:elements ([ sp:object
227 + [ sp:varName "dTimStart"^^xsd:string
228 + ] ;
229 + sp:predicate <http://www.epim.no/schemas/mprml/1#dTimStart> ;
230 + sp:subject spin:_this
231 + ])
232 + ] [ rdf:type sp:Optional ;
233 + sp:elements ([ sp:object
234 + [ sp:varName "dTimEnd"^^xsd:string
235 + ] ;
236 + sp:predicate <http://www.epim.no/schemas/mprml/1#dTimEnd> ;
237 + sp:subject spin:_this
238 + ])
239 + ] [ sp:object
240 + [ sp:varName "remark"^^xsd:string
241 + ] ;
242 + sp:predicate <http://www.epim.no/schemas/mprml/1#remark> ;
243 + sp:subject spin:_this
244 + ])
245 + ] .
246 +
247 +<http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-comment-v1.1.1>
248 + rdf:type owl:Ontology ;
249 + 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> ;
250 + owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
1 +# baseURI: null
2 +
3 +@prefix composite: <http://www.topbraid.org/2007/05/composite.owl#> .
4 +@prefix forms: <http://www.topbraid.org/2007/01/forms.owl#> .
5 +@prefix inference: <http://www.topbraid.org/2007/06/inference.owl#> .
6 +@prefix owl: <http://www.w3.org/2002/07/owl#> .
7 +@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
8 +@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
9 +@prefix visual: <http://topbraid.org/visual#> .
10 +@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
11 +
12 +[] rdf:type inference:Configuration ;
13 + composite:child
14 + [ rdf:type <http://spinrdf.org/spin#TopSPIN> ;
15 + composite:index "0"^^xsd:int
16 + ] .
1 +# baseURI: http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-operationalHSEReport-v1.1.1
2 +# imports: http://spinrdf.org/spin
3 +# imports: http://www.epim.no/schemas/mprml/1
4 +# imports: http://www.reportinghub.no/ep/dpr/spin/1.1/lib
5 +# imports: http://www.reportinghub.no/ep/mpr/spin/1.1/lib
6 +
7 +@prefix : <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-operationalHSEReport-v1.1.1#> .
8 +@prefix arg: <http://spinrdf.org/arg#> .
9 +@prefix ep-dpr-spin-lib: <http://www.reportinghub.no/ep/dpr/spin/1.1/lib#> .
10 +@prefix ep-mpr-spin-lib: <http://www.reportinghub.no/ep/mpr/spin/1.1/lib#> .
11 +@prefix ep-spin-lib: <http://www.reportinghub.no/ep/spin/lib#> .
12 +@prefix owl: <http://www.w3.org/2002/07/owl#> .
13 +@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
14 +@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
15 +@prefix rhspin: <http://www.reportinghub.no/spin/rh#> .
16 +@prefix sp: <http://spinrdf.org/sp#> .
17 +@prefix spin: <http://spinrdf.org/spin#> .
18 +@prefix spl: <http://spinrdf.org/spl#> .
19 +@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
20 +
21 +<http://www.epim.no/schemas/mprml/1#A_Global-Objects>
22 + spin:rule
23 + [ rdf:type sp:Construct ;
24 + rdfs:comment "STEP 40305 Set the time since most recent defined hazard and accident situation"^^xsd:string ;
25 + sp:templates ([ sp:object _:b1 ;
26 + sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#hasLastPartOfTypeRemainingActivityPair> ;
27 + sp:subject
28 + [ sp:varName "productionOperation"^^xsd:string
29 + ]
30 + ] [ sp:object <http://www.reportinghub.no/ep/schema/production-activity#LastPartOfTypeRemainingActivityPair> ;
31 + sp:predicate rdf:type ;
32 + sp:subject _:b1
33 + ] [ sp:object <http://www.reportinghub.no/ep/schema/production-activity#DefinedHazardAndAccidentSituation> ;
34 + sp:predicate <http://www.reportinghub.no/ep/schema/production-core#definingType> ;
35 + sp:subject _:b1
36 + ] [ sp:object _:b2 ;
37 + sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#remainingActivity> ;
38 + sp:subject _:b1
39 + ] [ sp:object <http://www.reportinghub.no/ep/schema/production-activity#ProductionOperation> ;
40 + sp:predicate rdf:type ;
41 + sp:subject _:b2
42 + ] [ sp:object _:b3 ;
43 + sp:predicate rdf:type ;
44 + sp:subject _:b2
45 + ] [ sp:object <http://www.reportinghub.no/ep/schema/core#TimeDuration> ;
46 + sp:predicate rdf:type ;
47 + sp:subject _:b3
48 + ] [ sp:object
49 + [ sp:varName "realDefinedSituation"^^xsd:string
50 + ] ;
51 + sp:predicate
52 + [ sp:varName "sinceDefinedSituationScale"^^xsd:string
53 + ] ;
54 + sp:subject _:b3
55 + ]) ;
56 + sp:where ([ sp:object spin:_this ;
57 + sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ;
58 + sp:subject
59 + [ sp:varName "productionReport"^^xsd:string
60 + ]
61 + ] [ sp:object <http://www.reportinghub.no/ep/schema/production-report#ProductionOperationReport> ;
62 + sp:predicate rdf:type ;
63 + sp:subject
64 + [ sp:varName "productionOperationReport"^^xsd:string
65 + ]
66 + ] [ sp:object
67 + [ sp:varName "productionReport"^^xsd:string
68 + ] ;
69 + sp:predicate <http://www.reportinghub.no/ep/schema/core#partOf> ;
70 + sp:subject
71 + [ sp:varName "productionOperationReport"^^xsd:string
72 + ]
73 + ] [ sp:object
74 + [ sp:varName "productionOperationRef"^^xsd:string
75 + ] ;
76 + sp:predicate <http://www.epim.no/schemas/mprml/1#objectRef> ;
77 + sp:subject spin:_this
78 + ] [ sp:object <http://www.epim.no/schemas/mprml/1#Obj_productionOperation> ;
79 + sp:predicate rdf:type ;
80 + sp:subject
81 + [ sp:varName "productionOperationRef"^^xsd:string
82 + ]
83 + ] [ sp:object
84 + [ sp:varName "installationReportRef"^^xsd:string
85 + ] ;
86 + sp:predicate <http://www.epim.no/schemas/mprml/1#installationReportRef> ;
87 + sp:subject
88 + [ sp:varName "productionOperationRef"^^xsd:string
89 + ]
90 + ] [ sp:object
91 + [ sp:varName "installationReportRef"^^xsd:string
92 + ] ;
93 + sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ;
94 + sp:subject
95 + [ sp:varName "temporalPartOfAProductionFacility"^^xsd:string
96 + ]
97 + ] [ sp:object <http://www.reportinghub.no/ep/schema/facility#TemporalPartOfAProductionFacility> ;
98 + sp:predicate rdf:type ;
99 + sp:subject
100 + [ sp:varName "temporalPartOfAProductionFacility"^^xsd:string
101 + ]
102 + ] [ sp:object <http://www.reportinghub.no/ep/schema/production-activity#ProductionOperation> ;
103 + sp:predicate rdf:type ;
104 + sp:subject
105 + [ sp:varName "productionOperation"^^xsd:string
106 + ]
107 + ] [ sp:object
108 + [ sp:varName "temporalPartOfAProductionFacility"^^xsd:string
109 + ] ;
110 + sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#onProductionFacility> ;
111 + sp:subject
112 + [ sp:varName "productionOperation"^^xsd:string
113 + ]
114 + ] [ sp:object
115 + [ sp:varName "sinceDefinedSituationRef"^^xsd:string
116 + ] ;
117 + sp:predicate <http://www.epim.no/schemas/mprml/1#sinceDefinedSituationRef> ;
118 + sp:subject
119 + [ sp:varName "operationalHSERef"^^xsd:string
120 + ]
121 + ] [ sp:object
122 + [ sp:varName "realSinceDefinedSituation"^^xsd:string
123 + ] ;
124 + sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
125 + sp:subject
126 + [ sp:varName "sinceDefinedSituationRef"^^xsd:string
127 + ]
128 + ] [ sp:object
129 + [ sp:varName "uomSinceDefinedSituation"^^xsd:string
130 + ] ;
131 + sp:predicate <http://www.epim.no/schemas/mprml/1#uomRef> ;
132 + sp:subject
133 + [ sp:varName "sinceDefinedSituationRef"^^xsd:string
134 + ]
135 + ] [ rdf:type sp:Bind ;
136 + sp:expression
137 + [ rdf:type ep-mpr-spin-lib:selectDurationScale ;
138 + sp:arg1 [ sp:varName "uomSinceDefinedSituation"^^xsd:string
139 + ]
140 + ] ;
141 + sp:variable
142 + [ sp:varName "sinceDefinedSituationScale"^^xsd:string
143 + ]
144 + ])
145 + ] ;
146 + spin:rule
147 + [ rdf:type sp:Construct ;
148 + rdfs:comment "STEP 40309 Set the mean time between incidents"^^xsd:string ;
149 + sp:templates ([ sp:object _:b4 ;
150 + sp:predicate <http://www.reportinghub.no/ep/schema/production-core#hasCompositionOfAllPartsOfDefinedType> ;
151 + sp:subject
152 + [ sp:varName "productionOperation"^^xsd:string
153 + ]
154 + ] [ sp:object <http://www.reportinghub.no/ep/schema/production-core#CompositionOfAllPartsOfDefinedType> ;
155 + sp:predicate rdf:type ;
156 + sp:subject _:b4
157 + ] [ sp:object <http://www.reportinghub.no/ep/schema/production-activity#AccidentOrInjury> ;
158 + sp:predicate <http://www.reportinghub.no/ep/schema/production-core#definingType> ;
159 + sp:subject _:b4
160 + ] [ sp:object _:b5 ;
161 + sp:predicate <http://www.reportinghub.no/ep/schema/production-core#meanTimeBetweenParts> ;
162 + sp:subject _:b4
163 + ] [ sp:object <http://www.reportinghub.no/ep/schema/core#TimeDuration> ;
164 + sp:predicate rdf:type ;
165 + sp:subject _:b5
166 + ] [ sp:object
167 + [ sp:varName "realMeantimeIncident"^^xsd:string
168 + ] ;
169 + sp:predicate
170 + [ sp:varName "meantimeIncidentScale"^^xsd:string
171 + ] ;
172 + sp:subject _:b5
173 + ]) ;
174 + sp:where ([ sp:object spin:_this ;
175 + sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ;
176 + sp:subject
177 + [ sp:varName "productionReport"^^xsd:string
178 + ]
179 + ] [ sp:object <http://www.reportinghub.no/ep/schema/production-report#ProductionOperationReport> ;
180 + sp:predicate rdf:type ;
181 + sp:subject
182 + [ sp:varName "productionOperationReport"^^xsd:string
183 + ]
184 + ] [ sp:object
185 + [ sp:varName "productionReport"^^xsd:string
186 + ] ;
187 + sp:predicate <http://www.reportinghub.no/ep/schema/core#partOf> ;
188 + sp:subject
189 + [ sp:varName "productionOperationReport"^^xsd:string
190 + ]
191 + ] [ sp:object
192 + [ sp:varName "productionOperationRef"^^xsd:string
193 + ] ;
194 + sp:predicate <http://www.epim.no/schemas/mprml/1#objectRef> ;
195 + sp:subject spin:_this
196 + ] [ sp:object <http://www.epim.no/schemas/mprml/1#Obj_productionOperation> ;
197 + sp:predicate rdf:type ;
198 + sp:subject
199 + [ sp:varName "productionOperationRef"^^xsd:string
200 + ]
201 + ] [ sp:object
202 + [ sp:varName "installationReportRef"^^xsd:string
203 + ] ;
204 + sp:predicate <http://www.epim.no/schemas/mprml/1#installationReportRef> ;
205 + sp:subject
206 + [ sp:varName "productionOperationRef"^^xsd:string
207 + ]
208 + ] [ sp:object
209 + [ sp:varName "installationReportRef"^^xsd:string
210 + ] ;
211 + sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ;
212 + sp:subject
213 + [ sp:varName "temporalPartOfAProductionFacility"^^xsd:string
214 + ]
215 + ] [ sp:object <http://www.reportinghub.no/ep/schema/facility#TemporalPartOfAProductionFacility> ;
216 + sp:predicate rdf:type ;
217 + sp:subject
218 + [ sp:varName "temporalPartOfAProductionFacility"^^xsd:string
219 + ]
220 + ] [ sp:object <http://www.reportinghub.no/ep/schema/production-activity#ProductionOperation> ;
221 + sp:predicate rdf:type ;
222 + sp:subject
223 + [ sp:varName "productionOperation"^^xsd:string
224 + ]
225 + ] [ sp:object
226 + [ sp:varName "temporalPartOfAProductionFacility"^^xsd:string
227 + ] ;
228 + sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#onProductionFacility> ;
229 + sp:subject
230 + [ sp:varName "productionOperation"^^xsd:string
231 + ]
232 + ] [ sp:object
233 + [ sp:varName "operationalHSERef"^^xsd:string
234 + ] ;
235 + sp:predicate <http://www.epim.no/schemas/mprml/1#operationalHSERef> ;
236 + sp:subject
237 + [ sp:varName "installationReportRef"^^xsd:string
238 + ]
239 + ] [ sp:object
240 + [ sp:varName "safetyRef"^^xsd:string
241 + ] ;
242 + sp:predicate <http://www.epim.no/schemas/mprml/1#safetyRef> ;
243 + sp:subject
244 + [ sp:varName "operationalHSERef"^^xsd:string
245 + ]
246 + ] [ sp:object
247 + [ sp:varName "meantimeIncidentRef"^^xsd:string
248 + ] ;
249 + sp:predicate <http://www.epim.no/schemas/mprml/1#meantimeIncidentRef> ;
250 + sp:subject
251 + [ sp:varName "safetyRef"^^xsd:string
252 + ]
253 + ] [ sp:object
254 + [ sp:varName "realMeantimeIncident"^^xsd:string
255 + ] ;
256 + sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
257 + sp:subject
258 + [ sp:varName "meantimeIncidentRef"^^xsd:string
259 + ]
260 + ] [ sp:object
261 + [ sp:varName "uomMeantimeIncident"^^xsd:string
262 + ] ;
263 + sp:predicate <http://www.epim.no/schemas/mprml/1#uomRef> ;
264 + sp:subject
265 + [ sp:varName "meantimeIncidentRef"^^xsd:string
266 + ]
267 + ] [ rdf:type sp:Bind ;
268 + sp:expression
269 + [ rdf:type ep-mpr-spin-lib:selectDurationScale ;
270 + sp:arg1 [ sp:varName "uomMeantimeIncident"^^xsd:string
271 + ]
272 + ] ;
273 + sp:variable
274 + [ sp:varName "meantimeIncidentScale"^^xsd:string
275 + ]
276 + ])
277 + ] ;
278 + spin:rule
279 + [ rdf:type sp:Construct ;
280 + rdfs:comment "STEP 40307 Set the number of number of medical treatments"^^xsd:string ;
281 + sp:templates ([ sp:object _:b6 ;
282 + sp:predicate <http://www.reportinghub.no/ep/schema/production-core#hasSetOfAllPartsOfDefinedType> ;
283 + sp:subject
284 + [ sp:varName "productionOperation"^^xsd:string
285 + ]
286 + ] [ sp:object <http://www.reportinghub.no/ep/schema/production-core#SetOfAllPartsOfDefinedType> ;
287 + sp:predicate rdf:type ;
288 + sp:subject _:b6
289 + ] [ sp:object <http://www.reportinghub.no/ep/schema/production-activity#MedicalTreatment> ;
290 + sp:predicate <http://www.reportinghub.no/ep/schema/production-core#definingType> ;
291 + sp:subject _:b6
292 + ] [ sp:object
293 + [ sp:varName "medicalTreatmentCount"^^xsd:string
294 + ] ;
295 + sp:predicate <http://www.reportinghub.no/ep/schema/production-core#numberInSet> ;
296 + sp:subject _:b6
297 + ]) ;
298 + sp:where ([ sp:object spin:_this ;
299 + sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ;
300 + sp:subject
301 + [ sp:varName "productionReport"^^xsd:string
302 + ]
303 + ] [ sp:object <http://www.reportinghub.no/ep/schema/production-report#ProductionOperationReport> ;
304 + sp:predicate rdf:type ;
305 + sp:subject
306 + [ sp:varName "productionOperationReport"^^xsd:string
307 + ]
308 + ] [ sp:object
309 + [ sp:varName "productionReport"^^xsd:string
310 + ] ;
311 + sp:predicate <http://www.reportinghub.no/ep/schema/core#partOf> ;
312 + sp:subject
313 + [ sp:varName "productionOperationReport"^^xsd:string
314 + ]
315 + ] [ sp:object
316 + [ sp:varName "productionOperationRef"^^xsd:string
317 + ] ;
318 + sp:predicate <http://www.epim.no/schemas/mprml/1#objectRef> ;
319 + sp:subject spin:_this
320 + ] [ sp:object <http://www.epim.no/schemas/mprml/1#Obj_productionOperation> ;
321 + sp:predicate rdf:type ;
322 + sp:subject
323 + [ sp:varName "productionOperationRef"^^xsd:string
324 + ]
325 + ] [ sp:object
326 + [ sp:varName "installationReportRef"^^xsd:string
327 + ] ;
328 + sp:predicate <http://www.epim.no/schemas/mprml/1#installationReportRef> ;
329 + sp:subject
330 + [ sp:varName "productionOperationRef"^^xsd:string
331 + ]
332 + ] [ sp:object
333 + [ sp:varName "installationReportRef"^^xsd:string
334 + ] ;
335 + sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ;
336 + sp:subject
337 + [ sp:varName "temporalPartOfAProductionFacility"^^xsd:string
338 + ]
339 + ] [ sp:object <http://www.reportinghub.no/ep/schema/facility#TemporalPartOfAProductionFacility> ;
340 + sp:predicate rdf:type ;
341 + sp:subject
342 + [ sp:varName "temporalPartOfAProductionFacility"^^xsd:string
343 + ]
344 + ] [ sp:object <http://www.reportinghub.no/ep/schema/production-activity#ProductionOperation> ;
345 + sp:predicate rdf:type ;
346 + sp:subject
347 + [ sp:varName "productionOperation"^^xsd:string
348 + ]
349 + ] [ sp:object
350 + [ sp:varName "temporalPartOfAProductionFacility"^^xsd:string
351 + ] ;
352 + sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#onProductionFacility> ;
353 + sp:subject
354 + [ sp:varName "productionOperation"^^xsd:string
355 + ]
356 + ] [ sp:object
357 + [ sp:varName "operationalHSERef"^^xsd:string
358 + ] ;
359 + sp:predicate <http://www.epim.no/schemas/mprml/1#operationalHSERef> ;
360 + sp:subject
361 + [ sp:varName "installationReportRef"^^xsd:string
362 + ]
363 + ] [ sp:object
364 + [ sp:varName "medicalTreatmentCount"^^xsd:string
365 + ] ;
366 + sp:predicate <http://www.epim.no/schemas/mprml/1#medicalTreatmentCount> ;
367 + sp:subject
368 + [ sp:varName "operationalHSERef"^^xsd:string
369 + ]
370 + ])
371 + ] ;
372 + spin:rule
373 + [ rdf:type sp:Construct ;
374 + rdfs:comment "STEP 40301 Set the number of personnel safety introductions"^^xsd:string ;
375 + sp:templates ([ sp:object _:b7 ;
376 + sp:predicate <http://www.reportinghub.no/ep/schema/production-core#hasSetOfAllPartsOfDefinedType> ;
377 + sp:subject
378 + [ sp:varName "productionOperation"^^xsd:string
379 + ]
380 + ] [ sp:object <http://www.reportinghub.no/ep/schema/production-core#SetOfAllPartsOfDefinedType> ;
381 + sp:predicate rdf:type ;
382 + sp:subject _:b7
383 + ] [ sp:object <http://www.reportinghub.no/ep/schema/production-activity#PersonnelSafetyIntroduction> ;
384 + sp:predicate <http://www.reportinghub.no/ep/schema/production-core#definingType> ;
385 + sp:subject _:b7
386 + ] [ sp:object
387 + [ sp:varName "safetyIntroCount"^^xsd:string
388 + ] ;
389 + sp:predicate <http://www.reportinghub.no/ep/schema/production-core#numberInSet> ;
390 + sp:subject _:b7
391 + ]) ;
392 + sp:where ([ sp:object spin:_this ;
393 + sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ;
394 + sp:subject
395 + [ sp:varName "productionReport"^^xsd:string
396 + ]
397 + ] [ sp:object <http://www.reportinghub.no/ep/schema/production-report#ProductionOperationReport> ;
398 + sp:predicate rdf:type ;
399 + sp:subject
400 + [ sp:varName "productionOperationReport"^^xsd:string
401 + ]
402 + ] [ sp:object
403 + [ sp:varName "productionReport"^^xsd:string
404 + ] ;
405 + sp:predicate <http://www.reportinghub.no/ep/schema/core#partOf> ;
406 + sp:subject
407 + [ sp:varName "productionOperationReport"^^xsd:string
408 + ]
409 + ] [ sp:object
410 + [ sp:varName "productionOperationRef"^^xsd:string
411 + ] ;
412 + sp:predicate <http://www.epim.no/schemas/mprml/1#objectRef> ;
413 + sp:subject spin:_this
414 + ] [ sp:object <http://www.epim.no/schemas/mprml/1#Obj_productionOperation> ;
415 + sp:predicate rdf:type ;
416 + sp:subject
417 + [ sp:varName "productionOperationRef"^^xsd:string
418 + ]
419 + ] [ sp:object
420 + [ sp:varName "installationReportRef"^^xsd:string
421 + ] ;
422 + sp:predicate <http://www.epim.no/schemas/mprml/1#installationReportRef> ;
423 + sp:subject
424 + [ sp:varName "productionOperationRef"^^xsd:string
425 + ]
426 + ] [ sp:object
427 + [ sp:varName "installationReportRef"^^xsd:string
428 + ] ;
429 + sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ;
430 + sp:subject
431 + [ sp:varName "temporalPartOfAProductionFacility"^^xsd:string
432 + ]
433 + ] [ sp:object <http://www.reportinghub.no/ep/schema/facility#TemporalPartOfAProductionFacility> ;
434 + sp:predicate rdf:type ;
435 + sp:subject
436 + [ sp:varName "temporalPartOfAProductionFacility"^^xsd:string
437 + ]
438 + ] [ sp:object <http://www.reportinghub.no/ep/schema/production-activity#ProductionOperation> ;
439 + sp:predicate rdf:type ;
440 + sp:subject
441 + [ sp:varName "productionOperation"^^xsd:string
442 + ]
443 + ] [ sp:object
444 + [ sp:varName "temporalPartOfAProductionFacility"^^xsd:string
445 + ] ;
446 + sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#onProductionFacility> ;
447 + sp:subject
448 + [ sp:varName "productionOperation"^^xsd:string
449 + ]
450 + ] [ sp:object
451 + [ sp:varName "operationalHSERef"^^xsd:string
452 + ] ;
453 + sp:predicate <http://www.epim.no/schemas/mprml/1#operationalHSERef> ;
454 + sp:subject
455 + [ sp:varName "installationReportRef"^^xsd:string
456 + ]
457 + ] [ sp:object
458 + [ sp:varName "safetyIntroCount"^^xsd:string
459 + ] ;
460 + sp:predicate <http://www.epim.no/schemas/mprml/1#safetyIntroCount> ;
461 + sp:subject
462 + [ sp:varName "operationalHSERef"^^xsd:string
463 + ]
464 + ])
465 + ] ;
466 + spin:rule
467 + [ rdf:type sp:Construct ;
468 + rdfs:comment "STEP 40308 Set the number of number of alarms"^^xsd:string ;
469 + sp:templates ([ sp:object _:b8 ;
470 + sp:predicate <http://www.reportinghub.no/ep/schema/production-core#hasSetOfAllPartsOfDefinedType> ;
471 + sp:subject
472 + [ sp:varName "productionOperation"^^xsd:string
473 + ]
474 + ] [ sp:object <http://www.reportinghub.no/ep/schema/production-core#SetOfAllPartsOfDefinedType> ;
475 + sp:predicate rdf:type ;
476 + sp:subject _:b8
477 + ] [ sp:object <http://www.reportinghub.no/ep/schema/production-activity#Alarm> ;
478 + sp:predicate <http://www.reportinghub.no/ep/schema/production-core#definingType> ;
479 + sp:subject _:b8
480 + ] [ sp:object
481 + [ sp:varName "alarmCount"^^xsd:string
482 + ] ;
483 + sp:predicate <http://www.reportinghub.no/ep/schema/production-core#numberInSet> ;
484 + sp:subject _:b8
485 + ]) ;
486 + sp:where ([ sp:object spin:_this ;
487 + sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ;
488 + sp:subject
489 + [ sp:varName "productionReport"^^xsd:string
490 + ]
491 + ] [ sp:object <http://www.reportinghub.no/ep/schema/production-report#ProductionOperationReport> ;
492 + sp:predicate rdf:type ;
493 + sp:subject
494 + [ sp:varName "productionOperationReport"^^xsd:string
495 + ]
496 + ] [ sp:object
497 + [ sp:varName "productionReport"^^xsd:string
498 + ] ;
499 + sp:predicate <http://www.reportinghub.no/ep/schema/core#partOf> ;
500 + sp:subject
501 + [ sp:varName "productionOperationReport"^^xsd:string
502 + ]
503 + ] [ sp:object
504 + [ sp:varName "productionOperationRef"^^xsd:string
505 + ] ;
506 + sp:predicate <http://www.epim.no/schemas/mprml/1#objectRef> ;
507 + sp:subject spin:_this
508 + ] [ sp:object <http://www.epim.no/schemas/mprml/1#Obj_productionOperation> ;
509 + sp:predicate rdf:type ;
510 + sp:subject
511 + [ sp:varName "productionOperationRef"^^xsd:string
512 + ]
513 + ] [ sp:object
514 + [ sp:varName "installationReportRef"^^xsd:string
515 + ] ;
516 + sp:predicate <http://www.epim.no/schemas/mprml/1#installationReportRef> ;
517 + sp:subject
518 + [ sp:varName "productionOperationRef"^^xsd:string
519 + ]
520 + ] [ sp:object
521 + [ sp:varName "installationReportRef"^^xsd:string
522 + ] ;
523 + sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ;
524 + sp:subject
525 + [ sp:varName "temporalPartOfAProductionFacility"^^xsd:string
526 + ]
527 + ] [ sp:object <http://www.reportinghub.no/ep/schema/facility#TemporalPartOfAProductionFacility> ;
528 + sp:predicate rdf:type ;
529 + sp:subject
530 + [ sp:varName "temporalPartOfAProductionFacility"^^xsd:string
531 + ]
532 + ] [ sp:object <http://www.reportinghub.no/ep/schema/production-activity#ProductionOperation> ;
533 + sp:predicate rdf:type ;
534 + sp:subject
535 + [ sp:varName "productionOperation"^^xsd:string
536 + ]
537 + ] [ sp:object
538 + [ sp:varName "temporalPartOfAProductionFacility"^^xsd:string
539 + ] ;
540 + sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#onProductionFacility> ;
541 + sp:subject
542 + [ sp:varName "productionOperation"^^xsd:string
543 + ]
544 + ] [ sp:object
545 + [ sp:varName "operationalHSERef"^^xsd:string
546 + ] ;
547 + sp:predicate <http://www.epim.no/schemas/mprml/1#operationalHSERef> ;
548 + sp:subject
549 + [ sp:varName "installationReportRef"^^xsd:string
550 + ]
551 + ] [ sp:object
552 + [ sp:varName "alarmCount"^^xsd:string
553 + ] ;
554 + sp:predicate <http://www.epim.no/schemas/mprml/1#alarmCount> ;
555 + sp:subject
556 + [ sp:varName "operationalHSERef"^^xsd:string
557 + ]
558 + ])
559 + ] ;
560 + spin:rule
561 + [ rdf:type sp:Construct ;
562 + rdfs:comment """STEP 40311 Set the safety counts - for year to date incidents
563 +period not processed"""^^xsd:string ;
564 + sp:templates ([ sp:object _:b9 ;
565 + sp:predicate <http://www.reportinghub.no/ep/schema/production-core#hasSetOfAllPartsOfDefinedType> ;
566 + sp:subject
567 + [ sp:varName "annualProductionOperationToDate"^^xsd:string
568 + ]
569 + ] [ sp:object <http://www.reportinghub.no/ep/schema/production-core#SetOfAllPartsOfDefinedType> ;
570 + sp:predicate rdf:type ;
571 + sp:subject _:b9
572 + ] [ sp:object <http://www.reportinghub.no/ep/schema/production-activity#Incident> ;
573 + sp:predicate <http://www.reportinghub.no/ep/schema/production-core#definingType> ;
574 + sp:subject _:b9
575 + ] [ sp:object
576 + [ sp:varName "safetyCount"^^xsd:string
577 + ] ;
578 + sp:predicate <http://www.reportinghub.no/ep/schema/production-core#numberInSet> ;
579 + sp:subject _:b9
580 + ]) ;
581 + sp:where ([ sp:object spin:_this ;
582 + sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ;
583 + sp:subject
584 + [ sp:varName "productionReport"^^xsd:string
585 + ]
586 + ] [ sp:object <http://www.reportinghub.no/ep/schema/production-report#ProductionOperationReport> ;
587 + sp:predicate rdf:type ;
588 + sp:subject
589 + [ sp:varName "productionOperationReport"^^xsd:string
590 + ]
591 + ] [ sp:object
592 + [ sp:varName "productionReport"^^xsd:string
593 + ] ;
594 + sp:predicate <http://www.reportinghub.no/ep/schema/core#partOf> ;
595 + sp:subject
596 + [ sp:varName "productionOperationReport"^^xsd:string
597 + ]
598 + ] [ sp:object
599 + [ sp:varName "productionOperationRef"^^xsd:string
600 + ] ;
601 + sp:predicate <http://www.epim.no/schemas/mprml/1#objectRef> ;
602 + sp:subject spin:_this
603 + ] [ sp:object <http://www.epim.no/schemas/mprml/1#Obj_productionOperation> ;
604 + sp:predicate rdf:type ;
605 + sp:subject
606 + [ sp:varName "productionOperationRef"^^xsd:string
607 + ]
608 + ] [ sp:object
609 + [ sp:varName "installationReportRef"^^xsd:string
610 + ] ;
611 + sp:predicate <http://www.epim.no/schemas/mprml/1#installationReportRef> ;
612 + sp:subject
613 + [ sp:varName "productionOperationRef"^^xsd:string
614 + ]
615 + ] [ sp:object
616 + [ sp:varName "installationReportRef"^^xsd:string
617 + ] ;
618 + sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ;
619 + sp:subject
620 + [ sp:varName "temporalPartOfAProductionFacility"^^xsd:string
621 + ]
622 + ] [ sp:object <http://www.reportinghub.no/ep/schema/facility#TemporalPartOfAProductionFacility> ;
623 + sp:predicate rdf:type ;
624 + sp:subject
625 + [ sp:varName "temporalPartOfAProductionFacility"^^xsd:string
626 + ]
627 + ] [ sp:object <http://www.reportinghub.no/ep/schema/production-activity#ProductionOperation> ;
628 + sp:predicate rdf:type ;
629 + sp:subject
630 + [ sp:varName "productionOperation"^^xsd:string
631 + ]
632 + ] [ sp:object
633 + [ sp:varName "temporalPartOfAProductionFacility"^^xsd:string
634 + ] ;
635 + sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#onProductionFacility> ;
636 + sp:subject
637 + [ sp:varName "productionOperation"^^xsd:string
638 + ]
639 + ] [ sp:object
640 + [ sp:varName "annualProductionOperationToDate"^^xsd:string
641 + ] ;
642 + sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
643 + sp:subject
644 + [ sp:varName "productionOperation"^^xsd:string
645 + ]
646 + ] [ sp:object <http://www.reportinghub.no/ep/schema/production-activity#AnnualProductionOperationToDate> ;
647 + sp:predicate rdf:type ;
648 + sp:subject
649 + [ sp:varName "annualProductionOperationToDate"^^xsd:string
650 + ]
651 + ] [ sp:object
652 + [ sp:varName "operationalHSERef"^^xsd:string
653 + ] ;
654 + sp:predicate <http://www.epim.no/schemas/mprml/1#operationalHSERef> ;
655 + sp:subject
656 + [ sp:varName "installationReportRef"^^xsd:string
657 + ]
658 + ] [ sp:object
659 + [ sp:varName "safetyRef"^^xsd:string
660 + ] ;
661 + sp:predicate <http://www.epim.no/schemas/mprml/1#safetyRef> ;
662 + sp:subject
663 + [ sp:varName "operationalHSERef"^^xsd:string
664 + ]
665 + ] [ sp:object
666 + [ sp:varName "safetyCountRef"^^xsd:string
667 + ] ;
668 + sp:predicate <http://www.epim.no/schemas/mprml/1#safetyCountRef> ;
669 + sp:subject
670 + [ sp:varName "safetyRef"^^xsd:string
671 + ]
672 + ] [ sp:object
673 + [ sp:varName "safetyCount"^^xsd:string
674 + ] ;
675 + sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
676 + sp:subject
677 + [ sp:varName "safetyCountRef"^^xsd:string
678 + ]
679 + ] [ sp:object <http://www.epim.no/schemas/mprml/1#ST_year-to-dateincidents> ;
680 + sp:predicate <http://www.epim.no/schemas/mprml/1#typeRef> ;
681 + sp:subject
682 + [ sp:varName "safetyCountRef"^^xsd:string
683 + ]
684 + ] [ rdf:type sp:Optional ;
685 + sp:elements ([ sp:object
686 + [ sp:varName "reportingPeriod"^^xsd:string
687 + ] ;
688 + sp:predicate <http://www.epim.no/schemas/mprml/1#periodRef> ;
689 + sp:subject
690 + [ sp:varName "safetyCountRef"^^xsd:string
691 + ]
692 + ])
693 + ])
694 + ] ;
695 + spin:rule
696 + [ rdf:type sp:Construct ;
697 + rdfs:comment "STEP 40306 Set the number of number of accidents and injuries"^^xsd:string ;
698 + sp:templates ([ sp:object _:b10 ;
699 + sp:predicate <http://www.reportinghub.no/ep/schema/production-core#hasSetOfAllPartsOfDefinedType> ;
700 + sp:subject
701 + [ sp:varName "productionOperation"^^xsd:string
702 + ]
703 + ] [ sp:object <http://www.reportinghub.no/ep/schema/production-core#SetOfAllPartsOfDefinedType> ;
704 + sp:predicate rdf:type ;
705 + sp:subject _:b10
706 + ] [ sp:object <http://www.reportinghub.no/ep/schema/production-activity#AccidentOrInjury> ;
707 + sp:predicate <http://www.reportinghub.no/ep/schema/production-core#definingType> ;
708 + sp:subject _:b10
709 + ] [ sp:object
710 + [ sp:varName "incidentCount"^^xsd:string
711 + ] ;
712 + sp:predicate <http://www.reportinghub.no/ep/schema/production-core#numberInSet> ;
713 + sp:subject _:b10
714 + ]) ;
715 + sp:where ([ sp:object spin:_this ;
716 + sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ;
717 + sp:subject
718 + [ sp:varName "productionReport"^^xsd:string
719 + ]
720 + ] [ sp:object <http://www.reportinghub.no/ep/schema/production-report#ProductionOperationReport> ;
721 + sp:predicate rdf:type ;
722 + sp:subject
723 + [ sp:varName "productionOperationReport"^^xsd:string
724 + ]
725 + ] [ sp:object
726 + [ sp:varName "productionReport"^^xsd:string
727 + ] ;
728 + sp:predicate <http://www.reportinghub.no/ep/schema/core#partOf> ;
729 + sp:subject
730 + [ sp:varName "productionOperationReport"^^xsd:string
731 + ]
732 + ] [ sp:object
733 + [ sp:varName "productionOperationRef"^^xsd:string
734 + ] ;
735 + sp:predicate <http://www.epim.no/schemas/mprml/1#objectRef> ;
736 + sp:subject spin:_this
737 + ] [ sp:object <http://www.epim.no/schemas/mprml/1#Obj_productionOperation> ;
738 + sp:predicate rdf:type ;
739 + sp:subject
740 + [ sp:varName "productionOperationRef"^^xsd:string
741 + ]
742 + ] [ sp:object
743 + [ sp:varName "installationReportRef"^^xsd:string
744 + ] ;
745 + sp:predicate <http://www.epim.no/schemas/mprml/1#installationReportRef> ;
746 + sp:subject
747 + [ sp:varName "productionOperationRef"^^xsd:string
748 + ]
749 + ] [ sp:object
750 + [ sp:varName "installationReportRef"^^xsd:string
751 + ] ;
752 + sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ;
753 + sp:subject
754 + [ sp:varName "temporalPartOfAProductionFacility"^^xsd:string
755 + ]
756 + ] [ sp:object <http://www.reportinghub.no/ep/schema/facility#TemporalPartOfAProductionFacility> ;
757 + sp:predicate rdf:type ;
758 + sp:subject
759 + [ sp:varName "temporalPartOfAProductionFacility"^^xsd:string
760 + ]
761 + ] [ sp:object <http://www.reportinghub.no/ep/schema/production-activity#ProductionOperation> ;
762 + sp:predicate rdf:type ;
763 + sp:subject
764 + [ sp:varName "productionOperation"^^xsd:string
765 + ]
766 + ] [ sp:object
767 + [ sp:varName "temporalPartOfAProductionFacility"^^xsd:string
768 + ] ;
769 + sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#onProductionFacility> ;
770 + sp:subject
771 + [ sp:varName "productionOperation"^^xsd:string
772 + ]
773 + ] [ sp:object
774 + [ sp:varName "operationalHSERef"^^xsd:string
775 + ] ;
776 + sp:predicate <http://www.epim.no/schemas/mprml/1#operationalHSERef> ;
777 + sp:subject
778 + [ sp:varName "installationReportRef"^^xsd:string
779 + ]
780 + ] [ sp:object
781 + [ sp:varName "incidentCount"^^xsd:string
782 + ] ;
783 + sp:predicate <http://www.epim.no/schemas/mprml/1#incidentCount> ;
784 + sp:subject
785 + [ sp:varName "operationalHSERef"^^xsd:string
786 + ]
787 + ])
788 + ] ;
789 + spin:rule
790 + [ rdf:type sp:Construct ;
791 + rdfs:comment "STEP 40304 Set the time since most recent accident prevention exercise"^^xsd:string ;
792 + sp:templates ([ sp:object _:b11 ;
793 + sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#hasLastPartOfTypeRemainingActivityPair> ;
794 + sp:subject
795 + [ sp:varName "productionOperation"^^xsd:string
796 + ]
797 + ] [ sp:object <http://www.reportinghub.no/ep/schema/production-activity#LastPartOfTypeRemainingActivityPair> ;
798 + sp:predicate rdf:type ;
799 + sp:subject _:b11
800 + ] [ sp:object <http://www.reportinghub.no/ep/schema/production-activity#AccidentPreventionExercise> ;
801 + sp:predicate <http://www.reportinghub.no/ep/schema/production-core#definingType> ;
802 + sp:subject _:b11
803 + ] [ sp:object _:b12 ;
804 + sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#remainingActivity> ;
805 + sp:subject _:b11
806 + ] [ sp:object <http://www.reportinghub.no/ep/schema/production-activity#ProductionOperation> ;
807 + sp:predicate rdf:type ;
808 + sp:subject _:b12
809 + ] [ sp:object _:b13 ;
810 + sp:predicate rdf:type ;
811 + sp:subject _:b12
812 + ] [ sp:object <http://www.reportinghub.no/ep/schema/core#TimeDuration> ;
813 + sp:predicate rdf:type ;
814 + sp:subject _:b13
815 + ] [ sp:object
816 + [ sp:varName "realSincePreventionExercise"^^xsd:string
817 + ] ;
818 + sp:predicate
819 + [ sp:varName "sincePreventionExerciseScale"^^xsd:string
820 + ] ;
821 + sp:subject _:b13
822 + ]) ;
823 + sp:where ([ sp:object spin:_this ;
824 + sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ;
825 + sp:subject
826 + [ sp:varName "productionReport"^^xsd:string
827 + ]
828 + ] [ sp:object <http://www.reportinghub.no/ep/schema/production-report#ProductionOperationReport> ;
829 + sp:predicate rdf:type ;
830 + sp:subject
831 + [ sp:varName "productionOperationReport"^^xsd:string
832 + ]
833 + ] [ sp:object
834 + [ sp:varName "productionReport"^^xsd:string
835 + ] ;
836 + sp:predicate <http://www.reportinghub.no/ep/schema/core#partOf> ;
837 + sp:subject
838 + [ sp:varName "productionOperationReport"^^xsd:string
839 + ]
840 + ] [ sp:object
841 + [ sp:varName "productionOperationRef"^^xsd:string
842 + ] ;
843 + sp:predicate <http://www.epim.no/schemas/mprml/1#objectRef> ;
844 + sp:subject spin:_this
845 + ] [ sp:object <http://www.epim.no/schemas/mprml/1#Obj_productionOperation> ;
846 + sp:predicate rdf:type ;
847 + sp:subject
848 + [ sp:varName "productionOperationRef"^^xsd:string
849 + ]
850 + ] [ sp:object
851 + [ sp:varName "installationReportRef"^^xsd:string
852 + ] ;
853 + sp:predicate <http://www.epim.no/schemas/mprml/1#installationReportRef> ;
854 + sp:subject
855 + [ sp:varName "productionOperationRef"^^xsd:string
856 + ]
857 + ] [ sp:object
858 + [ sp:varName "installationReportRef"^^xsd:string
859 + ] ;
860 + sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ;
861 + sp:subject
862 + [ sp:varName "temporalPartOfAProductionFacility"^^xsd:string
863 + ]
864 + ] [ sp:object <http://www.reportinghub.no/ep/schema/facility#TemporalPartOfAProductionFacility> ;
865 + sp:predicate rdf:type ;
866 + sp:subject
867 + [ sp:varName "temporalPartOfAProductionFacility"^^xsd:string
868 + ]
869 + ] [ sp:object <http://www.reportinghub.no/ep/schema/production-activity#ProductionOperation> ;
870 + sp:predicate rdf:type ;
871 + sp:subject
872 + [ sp:varName "productionOperation"^^xsd:string
873 + ]
874 + ] [ sp:object
875 + [ sp:varName "temporalPartOfAProductionFacility"^^xsd:string
876 + ] ;
877 + sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#onProductionFacility> ;
878 + sp:subject
879 + [ sp:varName "productionOperation"^^xsd:string
880 + ]
881 + ] [ sp:object
882 + [ sp:varName "sincePreventionExerciseRef"^^xsd:string
883 + ] ;
884 + sp:predicate <http://www.epim.no/schemas/mprml/1#sincePreventionExerciseRef> ;
885 + sp:subject
886 + [ sp:varName "operationalHSERef"^^xsd:string
887 + ]
888 + ] [ sp:object
889 + [ sp:varName "realSincePreventionExercise"^^xsd:string
890 + ] ;
891 + sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
892 + sp:subject
893 + [ sp:varName "sincePreventionExerciseRef"^^xsd:string
894 + ]
895 + ] [ sp:object
896 + [ sp:varName "uomSincePreventionExercise"^^xsd:string
897 + ] ;
898 + sp:predicate <http://www.epim.no/schemas/mprml/1#uomRef> ;
899 + sp:subject
900 + [ sp:varName "sincePreventionExerciseRef"^^xsd:string
901 + ]
902 + ] [ rdf:type sp:Bind ;
903 + sp:expression
904 + [ rdf:type ep-mpr-spin-lib:selectDurationScale ;
905 + sp:arg1 [ sp:varName "uomSincePreventionExercise"^^xsd:string
906 + ]
907 + ] ;
908 + sp:variable
909 + [ sp:varName "sincePreventionExerciseScale"^^xsd:string
910 + ]
911 + ])
912 + ] ;
913 + spin:rule
914 + [ rdf:type sp:Construct ;
915 + rdfs:comment "STEP 40302 Set the safety consideration description"^^xsd:string ;
916 + sp:templates ([ sp:object _:b14 ;
917 + sp:predicate <http://www.reportinghub.no/ep/schema/core#hasPart> ;
918 + sp:subject
919 + [ sp:varName "productionOperation"^^xsd:string
920 + ]
921 + ] [ sp:object <http://www.reportinghub.no/ep/schema/production-activity#SafetyConsideration> ;
922 + sp:predicate rdf:type ;
923 + sp:subject _:b14
924 + ] [ sp:object
925 + [ sp:varName "safetyDescription"^^xsd:string
926 + ] ;
927 + sp:predicate <http://www.reportinghub.no/ep/schema/core#description> ;
928 + sp:subject _:b14
929 + ]) ;
930 + sp:where ([ sp:object spin:_this ;
931 + sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ;
932 + sp:subject
933 + [ sp:varName "productionReport"^^xsd:string
934 + ]
935 + ] [ sp:object <http://www.reportinghub.no/ep/schema/production-report#ProductionOperationReport> ;
936 + sp:predicate rdf:type ;
937 + sp:subject
938 + [ sp:varName "productionOperationReport"^^xsd:string
939 + ]
940 + ] [ sp:object
941 + [ sp:varName "productionReport"^^xsd:string
942 + ] ;
943 + sp:predicate <http://www.reportinghub.no/ep/schema/core#partOf> ;
944 + sp:subject
945 + [ sp:varName "productionOperationReport"^^xsd:string
946 + ]
947 + ] [ sp:object
948 + [ sp:varName "productionOperationRef"^^xsd:string
949 + ] ;
950 + sp:predicate <http://www.epim.no/schemas/mprml/1#objectRef> ;
951 + sp:subject spin:_this
952 + ] [ sp:object <http://www.epim.no/schemas/mprml/1#Obj_productionOperation> ;
953 + sp:predicate rdf:type ;
954 + sp:subject
955 + [ sp:varName "productionOperationRef"^^xsd:string
956 + ]
957 + ] [ sp:object
958 + [ sp:varName "installationReportRef"^^xsd:string
959 + ] ;
960 + sp:predicate <http://www.epim.no/schemas/mprml/1#installationReportRef> ;
961 + sp:subject
962 + [ sp:varName "productionOperationRef"^^xsd:string
963 + ]
964 + ] [ sp:object
965 + [ sp:varName "installationReportRef"^^xsd:string
966 + ] ;
967 + sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ;
968 + sp:subject
969 + [ sp:varName "temporalPartOfAProductionFacility"^^xsd:string
970 + ]
971 + ] [ sp:object <http://www.reportinghub.no/ep/schema/facility#TemporalPartOfAProductionFacility> ;
972 + sp:predicate rdf:type ;
973 + sp:subject
974 + [ sp:varName "temporalPartOfAProductionFacility"^^xsd:string
975 + ]
976 + ] [ sp:object <http://www.reportinghub.no/ep/schema/production-activity#ProductionOperation> ;
977 + sp:predicate rdf:type ;
978 + sp:subject
979 + [ sp:varName "productionOperation"^^xsd:string
980 + ]
981 + ] [ sp:object
982 + [ sp:varName "temporalPartOfAProductionFacility"^^xsd:string
983 + ] ;
984 + sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#onProductionFacility> ;
985 + sp:subject
986 + [ sp:varName "productionOperation"^^xsd:string
987 + ]
988 + ] [ sp:object
989 + [ sp:varName "safetyDescription"^^xsd:string
990 + ] ;
991 + sp:predicate <http://www.epim.no/schemas/mprml/1#safetyDescription> ;
992 + sp:subject
993 + [ sp:varName "operationalHSERef"^^xsd:string
994 + ]
995 + ])
996 + ] ;
997 + spin:rule
998 + [ rdf:type sp:Construct ;
999 + rdfs:comment "STEP 40303 Set the time since most recent lost time accident"^^xsd:string ;
1000 + sp:templates ([ sp:object _:b15 ;
1001 + sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#hasLastPartOfTypeRemainingActivityPair> ;
1002 + sp:subject
1003 + [ sp:varName "productionOperation"^^xsd:string
1004 + ]
1005 + ] [ sp:object <http://www.reportinghub.no/ep/schema/production-activity#LastPartOfTypeRemainingActivityPair> ;
1006 + sp:predicate rdf:type ;
1007 + sp:subject _:b15
1008 + ] [ sp:object <http://www.reportinghub.no/ep/schema/production-activity#LostTimeAccident> ;
1009 + sp:predicate <http://www.reportinghub.no/ep/schema/production-core#definingType> ;
1010 + sp:subject _:b15
1011 + ] [ sp:object _:b16 ;
1012 + sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#remainingActivity> ;
1013 + sp:subject _:b15
1014 + ] [ sp:object <http://www.reportinghub.no/ep/schema/production-activity#ProductionOperation> ;
1015 + sp:predicate rdf:type ;
1016 + sp:subject _:b16
1017 + ] [ sp:object _:b17 ;
1018 + sp:predicate rdf:type ;
1019 + sp:subject _:b16
1020 + ] [ sp:object <http://www.reportinghub.no/ep/schema/core#TimeDuration> ;
1021 + sp:predicate rdf:type ;
1022 + sp:subject _:b17
1023 + ] [ sp:object
1024 + [ sp:varName "realSinceLostTime"^^xsd:string
1025 + ] ;
1026 + sp:predicate
1027 + [ sp:varName "sinceLostTimeScale"^^xsd:string
1028 + ] ;
1029 + sp:subject _:b17
1030 + ]) ;
1031 + sp:where ([ sp:object spin:_this ;
1032 + sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ;
1033 + sp:subject
1034 + [ sp:varName "productionReport"^^xsd:string
1035 + ]
1036 + ] [ sp:object <http://www.reportinghub.no/ep/schema/production-report#ProductionOperationReport> ;
1037 + sp:predicate rdf:type ;
1038 + sp:subject
1039 + [ sp:varName "productionOperationReport"^^xsd:string
1040 + ]
1041 + ] [ sp:object
1042 + [ sp:varName "productionReport"^^xsd:string
1043 + ] ;
1044 + sp:predicate <http://www.reportinghub.no/ep/schema/core#partOf> ;
1045 + sp:subject
1046 + [ sp:varName "productionOperationReport"^^xsd:string
1047 + ]
1048 + ] [ sp:object
1049 + [ sp:varName "productionOperationRef"^^xsd:string
1050 + ] ;
1051 + sp:predicate <http://www.epim.no/schemas/mprml/1#objectRef> ;
1052 + sp:subject spin:_this
1053 + ] [ sp:object <http://www.epim.no/schemas/mprml/1#Obj_productionOperation> ;
1054 + sp:predicate rdf:type ;
1055 + sp:subject
1056 + [ sp:varName "productionOperationRef"^^xsd:string
1057 + ]
1058 + ] [ sp:object
1059 + [ sp:varName "installationReportRef"^^xsd:string
1060 + ] ;
1061 + sp:predicate <http://www.epim.no/schemas/mprml/1#installationReportRef> ;
1062 + sp:subject
1063 + [ sp:varName "productionOperationRef"^^xsd:string
1064 + ]
1065 + ] [ sp:object
1066 + [ sp:varName "installationReportRef"^^xsd:string
1067 + ] ;
1068 + sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ;
1069 + sp:subject
1070 + [ sp:varName "temporalPartOfAProductionFacility"^^xsd:string
1071 + ]
1072 + ] [ sp:object <http://www.reportinghub.no/ep/schema/facility#TemporalPartOfAProductionFacility> ;
1073 + sp:predicate rdf:type ;
1074 + sp:subject
1075 + [ sp:varName "temporalPartOfAProductionFacility"^^xsd:string
1076 + ]
1077 + ] [ sp:object <http://www.reportinghub.no/ep/schema/production-activity#ProductionOperation> ;
1078 + sp:predicate rdf:type ;
1079 + sp:subject
1080 + [ sp:varName "productionOperation"^^xsd:string
1081 + ]
1082 + ] [ sp:object
1083 + [ sp:varName "temporalPartOfAProductionFacility"^^xsd:string
1084 + ] ;
1085 + sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#onProductionFacility> ;
1086 + sp:subject
1087 + [ sp:varName "productionOperation"^^xsd:string
1088 + ]
1089 + ] [ sp:object
1090 + [ sp:varName "sinceLostTimeRef"^^xsd:string
1091 + ] ;
1092 + sp:predicate <http://www.epim.no/schemas/mprml/1#sinceLostTimeRef> ;
1093 + sp:subject
1094 + [ sp:varName "operationalHSERef"^^xsd:string
1095 + ]
1096 + ] [ sp:object
1097 + [ sp:varName "realSinceLostTime"^^xsd:string
1098 + ] ;
1099 + sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
1100 + sp:subject
1101 + [ sp:varName "sinceLostTimeRef"^^xsd:string
1102 + ]
1103 + ] [ sp:object
1104 + [ sp:varName "uomSinceLostTime"^^xsd:string
1105 + ] ;
1106 + sp:predicate <http://www.epim.no/schemas/mprml/1#uomRef> ;
1107 + sp:subject
1108 + [ sp:varName "sinceLostTimeRef"^^xsd:string
1109 + ]
1110 + ] [ rdf:type sp:Bind ;
1111 + sp:expression
1112 + [ rdf:type ep-mpr-spin-lib:selectDurationScale ;
1113 + sp:arg1 [ sp:varName "uomSinceLostTime"^^xsd:string
1114 + ]
1115 + ] ;
1116 + sp:variable
1117 + [ sp:varName "sinceLostTimeScale"^^xsd:string
1118 + ]
1119 + ])
1120 + ] ;
1121 + spin:rule
1122 + [ rdf:type sp:Construct ;
1123 + rdfs:comment """STEP 40310 Set the safety counts - except year to date incidents
1124 +period not processed"""^^xsd:string ;
1125 + sp:templates ([ sp:object _:b18 ;
1126 + sp:predicate <http://www.reportinghub.no/ep/schema/production-core#hasSetOfAllPartsOfDefinedType> ;
1127 + sp:subject
1128 + [ sp:varName "productionOperation"^^xsd:string
1129 + ]
1130 + ] [ sp:object <http://www.reportinghub.no/ep/schema/production-core#SetOfAllPartsOfDefinedType> ;
1131 + sp:predicate rdf:type ;
1132 + sp:subject _:b18
1133 + ] [ sp:object
1134 + [ sp:varName "safetyActivityType"^^xsd:string
1135 + ] ;
1136 + sp:predicate <http://www.reportinghub.no/ep/schema/production-core#definingType> ;
1137 + sp:subject _:b18
1138 + ] [ sp:object
1139 + [ sp:varName "safetyCount"^^xsd:string
1140 + ] ;
1141 + sp:predicate <http://www.reportinghub.no/ep/schema/production-core#numberInSet> ;
1142 + sp:subject _:b18
1143 + ]) ;
1144 + sp:where ([ sp:object spin:_this ;
1145 + sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ;
1146 + sp:subject
1147 + [ sp:varName "productionReport"^^xsd:string
1148 + ]
1149 + ] [ sp:object <http://www.reportinghub.no/ep/schema/production-report#ProductionOperationReport> ;
1150 + sp:predicate rdf:type ;
1151 + sp:subject
1152 + [ sp:varName "productionOperationReport"^^xsd:string
1153 + ]
1154 + ] [ sp:object
1155 + [ sp:varName "productionReport"^^xsd:string
1156 + ] ;
1157 + sp:predicate <http://www.reportinghub.no/ep/schema/core#partOf> ;
1158 + sp:subject
1159 + [ sp:varName "productionOperationReport"^^xsd:string
1160 + ]
1161 + ] [ sp:object
1162 + [ sp:varName "productionOperationRef"^^xsd:string
1163 + ] ;
1164 + sp:predicate <http://www.epim.no/schemas/mprml/1#objectRef> ;
1165 + sp:subject spin:_this
1166 + ] [ sp:object <http://www.epim.no/schemas/mprml/1#Obj_productionOperation> ;
1167 + sp:predicate rdf:type ;
1168 + sp:subject
1169 + [ sp:varName "productionOperationRef"^^xsd:string
1170 + ]
1171 + ] [ sp:object
1172 + [ sp:varName "installationReportRef"^^xsd:string
1173 + ] ;
1174 + sp:predicate <http://www.epim.no/schemas/mprml/1#installationReportRef> ;
1175 + sp:subject
1176 + [ sp:varName "productionOperationRef"^^xsd:string
1177 + ]
1178 + ] [ sp:object
1179 + [ sp:varName "installationReportRef"^^xsd:string
1180 + ] ;
1181 + sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ;
1182 + sp:subject
1183 + [ sp:varName "temporalPartOfAProductionFacility"^^xsd:string
1184 + ]
1185 + ] [ sp:object <http://www.reportinghub.no/ep/schema/facility#TemporalPartOfAProductionFacility> ;
1186 + sp:predicate rdf:type ;
1187 + sp:subject
1188 + [ sp:varName "temporalPartOfAProductionFacility"^^xsd:string
1189 + ]
1190 + ] [ sp:object <http://www.reportinghub.no/ep/schema/production-activity#ProductionOperation> ;
1191 + sp:predicate rdf:type ;
1192 + sp:subject
1193 + [ sp:varName "productionOperation"^^xsd:string
1194 + ]
1195 + ] [ sp:object
1196 + [ sp:varName "temporalPartOfAProductionFacility"^^xsd:string
1197 + ] ;
1198 + sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#onProductionFacility> ;
1199 + sp:subject
1200 + [ sp:varName "productionOperation"^^xsd:string
1201 + ]
1202 + ] [ sp:object
1203 + [ sp:varName "operationalHSERef"^^xsd:string
1204 + ] ;
1205 + sp:predicate <http://www.epim.no/schemas/mprml/1#operationalHSERef> ;
1206 + sp:subject
1207 + [ sp:varName "installationReportRef"^^xsd:string
1208 + ]
1209 + ] [ sp:object
1210 + [ sp:varName "safetyRef"^^xsd:string
1211 + ] ;
1212 + sp:predicate <http://www.epim.no/schemas/mprml/1#safetyRef> ;
1213 + sp:subject
1214 + [ sp:varName "operationalHSERef"^^xsd:string
1215 + ]
1216 + ] [ sp:object
1217 + [ sp:varName "safetyCountRef"^^xsd:string
1218 + ] ;
1219 + sp:predicate <http://www.epim.no/schemas/mprml/1#safetyCountRef> ;
1220 + sp:subject
1221 + [ sp:varName "safetyRef"^^xsd:string
1222 + ]
1223 + ] [ sp:object
1224 + [ sp:varName "safetyCount"^^xsd:string
1225 + ] ;
1226 + sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
1227 + sp:subject
1228 + [ sp:varName "safetyCountRef"^^xsd:string
1229 + ]
1230 + ] [ rdf:type sp:Optional ;
1231 + sp:elements ([ sp:object
1232 + [ sp:varName "safetyTypeRef"^^xsd:string
1233 + ] ;
1234 + sp:predicate <http://www.epim.no/schemas/mprml/1#typeRef> ;
1235 + sp:subject
1236 + [ sp:varName "safetyCountRef"^^xsd:string
1237 + ]
1238 + ])
1239 + ] [ rdf:type sp:Optional ;
1240 + sp:elements ([ sp:object
1241 + [ sp:varName "reportingPeriod"^^xsd:string
1242 + ] ;
1243 + sp:predicate <http://www.epim.no/schemas/mprml/1#periodRef> ;
1244 + sp:subject
1245 + [ sp:varName "safetyCountRef"^^xsd:string
1246 + ]
1247 + ])
1248 + ] [ rdf:type sp:NotExists ;
1249 + sp:elements ([ sp:object <http://www.epim.no/schemas/mprml/1#ST_year-to-dateincidents> ;
1250 + sp:predicate <http://www.epim.no/schemas/mprml/1#typeRef> ;
1251 + sp:subject
1252 + [ sp:varName "safetyCountRef"^^xsd:string
1253 + ]
1254 + ])
1255 + ] [ rdf:type sp:Bind ;
1256 + sp:expression
1257 + [ rdf:type ep-mpr-spin-lib:selectSafetyActivityType ;
1258 + sp:arg1 [ sp:varName "safetyTypeRef"^^xsd:string
1259 + ]
1260 + ] ;
1261 + sp:variable
1262 + [ sp:varName "safetyActivityType"^^xsd:string
1263 + ]
1264 + ])
1265 + ] ;
1266 + spin:rule
1267 + [ rdf:type sp:Construct ;
1268 + rdfs:comment """STEP 40312 Set the whole activity and the type of part activity for comment
1269 +period not processed"""^^xsd:string ;
1270 + sp:templates ([ sp:object
1271 + [ sp:varName "commentRef"^^xsd:string
1272 + ] ;
1273 + sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#forComment> ;
1274 + sp:subject
1275 + [ sp:varName "productionOperation"^^xsd:string
1276 + ]
1277 + ] [ sp:object
1278 + [ sp:varName "commentRef"^^xsd:string
1279 + ] ;
1280 + sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#typeOfPartCommentedOn> ;
1281 + sp:subject <http://www.reportinghub.no/ep/schema/production-activity#HealthSafetyAndEnvironmentActivity>
1282 + ]) ;
1283 + sp:where ([ sp:object spin:_this ;
1284 + sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ;
1285 + sp:subject
1286 + [ sp:varName "productionReport"^^xsd:string
1287 + ]
1288 + ] [ sp:object <http://www.reportinghub.no/ep/schema/production-report#ProductionOperationReport> ;
1289 + sp:predicate rdf:type ;
1290 + sp:subject
1291 + [ sp:varName "productionOperationReport"^^xsd:string
1292 + ]
1293 + ] [ sp:object
1294 + [ sp:varName "productionReport"^^xsd:string
1295 + ] ;
1296 + sp:predicate <http://www.reportinghub.no/ep/schema/core#partOf> ;
1297 + sp:subject
1298 + [ sp:varName "productionOperationReport"^^xsd:string
1299 + ]
1300 + ] [ sp:object
1301 + [ sp:varName "productionOperationRef"^^xsd:string
1302 + ] ;
1303 + sp:predicate <http://www.epim.no/schemas/mprml/1#objectRef> ;
1304 + sp:subject spin:_this
1305 + ] [ sp:object <http://www.epim.no/schemas/mprml/1#Obj_productionOperation> ;
1306 + sp:predicate rdf:type ;
1307 + sp:subject
1308 + [ sp:varName "productionOperationRef"^^xsd:string
1309 + ]
1310 + ] [ sp:object
1311 + [ sp:varName "installationReportRef"^^xsd:string
1312 + ] ;
1313 + sp:predicate <http://www.epim.no/schemas/mprml/1#installationReportRef> ;
1314 + sp:subject
1315 + [ sp:varName "productionOperationRef"^^xsd:string
1316 + ]
1317 + ] [ sp:object
1318 + [ sp:varName "installationReportRef"^^xsd:string
1319 + ] ;
1320 + sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ;
1321 + sp:subject
1322 + [ sp:varName "temporalPartOfAProductionFacility"^^xsd:string
1323 + ]
1324 + ] [ sp:object <http://www.reportinghub.no/ep/schema/facility#TemporalPartOfAProductionFacility> ;
1325 + sp:predicate rdf:type ;
1326 + sp:subject
1327 + [ sp:varName "temporalPartOfAProductionFacility"^^xsd:string
1328 + ]
1329 + ] [ sp:object <http://www.reportinghub.no/ep/schema/production-activity#ProductionOperation> ;
1330 + sp:predicate rdf:type ;
1331 + sp:subject
1332 + [ sp:varName "productionOperation"^^xsd:string
1333 + ]
1334 + ] [ sp:object
1335 + [ sp:varName "temporalPartOfAProductionFacility"^^xsd:string
1336 + ] ;
1337 + sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#onProductionFacility> ;
1338 + sp:subject
1339 + [ sp:varName "productionOperation"^^xsd:string
1340 + ]
1341 + ] [ sp:object
1342 + [ sp:varName "annualProductionOperationToDate"^^xsd:string
1343 + ] ;
1344 + sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
1345 + sp:subject
1346 + [ sp:varName "productionOperation"^^xsd:string
1347 + ]
1348 + ] [ sp:object <http://www.reportinghub.no/ep/schema/production-activity#AnnualProductionOperationToDate> ;
1349 + sp:predicate rdf:type ;
1350 + sp:subject
1351 + [ sp:varName "annualProductionOperationToDate"^^xsd:string
1352 + ]
1353 + ] [ sp:object
1354 + [ sp:varName "operationalHSERef"^^xsd:string
1355 + ] ;
1356 + sp:predicate <http://www.epim.no/schemas/mprml/1#operationalHSERef> ;
1357 + sp:subject
1358 + [ sp:varName "installationReportRef"^^xsd:string
1359 + ]
1360 + ] [ sp:object
1361 + [ sp:varName "safetyRef"^^xsd:string
1362 + ] ;
1363 + sp:predicate <http://www.epim.no/schemas/mprml/1#safetyRef> ;
1364 + sp:subject
1365 + [ sp:varName "operationalHSERef"^^xsd:string
1366 + ]
1367 + ] [ sp:object
1368 + [ sp:varName "commentRef"^^xsd:string
1369 + ] ;
1370 + sp:predicate <http://www.epim.no/schemas/mprml/1#commentRef> ;
1371 + sp:subject
1372 + [ sp:varName "safetyRef"^^xsd:string
1373 + ]
1374 + ])
1375 + ] .
1376 +
1377 +<http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-operationalHSEReport-v1.1.1>
1378 + rdf:type owl:Ontology ;
1379 + 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> ;
1380 + owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
1 +# baseURI: null
2 +
3 +@prefix composite: <http://www.topbraid.org/2007/05/composite.owl#> .
4 +@prefix forms: <http://www.topbraid.org/2007/01/forms.owl#> .
5 +@prefix inference: <http://www.topbraid.org/2007/06/inference.owl#> .
6 +@prefix owl: <http://www.w3.org/2002/07/owl#> .
7 +@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
8 +@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
9 +@prefix visual: <http://topbraid.org/visual#> .
10 +@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
11 +
12 +[] rdf:type inference:Configuration ;
13 + composite:child
14 + [ rdf:type <http://spinrdf.org/spin#TopSPIN> ;
15 + composite:index "0"^^xsd:int
16 + ] .
...@@ -21,20 +21,19 @@ ...@@ -21,20 +21,19 @@
21 <http://www.epim.no/schemas/mprml/1#A_Global-Objects> 21 <http://www.epim.no/schemas/mprml/1#A_Global-Objects>
22 spin:rule 22 spin:rule
23 [ rdf:type sp:Construct ; 23 [ rdf:type sp:Construct ;
24 - rdfs:comment "STEP 40202 Create the ProductionOperationInjection activity"^^xsd:string ; 24 + rdfs:comment "STEP 40207 Set the marine operation activity comment"^^xsd:string ;
25 - sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/production-activity#ProductionOperationInjection> ; 25 + sp:templates ([ sp:object
26 - sp:predicate rdf:type ; 26 + [ sp:varName "activityRef"^^xsd:string
27 - sp:subject _:b1
28 - ] [ sp:object
29 - [ sp:varName "productionOperationProductionAndInjection"^^xsd:string
30 ] ; 27 ] ;
31 - sp:predicate <http://www.reportinghub.no/ep/schema/core#partOf> ; 28 + sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#forComment> ;
32 - sp:subject _:b1 29 + sp:subject
30 + [ sp:varName "marineOperation"^^xsd:string
31 + ]
33 ] [ sp:object 32 ] [ sp:object
34 - [ sp:varName "lostInjectionRef"^^xsd:string 33 + [ sp:varName "activityRef"^^xsd:string
35 ] ; 34 ] ;
36 - sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ; 35 + sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#typeOfPartCommentedOn> ;
37 - sp:subject _:b1 36 + sp:subject <http://www.reportinghub.no/ep/schema/production-activity#MarineOperation>
38 ]) ; 37 ]) ;
39 sp:where ([ sp:object 38 sp:where ([ sp:object
40 [ sp:varName "productionOperationRef"^^xsd:string 39 [ sp:varName "productionOperationRef"^^xsd:string
...@@ -80,18 +79,6 @@ ...@@ -80,18 +79,6 @@
80 [ sp:varName "productionOperation"^^xsd:string 79 [ sp:varName "productionOperation"^^xsd:string
81 ] 80 ]
82 ] [ sp:object 81 ] [ sp:object
83 - [ sp:varName "productionOperation"^^xsd:string
84 - ] ;
85 - sp:predicate <http://www.reportinghub.no/ep/schema/core#partOf> ;
86 - sp:subject
87 - [ sp:varName "productionOperationProductionAndInjection"^^xsd:string
88 - ]
89 - ] [ sp:object <http://www.reportinghub.no/ep/schema/production-activity#ProductionOperationProductionAndInjection> ;
90 - sp:predicate rdf:type ;
91 - sp:subject
92 - [ sp:varName "productionOperationProductionAndInjection"^^xsd:string
93 - ]
94 - ] [ sp:object
95 [ sp:varName "productionActivityRef"^^xsd:string 82 [ sp:varName "productionActivityRef"^^xsd:string
96 ] ; 83 ] ;
97 sp:predicate <http://www.epim.no/schemas/mprml/1#productionActivityRef> ; 84 sp:predicate <http://www.epim.no/schemas/mprml/1#productionActivityRef> ;
...@@ -99,44 +86,45 @@ ...@@ -99,44 +86,45 @@
99 [ sp:varName "installationReportRef"^^xsd:string 86 [ sp:varName "installationReportRef"^^xsd:string
100 ] 87 ]
101 ] [ sp:object 88 ] [ sp:object
102 - [ sp:varName "lostInjectionRef"^^xsd:string 89 + [ sp:varName "marineOperationRef"^^xsd:string
103 ] ; 90 ] ;
104 - sp:predicate <http://www.epim.no/schemas/mprml/1#lostInjectionRef> ; 91 + sp:predicate <http://www.epim.no/schemas/mprml/1#marineOperationRef> ;
105 sp:subject 92 sp:subject
106 [ sp:varName "productionActivityRef"^^xsd:string 93 [ sp:varName "productionActivityRef"^^xsd:string
107 ] 94 ]
108 - ])
109 - ] ;
110 - spin:rule
111 - [ rdf:type sp:Construct ;
112 - rdfs:comment "STEP 40200 Create the ProductionOperationProductionAndInjection activity"^^xsd:string ;
113 - sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/production-activity#ProductionOperationProductionAndInjection> ;
114 - sp:predicate rdf:type ;
115 - sp:subject _:b2
116 ] [ sp:object 95 ] [ sp:object
117 - [ sp:varName "productionOperation"^^xsd:string 96 + [ sp:varName "marineOperationRef"^^xsd:string
118 ] ; 97 ] ;
119 - sp:predicate <http://www.reportinghub.no/ep/schema/core#partOf> ;
120 - sp:subject _:b2
121 - ]) ;
122 - sp:where ([ sp:object spin:_this ;
123 sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ; 98 sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ;
124 sp:subject 99 sp:subject
125 - [ sp:varName "productionReport"^^xsd:string 100 + [ sp:varName "marineOperation"^^xsd:string
126 ] 101 ]
127 - ] [ sp:object <http://www.reportinghub.no/ep/schema/production-report#ProductionOperationReport> ; 102 + ] [ sp:object
128 - sp:predicate rdf:type ; 103 + [ sp:varName "activityRef"^^xsd:string
104 + ] ;
105 + sp:predicate <http://www.epim.no/schemas/mprml/1#activityRef> ;
129 sp:subject 106 sp:subject
130 - [ sp:varName "productionOperationReport"^^xsd:string 107 + [ sp:varName "marineOperationRef"^^xsd:string
131 ] 108 ]
132 - ] [ sp:object 109 + ])
133 - [ sp:varName "productionReport"^^xsd:string
134 ] ; 110 ] ;
135 - sp:predicate <http://www.reportinghub.no/ep/schema/core#partOf> ; 111 + spin:rule
112 + [ rdf:type sp:Construct ;
113 + rdfs:comment "STEP 40206 Set the basket movement comment"^^xsd:string ;
114 + sp:templates ([ sp:object
115 + [ sp:varName "basketMovementRef"^^xsd:string
116 + ] ;
117 + sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#forComment> ;
136 sp:subject 118 sp:subject
137 - [ sp:varName "productionOperationReport"^^xsd:string 119 + [ sp:varName "marineOperation"^^xsd:string
138 ] 120 ]
139 ] [ sp:object 121 ] [ sp:object
122 + [ sp:varName "basketMovementRef"^^xsd:string
123 + ] ;
124 + sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#typeOfPartCommentedOn> ;
125 + sp:subject <http://www.reportinghub.no/ep/schema/production-activity#BasketMovement>
126 + ]) ;
127 + sp:where ([ sp:object
140 [ sp:varName "productionOperationRef"^^xsd:string 128 [ sp:varName "productionOperationRef"^^xsd:string
141 ] ; 129 ] ;
142 sp:predicate <http://www.epim.no/schemas/mprml/1#objectRef> ; 130 sp:predicate <http://www.epim.no/schemas/mprml/1#objectRef> ;
...@@ -186,24 +174,44 @@ ...@@ -186,24 +174,44 @@
186 sp:subject 174 sp:subject
187 [ sp:varName "installationReportRef"^^xsd:string 175 [ sp:varName "installationReportRef"^^xsd:string
188 ] 176 ]
177 + ] [ sp:object
178 + [ sp:varName "marineOperationRef"^^xsd:string
179 + ] ;
180 + sp:predicate <http://www.epim.no/schemas/mprml/1#marineOperationRef> ;
181 + sp:subject
182 + [ sp:varName "productionActivityRef"^^xsd:string
183 + ]
184 + ] [ sp:object
185 + [ sp:varName "marineOperationRef"^^xsd:string
186 + ] ;
187 + sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ;
188 + sp:subject
189 + [ sp:varName "marineOperation"^^xsd:string
190 + ]
191 + ] [ sp:object
192 + [ sp:varName "basketMovementRef"^^xsd:string
193 + ] ;
194 + sp:predicate <http://www.epim.no/schemas/mprml/1#basketMovementRef> ;
195 + sp:subject
196 + [ sp:varName "marineOperationRef"^^xsd:string
197 + ]
189 ]) 198 ])
190 ] ; 199 ] ;
191 spin:rule 200 spin:rule
192 [ rdf:type sp:Construct ; 201 [ rdf:type sp:Construct ;
193 - rdfs:comment "STEP 40201 Create the ProductionOperationProduction activity"^^xsd:string ; 202 + rdfs:comment "STEP 40205 Set the supply ship operation comment"^^xsd:string ;
194 - sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/production-activity#ProductionOperationProduction> ; 203 + sp:templates ([ sp:object
195 - sp:predicate rdf:type ; 204 + [ sp:varName "standbyVesselCommentRef"^^xsd:string
196 - sp:subject _:b3
197 - ] [ sp:object
198 - [ sp:varName "productionOperationProductionAndInjection"^^xsd:string
199 ] ; 205 ] ;
200 - sp:predicate <http://www.reportinghub.no/ep/schema/core#partOf> ; 206 + sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#forComment> ;
201 - sp:subject _:b3 207 + sp:subject
208 + [ sp:varName "marineOperation"^^xsd:string
209 + ]
202 ] [ sp:object 210 ] [ sp:object
203 - [ sp:varName "lostProductionRef"^^xsd:string 211 + [ sp:varName "standbyVesselCommentRef"^^xsd:string
204 ] ; 212 ] ;
205 - sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ; 213 + sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#typeOfPartCommentedOn> ;
206 - sp:subject _:b3 214 + sp:subject <http://www.reportinghub.no/ep/schema/production-activity#StandbyVesselOperation>
207 ]) ; 215 ]) ;
208 sp:where ([ sp:object 216 sp:where ([ sp:object
209 [ sp:varName "productionOperationRef"^^xsd:string 217 [ sp:varName "productionOperationRef"^^xsd:string
...@@ -249,222 +257,402 @@ ...@@ -249,222 +257,402 @@
249 [ sp:varName "productionOperation"^^xsd:string 257 [ sp:varName "productionOperation"^^xsd:string
250 ] 258 ]
251 ] [ sp:object 259 ] [ sp:object
252 - [ sp:varName "productionOperation"^^xsd:string 260 + [ sp:varName "productionActivityRef"^^xsd:string
253 ] ; 261 ] ;
254 - sp:predicate <http://www.reportinghub.no/ep/schema/core#partOf> ; 262 + sp:predicate <http://www.epim.no/schemas/mprml/1#productionActivityRef> ;
255 sp:subject 263 sp:subject
256 - [ sp:varName "productionOperationProductionAndInjection"^^xsd:string 264 + [ sp:varName "installationReportRef"^^xsd:string
257 ] 265 ]
258 - ] [ sp:object <http://www.reportinghub.no/ep/schema/production-activity#ProductionOperationProductionAndInjection> ; 266 + ] [ sp:object
259 - sp:predicate rdf:type ; 267 + [ sp:varName "marineOperationRef"^^xsd:string
268 + ] ;
269 + sp:predicate <http://www.epim.no/schemas/mprml/1#marineOperationRef> ;
260 sp:subject 270 sp:subject
261 - [ sp:varName "productionOperationProductionAndInjection"^^xsd:string 271 + [ sp:varName "productionActivityRef"^^xsd:string
262 ] 272 ]
263 ] [ sp:object 273 ] [ sp:object
264 - [ sp:varName "productionActivityRef"^^xsd:string 274 + [ sp:varName "marineOperationRef"^^xsd:string
265 ] ; 275 ] ;
266 - sp:predicate <http://www.epim.no/schemas/mprml/1#productionActivityRef> ; 276 + sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ;
267 sp:subject 277 sp:subject
268 - [ sp:varName "installationReportRef"^^xsd:string 278 + [ sp:varName "marineOperation"^^xsd:string
269 ] 279 ]
270 ] [ sp:object 280 ] [ sp:object
271 - [ sp:varName "lostProductionRef"^^xsd:string 281 + [ sp:varName "standbyVesselCommentRef"^^xsd:string
272 ] ; 282 ] ;
273 - sp:predicate <http://www.epim.no/schemas/mprml/1#lostProductionRef> ; 283 + sp:predicate <http://www.epim.no/schemas/mprml/1#standbyVesselCommentRef> ;
274 sp:subject 284 sp:subject
275 - [ sp:varName "productionActivityRef"^^xsd:string 285 + [ sp:varName "marineOperationRef"^^xsd:string
276 ] 286 ]
277 ]) 287 ])
278 - ] . 288 + ] ;
279 -
280 -<http://www.epim.no/schemas/mprml/1#Cs_productionOperationLostProduction>
281 spin:rule 289 spin:rule
282 [ rdf:type sp:Construct ; 290 [ rdf:type sp:Construct ;
283 - rdfs:comment "STEP 40291 Create the ProductionOperationProcessing - loss contributing activities"^^xsd:string ; 291 + rdfs:comment "STEP 40204 Set the supply ship operation comment"^^xsd:string ;
284 sp:templates ([ sp:object 292 sp:templates ([ sp:object
285 - [ sp:varName "reasonForLossOfProcessingType"^^xsd:string 293 + [ sp:varName "supplyShipCommentRef"^^xsd:string
286 ] ; 294 ] ;
287 - sp:predicate rdf:type ; 295 + sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#forComment> ;
288 - sp:subject _:b4 296 + sp:subject
297 + [ sp:varName "marineOperation"^^xsd:string
298 + ]
289 ] [ sp:object 299 ] [ sp:object
290 - [ sp:varName "productionOperationProcessing"^^xsd:string 300 + [ sp:varName "supplyShipCommentRef"^^xsd:string
291 ] ; 301 ] ;
292 - sp:predicate <http://www.reportinghub.no/ep/schema/core#partOf> ; 302 + sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#typeOfPartCommentedOn> ;
293 - sp:subject _:b4 303 + sp:subject <http://www.reportinghub.no/ep/schema/production-activity#SupplyShipOperation>
294 - ] [ sp:object _:b5 ; 304 + ]) ;
295 - sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#processingLost> ; 305 + sp:where ([ sp:object
296 - sp:subject _:b4 306 + [ sp:varName "productionOperationRef"^^xsd:string
297 - ] [ sp:object <http://www.reportinghub.no/ep/schema/material#QuantityOfMaterial> ; 307 + ] ;
298 - sp:predicate rdf:type ; 308 + sp:predicate <http://www.epim.no/schemas/mprml/1#objectRef> ;
299 - sp:subject _:b5 309 + sp:subject spin:_this
300 - ] [ sp:object _:b6 ; 310 + ] [ sp:object <http://www.epim.no/schemas/mprml/1#Obj_productionOperation> ;
301 - sp:predicate rdf:type ;
302 - sp:subject _:b5
303 - ] [ sp:object <http://www.reportinghub.no/ep/schema/core#Volume> ;
304 sp:predicate rdf:type ; 311 sp:predicate rdf:type ;
305 - sp:subject _:b6 312 + sp:subject
313 + [ sp:varName "productionOperationRef"^^xsd:string
314 + ]
306 ] [ sp:object 315 ] [ sp:object
307 - [ sp:varName "realVolume"^^xsd:string 316 + [ sp:varName "installationReportRef"^^xsd:string
308 ] ; 317 ] ;
309 - sp:predicate 318 + sp:predicate <http://www.epim.no/schemas/mprml/1#installationReportRef> ;
310 - [ sp:varName "volumeScale"^^xsd:string 319 + sp:subject
320 + [ sp:varName "productionOperationRef"^^xsd:string
321 + ]
322 + ] [ sp:object
323 + [ sp:varName "installationReportRef"^^xsd:string
311 ] ; 324 ] ;
312 - sp:subject _:b6
313 - ]) ;
314 - sp:where ([ sp:object spin:_this ;
315 sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ; 325 sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ;
316 sp:subject 326 sp:subject
317 - [ sp:varName "productionOperationProcessing"^^xsd:string 327 + [ sp:varName "temporalPartOfAProductionFacility"^^xsd:string
318 ] 328 ]
319 ] [ sp:object 329 ] [ sp:object
320 - [ sp:varName "volumeAndReasonRef"^^xsd:string 330 + [ sp:varName "productionFacility"^^xsd:string
321 ] ; 331 ] ;
322 - sp:predicate <http://www.epim.no/schemas/mprml/1#volumeAndReasonRef> ; 332 + sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
323 - sp:subject spin:_this 333 + sp:subject
334 + [ sp:varName "temporalPartOfAProductionFacility"^^xsd:string
335 + ]
336 + ] [ sp:object <http://www.reportinghub.no/ep/schema/production-activity#ProductionOperation> ;
337 + sp:predicate rdf:type ;
338 + sp:subject
339 + [ sp:varName "productionOperation"^^xsd:string
340 + ]
324 ] [ sp:object 341 ] [ sp:object
325 - [ sp:varName "realVolume"^^xsd:string 342 + [ sp:varName "temporalPartOfAProductionFacility"^^xsd:string
326 ] ; 343 ] ;
327 - sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ; 344 + sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#onProductionFacility> ;
328 sp:subject 345 sp:subject
329 - [ sp:varName "volumeAndReasonRef"^^xsd:string 346 + [ sp:varName "productionOperation"^^xsd:string
330 ] 347 ]
331 ] [ sp:object 348 ] [ sp:object
332 - [ sp:varName "uomVolume"^^xsd:string 349 + [ sp:varName "productionActivityRef"^^xsd:string
333 ] ; 350 ] ;
334 - sp:predicate <http://www.epim.no/schemas/mprml/1#uomRef> ; 351 + sp:predicate <http://www.epim.no/schemas/mprml/1#productionActivityRef> ;
335 sp:subject 352 sp:subject
336 - [ sp:varName "volumeAndReasonRef"^^xsd:string 353 + [ sp:varName "installationReportRef"^^xsd:string
337 ] 354 ]
338 ] [ sp:object 355 ] [ sp:object
339 - [ sp:varName "reasonLostRef"^^xsd:string 356 + [ sp:varName "marineOperationRef"^^xsd:string
340 ] ; 357 ] ;
341 - sp:predicate <http://www.epim.no/schemas/mprml/1#reasonLostRef> ; 358 + sp:predicate <http://www.epim.no/schemas/mprml/1#marineOperationRef> ;
342 sp:subject 359 sp:subject
343 - [ sp:varName "volumeAndReasonRef"^^xsd:string 360 + [ sp:varName "productionActivityRef"^^xsd:string
344 - ]
345 - ] [ rdf:type sp:Bind ;
346 - sp:expression
347 - [ rdf:type ep-mpr-spin-lib:selectReasonForLossOfProcessingType ;
348 - sp:arg1 [ sp:varName "reasonLostRef"^^xsd:string
349 ] 361 ]
362 + ] [ sp:object
363 + [ sp:varName "marineOperationRef"^^xsd:string
350 ] ; 364 ] ;
351 - sp:variable 365 + sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ;
352 - [ sp:varName "reasonForLossOfProcessingType"^^xsd:string 366 + sp:subject
353 - ] 367 + [ sp:varName "marineOperation"^^xsd:string
354 - ] [ rdf:type sp:Bind ;
355 - sp:expression
356 - [ rdf:type ep-mpr-spin-lib:selectVolumeScale ;
357 - sp:arg1 [ sp:varName "uomVolume"^^xsd:string
358 ] 368 ]
369 + ] [ sp:object
370 + [ sp:varName "supplyShipCommentRef"^^xsd:string
359 ] ; 371 ] ;
360 - sp:variable 372 + sp:predicate <http://www.epim.no/schemas/mprml/1#supplyShipCommentRef> ;
361 - [ sp:varName "volumeScale"^^xsd:string 373 + sp:subject
374 + [ sp:varName "marineOperationRef"^^xsd:string
362 ] 375 ]
363 ]) 376 ])
364 ] ; 377 ] ;
365 spin:rule 378 spin:rule
366 [ rdf:type sp:Construct ; 379 [ rdf:type sp:Construct ;
367 - rdfs:comment "STEP 40292 Create the ProductionOperationProcessing - loss contributing third party processing"^^xsd:string ; 380 + rdfs:comment "STEP 40203 Create the MarineOperation activity"^^xsd:string ;
368 - sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/production-activity#ThirdPartyProcessingLoss> ; 381 + sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/production-activity#MarineOperation> ;
369 sp:predicate rdf:type ; 382 sp:predicate rdf:type ;
370 - sp:subject _:b7 383 + sp:subject _:b1
371 ] [ sp:object 384 ] [ sp:object
372 - [ sp:varName "productionOperationProcessing"^^xsd:string 385 + [ sp:varName "productionOperation"^^xsd:string
373 ] ; 386 ] ;
374 sp:predicate <http://www.reportinghub.no/ep/schema/core#partOf> ; 387 sp:predicate <http://www.reportinghub.no/ep/schema/core#partOf> ;
375 - sp:subject _:b7 388 + sp:subject _:b1
376 ] [ sp:object 389 ] [ sp:object
377 - [ sp:varName "thirdPartyProcessingRef"^^xsd:string 390 + [ sp:varName "marineOperationRef"^^xsd:string
378 ] ; 391 ] ;
379 sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ; 392 sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ;
380 - sp:subject _:b7 393 + sp:subject _:b1
381 ]) ; 394 ]) ;
382 - sp:where ([ sp:object spin:_this ; 395 + sp:where ([ sp:object
383 - sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ; 396 + [ sp:varName "productionOperationRef"^^xsd:string
397 + ] ;
398 + sp:predicate <http://www.epim.no/schemas/mprml/1#objectRef> ;
399 + sp:subject spin:_this
400 + ] [ sp:object <http://www.epim.no/schemas/mprml/1#Obj_productionOperation> ;
401 + sp:predicate rdf:type ;
384 sp:subject 402 sp:subject
385 - [ sp:varName "productionOperationProcessing"^^xsd:string 403 + [ sp:varName "productionOperationRef"^^xsd:string
386 ] 404 ]
387 ] [ sp:object 405 ] [ sp:object
388 - [ sp:varName "thirdPartyProcessingRef"^^xsd:string 406 + [ sp:varName "installationReportRef"^^xsd:string
389 - ] ;
390 - sp:predicate <http://www.epim.no/schemas/mprml/1#thirdPartyProcessingRef> ;
391 - sp:subject spin:_this
392 - ])
393 ] ; 407 ] ;
394 - spin:rule 408 + sp:predicate <http://www.epim.no/schemas/mprml/1#installationReportRef> ;
395 - [ rdf:type sp:Construct ;
396 - rdfs:comment "STEP 40293 Create the ProductionOperationProcessing - loss contributing third party processing - add third party installation"^^xsd:string ;
397 - sp:templates ([ sp:object _:b8 ;
398 - sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#onProductionFacility> ;
399 sp:subject 409 sp:subject
400 - [ sp:varName "thirdPartyProcessingLoss"^^xsd:string 410 + [ sp:varName "productionOperationRef"^^xsd:string
401 ] 411 ]
402 - ] [ sp:object <http://www.reportinghub.no/ep/schema/facility#TemporalPartOfAProductionFacility> ;
403 - sp:predicate rdf:type ;
404 - sp:subject _:b8
405 ] [ sp:object 412 ] [ sp:object
406 - [ sp:varName "thirdPartyProductionFacility"^^xsd:string 413 + [ sp:varName "installationReportRef"^^xsd:string
407 - ] ;
408 - sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
409 - sp:subject _:b8
410 - ]) ;
411 - sp:where ([ sp:object
412 - [ sp:varName "thirdPartyProcessingRef"^^xsd:string
413 ] ; 414 ] ;
414 - sp:predicate <http://www.epim.no/schemas/mprml/1#thirdPartyProcessingRef> ; 415 + sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ;
415 - sp:subject spin:_this 416 + sp:subject
417 + [ sp:varName "temporalPartOfAProductionFacility"^^xsd:string
418 + ]
416 ] [ sp:object 419 ] [ sp:object
417 - [ sp:varName "thirdPartyProcessingRef"^^xsd:string 420 + [ sp:varName "productionFacility"^^xsd:string
418 ] ; 421 ] ;
419 - sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ; 422 + sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
420 sp:subject 423 sp:subject
421 - [ sp:varName "thirdPartyProcessingLoss"^^xsd:string 424 + [ sp:varName "temporalPartOfAProductionFacility"^^xsd:string
422 ] 425 ]
423 - ] [ sp:object <http://www.reportinghub.no/ep/schema/production-activity#ThirdPartyProcessingLoss> ; 426 + ] [ sp:object <http://www.reportinghub.no/ep/schema/production-activity#ProductionOperation> ;
424 sp:predicate rdf:type ; 427 sp:predicate rdf:type ;
425 sp:subject 428 sp:subject
426 - [ sp:varName "thirdPartyProcessingLoss"^^xsd:string 429 + [ sp:varName "productionOperation"^^xsd:string
427 ] 430 ]
428 ] [ sp:object 431 ] [ sp:object
429 - [ sp:varName "installationRef"^^xsd:string 432 + [ sp:varName "temporalPartOfAProductionFacility"^^xsd:string
430 ] ; 433 ] ;
431 - sp:predicate <http://www.epim.no/schemas/mprml/1#installationRef> ; 434 + sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#onProductionFacility> ;
432 sp:subject 435 sp:subject
433 - [ sp:varName "thirdPartyProcessingRef"^^xsd:string 436 + [ sp:varName "productionOperation"^^xsd:string
434 ] 437 ]
435 ] [ sp:object 438 ] [ sp:object
436 - [ sp:varName "installationRef"^^xsd:string 439 + [ sp:varName "productionActivityRef"^^xsd:string
440 + ] ;
441 + sp:predicate <http://www.epim.no/schemas/mprml/1#productionActivityRef> ;
442 + sp:subject
443 + [ sp:varName "installationReportRef"^^xsd:string
444 + ]
445 + ] [ sp:object
446 + [ sp:varName "marineOperationRef"^^xsd:string
447 + ] ;
448 + sp:predicate <http://www.epim.no/schemas/mprml/1#marineOperationRef> ;
449 + sp:subject
450 + [ sp:varName "productionActivityRef"^^xsd:string
451 + ]
452 + ])
453 + ] ;
454 + spin:rule
455 + [ rdf:type sp:Construct ;
456 + rdfs:comment "STEP 40202 Create the ProductionOperationInjection activity"^^xsd:string ;
457 + sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/production-activity#ProductionOperationInjection> ;
458 + sp:predicate rdf:type ;
459 + sp:subject _:b2
460 + ] [ sp:object
461 + [ sp:varName "productionOperation"^^xsd:string
462 + ] ;
463 + sp:predicate <http://www.reportinghub.no/ep/schema/core#partOf> ;
464 + sp:subject _:b2
465 + ] [ sp:object
466 + [ sp:varName "lostInjectionRef"^^xsd:string
437 ] ; 467 ] ;
438 sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ; 468 sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ;
469 + sp:subject _:b2
470 + ]) ;
471 + sp:where ([ sp:object
472 + [ sp:varName "productionOperationRef"^^xsd:string
473 + ] ;
474 + sp:predicate <http://www.epim.no/schemas/mprml/1#objectRef> ;
475 + sp:subject spin:_this
476 + ] [ sp:object <http://www.epim.no/schemas/mprml/1#Obj_productionOperation> ;
477 + sp:predicate rdf:type ;
439 sp:subject 478 sp:subject
440 - [ sp:varName "thirdPartyProductionFacility"^^xsd:string 479 + [ sp:varName "productionOperationRef"^^xsd:string
480 + ]
481 + ] [ sp:object
482 + [ sp:varName "installationReportRef"^^xsd:string
483 + ] ;
484 + sp:predicate <http://www.epim.no/schemas/mprml/1#installationReportRef> ;
485 + sp:subject
486 + [ sp:varName "productionOperationRef"^^xsd:string
487 + ]
488 + ] [ sp:object
489 + [ sp:varName "installationReportRef"^^xsd:string
490 + ] ;
491 + sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ;
492 + sp:subject
493 + [ sp:varName "temporalPartOfAProductionFacility"^^xsd:string
494 + ]
495 + ] [ sp:object
496 + [ sp:varName "productionFacility"^^xsd:string
497 + ] ;
498 + sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
499 + sp:subject
500 + [ sp:varName "temporalPartOfAProductionFacility"^^xsd:string
501 + ]
502 + ] [ sp:object <http://www.reportinghub.no/ep/schema/production-activity#ProductionOperation> ;
503 + sp:predicate rdf:type ;
504 + sp:subject
505 + [ sp:varName "productionOperation"^^xsd:string
506 + ]
507 + ] [ sp:object
508 + [ sp:varName "temporalPartOfAProductionFacility"^^xsd:string
509 + ] ;
510 + sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#onProductionFacility> ;
511 + sp:subject
512 + [ sp:varName "productionOperation"^^xsd:string
513 + ]
514 + ] [ sp:object
515 + [ sp:varName "productionOperation"^^xsd:string
516 + ] ;
517 + sp:predicate <http://www.reportinghub.no/ep/schema/core#partOf> ;
518 + sp:subject
519 + [ sp:varName "productionOperationProductionAndInjection"^^xsd:string
520 + ]
521 + ] [ sp:object <http://www.reportinghub.no/ep/schema/production-activity#ProductionOperationProductionAndInjection> ;
522 + sp:predicate rdf:type ;
523 + sp:subject
524 + [ sp:varName "productionOperationProductionAndInjection"^^xsd:string
525 + ]
526 + ] [ sp:object
527 + [ sp:varName "productionActivityRef"^^xsd:string
528 + ] ;
529 + sp:predicate <http://www.epim.no/schemas/mprml/1#productionActivityRef> ;
530 + sp:subject
531 + [ sp:varName "installationReportRef"^^xsd:string
532 + ]
533 + ] [ sp:object
534 + [ sp:varName "lostInjectionRef"^^xsd:string
535 + ] ;
536 + sp:predicate <http://www.epim.no/schemas/mprml/1#lostInjectionRef> ;
537 + sp:subject
538 + [ sp:varName "productionActivityRef"^^xsd:string
441 ] 539 ]
442 ]) 540 ])
443 ] ; 541 ] ;
444 spin:rule 542 spin:rule
445 [ rdf:type sp:Construct ; 543 [ rdf:type sp:Construct ;
446 - rdfs:comment "STEP 40294 Create the ProductionOperationProcessing - loss contributing third party processing - add oil volume"^^xsd:string ; 544 + rdfs:comment "STEP 40201 Create the ProductionOperationProduction activity"^^xsd:string ;
447 - sp:templates ([ sp:object _:b9 ; 545 + sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/production-activity#ProductionOperationProduction> ;
546 + sp:predicate rdf:type ;
547 + sp:subject _:b3
548 + ] [ sp:object
549 + [ sp:varName "productionOperation"^^xsd:string
550 + ] ;
551 + sp:predicate <http://www.reportinghub.no/ep/schema/core#partOf> ;
552 + sp:subject _:b3
553 + ] [ sp:object
554 + [ sp:varName "lostProductionRef"^^xsd:string
555 + ] ;
556 + sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ;
557 + sp:subject _:b3
558 + ]) ;
559 + sp:where ([ sp:object
560 + [ sp:varName "productionOperationRef"^^xsd:string
561 + ] ;
562 + sp:predicate <http://www.epim.no/schemas/mprml/1#objectRef> ;
563 + sp:subject spin:_this
564 + ] [ sp:object <http://www.epim.no/schemas/mprml/1#Obj_productionOperation> ;
565 + sp:predicate rdf:type ;
566 + sp:subject
567 + [ sp:varName "productionOperationRef"^^xsd:string
568 + ]
569 + ] [ sp:object
570 + [ sp:varName "installationReportRef"^^xsd:string
571 + ] ;
572 + sp:predicate <http://www.epim.no/schemas/mprml/1#installationReportRef> ;
573 + sp:subject
574 + [ sp:varName "productionOperationRef"^^xsd:string
575 + ]
576 + ] [ sp:object
577 + [ sp:varName "installationReportRef"^^xsd:string
578 + ] ;
579 + sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ;
580 + sp:subject
581 + [ sp:varName "temporalPartOfAProductionFacility"^^xsd:string
582 + ]
583 + ] [ sp:object
584 + [ sp:varName "productionFacility"^^xsd:string
585 + ] ;
586 + sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
587 + sp:subject
588 + [ sp:varName "temporalPartOfAProductionFacility"^^xsd:string
589 + ]
590 + ] [ sp:object <http://www.reportinghub.no/ep/schema/production-activity#ProductionOperation> ;
591 + sp:predicate rdf:type ;
592 + sp:subject
593 + [ sp:varName "productionOperation"^^xsd:string
594 + ]
595 + ] [ sp:object
596 + [ sp:varName "temporalPartOfAProductionFacility"^^xsd:string
597 + ] ;
598 + sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#onProductionFacility> ;
599 + sp:subject
600 + [ sp:varName "productionOperation"^^xsd:string
601 + ]
602 + ] [ sp:object
603 + [ sp:varName "productionOperation"^^xsd:string
604 + ] ;
605 + sp:predicate <http://www.reportinghub.no/ep/schema/core#partOf> ;
606 + sp:subject
607 + [ sp:varName "productionOperationProductionAndInjection"^^xsd:string
608 + ]
609 + ] [ sp:object <http://www.reportinghub.no/ep/schema/production-activity#ProductionOperationProductionAndInjection> ;
610 + sp:predicate rdf:type ;
611 + sp:subject
612 + [ sp:varName "productionOperationProductionAndInjection"^^xsd:string
613 + ]
614 + ] [ sp:object
615 + [ sp:varName "productionActivityRef"^^xsd:string
616 + ] ;
617 + sp:predicate <http://www.epim.no/schemas/mprml/1#productionActivityRef> ;
618 + sp:subject
619 + [ sp:varName "installationReportRef"^^xsd:string
620 + ]
621 + ] [ sp:object
622 + [ sp:varName "lostProductionRef"^^xsd:string
623 + ] ;
624 + sp:predicate <http://www.epim.no/schemas/mprml/1#lostProductionRef> ;
625 + sp:subject
626 + [ sp:varName "productionActivityRef"^^xsd:string
627 + ]
628 + ])
629 + ] .
630 +
631 +<http://www.epim.no/schemas/mprml/1#Cs_productionOperationLostProduction>
632 + spin:rule
633 + [ rdf:type sp:Construct ;
634 + rdfs:comment "STEP 40295 Create the ProductionOperationProcessing - loss contributing third party processing - add gas volume"^^xsd:string ;
635 + sp:templates ([ sp:object _:b4 ;
448 sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#processingLost> ; 636 sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#processingLost> ;
449 sp:subject 637 sp:subject
450 [ sp:varName "thirdPartyProcessingLoss"^^xsd:string 638 [ sp:varName "thirdPartyProcessingLoss"^^xsd:string
451 ] 639 ]
452 - ] [ sp:object <http://www.reportinghub.no/ep/schema/material#Oil> ; 640 + ] [ sp:object <http://www.reportinghub.no/ep/schema/material#Gas> ;
453 sp:predicate rdf:type ; 641 sp:predicate rdf:type ;
454 - sp:subject _:b9 642 + sp:subject _:b4
455 - ] [ sp:object _:b10 ; 643 + ] [ sp:object _:b5 ;
456 sp:predicate rdf:type ; 644 sp:predicate rdf:type ;
457 - sp:subject _:b9 645 + sp:subject _:b4
458 ] [ sp:object <http://www.reportinghub.no/ep/schema/core#Volume> ; 646 ] [ sp:object <http://www.reportinghub.no/ep/schema/core#Volume> ;
459 sp:predicate rdf:type ; 647 sp:predicate rdf:type ;
460 - sp:subject _:b10 648 + sp:subject _:b5
461 ] [ sp:object 649 ] [ sp:object
462 [ sp:varName "realVolume"^^xsd:string 650 [ sp:varName "realVolume"^^xsd:string
463 ] ; 651 ] ;
464 sp:predicate 652 sp:predicate
465 [ sp:varName "volumeScale"^^xsd:string 653 [ sp:varName "volumeScale"^^xsd:string
466 ] ; 654 ] ;
467 - sp:subject _:b10 655 + sp:subject _:b5
468 ]) ; 656 ]) ;
469 sp:where ([ sp:object 657 sp:where ([ sp:object
470 [ sp:varName "thirdPartyProcessingRef"^^xsd:string 658 [ sp:varName "thirdPartyProcessingRef"^^xsd:string
...@@ -484,9 +672,9 @@ ...@@ -484,9 +672,9 @@
484 [ sp:varName "thirdPartyProcessingLoss"^^xsd:string 672 [ sp:varName "thirdPartyProcessingLoss"^^xsd:string
485 ] 673 ]
486 ] [ sp:object 674 ] [ sp:object
487 - [ sp:varName "oilStdTempPresRef"^^xsd:string 675 + [ sp:varName "gasStdTempPresRef"^^xsd:string
488 ] ; 676 ] ;
489 - sp:predicate <http://www.epim.no/schemas/mprml/1#oilStdTempPresRef> ; 677 + sp:predicate <http://www.epim.no/schemas/mprml/1#gasStdTempPresRef> ;
490 sp:subject 678 sp:subject
491 [ sp:varName "thirdPartyProcessingRef"^^xsd:string 679 [ sp:varName "thirdPartyProcessingRef"^^xsd:string
492 ] 680 ]
...@@ -495,14 +683,14 @@ ...@@ -495,14 +683,14 @@
495 ] ; 683 ] ;
496 sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ; 684 sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
497 sp:subject 685 sp:subject
498 - [ sp:varName "oilStdTempPresRef"^^xsd:string 686 + [ sp:varName "gasStdTempPresRef"^^xsd:string
499 ] 687 ]
500 ] [ sp:object 688 ] [ sp:object
501 [ sp:varName "uomVolume"^^xsd:string 689 [ sp:varName "uomVolume"^^xsd:string
502 ] ; 690 ] ;
503 sp:predicate <http://www.epim.no/schemas/mprml/1#uomRef> ; 691 sp:predicate <http://www.epim.no/schemas/mprml/1#uomRef> ;
504 sp:subject 692 sp:subject
505 - [ sp:varName "oilStdTempPresRef"^^xsd:string 693 + [ sp:varName "gasStdTempPresRef"^^xsd:string
506 ] 694 ]
507 ] [ rdf:type sp:Bind ; 695 ] [ rdf:type sp:Bind ;
508 sp:expression 696 sp:expression
...@@ -517,28 +705,28 @@ ...@@ -517,28 +705,28 @@
517 ] ; 705 ] ;
518 spin:rule 706 spin:rule
519 [ rdf:type sp:Construct ; 707 [ rdf:type sp:Construct ;
520 - rdfs:comment "STEP 40295 Create the ProductionOperationProcessing - loss contributing third party processing - add gas volume"^^xsd:string ; 708 + rdfs:comment "STEP 40294 Create the ProductionOperationProcessing - loss contributing third party processing - add oil volume"^^xsd:string ;
521 - sp:templates ([ sp:object _:b11 ; 709 + sp:templates ([ sp:object _:b6 ;
522 sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#processingLost> ; 710 sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#processingLost> ;
523 sp:subject 711 sp:subject
524 [ sp:varName "thirdPartyProcessingLoss"^^xsd:string 712 [ sp:varName "thirdPartyProcessingLoss"^^xsd:string
525 ] 713 ]
526 - ] [ sp:object <http://www.reportinghub.no/ep/schema/material#Gas> ; 714 + ] [ sp:object <http://www.reportinghub.no/ep/schema/material#Oil> ;
527 sp:predicate rdf:type ; 715 sp:predicate rdf:type ;
528 - sp:subject _:b11 716 + sp:subject _:b6
529 - ] [ sp:object _:b12 ; 717 + ] [ sp:object _:b7 ;
530 sp:predicate rdf:type ; 718 sp:predicate rdf:type ;
531 - sp:subject _:b11 719 + sp:subject _:b6
532 ] [ sp:object <http://www.reportinghub.no/ep/schema/core#Volume> ; 720 ] [ sp:object <http://www.reportinghub.no/ep/schema/core#Volume> ;
533 sp:predicate rdf:type ; 721 sp:predicate rdf:type ;
534 - sp:subject _:b12 722 + sp:subject _:b7
535 ] [ sp:object 723 ] [ sp:object
536 [ sp:varName "realVolume"^^xsd:string 724 [ sp:varName "realVolume"^^xsd:string
537 ] ; 725 ] ;
538 sp:predicate 726 sp:predicate
539 [ sp:varName "volumeScale"^^xsd:string 727 [ sp:varName "volumeScale"^^xsd:string
540 ] ; 728 ] ;
541 - sp:subject _:b12 729 + sp:subject _:b7
542 ]) ; 730 ]) ;
543 sp:where ([ sp:object 731 sp:where ([ sp:object
544 [ sp:varName "thirdPartyProcessingRef"^^xsd:string 732 [ sp:varName "thirdPartyProcessingRef"^^xsd:string
...@@ -558,9 +746,9 @@ ...@@ -558,9 +746,9 @@
558 [ sp:varName "thirdPartyProcessingLoss"^^xsd:string 746 [ sp:varName "thirdPartyProcessingLoss"^^xsd:string
559 ] 747 ]
560 ] [ sp:object 748 ] [ sp:object
561 - [ sp:varName "gasStdTempPresRef"^^xsd:string 749 + [ sp:varName "oilStdTempPresRef"^^xsd:string
562 ] ; 750 ] ;
563 - sp:predicate <http://www.epim.no/schemas/mprml/1#gasStdTempPresRef> ; 751 + sp:predicate <http://www.epim.no/schemas/mprml/1#oilStdTempPresRef> ;
564 sp:subject 752 sp:subject
565 [ sp:varName "thirdPartyProcessingRef"^^xsd:string 753 [ sp:varName "thirdPartyProcessingRef"^^xsd:string
566 ] 754 ]
...@@ -569,14 +757,177 @@ ...@@ -569,14 +757,177 @@
569 ] ; 757 ] ;
570 sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ; 758 sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
571 sp:subject 759 sp:subject
572 - [ sp:varName "gasStdTempPresRef"^^xsd:string 760 + [ sp:varName "oilStdTempPresRef"^^xsd:string
573 ] 761 ]
574 ] [ sp:object 762 ] [ sp:object
575 [ sp:varName "uomVolume"^^xsd:string 763 [ sp:varName "uomVolume"^^xsd:string
576 ] ; 764 ] ;
577 sp:predicate <http://www.epim.no/schemas/mprml/1#uomRef> ; 765 sp:predicate <http://www.epim.no/schemas/mprml/1#uomRef> ;
578 sp:subject 766 sp:subject
579 - [ sp:varName "gasStdTempPresRef"^^xsd:string 767 + [ sp:varName "oilStdTempPresRef"^^xsd:string
768 + ]
769 + ] [ rdf:type sp:Bind ;
770 + sp:expression
771 + [ rdf:type ep-mpr-spin-lib:selectVolumeScale ;
772 + sp:arg1 [ sp:varName "uomVolume"^^xsd:string
773 + ]
774 + ] ;
775 + sp:variable
776 + [ sp:varName "volumeScale"^^xsd:string
777 + ]
778 + ])
779 + ] ;
780 + spin:rule
781 + [ rdf:type sp:Construct ;
782 + rdfs:comment "STEP 40293 Create the ProductionOperationProcessing - loss contributing third party processing - add third party installation"^^xsd:string ;
783 + sp:templates ([ sp:object _:b8 ;
784 + sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#onProductionFacility> ;
785 + sp:subject
786 + [ sp:varName "thirdPartyProcessingLoss"^^xsd:string
787 + ]
788 + ] [ sp:object <http://www.reportinghub.no/ep/schema/facility#TemporalPartOfAProductionFacility> ;
789 + sp:predicate rdf:type ;
790 + sp:subject _:b8
791 + ] [ sp:object
792 + [ sp:varName "thirdPartyProductionFacility"^^xsd:string
793 + ] ;
794 + sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
795 + sp:subject _:b8
796 + ]) ;
797 + sp:where ([ sp:object
798 + [ sp:varName "thirdPartyProcessingRef"^^xsd:string
799 + ] ;
800 + sp:predicate <http://www.epim.no/schemas/mprml/1#thirdPartyProcessingRef> ;
801 + sp:subject spin:_this
802 + ] [ sp:object
803 + [ sp:varName "thirdPartyProcessingRef"^^xsd:string
804 + ] ;
805 + sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ;
806 + sp:subject
807 + [ sp:varName "thirdPartyProcessingLoss"^^xsd:string
808 + ]
809 + ] [ sp:object <http://www.reportinghub.no/ep/schema/production-activity#ThirdPartyProcessingLoss> ;
810 + sp:predicate rdf:type ;
811 + sp:subject
812 + [ sp:varName "thirdPartyProcessingLoss"^^xsd:string
813 + ]
814 + ] [ sp:object
815 + [ sp:varName "installationRef"^^xsd:string
816 + ] ;
817 + sp:predicate <http://www.epim.no/schemas/mprml/1#installationRef> ;
818 + sp:subject
819 + [ sp:varName "thirdPartyProcessingRef"^^xsd:string
820 + ]
821 + ] [ sp:object
822 + [ sp:varName "installationRef"^^xsd:string
823 + ] ;
824 + sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ;
825 + sp:subject
826 + [ sp:varName "thirdPartyProductionFacility"^^xsd:string
827 + ]
828 + ])
829 + ] ;
830 + spin:rule
831 + [ rdf:type sp:Construct ;
832 + rdfs:comment "STEP 40292 Create the ProductionOperationProcessing - loss contributing third party processing"^^xsd:string ;
833 + sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/production-activity#ThirdPartyProcessingLoss> ;
834 + sp:predicate rdf:type ;
835 + sp:subject _:b9
836 + ] [ sp:object
837 + [ sp:varName "productionOperationProcessing"^^xsd:string
838 + ] ;
839 + sp:predicate <http://www.reportinghub.no/ep/schema/core#partOf> ;
840 + sp:subject _:b9
841 + ] [ sp:object
842 + [ sp:varName "thirdPartyProcessingRef"^^xsd:string
843 + ] ;
844 + sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ;
845 + sp:subject _:b9
846 + ]) ;
847 + sp:where ([ sp:object spin:_this ;
848 + sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ;
849 + sp:subject
850 + [ sp:varName "productionOperationProcessing"^^xsd:string
851 + ]
852 + ] [ sp:object
853 + [ sp:varName "thirdPartyProcessingRef"^^xsd:string
854 + ] ;
855 + sp:predicate <http://www.epim.no/schemas/mprml/1#thirdPartyProcessingRef> ;
856 + sp:subject spin:_this
857 + ])
858 + ] ;
859 + spin:rule
860 + [ rdf:type sp:Construct ;
861 + rdfs:comment "STEP 40291 Create the ProductionOperationProcessing - loss contributing activities"^^xsd:string ;
862 + sp:templates ([ sp:object
863 + [ sp:varName "reasonForLossOfProcessingType"^^xsd:string
864 + ] ;
865 + sp:predicate rdf:type ;
866 + sp:subject _:b10
867 + ] [ sp:object
868 + [ sp:varName "productionOperationProcessing"^^xsd:string
869 + ] ;
870 + sp:predicate <http://www.reportinghub.no/ep/schema/core#partOf> ;
871 + sp:subject _:b10
872 + ] [ sp:object _:b11 ;
873 + sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#processingLost> ;
874 + sp:subject _:b10
875 + ] [ sp:object <http://www.reportinghub.no/ep/schema/material#QuantityOfMaterial> ;
876 + sp:predicate rdf:type ;
877 + sp:subject _:b11
878 + ] [ sp:object _:b12 ;
879 + sp:predicate rdf:type ;
880 + sp:subject _:b11
881 + ] [ sp:object <http://www.reportinghub.no/ep/schema/core#Volume> ;
882 + sp:predicate rdf:type ;
883 + sp:subject _:b12
884 + ] [ sp:object
885 + [ sp:varName "realVolume"^^xsd:string
886 + ] ;
887 + sp:predicate
888 + [ sp:varName "volumeScale"^^xsd:string
889 + ] ;
890 + sp:subject _:b12
891 + ]) ;
892 + sp:where ([ sp:object spin:_this ;
893 + sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ;
894 + sp:subject
895 + [ sp:varName "productionOperationProcessing"^^xsd:string
896 + ]
897 + ] [ sp:object
898 + [ sp:varName "volumeAndReasonRef"^^xsd:string
899 + ] ;
900 + sp:predicate <http://www.epim.no/schemas/mprml/1#volumeAndReasonRef> ;
901 + sp:subject spin:_this
902 + ] [ sp:object
903 + [ sp:varName "realVolume"^^xsd:string
904 + ] ;
905 + sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
906 + sp:subject
907 + [ sp:varName "volumeAndReasonRef"^^xsd:string
908 + ]
909 + ] [ sp:object
910 + [ sp:varName "uomVolume"^^xsd:string
911 + ] ;
912 + sp:predicate <http://www.epim.no/schemas/mprml/1#uomRef> ;
913 + sp:subject
914 + [ sp:varName "volumeAndReasonRef"^^xsd:string
915 + ]
916 + ] [ sp:object
917 + [ sp:varName "reasonLostRef"^^xsd:string
918 + ] ;
919 + sp:predicate <http://www.epim.no/schemas/mprml/1#reasonLostRef> ;
920 + sp:subject
921 + [ sp:varName "volumeAndReasonRef"^^xsd:string
922 + ]
923 + ] [ rdf:type sp:Bind ;
924 + sp:expression
925 + [ rdf:type ep-mpr-spin-lib:selectReasonForLossOfProcessingType ;
926 + sp:arg1 [ sp:varName "reasonLostRef"^^xsd:string
927 + ]
928 + ] ;
929 + sp:variable
930 + [ sp:varName "reasonForLossOfProcessingType"^^xsd:string
580 ] 931 ]
581 ] [ rdf:type sp:Bind ; 932 ] [ rdf:type sp:Bind ;
582 sp:expression 933 sp:expression
...@@ -592,5 +943,5 @@ ...@@ -592,5 +943,5 @@
592 943
593 <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-productionActivity-v1.1.1> 944 <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-productionActivity-v1.1.1>
594 rdf:type owl:Ontology ; 945 rdf:type owl:Ontology ;
595 - 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> ; 946 + 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> ;
596 owl:versionInfo "Created with TopBraid Composer"^^xsd:string . 947 owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
......