MonkeyChap

Spoiled the minimalist perfection of dpr-productionOperations by adding some SPIN rules

[sigh]
1 -# Saved by TopBraid on Fri Oct 14 13:44:06 BST 2011 1 +# Saved by TopBraid on Fri Oct 14 14:49:32 BST 2011
2 # baseURI: http://www.reportinghub.no/ep/transform/1.1/dpr/productionOperations 2 # baseURI: http://www.reportinghub.no/ep/transform/1.1/dpr/productionOperations
3 +# imports: http://www.reportinghub.no/ep/schema/1.0/production-organization
4 +# imports: http://www.reportinghub.no/ep/dpr/spin/1.1/unnamed
5 +# imports: http://www.reportinghub.no/ep/schema/1.0/production-activity
3 # imports: http://spinrdf.org/spin 6 # imports: http://spinrdf.org/spin
7 +# imports: http://www.witsml.org/schemas/131/addendum/combo
8 +# imports: http://www.reportinghub.no/ep/schema/1.0/production-report
4 9
5 @prefix : <http://www.reportinghub.no/ep/transform/1.1/dpr/productionOperations#> . 10 @prefix : <http://www.reportinghub.no/ep/transform/1.1/dpr/productionOperations#> .
11 +@prefix ep-dpr-spin-lib: <http://www.reportinghub.no/ep/dpr/spin/1.1/lib#> .
12 +@prefix ep-spin-lib: <http://www.reportinghub.no/ep/spin/lib#> .
13 +@prefix fn: <http://www.w3.org/2005/xpath-functions#> .
14 +@prefix owl: <http://www.w3.org/2002/07/owl#> .
6 @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . 15 @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
16 +@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
7 @prefix sp: <http://spinrdf.org/sp#> . 17 @prefix sp: <http://spinrdf.org/sp#> .
18 +@prefix spif: <http://spinrdf.org/spif#> .
8 @prefix spin: <http://spinrdf.org/spin#> . 19 @prefix spin: <http://spinrdf.org/spin#> .
9 @prefix spl: <http://spinrdf.org/spl#> . 20 @prefix spl: <http://spinrdf.org/spl#> .
21 +@prefix unnamed: <http://www.reportinghub.no/ep/dpr/spin/1.1/unnamed#> .
10 @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . 22 @prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
11 23
12 <http://www.reportinghub.no/ep/transform/1.1/dpr/productionOperations> 24 <http://www.reportinghub.no/ep/transform/1.1/dpr/productionOperations>
13 - rdf:type <http://www.w3.org/2002/07/owl#Ontology> ; 25 + rdf:type owl:Ontology ;
14 - <http://www.w3.org/2002/07/owl#imports> 26 + owl:imports <http://spinrdf.org/spin> , <http://www.reportinghub.no/ep/dpr/spin/1.1/unnamed> , <http://www.reportinghub.no/ep/schema/1.0/production-activity> , <http://www.reportinghub.no/ep/schema/1.0/production-organization> , <http://www.reportinghub.no/ep/schema/1.0/production-report> , <http://www.witsml.org/schemas/131/addendum/combo> ;
15 - <http://spinrdf.org/spin> ; 27 + owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
16 - <http://www.w3.org/2002/07/owl#versionInfo> 28 +
17 - "Created with TopBraid Composer"^^xsd:string . 29 +<http://www.witsml.org/schemas/131/addendum/combo#A_Global-WITSMLComposite>
30 + spin:rule
31 + [ rdf:type sp:Construct ;
32 + sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/production-report#DailyProductionReport> ;
33 + sp:predicate rdf:type ;
34 + sp:subject _:b1
35 + ] [ sp:object _:b2 ;
36 + sp:predicate <http://www.reportinghub.no/ep/schema/report#reportOn> ;
37 + sp:subject _:b1
38 + ] [ sp:object <http://www.reportinghub.no/ep/schema/activity#DailyProductionActivity> ;
39 + sp:predicate rdf:type ;
40 + sp:subject _:b2
41 + ] [ sp:object _:b3 ;
42 + sp:predicate <http://www.reportinghub.no/ep/schema/activity#startedAt> ;
43 + sp:subject _:b2
44 + ] [ sp:object _:b4 ;
45 + sp:predicate <http://www.reportinghub.no/ep/schema/activity#finishedAt> ;
46 + sp:subject _:b2
47 + ]) ;
48 + sp:where ([ sp:object _:b5 ;
49 + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#documentInfoRef> ;
50 + sp:subject spin:_this
51 + ] [ sp:object _:b6 ;
52 + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#documentNameRef> ;
53 + sp:subject _:b5
54 + ] [ sp:object _:b7 ;
55 + sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
56 + sp:subject _:b6
57 + ] [ sp:object _:b8 ;
58 + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#documentDate> ;
59 + sp:subject _:b5
60 + ] [ rdf:type sp:Bind ;
61 + sp:expression
62 + [ rdf:type ep-spin-lib:buildURI ;
63 + sp:arg1 "https://www.reportinghub.no/ep/data/dailyProductionReport/" ;
64 + sp:arg2 [ rdf:type fn:concat ;
65 + sp:arg1 [ rdf:type ep-spin-lib:normalizeString ;
66 + sp:arg1 _:b7
67 + ] ;
68 + sp:arg2 "$" ;
69 + sp:arg3 _:b8
70 + ]
71 + ] ;
72 + sp:variable _:b1
73 + ] [ rdf:type sp:Optional ;
74 + sp:elements ([ sp:object
75 + [ sp:varName "pvrSet"^^xsd:string
76 + ] ;
77 + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#productVolumeSetRef> ;
78 + sp:subject spin:_this
79 + ])
80 + ] [ rdf:type sp:Optional ;
81 + sp:elements ([ sp:object _:b9 ;
82 + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#productionOperationSetRef> ;
83 + sp:subject spin:_this
84 + ] [ rdf:type sp:Optional ;
85 + sp:elements ([ sp:object _:b10 ;
86 + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#productionOperationRef> ;
87 + sp:subject _:b9
88 + ] [ sp:object
89 + [ sp:varName "mainFacility"^^xsd:string
90 + ] ;
91 + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#installationRef> ;
92 + sp:subject _:b10
93 + ] [ sp:object _:b3 ;
94 + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#dateStart> ;
95 + sp:subject _:b10
96 + ] [ sp:object _:b4 ;
97 + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#dateEnd> ;
98 + sp:subject _:b10
99 + ] [ sp:object _:b11 ;
100 + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#contextFacilityRef> ;
101 + sp:subject _:b10
102 + ] [ sp:object _:b12 ;
103 + sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
104 + sp:subject _:b11
105 + ] [ rdf:type sp:Bind ;
106 + sp:expression
107 + [ rdf:type ep-dpr-spin-lib:buildDailyProductionActivityURI ;
108 + sp:arg1 _:b12 ;
109 + sp:arg2 _:b3 ;
110 + sp:arg3 _:b4
111 + ] ;
112 + sp:variable _:b2
113 + ])
114 + ])
115 + ])
116 + ] .
117 +
118 +<http://www.witsml.org/schemas/131/addendum/combo#Co_productionOperation>
119 + spin:rule
120 + [ rdf:type sp:Construct ;
121 + rdfs:comment "?mainFacility dtype:value ?mainFacName ."^^xsd:string ;
122 + sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/production-activity#DailyProductionOperationsActivity> ;
123 + sp:predicate rdf:type ;
124 + sp:subject _:b13
125 + ] [ sp:object <http://www.reportinghub.no/ep/schema/production-activity#AnnualProductionActivityToEndOfReportingPeriod> ;
126 + sp:predicate rdf:type ;
127 + sp:subject _:b14
128 + ] [ sp:object _:b15 ;
129 + sp:predicate <http://www.reportinghub.no/ep/schema/core#hasPart> ;
130 + sp:subject _:b14
131 + ] [ sp:object _:b16 ;
132 + sp:predicate <http://www.reportinghub.no/ep/schema/core#hasTemporalPart> ;
133 + sp:subject _:b14
134 + ] [ sp:object <http://www.reportinghub.no/ep/schema/production-activity#AnnualProductionOperationsActivityToEndOfReportingPeriod> ;
135 + sp:predicate rdf:type ;
136 + sp:subject _:b15
137 + ] [ sp:object _:b13 ;
138 + sp:predicate <http://www.reportinghub.no/ep/schema/core#hasTemporalPart> ;
139 + sp:subject _:b15
140 + ] [ sp:object _:b13 ;
141 + sp:predicate <http://www.reportinghub.no/ep/schema/core#hasPart> ;
142 + sp:subject _:b16
143 + ] [ sp:object _:b17 ;
144 + sp:predicate <http://www.reportinghub.no/ep/schema/activity#startedAt> ;
145 + sp:subject _:b13
146 + ] [ sp:object _:b18 ;
147 + sp:predicate <http://www.reportinghub.no/ep/schema/activity#finishedAt> ;
148 + sp:subject _:b13
149 + ] [ sp:object _:b18 ;
150 + sp:predicate <http://www.reportinghub.no/ep/schema/activity#finishedAt> ;
151 + sp:subject _:b15
152 + ] [ sp:object _:b18 ;
153 + sp:predicate <http://www.reportinghub.no/ep/schema/activity#finishedAt> ;
154 + sp:subject _:b14
155 + ] [ sp:object <http://www.reportinghub.no/np/schema/npd#OperatingCompany> ;
156 + sp:predicate rdf:type ;
157 + sp:subject _:b19
158 + ] [ sp:object _:b19 ;
159 + sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#involvement> ;
160 + sp:subject _:b16
161 + ] [ sp:object _:b20 ;
162 + sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#involvement> ;
163 + sp:subject _:b16
164 + ] [ sp:object _:b20 ;
165 + sp:predicate <http://www.reportinghub.no/ep/schema/core#hasTemporalPart> ;
166 + sp:subject _:b21
167 + ]) ;
168 + sp:where ([ sp:object
169 + [ sp:varName "mainFacility"^^xsd:string
170 + ] ;
171 + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#installationRef> ;
172 + sp:subject spin:_this
173 + ] [ sp:object _:b17 ;
174 + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#dateStart> ;
175 + sp:subject spin:_this
176 + ] [ sp:object _:b18 ;
177 + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#dateEnd> ;
178 + sp:subject spin:_this
179 + ] [ rdf:type sp:Optional ;
180 + sp:elements ([ sp:object
181 + [ sp:varName "mfsNameSystem"^^xsd:string
182 + ] ;
183 + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#namingSystem> ;
184 + sp:subject
185 + [ sp:varName "mainFacilityStruct"^^xsd:string
186 + ]
187 + ])
188 + ] [ rdf:type sp:Optional ;
189 + sp:elements ([ sp:object _:b22 ;
190 + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#operatorRef> ;
191 + sp:subject spin:_this
192 + ] [ sp:object _:b23 ;
193 + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#name> ;
194 + sp:subject _:b22
195 + ] [ sp:object _:b24 ;
196 + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#contextFacilityRef> ;
197 + sp:subject spin:_this
198 + ] [ sp:object _:b25 ;
199 + sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
200 + sp:subject _:b24
201 + ] [ rdf:type sp:Bind ;
202 + sp:expression
203 + [ rdf:type ep-dpr-spin-lib:buildFacilityURI ;
204 + sp:arg1 _:b25
205 + ] ;
206 + sp:variable _:b21
207 + ] [ rdf:type sp:Bind ;
208 + sp:expression
209 + [ rdf:type ep-dpr-spin-lib:buildTemporalPartOfFacilityURI ;
210 + sp:arg1 _:b25 ;
211 + sp:arg2 _:b17 ;
212 + sp:arg3 _:b18
213 + ] ;
214 + sp:variable _:b20
215 + ] [ rdf:type sp:Bind ;
216 + sp:expression
217 + [ rdf:type ep-spin-lib:buildURI ;
218 + sp:arg1 "https://www.reportinghub.no/ep/data/OperatingCompany/" ;
219 + sp:arg2 _:b23
220 + ] ;
221 + sp:variable _:b19
222 + ])
223 + ] [ rdf:type sp:Bind ;
224 + sp:expression
225 + [ rdf:type spif:dateFormat ;
226 + sp:arg1 _:b17 ;
227 + sp:arg2 "yyyy"
228 + ] ;
229 + sp:variable
230 + [ sp:varName "startYear"^^xsd:string
231 + ]
232 + ] [ rdf:type sp:Bind ;
233 + sp:expression
234 + [ rdf:type ep-dpr-spin-lib:buildDailyProductionActivityURI ;
235 + sp:arg1 _:b25 ;
236 + sp:arg2 _:b17 ;
237 + sp:arg3 _:b18
238 + ] ;
239 + sp:variable _:b16
240 + ] [ rdf:type sp:Bind ;
241 + sp:expression
242 + [ rdf:type ep-dpr-spin-lib:buildDailyProductionOperationsActivityURI ;
243 + sp:arg1 _:b25 ;
244 + sp:arg2 _:b17 ;
245 + sp:arg3 _:b18
246 + ] ;
247 + sp:variable _:b13
248 + ] [ rdf:type sp:Bind ;
249 + sp:expression
250 + [ rdf:type ep-dpr-spin-lib:buildAnnualProductionActivityToEndOfPeriodURI ;
251 + sp:arg1 _:b25 ;
252 + sp:arg2 _:b18
253 + ] ;
254 + sp:variable _:b14
255 + ] [ rdf:type sp:Bind ;
256 + sp:expression
257 + [ rdf:type ep-dpr-spin-lib:buildAnnualProductionOperationsActivityToEndOfPeriodURI ;
258 + sp:arg1 _:b25 ;
259 + sp:arg2 _:b18
260 + ] ;
261 + sp:variable _:b15
262 + ])
263 + ] .
264 +
265 +<http://www.witsml.org/schemas/131/addendum/combo#Cs_alarm>
266 + spin:rule
267 + [ rdf:type sp:Construct ;
268 + sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/production-activity#Alarm> ;
269 + sp:predicate rdf:type ;
270 + sp:subject _:b26
271 + ] [ sp:object
272 + [ sp:varName "alStartTime"^^xsd:string
273 + ] ;
274 + sp:predicate <http://www.reportinghub.no/ep/schema/activity#startedAt> ;
275 + sp:subject _:b26
276 + ] [ sp:object
277 + [ sp:varName "alEndTime"^^xsd:string
278 + ] ;
279 + sp:predicate <http://www.reportinghub.no/ep/schema/activity#finishedAt> ;
280 + sp:subject _:b26
281 + ] [ sp:object
282 + [ sp:varName "alComment"^^xsd:string
283 + ] ;
284 + sp:predicate rdfs:comment ;
285 + sp:subject _:b26
286 + ] [ sp:object _:b26 ;
287 + sp:predicate <http://www.reportinghub.no/ep/schema/core#hasPart> ;
288 + sp:subject _:b27
289 + ]) ;
290 + sp:where ([ rdf:type sp:Bind ;
291 + sp:expression
292 + [ rdf:type spif:generateUUID
293 + ] ;
294 + sp:variable _:b28
295 + ] [ rdf:type sp:Bind ;
296 + sp:expression
297 + [ rdf:type spif:buildURI ;
298 + sp:arg1 "https://www.reportinghub.no/ep/data/alarm/{?1}" ;
299 + sp:arg2 _:b28
300 + ] ;
301 + sp:variable _:b26
302 + ] [ rdf:type sp:Optional ;
303 + sp:elements ([ sp:object _:b29 ;
304 + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#productionActivityRef> ;
305 + sp:subject _:b30
306 + ] [ sp:object spin:_this ;
307 + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#alarmRef> ;
308 + sp:subject _:b29
309 + ] [ sp:object _:b31 ;
310 + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#installationRef> ;
311 + sp:subject _:b30
312 + ] [ sp:object _:b32 ;
313 + sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
314 + sp:subject _:b31
315 + ] [ sp:object _:b30 ;
316 + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#installationReportRef> ;
317 + sp:subject _:b33
318 + ] [ sp:object _:b34 ;
319 + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#dateStart> ;
320 + sp:subject _:b33
321 + ] [ sp:object _:b35 ;
322 + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#dateEnd> ;
323 + sp:subject _:b33
324 + ] [ rdf:type sp:Bind ;
325 + sp:expression
326 + [ rdf:type ep-dpr-spin-lib:buildDailyProductionOperationsActivityURI ;
327 + sp:arg1 _:b32 ;
328 + sp:arg2 _:b34 ;
329 + sp:arg3 _:b35
330 + ] ;
331 + sp:variable _:b27
332 + ])
333 + ])
334 + ] .
335 +
336 +<http://www.witsml.org/schemas/131/addendum/combo#Cs_cargoShipOperation>
337 + spin:rule
338 + [ rdf:type sp:Construct ;
339 + sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/production-activity#LostProduction> ;
340 + sp:predicate rdf:type ;
341 + sp:subject _:b36
342 + ] [ sp:object _:b37 ;
343 + sp:predicate <http://www.reportinghub.no/ep/schema/activity#startedAt> ;
344 + sp:subject _:b36
345 + ] [ sp:object _:b38 ;
346 + sp:predicate <http://www.reportinghub.no/ep/schema/activity#finishedAt> ;
347 + sp:subject _:b36
348 + ] [ sp:object _:b36 ;
349 + sp:predicate <http://www.reportinghub.no/ep/schema/core#hasPart> ;
350 + sp:subject _:b39
351 + ]) ;
352 + sp:where ([ rdf:type sp:Bind ;
353 + sp:expression
354 + [ rdf:type spif:generateUUID
355 + ] ;
356 + sp:variable _:b40
357 + ] [ rdf:type sp:Bind ;
358 + sp:expression
359 + [ rdf:type spif:buildURI ;
360 + sp:arg1 "https://www.reportinghub.no/ep/data/cargoShipOperation/{?1}" ;
361 + sp:arg2 _:b40
362 + ] ;
363 + sp:variable _:b36
364 + ] [ rdf:type sp:Optional ;
365 + sp:elements ([ sp:object _:b38 ;
366 + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#dTimEnd> ;
367 + sp:subject spin:_this
368 + ] [ sp:object _:b37 ;
369 + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#dTimStart> ;
370 + sp:subject spin:_this
371 + ])
372 + ] [ rdf:type sp:Optional ;
373 + sp:elements ([ sp:object _:b41 ;
374 + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#productionActivityRef> ;
375 + sp:subject _:b42
376 + ] [ sp:object spin:_this ;
377 + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#cargoShipOperationRef> ;
378 + sp:subject _:b41
379 + ] [ sp:object _:b43 ;
380 + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#installationRef> ;
381 + sp:subject _:b42
382 + ] [ sp:object _:b44 ;
383 + sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
384 + sp:subject _:b43
385 + ] [ sp:object _:b42 ;
386 + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#installationReportRef> ;
387 + sp:subject _:b45
388 + ] [ sp:object _:b46 ;
389 + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#dateStart> ;
390 + sp:subject _:b45
391 + ] [ sp:object _:b47 ;
392 + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#dateEnd> ;
393 + sp:subject _:b45
394 + ] [ rdf:type sp:Bind ;
395 + sp:expression
396 + [ rdf:type ep-dpr-spin-lib:buildDailyProductionOperationsActivityURI ;
397 + sp:arg1 _:b44 ;
398 + sp:arg2 _:b46 ;
399 + sp:arg3 _:b47
400 + ] ;
401 + sp:variable _:b39
402 + ])
403 + ])
404 + ] .
405 +
406 +<http://www.witsml.org/schemas/131/addendum/combo#Cs_installationReport>
407 + spin:rule
408 + [ rdf:type sp:Construct ;
409 + rdfs:comment """
410 +Need functions to generate facility URIs - also need their temporal parts"""^^xsd:string ;
411 + sp:templates ([ sp:object _:b48 ;
412 + sp:predicate <http://www.reportinghub.no/ep/schema/core#hasPart> ;
413 + sp:subject _:b49
414 + ] [ sp:object _:b50 ;
415 + sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#involvement> ;
416 + sp:subject _:b48
417 + ] [ sp:object <http://www.reportinghub.no/ep/schema/facility#TemporalPartOfAPlatform> ;
418 + sp:predicate rdf:type ;
419 + sp:subject _:b50
420 + ] [ sp:object _:b51 ;
421 + sp:predicate <http://www.reportinghub.no/ep/schema/production-facility#numberOfBedsAvailable> ;
422 + sp:subject _:b50
423 + ] [ sp:object
424 + [ sp:varName "cateringCrewCount"^^xsd:string
425 + ] ;
426 + sp:predicate <http://www.reportinghub.no/ep/schema/production-facility#numberOfCateringCrew> ;
427 + sp:subject _:b50
428 + ] [ sp:object
429 + [ sp:varName "contractorCrewCount"^^xsd:string
430 + ] ;
431 + sp:predicate <http://www.reportinghub.no/ep/schema/production-facility#numberOfContractorCrew> ;
432 + sp:subject _:b50
433 + ] [ sp:object
434 + [ sp:varName "dayVisitorsCount"^^xsd:string
435 + ] ;
436 + sp:predicate <http://www.reportinghub.no/ep/schema/production-facility#numberOfDayVisitors> ;
437 + sp:subject _:b50
438 + ] [ sp:object
439 + [ sp:varName "drillingContractCrewCount"^^xsd:string
440 + ] ;
441 + sp:predicate <http://www.reportinghub.no/ep/schema/production-facility#numberOfDrillingContractCrew> ;
442 + sp:subject _:b50
443 + ] [ sp:object
444 + [ sp:varName "otherCrewCount"^^xsd:string
445 + ] ;
446 + sp:predicate <http://www.reportinghub.no/ep/schema/production-facility#numberOfOtherCrew> ;
447 + sp:subject _:b50
448 + ] [ sp:object
449 + [ sp:varName "ownCrewCount"^^xsd:string
450 + ] ;
451 + sp:predicate <http://www.reportinghub.no/ep/schema/production-facility#numberOfOwnCrew> ;
452 + sp:subject _:b50
453 + ] [ sp:object
454 + [ sp:varName "ownOtherCrewCount"^^xsd:string
455 + ] ;
456 + sp:predicate <http://www.reportinghub.no/ep/schema/production-facility#numberOfOwnOtherCrew> ;
457 + sp:subject _:b50
458 + ] [ sp:object
459 + [ sp:varName "personnelOnboardCount"^^xsd:string
460 + ] ;
461 + sp:predicate <http://www.reportinghub.no/ep/schema/production-facility#numberOfPersonnelOnBoard> ;
462 + sp:subject _:b50
463 + ] [ sp:object <http://www.reportinghub.no/ep/schema/production-activity#FusionOfHSEActivitiesOverPeriod> ;
464 + sp:predicate rdf:type ;
465 + sp:subject _:b52
466 + ] [ sp:object _:b53 ;
467 + sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#productionActivityPeriodClassification> ;
468 + sp:subject _:b52
469 + ] [ sp:object _:b54 ;
470 + sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#classificationBySafetyActivityType> ;
471 + sp:subject _:b52
472 + ] [ sp:object _:b52 ;
473 + sp:predicate <http://www.reportinghub.no/ep/schema/core#hasPart> ;
474 + sp:subject _:b55
475 + ] [ sp:object _:b56 ;
476 + sp:predicate <http://www.reportinghub.no/ep/schema/core#hasSetOfAllPartsOfType> ;
477 + sp:subject _:b52
478 + ] [ sp:object _:b57 ;
479 + sp:predicate <http://www.reportinghub.no/ep/schema/core#count> ;
480 + sp:subject _:b56
481 + ] [ sp:object _:b48 ;
482 + sp:predicate <http://www.reportinghub.no/ep/schema/core#hasTemporalPart> ;
483 + sp:subject _:b55
484 + ] [ sp:object <http://www.reportinghub.no/ep/schema/production-activity#AnnualProductionOperationsActivityToEndOfReportingPeriod> ;
485 + sp:predicate rdf:type ;
486 + sp:subject _:b55
487 + ] [ sp:object _:b55 ;
488 + sp:predicate <http://www.reportinghub.no/ep/schema/core#hasPart> ;
489 + sp:subject _:b58
490 + ] [ sp:object <http://www.reportinghub.no/ep/schema/production-activity#DailyProductionOperationsActivity> ;
491 + sp:predicate rdf:type ;
492 + sp:subject _:b48
493 + ]) ;
494 + sp:where ([ rdf:type sp:Optional ;
495 + sp:elements ([ sp:object _:b51 ;
496 + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#bedsAvailable> ;
497 + sp:subject spin:_this
498 + ])
499 + ] [ sp:object spin:_this ;
500 + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#installationReportRef> ;
501 + sp:subject _:b59
502 + ] [ sp:object _:b60 ;
503 + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#dateStart> ;
504 + sp:subject _:b59
505 + ] [ sp:object _:b61 ;
506 + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#dateEnd> ;
507 + sp:subject _:b59
508 + ] [ sp:object _:b62 ;
509 + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#installationRef> ;
510 + sp:subject _:b59
511 + ] [ sp:object _:b63 ;
512 + sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
513 + sp:subject _:b62
514 + ] [ sp:object _:b64 ;
515 + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#installationRef> ;
516 + sp:subject spin:_this
517 + ] [ sp:object
518 + [ sp:varName "installkind"^^xsd:string
519 + ] ;
520 + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#kindRef> ;
521 + sp:subject _:b64
522 + ] [ sp:object _:b65 ;
523 + sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
524 + sp:subject _:b64
525 + ] [ rdf:type sp:Bind ;
526 + sp:expression
527 + [ rdf:type ep-dpr-spin-lib:buildAnnualProductionOperationsActivityToEndOfPeriodURI ;
528 + sp:arg1 _:b63 ;
529 + sp:arg2 _:b61
530 + ] ;
531 + sp:variable _:b58
532 + ] [ rdf:type sp:Bind ;
533 + sp:expression
534 + [ rdf:type ep-dpr-spin-lib:buildDailyProductionOperationsActivityURI ;
535 + sp:arg1 _:b63 ;
536 + sp:arg2 _:b60 ;
537 + sp:arg3 _:b61
538 + ] ;
539 + sp:variable _:b49
540 + ] [ rdf:type sp:Bind ;
541 + sp:expression
542 + [ rdf:type ep-dpr-spin-lib:buildDailyProductionOperationsActivityURI ;
543 + sp:arg1 _:b65 ;
544 + sp:arg2 _:b60 ;
545 + sp:arg3 _:b61
546 + ] ;
547 + sp:variable _:b48
548 + ] [ rdf:type sp:Bind ;
549 + sp:expression
550 + [ rdf:type ep-dpr-spin-lib:buildTemporalPartOfFacilityURI ;
551 + sp:arg1 _:b65 ;
552 + sp:arg2 _:b60 ;
553 + sp:arg3 _:b61
554 + ] ;
555 + sp:variable _:b50
556 + ] [ rdf:type sp:Bind ;
557 + sp:expression
558 + [ rdf:type ep-dpr-spin-lib:buildAnnualProductionOperationsActivityToEndOfPeriodURI ;
559 + sp:arg1 _:b65 ;
560 + sp:arg2 _:b61
561 + ] ;
562 + sp:variable _:b55
563 + ] [ rdf:type sp:Optional ;
564 + sp:elements ([ sp:object _:b66 ;
565 + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#operationalHSERef> ;
566 + sp:subject spin:_this
567 + ] [ rdf:type sp:Optional ;
568 + sp:elements ([ sp:object _:b67 ;
569 + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#safetyRef> ;
570 + sp:subject _:b66
571 + ] [ sp:object _:b68 ;
572 + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#safetyCountRef> ;
573 + sp:subject _:b67
574 + ] [ sp:object _:b57 ;
575 + sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
576 + sp:subject _:b68
577 + ] [ sp:object _:b69 ;
578 + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#periodRef> ;
579 + sp:subject _:b68
580 + ] [ rdf:type sp:Bind ;
581 + sp:expression
582 + [ rdf:type spif:buildUniqueURI ;
583 + sp:arg1 "<https://www.reportinghub.no/ep/data/FusionOfHseActivities/>"
584 + ] ;
585 + sp:variable
586 + [ sp:varName "epHseFusion"^^xsd:string
587 + ]
588 + ] [ rdf:type sp:Bind ;
589 + sp:expression
590 + [ rdf:type ep-dpr-spin-lib:selectTemporalPartOfActivityDurationType ;
591 + sp:arg1 _:b69
592 + ] ;
593 + sp:variable _:b53
594 + ] [ rdf:type sp:Bind ;
595 + sp:expression _:b55 ;
596 + sp:variable
597 + [ sp:varName "epSafetyParent"^^xsd:string
598 + ]
599 + ] [ sp:object _:b70 ;
600 + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#typeRef> ;
601 + sp:subject _:b68
602 + ] [ rdf:type sp:Bind ;
603 + sp:expression
604 + [ rdf:type ep-dpr-spin-lib:selectSafetyActivityType ;
605 + sp:arg1 _:b70
606 + ] ;
607 + sp:variable _:b54
608 + ])
609 + ])
610 + ])
611 + ] .
612 +
613 +<http://www.witsml.org/schemas/131/addendum/combo#Cs_lostProduction>
614 + spin:rule
615 + [ rdf:type sp:Construct ;
616 + sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/production-activity#LostProduction> ;
617 + sp:predicate rdf:type ;
618 + sp:subject _:b71
619 + ] [ sp:object _:b72 ;
620 + sp:predicate <http://www.reportinghub.no/ep/schema/activity#startedAt> ;
621 + sp:subject _:b71
622 + ] [ sp:object _:b73 ;
623 + sp:predicate <http://www.reportinghub.no/ep/schema/activity#finishedAt> ;
624 + sp:subject _:b71
625 + ] [ sp:object _:b71 ;
626 + sp:predicate <http://www.reportinghub.no/ep/schema/core#hasPart> ;
627 + sp:subject _:b74
628 + ]) ;
629 + sp:where ([ rdf:type sp:Bind ;
630 + sp:expression
631 + [ rdf:type spif:generateUUID
632 + ] ;
633 + sp:variable _:b75
634 + ] [ rdf:type sp:Bind ;
635 + sp:expression
636 + [ rdf:type spif:buildURI ;
637 + sp:arg1 "https://www.reportinghub.no/ep/data/lostProduction/{?1}" ;
638 + sp:arg2 _:b75
639 + ] ;
640 + sp:variable _:b71
641 + ] [ rdf:type sp:Optional ;
642 + sp:elements ([ sp:object _:b73 ;
643 + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#dTimEnd> ;
644 + sp:subject spin:_this
645 + ] [ sp:object _:b72 ;
646 + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#dTimStart> ;
647 + sp:subject spin:_this
648 + ])
649 + ] [ rdf:type sp:Optional ;
650 + sp:elements ([ sp:object _:b76 ;
651 + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#productionActivityRef> ;
652 + sp:subject _:b77
653 + ] [ sp:object spin:_this ;
654 + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#lostProductionRef> ;
655 + sp:subject _:b76
656 + ] [ sp:object _:b78 ;
657 + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#installationRef> ;
658 + sp:subject _:b77
659 + ] [ sp:object _:b79 ;
660 + sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
661 + sp:subject _:b78
662 + ] [ sp:object _:b77 ;
663 + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#installationReportRef> ;
664 + sp:subject _:b80
665 + ] [ sp:object _:b81 ;
666 + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#dateStart> ;
667 + sp:subject _:b80
668 + ] [ sp:object _:b82 ;
669 + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#dateEnd> ;
670 + sp:subject _:b80
671 + ] [ rdf:type sp:Bind ;
672 + sp:expression
673 + [ rdf:type ep-dpr-spin-lib:buildDailyProductionOperationsActivityURI ;
674 + sp:arg1 _:b79 ;
675 + sp:arg2 _:b81 ;
676 + sp:arg3 _:b82
677 + ] ;
678 + sp:variable _:b74
679 + ])
680 + ])
681 + ] .
682 +
683 +<http://www.witsml.org/schemas/131/addendum/combo#Cs_marineOperation>
684 + spin:rule
685 + [ rdf:type sp:Construct ;
686 + sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/production-activity#MarineOperation> ;
687 + sp:predicate rdf:type ;
688 + sp:subject _:b83
689 + ] [ sp:object _:b84 ;
690 + sp:predicate <http://www.reportinghub.no/ep/schema/activity#startedAt> ;
691 + sp:subject _:b83
692 + ] [ sp:object _:b85 ;
693 + sp:predicate <http://www.reportinghub.no/ep/schema/activity#finishedAt> ;
694 + sp:subject _:b83
695 + ] [ sp:object _:b86 ;
696 + sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#involvedVessel> ;
697 + sp:subject _:b83
698 + ] [ sp:object _:b87 ;
699 + sp:predicate rdfs:comment ;
700 + sp:subject _:b83
701 + ] [ sp:object _:b83 ;
702 + sp:predicate <http://www.reportinghub.no/ep/schema/core#hasPart> ;
703 + sp:subject _:b88
704 + ]) ;
705 + sp:where ([ rdf:type sp:Bind ;
706 + sp:expression
707 + [ rdf:type spif:generateUUID
708 + ] ;
709 + sp:variable _:b89
710 + ] [ rdf:type sp:Bind ;
711 + sp:expression
712 + [ rdf:type spif:buildURI ;
713 + sp:arg1 "https://www.reportinghub.no/ep/data/marineOperation/{?1}" ;
714 + sp:arg2 _:b89
715 + ] ;
716 + sp:variable _:b83
717 + ] [ rdf:type sp:Optional ;
718 + sp:elements ([ sp:object _:b85 ;
719 + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#dTimEnd> ;
720 + sp:subject spin:_this
721 + ] [ sp:object _:b84 ;
722 + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#dTimStart> ;
723 + sp:subject spin:_this
724 + ])
725 + ] [ rdf:type sp:Optional ;
726 + sp:elements ([ sp:object _:b90 ;
727 + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#supplyShip> ;
728 + sp:subject spin:_this
729 + ] [ rdf:type sp:Bind ;
730 + sp:expression
731 + [ rdf:type ep-dpr-spin-lib:buildShipURI ;
732 + sp:arg1 _:b90
733 + ] ;
734 + sp:variable _:b86
735 + ])
736 + ] [ rdf:type sp:Optional ;
737 + sp:elements ([ sp:object _:b91 ;
738 + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#activityRef> ;
739 + sp:subject spin:_this
740 + ] [ sp:object _:b87 ;
741 + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#comment> ;
742 + sp:subject _:b91
743 + ] [ sp:object _:b85 ;
744 + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#dTimEnd> ;
745 + sp:subject _:b91
746 + ] [ sp:object _:b84 ;
747 + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#dTimStart> ;
748 + sp:subject _:b91
749 + ])
750 + ] [ rdf:type sp:Optional ;
751 + sp:elements ([ sp:object _:b92 ;
752 + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#productionActivityRef> ;
753 + sp:subject _:b93
754 + ] [ sp:object spin:_this ;
755 + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#marineOperationRef> ;
756 + sp:subject _:b92
757 + ] [ sp:object _:b94 ;
758 + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#installationRef> ;
759 + sp:subject _:b93
760 + ] [ sp:object _:b95 ;
761 + sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
762 + sp:subject _:b94
763 + ] [ sp:object _:b93 ;
764 + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#installationReportRef> ;
765 + sp:subject _:b96
766 + ] [ sp:object _:b97 ;
767 + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#dateStart> ;
768 + sp:subject _:b96
769 + ] [ sp:object _:b98 ;
770 + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#dateEnd> ;
771 + sp:subject _:b96
772 + ] [ rdf:type sp:Bind ;
773 + sp:expression
774 + [ rdf:type ep-dpr-spin-lib:buildDailyProductionOperationsActivityURI ;
775 + sp:arg1 _:b95 ;
776 + sp:arg2 _:b97 ;
777 + sp:arg3 _:b98
778 + ] ;
779 + sp:variable _:b88
780 + ])
781 + ])
782 + ] .
783 +
784 +<http://www.witsml.org/schemas/131/addendum/combo#Cs_operationalComment>
785 + spin:rule
786 + [ rdf:type sp:Construct ;
787 + sp:templates ([ sp:object _:b99 ;
788 + sp:predicate <http://www.reportinghub.no/ep/schema/activity#startedAt> ;
789 + sp:subject _:b100
790 + ] [ sp:object _:b101 ;
791 + sp:predicate <http://www.reportinghub.no/ep/schema/activity#finishedAt> ;
792 + sp:subject _:b100
793 + ] [ sp:object _:b100 ;
794 + sp:predicate <http://www.reportinghub.no/ep/schema/core#hasPart> ;
795 + sp:subject _:b102
796 + ] [ sp:object _:b103 ;
797 + sp:predicate rdfs:comment ;
798 + sp:subject _:b100
799 + ] [ sp:object _:b104 ;
800 + sp:predicate rdf:type ;
801 + sp:subject _:b100
802 + ]) ;
803 + sp:where ([ rdf:type sp:Bind ;
804 + sp:expression
805 + [ rdf:type spif:generateUUID
806 + ] ;
807 + sp:variable _:b105
808 + ] [ rdf:type sp:Bind ;
809 + sp:expression
810 + [ rdf:type spif:buildURI ;
811 + sp:arg1 "https://www.reportinghub.no/ep/data/PartOfProductionOperation/{?1}" ;
812 + sp:arg2 _:b105
813 + ] ;
814 + sp:variable _:b100
815 + ] [ rdf:type sp:Optional ;
816 + sp:elements ([ sp:object _:b101 ;
817 + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#dTimEnd> ;
818 + sp:subject spin:_this
819 + ] [ sp:object _:b99 ;
820 + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#dTimStart> ;
821 + sp:subject spin:_this
822 + ])
823 + ] [ rdf:type sp:Optional ;
824 + sp:elements ([ sp:object _:b106 ;
825 + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#typeRef> ;
826 + sp:subject spin:_this
827 + ] [ rdf:type sp:Bind ;
828 + sp:expression
829 + [ rdf:type ep-dpr-spin-lib:selectProductionOperationPartType ;
830 + sp:arg1 _:b106
831 + ] ;
832 + sp:variable _:b104
833 + ])
834 + ] [ rdf:type sp:Optional ;
835 + sp:elements ([ sp:object _:b103 ;
836 + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#comment> ;
837 + sp:subject spin:_this
838 + ])
839 + ] [ rdf:type sp:Optional ;
840 + sp:elements ([ sp:object _:b107 ;
841 + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#productionActivityRef> ;
842 + sp:subject _:b108
843 + ] [ sp:object spin:_this ;
844 + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#operationalCommentRef> ;
845 + sp:subject _:b107
846 + ] [ sp:object _:b109 ;
847 + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#installationRef> ;
848 + sp:subject _:b108
849 + ] [ sp:object _:b110 ;
850 + sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
851 + sp:subject _:b109
852 + ] [ sp:object _:b108 ;
853 + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#installationReportRef> ;
854 + sp:subject _:b111
855 + ] [ sp:object _:b112 ;
856 + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#dateStart> ;
857 + sp:subject _:b111
858 + ] [ sp:object _:b113 ;
859 + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#dateEnd> ;
860 + sp:subject _:b111
861 + ] [ rdf:type sp:Bind ;
862 + sp:expression
863 + [ rdf:type ep-dpr-spin-lib:buildDailyProductionOperationsActivityURI ;
864 + sp:arg1 _:b110 ;
865 + sp:arg2 _:b112 ;
866 + sp:arg3 _:b113
867 + ] ;
868 + sp:variable _:b102
869 + ])
870 + ])
871 + ] .
872 +
873 +<http://www.witsml.org/schemas/131/addendum/combo#Cs_waterCleaningQuality>
874 + spin:rule
875 + [ rdf:type sp:Construct ;
876 + sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/production-activity#WaterCleaningOperation> ;
877 + sp:predicate rdf:type ;
878 + sp:subject _:b114
879 + ] [ sp:object _:b115 ;
880 + sp:predicate <http://www.reportinghub.no/ep/schema/activity#startedAt> ;
881 + sp:subject _:b114
882 + ] [ sp:object _:b116 ;
883 + sp:predicate <http://www.reportinghub.no/ep/schema/activity#finishedAt> ;
884 + sp:subject _:b114
885 + ] [ sp:object _:b114 ;
886 + sp:predicate <http://www.reportinghub.no/ep/schema/core#hasPart> ;
887 + sp:subject _:b117
888 + ] [ sp:object _:b118 ;
889 + sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#samplePoint> ;
890 + sp:subject _:b114
891 + ] [ sp:object _:b119 ;
892 + sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#waterSampleTaken> ;
893 + sp:subject _:b114
894 + ] [ sp:object <http://www.reportinghub.no/ep/schema/production-activity#WaterSample> ;
895 + sp:predicate rdf:type ;
896 + sp:subject _:b119
897 + ] [ sp:object _:b120 ;
898 + sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#samplePhValue> ;
899 + sp:subject _:b119
900 + ] [ sp:object _:b121 ;
901 + sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#amountOfOil> ;
902 + sp:subject _:b119
903 + ] [ sp:object _:b122 ;
904 + sp:predicate rdf:type ;
905 + sp:subject _:b121
906 + ] [ sp:object _:b123 ;
907 + sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#oilInWater> ;
908 + sp:subject _:b119
909 + ] [ sp:object _:b124 ;
910 + sp:predicate rdf:type ;
911 + sp:subject _:b123
912 + ]) ;
913 + sp:where ([ rdf:type sp:Bind ;
914 + sp:expression
915 + [ rdf:type spif:generateUUID
916 + ] ;
917 + sp:variable _:b125
918 + ] [ rdf:type sp:Bind ;
919 + sp:expression
920 + [ rdf:type spif:buildURI ;
921 + sp:arg1 "https://www.reportinghub.no/ep/data/waterCleaningQuality/{?1}" ;
922 + sp:arg2 _:b125
923 + ] ;
924 + sp:variable _:b114
925 + ] [ rdf:type sp:Bind ;
926 + sp:expression
927 + [ rdf:type spif:generateUUID
928 + ] ;
929 + sp:variable _:b126
930 + ] [ rdf:type sp:Bind ;
931 + sp:expression
932 + [ rdf:type spif:buildURI ;
933 + sp:arg1 "https://www.reportinghub.no/ep/data/waterSample/{?1}" ;
934 + sp:arg2 _:b126
935 + ] ;
936 + sp:variable _:b119
937 + ] [ rdf:type sp:Optional ;
938 + sp:elements ([ sp:object _:b116 ;
939 + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#dTimEnd> ;
940 + sp:subject spin:_this
941 + ] [ sp:object _:b115 ;
942 + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#dTimStart> ;
943 + sp:subject spin:_this
944 + ])
945 + ] [ rdf:type sp:Optional ;
946 + sp:elements ([ sp:object _:b118 ;
947 + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#samplePoint> ;
948 + sp:subject spin:_this
949 + ])
950 + ] [ rdf:type sp:Optional ;
951 + sp:elements ([ sp:object _:b120 ;
952 + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#phValue> ;
953 + sp:subject spin:_this
954 + ])
955 + ] [ rdf:type sp:Optional ;
956 + sp:elements ([ sp:object _:b127 ;
957 + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#amountOfOilRef> ;
958 + sp:subject spin:_this
959 + ] [ sp:object
960 + [ sp:varName "oilAmountVal"^^xsd:string
961 + ] ;
962 + sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
963 + sp:subject _:b127
964 + ] [ sp:object _:b128 ;
965 + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#uomRef> ;
966 + sp:subject
967 + [ sp:varName "oilAmounrRef"^^xsd:string
968 + ]
969 + ] [ rdf:type sp:Bind ;
970 + sp:expression
971 + [ rdf:type ep-dpr-spin-lib:selectMassConcentrationScale ;
972 + sp:arg1 _:b128
973 + ] ;
974 + sp:variable _:b122
975 + ] [ rdf:type sp:Bind ;
976 + sp:expression
977 + [ rdf:type spif:generateUUID
978 + ] ;
979 + sp:variable _:b129
980 + ] [ rdf:type sp:Bind ;
981 + sp:expression
982 + [ rdf:type spif:buildURI ;
983 + sp:arg1 "https://www.reportinghub.no/ep/data/waterSample/amountOfOil/{?1}" ;
984 + sp:arg2 _:b129
985 + ] ;
986 + sp:variable _:b121
987 + ])
988 + ] [ rdf:type sp:Optional ;
989 + sp:elements ([ sp:object _:b130 ;
990 + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#oilInWaterProducedRef> ;
991 + sp:subject spin:_this
992 + ] [ sp:object
993 + [ sp:varName "owVal"^^xsd:string
994 + ] ;
995 + sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
996 + sp:subject _:b130
997 + ] [ sp:object
998 + [ sp:varName "owUOM"^^xsd:string
999 + ] ;
1000 + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#uomRef> ;
1001 + sp:subject _:b130
1002 + ] [ rdf:type sp:Bind ;
1003 + sp:expression
1004 + [ rdf:type ep-dpr-spin-lib:selectMassConcentrationScale ;
1005 + sp:arg1 _:b128
1006 + ] ;
1007 + sp:variable _:b124
1008 + ] [ rdf:type sp:Bind ;
1009 + sp:expression
1010 + [ rdf:type spif:generateUUID
1011 + ] ;
1012 + sp:variable _:b131
1013 + ] [ rdf:type sp:Bind ;
1014 + sp:expression
1015 + [ rdf:type spif:buildURI ;
1016 + sp:arg1 "https://www.reportinghub.no/ep/data/waterSample/amountOfOil/{?1}" ;
1017 + sp:arg2 _:b131
1018 + ] ;
1019 + sp:variable _:b123
1020 + ])
1021 + ] [ rdf:type sp:Optional ;
1022 + sp:elements ([ sp:object _:b132 ;
1023 + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#productionActivityRef> ;
1024 + sp:subject _:b133
1025 + ] [ sp:object spin:_this ;
1026 + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#waterCleaningQualityRef> ;
1027 + sp:subject _:b132
1028 + ] [ sp:object _:b134 ;
1029 + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#installationRef> ;
1030 + sp:subject _:b133
1031 + ] [ sp:object _:b135 ;
1032 + sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
1033 + sp:subject _:b134
1034 + ] [ sp:object _:b133 ;
1035 + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#installationReportRef> ;
1036 + sp:subject _:b136
1037 + ] [ sp:object _:b137 ;
1038 + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#dateStart> ;
1039 + sp:subject _:b136
1040 + ] [ sp:object _:b138 ;
1041 + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#dateEnd> ;
1042 + sp:subject _:b136
1043 + ] [ rdf:type sp:Bind ;
1044 + sp:expression
1045 + [ rdf:type ep-dpr-spin-lib:buildDailyProductionOperationsActivityURI ;
1046 + sp:arg1 _:b135 ;
1047 + sp:arg2 _:b137 ;
1048 + sp:arg3 _:b138
1049 + ] ;
1050 + sp:variable _:b117
1051 + ])
1052 + ])
1053 + ] .
1054 +
1055 +_:b5 sp:varName "docInfo"^^xsd:string .
1056 +
1057 +_:b6 sp:varName "docNameStruct"^^xsd:string .
1058 +
1059 +_:b7 sp:varName "docName"^^xsd:string .
1060 +
1061 +_:b8 sp:varName "docDate"^^xsd:string .
1062 +
1063 +_:b1 sp:varName "epDailyProdRep"^^xsd:string .
1064 +
1065 +_:b9 sp:varName "porSet"^^xsd:string .
1066 +
1067 +_:b10
1068 + sp:varName "porRef"^^xsd:string .
1069 +
1070 +_:b3 sp:varName "startDate"^^xsd:string .
1071 +
1072 +_:b4 sp:varName "endDate"^^xsd:string .
1073 +
1074 +_:b11
1075 + sp:varName "contextFacility"^^xsd:string .
1076 +
1077 +_:b12
1078 + sp:varName "mainFacName"^^xsd:string .
1079 +
1080 +_:b2 sp:varName "epDailyProdAct"^^xsd:string .
1081 +
1082 +_:b17
1083 + sp:varName "startDate"^^xsd:string .
1084 +
1085 +_:b18
1086 + sp:varName "endDate"^^xsd:string .
1087 +
1088 +_:b22
1089 + sp:varName "operator"^^xsd:string .
1090 +
1091 +_:b23
1092 + sp:varName "operatorName"^^xsd:string .
1093 +
1094 +_:b24
1095 + sp:varName "contextFacility"^^xsd:string .
1096 +
1097 +_:b25
1098 + sp:varName "mainFacName"^^xsd:string .
1099 +
1100 +_:b21
1101 + sp:varName "epMainFac"^^xsd:string .
1102 +
1103 +_:b20
1104 + sp:varName "epMainFacTempPart"^^xsd:string .
1105 +
1106 +_:b19
1107 + sp:varName "opCo"^^xsd:string .
1108 +
1109 +_:b16
1110 + sp:varName "epDailyProdAct"^^xsd:string .
1111 +
1112 +_:b13
1113 + sp:varName "epDailyProdOpAct"^^xsd:string .
1114 +
1115 +_:b14
1116 + sp:varName "epAnnualProdAct"^^xsd:string .
1117 +
1118 +_:b15
1119 + sp:varName "epAnnualProdOpAct"^^xsd:string .
1120 +
1121 +_:b51
1122 + sp:varName "beds"^^xsd:string .
1123 +
1124 +_:b59
1125 + sp:varName "parentRep"^^xsd:string .
1126 +
1127 +_:b60
1128 + sp:varName "startDate"^^xsd:string .
1129 +
1130 +_:b61
1131 + sp:varName "endDate"^^xsd:string .
1132 +
1133 +_:b62
1134 + sp:varName "mainFacility"^^xsd:string .
1135 +
1136 +_:b63
1137 + sp:varName "mainFacName"^^xsd:string .
1138 +
1139 +_:b64
1140 + sp:varName "installation"^^xsd:string .
1141 +
1142 +_:b65
1143 + sp:varName "installName"^^xsd:string .
1144 +
1145 +_:b58
1146 + sp:varName "epAnnualProdOpAct"^^xsd:string .
1147 +
1148 +_:b49
1149 + sp:varName "epDailyProdOpAct"^^xsd:string .
1150 +
1151 +_:b48
1152 + sp:varName "epInstProdOpAct"^^xsd:string .
1153 +
1154 +_:b50
1155 + sp:varName "epInstallTempPart"^^xsd:string .
1156 +
1157 +_:b55
1158 + sp:varName "epInstallAnnualAct"^^xsd:string .
1159 +
1160 +_:b66
1161 + sp:varName "operationalHSERef"^^xsd:string .
1162 +
1163 +_:b67
1164 + sp:varName "safetyRef"^^xsd:string .
1165 +
1166 +_:b68
1167 + sp:varName "safetyCountRef"^^xsd:string .
1168 +
1169 +_:b57
1170 + sp:varName "safetyCount"^^xsd:string .
1171 +
1172 +_:b69
1173 + sp:varName "periodEnum"^^xsd:string .
1174 +
1175 +_:b53
1176 + sp:varName "temporalPartOfActivityDurationType"^^xsd:string .
1177 +
1178 +_:b70
1179 + sp:varName "safetyActivityEnum"^^xsd:string .
1180 +
1181 +_:b54
1182 + sp:varName "safetyActivityType"^^xsd:string .
1183 +
1184 +_:b125
1185 + sp:varName "UUID"^^xsd:string .
1186 +
1187 +_:b114
1188 + sp:varName "epWaterClean"^^xsd:string .
1189 +
1190 +_:b126
1191 + sp:varName "wsUUID"^^xsd:string .
1192 +
1193 +_:b119
1194 + sp:varName "epWaterSample"^^xsd:string .
1195 +
1196 +_:b116
1197 + sp:varName "endTime"^^xsd:string .
1198 +
1199 +_:b115
1200 + sp:varName "startTime"^^xsd:string .
1201 +
1202 +_:b118
1203 + sp:varName "samplePoint"^^xsd:string .
1204 +
1205 +_:b120
1206 + sp:varName "phVal"^^xsd:string .
1207 +
1208 +_:b127
1209 + sp:varName "oilAmountRef"^^xsd:string .
1210 +
1211 +_:b128
1212 + sp:varName "oilAmountUOM"^^xsd:string .
1213 +
1214 +_:b122
1215 + sp:varName "epOilAmountUOM"^^xsd:string .
1216 +
1217 +_:b129
1218 + sp:varName "oaUUID"^^xsd:string .
1219 +
1220 +_:b121
1221 + sp:varName "epOilAmount"^^xsd:string .
1222 +
1223 +_:b130
1224 + sp:varName "oilInWaterRef"^^xsd:string .
1225 +
1226 +_:b124
1227 + sp:varName "epOwUOM"^^xsd:string .
1228 +
1229 +_:b131
1230 + sp:varName "owUUID"^^xsd:string .
1231 +
1232 +_:b123
1233 + sp:varName "epOilInWater"^^xsd:string .
1234 +
1235 +_:b133
1236 + sp:varName "instRep"^^xsd:string .
1237 +
1238 +_:b132
1239 + sp:varName "prodAct"^^xsd:string .
1240 +
1241 +_:b134
1242 + sp:varName "installation"^^xsd:string .
1243 +
1244 +_:b135
1245 + sp:varName "installName"^^xsd:string .
1246 +
1247 +_:b136
1248 + sp:varName "parentRep"^^xsd:string .
1249 +
1250 +_:b137
1251 + sp:varName "startDate"^^xsd:string .
1252 +
1253 +_:b138
1254 + sp:varName "endDate"^^xsd:string .
1255 +
1256 +_:b117
1257 + sp:varName "epInstProdOpAct"^^xsd:string .
1258 +
1259 +_:b75
1260 + sp:varName "UUID"^^xsd:string .
1261 +
1262 +_:b71
1263 + sp:varName "epLostProd"^^xsd:string .
1264 +
1265 +_:b73
1266 + sp:varName "endTime"^^xsd:string .
1267 +
1268 +_:b72
1269 + sp:varName "startTime"^^xsd:string .
1270 +
1271 +_:b77
1272 + sp:varName "instRep"^^xsd:string .
1273 +
1274 +_:b76
1275 + sp:varName "prodAct"^^xsd:string .
1276 +
1277 +_:b78
1278 + sp:varName "installation"^^xsd:string .
1279 +
1280 +_:b79
1281 + sp:varName "installName"^^xsd:string .
1282 +
1283 +_:b80
1284 + sp:varName "parentRep"^^xsd:string .
1285 +
1286 +_:b81
1287 + sp:varName "startDate"^^xsd:string .
1288 +
1289 +_:b82
1290 + sp:varName "endDate"^^xsd:string .
1291 +
1292 +_:b74
1293 + sp:varName "epInstProdOpAct"^^xsd:string .
1294 +
1295 +_:b28
1296 + sp:varName "alUUID"^^xsd:string .
1297 +
1298 +_:b26
1299 + sp:varName "epAlarm"^^xsd:string .
1300 +
1301 +_:b30
1302 + sp:varName "instRep"^^xsd:string .
1303 +
1304 +_:b29
1305 + sp:varName "prodAct"^^xsd:string .
1306 +
1307 +_:b31
1308 + sp:varName "installation"^^xsd:string .
1309 +
1310 +_:b32
1311 + sp:varName "installName"^^xsd:string .
1312 +
1313 +_:b33
1314 + sp:varName "parentRep"^^xsd:string .
1315 +
1316 +_:b34
1317 + sp:varName "startDate"^^xsd:string .
1318 +
1319 +_:b35
1320 + sp:varName "endDate"^^xsd:string .
1321 +
1322 +_:b27
1323 + sp:varName "epInstProdOpAct"^^xsd:string .
1324 +
1325 +_:b40
1326 + sp:varName "UUID"^^xsd:string .
1327 +
1328 +_:b36
1329 + sp:varName "epCargoOp"^^xsd:string .
1330 +
1331 +_:b38
1332 + sp:varName "endTime"^^xsd:string .
1333 +
1334 +_:b37
1335 + sp:varName "startTime"^^xsd:string .
1336 +
1337 +_:b42
1338 + sp:varName "instRep"^^xsd:string .
1339 +
1340 +_:b41
1341 + sp:varName "prodAct"^^xsd:string .
1342 +
1343 +_:b43
1344 + sp:varName "installation"^^xsd:string .
1345 +
1346 +_:b44
1347 + sp:varName "installName"^^xsd:string .
1348 +
1349 +_:b45
1350 + sp:varName "parentRep"^^xsd:string .
1351 +
1352 +_:b46
1353 + sp:varName "startDate"^^xsd:string .
1354 +
1355 +_:b47
1356 + sp:varName "endDate"^^xsd:string .
1357 +
1358 +_:b39
1359 + sp:varName "epInstProdOpAct"^^xsd:string .
1360 +
1361 +_:b89
1362 + sp:varName "moUUID"^^xsd:string .
1363 +
1364 +_:b83
1365 + sp:varName "epMarineOp"^^xsd:string .
1366 +
1367 +_:b85
1368 + sp:varName "moEndTime"^^xsd:string .
1369 +
1370 +_:b84
1371 + sp:varName "moStartTime"^^xsd:string .
1372 +
1373 +_:b90
1374 + sp:varName "supplyShipName"^^xsd:string .
1375 +
1376 +_:b86
1377 + sp:varName "epSupplyShip"^^xsd:string .
1378 +
1379 +_:b91
1380 + sp:varName "moActivity"^^xsd:string .
1381 +
1382 +_:b87
1383 + sp:varName "moActComment"^^xsd:string .
1384 +
1385 +_:b93
1386 + sp:varName "instRep"^^xsd:string .
1387 +
1388 +_:b92
1389 + sp:varName "prodAct"^^xsd:string .
1390 +
1391 +_:b94
1392 + sp:varName "installation"^^xsd:string .
1393 +
1394 +_:b95
1395 + sp:varName "installName"^^xsd:string .
1396 +
1397 +_:b96
1398 + sp:varName "parentRep"^^xsd:string .
1399 +
1400 +_:b97
1401 + sp:varName "startDate"^^xsd:string .
1402 +
1403 +_:b98
1404 + sp:varName "endDate"^^xsd:string .
1405 +
1406 +_:b88
1407 + sp:varName "epInstProdOpAct"^^xsd:string .
1408 +
1409 +_:b105
1410 + sp:varName "UUID"^^xsd:string .
1411 +
1412 +_:b100
1413 + sp:varName "epNotableOp"^^xsd:string .
1414 +
1415 +_:b101
1416 + sp:varName "endTime"^^xsd:string .
1417 +
1418 +_:b99
1419 + sp:varName "startTime"^^xsd:string .
1420 +
1421 +_:b106
1422 + sp:varName "operationalCommentRefType"^^xsd:string .
1423 +
1424 +_:b104
1425 + sp:varName "epNotableOpType"^^xsd:string .
1426 +
1427 +_:b103
1428 + sp:varName "naComment"^^xsd:string .
1429 +
1430 +_:b108
1431 + sp:varName "instRep"^^xsd:string .
1432 +
1433 +_:b107
1434 + sp:varName "prodAct"^^xsd:string .
1435 +
1436 +_:b109
1437 + sp:varName "installation"^^xsd:string .
1438 +
1439 +_:b110
1440 + sp:varName "installName"^^xsd:string .
1441 +
1442 +_:b111
1443 + sp:varName "parentRep"^^xsd:string .
1444 +
1445 +_:b112
1446 + sp:varName "startDate"^^xsd:string .
1447 +
1448 +_:b113
1449 + sp:varName "endDate"^^xsd:string .
1450 +
1451 +_:b102
1452 + sp:varName "epInstProdOpAct"^^xsd:string .
......
1 -# Saved by TopBraid on Fri Oct 14 13:44:05 BST 2011 1 +# Saved by TopBraid on Fri Oct 14 14:49:32 BST 2011
2 -# baseURI: http://www.reportinghub.no/ep/transform/1.1/dpr/productionOperations 2 +# baseURI: null
3 3
4 @prefix composite: <http://www.topbraid.org/2007/05/composite.owl#> . 4 @prefix composite: <http://www.topbraid.org/2007/05/composite.owl#> .
5 @prefix forms: <http://www.topbraid.org/2007/01/forms.owl#> . 5 @prefix forms: <http://www.topbraid.org/2007/01/forms.owl#> .
......