David Leal

Completed mapping of the data for the Operation page of the report

1 -# Saved by TopBraid on Fri Aug 12 10:44:21 BST 2011 1 +# Saved by TopBraid on Sat Aug 13 15:54:52 BST 2011
2 # baseURI: http://www.reportinghub.no/ep/schema/1.0/activity 2 # baseURI: http://www.reportinghub.no/ep/schema/1.0/activity
3 # imports: http://www.linkedmodel.org/1.2/schema/vaem 3 # imports: http://www.linkedmodel.org/1.2/schema/vaem
4 # imports: http://www.reportinghub.no/ep/schema/1.0/organization 4 # imports: http://www.reportinghub.no/ep/schema/1.0/organization
5 -# imports: http://www.reportinghub.no/ep/schema/1.0/well
6 # imports: http://www.reportinghub.no/ep/schema/1.0/core 5 # imports: http://www.reportinghub.no/ep/schema/1.0/core
6 +# imports: http://www.reportinghub.no/ep/schema/1.0/well
7 # imports: http://www.reportinghub.no/ep/schema/1.0/equipment 7 # imports: http://www.reportinghub.no/ep/schema/1.0/equipment
8 # imports: http://www.linkedmodel.org/1.1/schema/ordered 8 # imports: http://www.linkedmodel.org/1.1/schema/ordered
9 9
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
15 15
16 <http://www.reportinghub.no/ep/schema/1.0/activity> 16 <http://www.reportinghub.no/ep/schema/1.0/activity>
17 rdf:type owl:Ontology ; 17 rdf:type owl:Ontology ;
18 - owl:imports <http://www.reportinghub.no/ep/schema/1.0/organization> , <http://www.reportinghub.no/ep/schema/1.0/equipment> , <http://www.reportinghub.no/ep/schema/1.0/core> , <http://www.linkedmodel.org/1.2/schema/vaem> , <http://www.linkedmodel.org/1.1/schema/ordered> , <http://www.reportinghub.no/ep/schema/1.0/well> ; 18 + owl:imports <http://www.reportinghub.no/ep/schema/1.0/well> , <http://www.linkedmodel.org/1.1/schema/ordered> , <http://www.linkedmodel.org/1.2/schema/vaem> , <http://www.reportinghub.no/ep/schema/1.0/core> , <http://www.reportinghub.no/ep/schema/1.0/equipment> , <http://www.reportinghub.no/ep/schema/1.0/organization> ;
19 owl:versionInfo "0.1.0"^^xsd:string . 19 owl:versionInfo "0.1.0"^^xsd:string .
20 20
21 ep-activity:Activity 21 ep-activity:Activity
...@@ -24,48 +24,53 @@ ep-activity:Activity ...@@ -24,48 +24,53 @@ ep-activity:Activity
24 rdfs:subClassOf <http://www.reportinghub.no/ep/schema/core#PhysicalThing> ; 24 rdfs:subClassOf <http://www.reportinghub.no/ep/schema/core#PhysicalThing> ;
25 rdfs:subClassOf 25 rdfs:subClassOf
26 [ rdf:type owl:Restriction ; 26 [ rdf:type owl:Restriction ;
27 - owl:maxCardinality "1"^^xsd:nonNegativeInteger ; 27 + owl:allValuesFrom ep-activity:Activity ;
28 - owl:onProperty ep-activity:finishedAt 28 + owl:onProperty <http://www.linkedmodel.org/schema/ordered#during>
29 ] ; 29 ] ;
30 rdfs:subClassOf 30 rdfs:subClassOf
31 [ rdf:type owl:Restriction ; 31 [ rdf:type owl:Restriction ;
32 - owl:maxCardinality "1"^^xsd:nonNegativeInteger ; 32 + owl:allValuesFrom ep-activity:Activity ;
33 - owl:onProperty ep-activity:startedAt 33 + owl:onProperty <http://www.linkedmodel.org/schema/ordered#overlaps>
34 ] ; 34 ] ;
35 rdfs:subClassOf 35 rdfs:subClassOf
36 [ rdf:type owl:Restriction ; 36 [ rdf:type owl:Restriction ;
37 owl:allValuesFrom ep-activity:Activity ; 37 owl:allValuesFrom ep-activity:Activity ;
38 - owl:onProperty <http://www.linkedmodel.org/schema/ordered#after> 38 + owl:onProperty <http://www.linkedmodel.org/schema/ordered#before>
39 ] ; 39 ] ;
40 rdfs:subClassOf 40 rdfs:subClassOf
41 [ rdf:type owl:Restriction ; 41 [ rdf:type owl:Restriction ;
42 owl:allValuesFrom ep-activity:Activity ; 42 owl:allValuesFrom ep-activity:Activity ;
43 - owl:onProperty <http://www.linkedmodel.org/schema/ordered#before> 43 + owl:onProperty <http://www.linkedmodel.org/schema/ordered#after>
44 ] ; 44 ] ;
45 rdfs:subClassOf 45 rdfs:subClassOf
46 [ rdf:type owl:Restriction ; 46 [ rdf:type owl:Restriction ;
47 - owl:allValuesFrom ep-activity:Activity ; 47 + owl:maxCardinality "1"^^xsd:nonNegativeInteger ;
48 - owl:onProperty <http://www.linkedmodel.org/schema/ordered#overlaps> 48 + owl:onProperty ep-activity:startedAt
49 ] ; 49 ] ;
50 rdfs:subClassOf 50 rdfs:subClassOf
51 [ rdf:type owl:Restriction ; 51 [ rdf:type owl:Restriction ;
52 - owl:allValuesFrom ep-activity:Activity ; 52 + owl:maxCardinality "1"^^xsd:nonNegativeInteger ;
53 - owl:onProperty <http://www.linkedmodel.org/schema/ordered#during> 53 + owl:onProperty ep-activity:finishedAt
54 ] . 54 ] .
55 55
56 +ep-activity:ActivitySuccessType
57 + rdf:type rdfs:Class ;
58 + rdfs:label "activity success type"^^xsd:string ;
59 + rdfs:subClassOf owl:Class .
60 +
56 ep-activity:DailyDrillingActivity 61 ep-activity:DailyDrillingActivity
57 rdf:type owl:Class ; 62 rdf:type owl:Class ;
58 rdfs:label "Daily drilling activity"^^xsd:string ; 63 rdfs:label "Daily drilling activity"^^xsd:string ;
59 rdfs:subClassOf ep-activity:DrillingActivity ; 64 rdfs:subClassOf ep-activity:DrillingActivity ;
60 rdfs:subClassOf 65 rdfs:subClassOf
61 [ rdf:type owl:Restriction ; 66 [ rdf:type owl:Restriction ;
62 - owl:allValuesFrom ep-activity:Activity ; 67 + owl:allValuesFrom ep-activity:DrillingActivity ;
63 - owl:onProperty <http://www.reportinghub.no/ep/schema/core#hasPart> 68 + owl:onProperty <http://www.linkedmodel.org/schema/ordered#last>
64 ] ; 69 ] ;
65 rdfs:subClassOf 70 rdfs:subClassOf
66 [ rdf:type owl:Restriction ; 71 [ rdf:type owl:Restriction ;
67 - owl:allValuesFrom ep-activity:DrillingActivity ; 72 + owl:allValuesFrom <http://www.reportinghub.no/ep/schema/well#AllOrPartOfTheLifeOfAWellBore> ;
68 - owl:onProperty <http://www.linkedmodel.org/schema/ordered#first> 73 + owl:onProperty ep-activity:onWellBore
69 ] ; 74 ] ;
70 rdfs:subClassOf 75 rdfs:subClassOf
71 [ rdf:type owl:Restriction ; 76 [ rdf:type owl:Restriction ;
...@@ -74,13 +79,13 @@ ep-activity:DailyDrillingActivity ...@@ -74,13 +79,13 @@ ep-activity:DailyDrillingActivity
74 ] ; 79 ] ;
75 rdfs:subClassOf 80 rdfs:subClassOf
76 [ rdf:type owl:Restriction ; 81 [ rdf:type owl:Restriction ;
77 - owl:allValuesFrom <http://www.reportinghub.no/ep/schema/well#AllOrPartOfTheLifeOfAWellBore> ; 82 + owl:allValuesFrom ep-activity:DrillingActivity ;
78 - owl:onProperty ep-activity:onWellBore 83 + owl:onProperty <http://www.linkedmodel.org/schema/ordered#first>
79 ] ; 84 ] ;
80 rdfs:subClassOf 85 rdfs:subClassOf
81 [ rdf:type owl:Restriction ; 86 [ rdf:type owl:Restriction ;
82 - owl:allValuesFrom ep-activity:DrillingActivity ; 87 + owl:allValuesFrom ep-activity:Activity ;
83 - owl:onProperty <http://www.linkedmodel.org/schema/ordered#last> 88 + owl:onProperty <http://www.reportinghub.no/ep/schema/core#hasPart>
84 ] . 89 ] .
85 90
86 ep-activity:DailyProductionActivity 91 ep-activity:DailyProductionActivity
...@@ -128,14 +133,70 @@ ep-activity:DrillingActivity ...@@ -128,14 +133,70 @@ ep-activity:DrillingActivity
128 rdfs:label "Drilling activity"^^xsd:string ; 133 rdfs:label "Drilling activity"^^xsd:string ;
129 rdfs:subClassOf ep-activity:Activity . 134 rdfs:subClassOf ep-activity:Activity .
130 135
136 +ep-activity:DrillingActivity-circulation_loss
137 + rdf:type ep-activity:DrillingActivityOutcomeType , owl:Class ;
138 + rdfs:label "drilling activity circulation loss"^^xsd:string ;
139 + rdfs:subClassOf ep-activity:DrillingActivity .
140 +
141 +ep-activity:DrillingActivity-equipment_failure
142 + rdf:type ep-activity:DrillingActivityOutcomeType , owl:Class ;
143 + rdfs:label "drilling activity equipment failure"^^xsd:string ;
144 + rdfs:subClassOf ep-activity:DrillingActivity .
145 +
146 +ep-activity:DrillingActivity-equipment_hang
147 + rdf:type ep-activity:DrillingActivityOutcomeType , owl:Class ;
148 + rdfs:label "drilling activity equipment hang"^^xsd:string ;
149 + rdfs:subClassOf ep-activity:DrillingActivity .
150 +
151 +ep-activity:DrillingActivity-injury
152 + rdf:type ep-activity:DrillingActivityOutcomeType , owl:Class ;
153 + rdfs:label "drilling activity injury"^^xsd:string ;
154 + rdfs:subClassOf ep-activity:DrillingActivity .
155 +
156 +ep-activity:DrillingActivity-kick
157 + rdf:type ep-activity:DrillingActivityOutcomeType , owl:Class ;
158 + rdfs:label "drilling activity operation kick"^^xsd:string ;
159 + rdfs:subClassOf ep-activity:DrillingActivity .
160 +
161 +ep-activity:DrillingActivity-mud_loss
162 + rdf:type ep-activity:DrillingActivityOutcomeType , owl:Class ;
163 + rdfs:label "drilling activity mud loss"^^xsd:string ;
164 + rdfs:subClassOf ep-activity:DrillingActivity .
165 +
166 +ep-activity:DrillingActivity-operation_failed
167 + rdf:type ep-activity:DrillingActivityOutcomeType , owl:Class ;
168 + rdfs:label "drilling activity operation failed"^^xsd:string ;
169 + rdfs:subClassOf ep-activity:DrillingActivity .
170 +
171 +ep-activity:DrillingActivity-stuck_equipment
172 + rdf:type ep-activity:DrillingActivityOutcomeType , owl:Class ;
173 + rdfs:label "drilling activity stuck equipment"^^xsd:string ;
174 + rdfs:subClassOf ep-activity:DrillingActivity .
175 +
176 +ep-activity:DrillingActivity-success
177 + rdf:type ep-activity:DrillingActivityOutcomeType , owl:Class ;
178 + rdfs:label "drilling activity success"^^xsd:string ;
179 + rdfs:subClassOf ep-activity:DrillingActivity .
180 +
181 +ep-activity:DrillingActivityOutcomeType
182 + rdf:type rdfs:Class ;
183 + rdfs:label "drilling activity outcome type"^^xsd:string ;
184 + rdfs:subClassOf owl:Class .
185 +
186 +ep-activity:FailedActivity
187 + rdf:type ep-activity:ActivitySuccessType , owl:Class ;
188 + rdfs:label "failed activity"^^xsd:string ;
189 + rdfs:subClassOf ep-activity:Activity ;
190 + owl:disjointWith ep-activity:SuccessfulActivity .
191 +
131 ep-activity:FormationIntegrityTest 192 ep-activity:FormationIntegrityTest
132 - rdf:type owl:Class , ep-activity:PressureTestType ; 193 + rdf:type ep-activity:PressureTestType , owl:Class ;
133 rdfs:label "formation integrity test"^^xsd:string ; 194 rdfs:label "formation integrity test"^^xsd:string ;
134 rdfs:subClassOf ep-activity:WellBorePressureTest ; 195 rdfs:subClassOf ep-activity:WellBorePressureTest ;
135 owl:disjointWith ep-activity:LeakOffTest . 196 owl:disjointWith ep-activity:LeakOffTest .
136 197
137 ep-activity:LeakOffTest 198 ep-activity:LeakOffTest
138 - rdf:type owl:Class , ep-activity:PressureTestType ; 199 + rdf:type ep-activity:PressureTestType , owl:Class ;
139 rdfs:label "leak-off test"^^xsd:string ; 200 rdfs:label "leak-off test"^^xsd:string ;
140 rdfs:subClassOf ep-activity:WellBorePressureTest ; 201 rdfs:subClassOf ep-activity:WellBorePressureTest ;
141 owl:disjointWith ep-activity:FormationIntegrityTest . 202 owl:disjointWith ep-activity:FormationIntegrityTest .
...@@ -171,7 +232,7 @@ ep-activity:OffshoreWellActivity ...@@ -171,7 +232,7 @@ ep-activity:OffshoreWellActivity
171 rdfs:subClassOf ep-activity:OffshoreActivity ; 232 rdfs:subClassOf ep-activity:OffshoreActivity ;
172 rdfs:subClassOf 233 rdfs:subClassOf
173 [ rdf:type owl:Restriction ; 234 [ rdf:type owl:Restriction ;
174 - owl:cardinality "1"^^xsd:nonNegativeInteger ; 235 + owl:allValuesFrom <http://www.reportinghub.no/ep/schema/well#Well> ;
175 owl:onProperty ep-activity:onWell 236 owl:onProperty ep-activity:onWell
176 ] ; 237 ] ;
177 rdfs:subClassOf 238 rdfs:subClassOf
...@@ -181,7 +242,7 @@ ep-activity:OffshoreWellActivity ...@@ -181,7 +242,7 @@ ep-activity:OffshoreWellActivity
181 ] ; 242 ] ;
182 rdfs:subClassOf 243 rdfs:subClassOf
183 [ rdf:type owl:Restriction ; 244 [ rdf:type owl:Restriction ;
184 - owl:allValuesFrom <http://www.reportinghub.no/ep/schema/well#Well> ; 245 + owl:cardinality "1"^^xsd:nonNegativeInteger ;
185 owl:onProperty ep-activity:onWell 246 owl:onProperty ep-activity:onWell
186 ] . 247 ] .
187 248
...@@ -195,6 +256,12 @@ ep-activity:ProductionActivity ...@@ -195,6 +256,12 @@ ep-activity:ProductionActivity
195 rdfs:label "Production activity"^^xsd:string ; 256 rdfs:label "Production activity"^^xsd:string ;
196 rdfs:subClassOf ep-activity:Activity . 257 rdfs:subClassOf ep-activity:Activity .
197 258
259 +ep-activity:SuccessfulActivity
260 + rdf:type ep-activity:ActivitySuccessType , owl:Class ;
261 + rdfs:label "successful activity"^^xsd:string ;
262 + rdfs:subClassOf ep-activity:Activity ;
263 + owl:disjointWith ep-activity:FailedActivity .
264 +
198 ep-activity:WeeklyDrillingActivity 265 ep-activity:WeeklyDrillingActivity
199 rdf:type owl:Class ; 266 rdf:type owl:Class ;
200 rdfs:label "Weekly drilling activity"^^xsd:string ; 267 rdfs:label "Weekly drilling activity"^^xsd:string ;
...@@ -226,18 +293,18 @@ ep-activity:WellBorePressureTest ...@@ -226,18 +293,18 @@ ep-activity:WellBorePressureTest
226 rdfs:subClassOf ep-activity:Activity . 293 rdfs:subClassOf ep-activity:Activity .
227 294
228 ep-activity:createdAt 295 ep-activity:createdAt
229 - rdf:type owl:DatatypeProperty , owl:FunctionalProperty ; 296 + rdf:type owl:FunctionalProperty , owl:DatatypeProperty ;
230 rdfs:label "created at"^^xsd:string ; 297 rdfs:label "created at"^^xsd:string ;
231 rdfs:range <http://www.linkedmodel.org/schema/vaem#dateUnion> . 298 rdfs:range <http://www.linkedmodel.org/schema/vaem#dateUnion> .
232 299
233 ep-activity:drillingContractor 300 ep-activity:drillingContractor
234 - rdf:type owl:FunctionalProperty , owl:ObjectProperty ; 301 + rdf:type owl:ObjectProperty , owl:FunctionalProperty ;
235 rdfs:domain ep-activity:DrillingActivity ; 302 rdfs:domain ep-activity:DrillingActivity ;
236 rdfs:label "drilling contractor"^^xsd:string ; 303 rdfs:label "drilling contractor"^^xsd:string ;
237 rdfs:range <http://www.reportinghub.no/ep/schema/organization#Organization> . 304 rdfs:range <http://www.reportinghub.no/ep/schema/organization#Organization> .
238 305
239 ep-activity:drillingOperator 306 ep-activity:drillingOperator
240 - rdf:type owl:FunctionalProperty , owl:ObjectProperty ; 307 + rdf:type owl:ObjectProperty , owl:FunctionalProperty ;
241 rdfs:domain ep-activity:DrillingActivity ; 308 rdfs:domain ep-activity:DrillingActivity ;
242 rdfs:label "drilling operator"^^xsd:string ; 309 rdfs:label "drilling operator"^^xsd:string ;
243 rdfs:range <http://www.reportinghub.no/ep/schema/organization#Organization> . 310 rdfs:range <http://www.reportinghub.no/ep/schema/organization#Organization> .
...@@ -260,7 +327,7 @@ ep-activity:onWell ...@@ -260,7 +327,7 @@ ep-activity:onWell
260 rdfs:label "on well"^^xsd:string . 327 rdfs:label "on well"^^xsd:string .
261 328
262 ep-activity:onWellBore 329 ep-activity:onWellBore
263 - rdf:type owl:ObjectProperty , owl:FunctionalProperty ; 330 + rdf:type owl:FunctionalProperty , owl:ObjectProperty ;
264 rdfs:label "on WellBore"^^xsd:string . 331 rdfs:label "on WellBore"^^xsd:string .
265 332
266 ep-activity:reportOn 333 ep-activity:reportOn
...@@ -273,7 +340,7 @@ ep-activity:startedAt ...@@ -273,7 +340,7 @@ ep-activity:startedAt
273 rdfs:range <http://www.linkedmodel.org/schema/vaem#dateUnion> . 340 rdfs:range <http://www.linkedmodel.org/schema/vaem#dateUnion> .
274 341
275 ep-activity:wellBoreDrillingType 342 ep-activity:wellBoreDrillingType
276 - rdf:type owl:ObjectProperty , owl:FunctionalProperty ; 343 + rdf:type owl:FunctionalProperty , owl:ObjectProperty ;
277 rdfs:domain ep-activity:DrillingActivity ; 344 rdfs:domain ep-activity:DrillingActivity ;
278 rdfs:label "has sub activity"^^xsd:string ; 345 rdfs:label "has sub activity"^^xsd:string ;
279 rdfs:range ep-activity:WellBoreDrillingType ; 346 rdfs:range ep-activity:WellBoreDrillingType ;
......
1 -# Saved by TopBraid on Fri Aug 12 14:18:47 BST 2011 1 +# Saved by TopBraid on Sat Aug 13 16:08:32 BST 2011
2 # baseURI: http://www.reportinghub.no/ep/spin/1.1/lib 2 # baseURI: http://www.reportinghub.no/ep/spin/1.1/lib
3 # imports: http://www.reportinghub.no/ep/schema/1.0/report 3 # imports: http://www.reportinghub.no/ep/schema/1.0/report
4 # imports: http://www.reportinghub.no/ep/schema/1.0/core 4 # imports: http://www.reportinghub.no/ep/schema/1.0/core
...@@ -198,12 +198,12 @@ ep-spin-lib:buildURI ...@@ -198,12 +198,12 @@ ep-spin-lib:buildURI
198 ] ; 198 ] ;
199 spin:constraint 199 spin:constraint
200 [ rdf:type spl:Argument ; 200 [ rdf:type spl:Argument ;
201 - spl:predicate sp:arg1 ; 201 + spl:predicate sp:arg2 ;
202 spl:valueType xsd:string 202 spl:valueType xsd:string
203 ] ; 203 ] ;
204 spin:constraint 204 spin:constraint
205 [ rdf:type spl:Argument ; 205 [ rdf:type spl:Argument ;
206 - spl:predicate sp:arg2 ; 206 + spl:predicate sp:arg1 ;
207 spl:valueType xsd:string 207 spl:valueType xsd:string
208 ] . 208 ] .
209 209
...@@ -290,13 +290,34 @@ ep-spin-lib:normalizeString ...@@ -290,13 +290,34 @@ ep-spin-lib:normalizeString
290 spl:valueType xsd:string 290 spl:valueType xsd:string
291 ] . 291 ] .
292 292
293 +ep-spin-lib:selectActivitySuccessType
294 + rdf:type spin:Function ;
295 + rdfs:label "select ActivitySuccessType"^^xsd:string ;
296 + rdfs:subClassOf ep-spin-lib:Function ;
297 + spin:body
298 + [ rdf:type sp:Select ;
299 + sp:resultVariables (_:b18) ;
300 + sp:where ([ rdf:type sp:Bind ;
301 + sp:expression
302 + [ rdf:type sp:if ;
303 + sp:arg1 [ rdf:type sp:eq ;
304 + sp:arg1 spin:_arg1 ;
305 + sp:arg2 <http://www.reportinghub.no/ep/schema/ddr#MAE_ok>
306 + ] ;
307 + sp:arg2 <http://www.reportinghub.no/ep/schema/activity#SuccessfulActivity> ;
308 + sp:arg3 <http://www.reportinghub.no/ep/schema/activity#FailedActivity>
309 + ] ;
310 + sp:variable _:b18
311 + ])
312 + ] .
313 +
293 ep-spin-lib:selectDailyDrillingReportType 314 ep-spin-lib:selectDailyDrillingReportType
294 rdf:type spin:Function ; 315 rdf:type spin:Function ;
295 rdfs:label "select DailyDrillingReportType"^^xsd:string ; 316 rdfs:label "select DailyDrillingReportType"^^xsd:string ;
296 rdfs:subClassOf ep-spin-lib:Function ; 317 rdfs:subClassOf ep-spin-lib:Function ;
297 spin:body 318 spin:body
298 [ rdf:type sp:Select ; 319 [ rdf:type sp:Select ;
299 - sp:resultVariables (_:b18) ; 320 + sp:resultVariables (_:b19) ;
300 sp:where ([ rdf:type sp:Bind ; 321 sp:where ([ rdf:type sp:Bind ;
301 sp:expression 322 sp:expression
302 [ rdf:type sp:if ; 323 [ rdf:type sp:if ;
...@@ -314,7 +335,84 @@ ep-spin-lib:selectDailyDrillingReportType ...@@ -314,7 +335,84 @@ ep-spin-lib:selectDailyDrillingReportType
314 sp:arg3 <http://www.reportinghub.no/ep/schema/report#FinalDailyDrillingReport> 335 sp:arg3 <http://www.reportinghub.no/ep/schema/report#FinalDailyDrillingReport>
315 ] 336 ]
316 ] ; 337 ] ;
317 - sp:variable _:b18 338 + sp:variable _:b19
339 + ])
340 + ] .
341 +
342 +ep-spin-lib:selectDrillingActivityOutcomeType
343 + rdf:type spin:Function ;
344 + rdfs:label "select DailyDrillingReportType"^^xsd:string ;
345 + rdfs:subClassOf ep-spin-lib:Function ;
346 + spin:body
347 + [ rdf:type sp:Select ;
348 + sp:resultVariables (_:b20) ;
349 + sp:where ([ rdf:type sp:Bind ;
350 + sp:expression
351 + [ rdf:type sp:if ;
352 + sp:arg1 [ rdf:type sp:eq ;
353 + sp:arg1 spin:_arg1 ;
354 + sp:arg2 <http://www.reportinghub.no/ep/schema/ddr#SDA_equipmentfailure>
355 + ] ;
356 + sp:arg2 <http://www.reportinghub.no/ep/schema/activity#DrillingActivity-equipment_failure> ;
357 + sp:arg3 [ rdf:type sp:if ;
358 + sp:arg1 [ rdf:type sp:eq ;
359 + sp:arg1 spin:_arg1 ;
360 + sp:arg2 <http://www.reportinghub.no/ep/schema/ddr#SDA_kick>
361 + ] ;
362 + sp:arg2 <http://www.reportinghub.no/ep/schema/activity#DrillingActivity-kick> ;
363 + sp:arg3 [ rdf:type sp:if ;
364 + sp:arg1 [ rdf:type sp:eq ;
365 + sp:arg1 spin:_arg1 ;
366 + sp:arg2 <http://www.reportinghub.no/ep/schema/ddr#SDA_equipmenthang>
367 + ] ;
368 + sp:arg2 <http://www.reportinghub.no/ep/schema/activity#DrillingActivity-equipment_hang> ;
369 + sp:arg3 [ rdf:type sp:if ;
370 + sp:arg1 [ rdf:type sp:eq ;
371 + sp:arg1 spin:_arg1 ;
372 + sp:arg2 <http://www.reportinghub.no/ep/schema/ddr#SDA_stuckequipment>
373 + ] ;
374 + sp:arg2 <http://www.reportinghub.no/ep/schema/activity#DrillingActivity-stuck_equipment> ;
375 + sp:arg3 [ rdf:type sp:if ;
376 + sp:arg1 [ rdf:type sp:eq ;
377 + sp:arg1 spin:_arg1 ;
378 + sp:arg2 <http://www.reportinghub.no/ep/schema/ddr#SDA_mudloss>
379 + ] ;
380 + sp:arg2 <http://www.reportinghub.no/ep/schema/activity#DrillingActivity-mud_loss> ;
381 + sp:arg3 [ rdf:type sp:if ;
382 + sp:arg1 [ rdf:type sp:eq ;
383 + sp:arg1 spin:_arg1 ;
384 + sp:arg2 <http://www.reportinghub.no/ep/schema/ddr#SDA_operationfailed>
385 + ] ;
386 + sp:arg2 <http://www.reportinghub.no/ep/schema/activity#DrillingActivity-operation_failed> ;
387 + sp:arg3 [ rdf:type sp:if ;
388 + sp:arg1 [ rdf:type sp:eq ;
389 + sp:arg1 spin:_arg1 ;
390 + sp:arg2 <http://www.reportinghub.no/ep/schema/ddr#SDA_success>
391 + ] ;
392 + sp:arg2 <http://www.reportinghub.no/ep/schema/activity#DrillingActivity-success> ;
393 + sp:arg3 [ rdf:type sp:if ;
394 + sp:arg1 [ rdf:type sp:eq ;
395 + sp:arg1 spin:_arg1 ;
396 + sp:arg2 <http://www.reportinghub.no/ep/schema/ddr#SDA_injury>
397 + ] ;
398 + sp:arg2 <http://www.reportinghub.no/ep/schema/activity#DrillingActivity-injury> ;
399 + sp:arg3 [ rdf:type sp:if ;
400 + sp:arg1 [ rdf:type sp:eq ;
401 + sp:arg1 spin:_arg1 ;
402 + sp:arg2 <http://www.reportinghub.no/ep/schema/ddr#SDA_circulationloss>
403 + ] ;
404 + sp:arg2 <http://www.reportinghub.no/ep/schema/activity#DrillingActivity-circulation_loss> ;
405 + sp:arg3 <http://www.reportinghub.no/ep/schema/activity#DrillingActivity>
406 + ]
407 + ]
408 + ]
409 + ]
410 + ]
411 + ]
412 + ]
413 + ]
414 + ] ;
415 + sp:variable _:b20
318 ]) 416 ])
319 ] . 417 ] .
320 418
...@@ -324,7 +422,7 @@ ep-spin-lib:selectDrillingActivityPurposeType ...@@ -324,7 +422,7 @@ ep-spin-lib:selectDrillingActivityPurposeType
324 rdfs:subClassOf ep-spin-lib:Function ; 422 rdfs:subClassOf ep-spin-lib:Function ;
325 spin:body 423 spin:body
326 [ rdf:type sp:Select ; 424 [ rdf:type sp:Select ;
327 - sp:resultVariables (_:b19) ; 425 + sp:resultVariables (_:b21) ;
328 sp:where ([ rdf:type sp:Bind ; 426 sp:where ([ rdf:type sp:Bind ;
329 sp:expression 427 sp:expression
330 [ rdf:type smf:if ; 428 [ rdf:type smf:if ;
...@@ -908,7 +1006,7 @@ ep-spin-lib:selectDrillingActivityPurposeType ...@@ -908,7 +1006,7 @@ ep-spin-lib:selectDrillingActivityPurposeType
908 ] 1006 ]
909 ] 1007 ]
910 ] ; 1008 ] ;
911 - sp:variable _:b19 1009 + sp:variable _:b21
912 ]) 1010 ])
913 ] . 1011 ] .
914 1012
...@@ -918,7 +1016,7 @@ ep-spin-lib:selectFixedOrMoveableRigType ...@@ -918,7 +1016,7 @@ ep-spin-lib:selectFixedOrMoveableRigType
918 rdfs:subClassOf ep-spin-lib:Function ; 1016 rdfs:subClassOf ep-spin-lib:Function ;
919 spin:body 1017 spin:body
920 [ rdf:type sp:Select ; 1018 [ rdf:type sp:Select ;
921 - sp:resultVariables (_:b20) ; 1019 + sp:resultVariables (_:b22) ;
922 sp:where ([ rdf:type sp:Bind ; 1020 sp:where ([ rdf:type sp:Bind ;
923 sp:expression 1021 sp:expression
924 [ rdf:type sp:if ; 1022 [ rdf:type sp:if ;
...@@ -929,7 +1027,7 @@ ep-spin-lib:selectFixedOrMoveableRigType ...@@ -929,7 +1027,7 @@ ep-spin-lib:selectFixedOrMoveableRigType
929 sp:arg2 <http://www.reportinghub.no/ep/schema/facility#FixedRig> ; 1027 sp:arg2 <http://www.reportinghub.no/ep/schema/facility#FixedRig> ;
930 sp:arg3 <http://www.reportinghub.no/ep/schema/facility#MoveableRig> 1028 sp:arg3 <http://www.reportinghub.no/ep/schema/facility#MoveableRig>
931 ] ; 1029 ] ;
932 - sp:variable _:b20 1030 + sp:variable _:b22
933 ]) 1031 ])
934 ] . 1032 ] .
935 1033
...@@ -939,7 +1037,7 @@ ep-spin-lib:selectLabelOfSystem ...@@ -939,7 +1037,7 @@ ep-spin-lib:selectLabelOfSystem
939 rdfs:subClassOf ep-spin-lib:Function ; 1037 rdfs:subClassOf ep-spin-lib:Function ;
940 spin:body 1038 spin:body
941 [ rdf:type sp:Select ; 1039 [ rdf:type sp:Select ;
942 - sp:resultVariables (_:b21) ; 1040 + sp:resultVariables (_:b23) ;
943 sp:where ([ rdf:type sp:Bind ; 1041 sp:where ([ rdf:type sp:Bind ;
944 sp:expression 1042 sp:expression
945 [ rdf:type sp:if ; 1043 [ rdf:type sp:if ;
...@@ -985,7 +1083,7 @@ ep-spin-lib:selectLabelOfSystem ...@@ -985,7 +1083,7 @@ ep-spin-lib:selectLabelOfSystem
985 ] 1083 ]
986 ] 1084 ]
987 ] ; 1085 ] ;
988 - sp:variable _:b21 1086 + sp:variable _:b23
989 ]) 1087 ])
990 ] . 1088 ] .
991 1089
...@@ -995,7 +1093,7 @@ ep-spin-lib:selectPressureTestType ...@@ -995,7 +1093,7 @@ ep-spin-lib:selectPressureTestType
995 rdfs:subClassOf ep-spin-lib:Function ; 1093 rdfs:subClassOf ep-spin-lib:Function ;
996 spin:body 1094 spin:body
997 [ rdf:type sp:Select ; 1095 [ rdf:type sp:Select ;
998 - sp:resultVariables (_:b22) ; 1096 + sp:resultVariables (_:b24) ;
999 sp:where ([ rdf:type sp:Bind ; 1097 sp:where ([ rdf:type sp:Bind ;
1000 sp:expression 1098 sp:expression
1001 [ rdf:type smf:if ; 1099 [ rdf:type smf:if ;
...@@ -1012,7 +1110,7 @@ ep-spin-lib:selectPressureTestType ...@@ -1012,7 +1110,7 @@ ep-spin-lib:selectPressureTestType
1012 sp:arg2 <http://www.reportinghub.no/ep/schema/1.0/activity#LeakOffTest> 1110 sp:arg2 <http://www.reportinghub.no/ep/schema/1.0/activity#LeakOffTest>
1013 ] 1111 ]
1014 ] ; 1112 ] ;
1015 - sp:variable _:b22 1113 + sp:variable _:b24
1016 ]) 1114 ])
1017 ] . 1115 ] .
1018 1116
...@@ -1022,8 +1120,8 @@ ep-spin-lib:selectWellBoreDrillingType ...@@ -1022,8 +1120,8 @@ ep-spin-lib:selectWellBoreDrillingType
1022 rdfs:subClassOf ep-spin-lib:Function ; 1120 rdfs:subClassOf ep-spin-lib:Function ;
1023 spin:body 1121 spin:body
1024 [ rdf:type sp:Select ; 1122 [ rdf:type sp:Select ;
1025 - sp:resultVariables (_:b23) ; 1123 + sp:resultVariables (_:b25) ;
1026 - sp:where ([ sp:object _:b23 ; 1124 + sp:where ([ sp:object _:b25 ;
1027 sp:predicate <http://www.reportinghub.no/ep/schema/ddr#mapsTo> ; 1125 sp:predicate <http://www.reportinghub.no/ep/schema/ddr#mapsTo> ;
1028 sp:subject spin:_arg1 1126 sp:subject spin:_arg1
1029 ]) 1127 ])
...@@ -1035,7 +1133,7 @@ ep-spin-lib:selectWellBoreHphtType ...@@ -1035,7 +1133,7 @@ ep-spin-lib:selectWellBoreHphtType
1035 rdfs:subClassOf ep-spin-lib:Function ; 1133 rdfs:subClassOf ep-spin-lib:Function ;
1036 spin:body 1134 spin:body
1037 [ rdf:type sp:Select ; 1135 [ rdf:type sp:Select ;
1038 - sp:resultVariables (_:b24) ; 1136 + sp:resultVariables (_:b26) ;
1039 sp:where ([ rdf:type sp:Bind ; 1137 sp:where ([ rdf:type sp:Bind ;
1040 sp:expression 1138 sp:expression
1041 [ rdf:type sp:if ; 1139 [ rdf:type sp:if ;
...@@ -1046,7 +1144,7 @@ ep-spin-lib:selectWellBoreHphtType ...@@ -1046,7 +1144,7 @@ ep-spin-lib:selectWellBoreHphtType
1046 sp:arg2 <http://www.reportinghub.no/ep/schema/well#HphtWellBore> ; 1144 sp:arg2 <http://www.reportinghub.no/ep/schema/well#HphtWellBore> ;
1047 sp:arg3 <http://www.reportinghub.no/ep/schema/well#NotHphtWellBore> 1145 sp:arg3 <http://www.reportinghub.no/ep/schema/well#NotHphtWellBore>
1048 ] ; 1146 ] ;
1049 - sp:variable _:b24 1147 + sp:variable _:b26
1050 ]) 1148 ])
1051 ] . 1149 ] .
1052 1150
...@@ -1056,7 +1154,7 @@ ep-spin-lib:selectWellBoreTightnessType ...@@ -1056,7 +1154,7 @@ ep-spin-lib:selectWellBoreTightnessType
1056 rdfs:subClassOf ep-spin-lib:Function ; 1154 rdfs:subClassOf ep-spin-lib:Function ;
1057 spin:body 1155 spin:body
1058 [ rdf:type sp:Select ; 1156 [ rdf:type sp:Select ;
1059 - sp:resultVariables (_:b25) ; 1157 + sp:resultVariables (_:b27) ;
1060 sp:where ([ rdf:type sp:Bind ; 1158 sp:where ([ rdf:type sp:Bind ;
1061 sp:expression 1159 sp:expression
1062 [ rdf:type sp:if ; 1160 [ rdf:type sp:if ;
...@@ -1067,72 +1165,78 @@ ep-spin-lib:selectWellBoreTightnessType ...@@ -1067,72 +1165,78 @@ ep-spin-lib:selectWellBoreTightnessType
1067 sp:arg2 <http://www.reportinghub.no/ep/schema/well#TightWellBore> ; 1165 sp:arg2 <http://www.reportinghub.no/ep/schema/well#TightWellBore> ;
1068 sp:arg3 <http://www.reportinghub.no/ep/schema/well#LeakyWellBore> 1166 sp:arg3 <http://www.reportinghub.no/ep/schema/well#LeakyWellBore>
1069 ] ; 1167 ] ;
1070 - sp:variable _:b25 1168 + sp:variable _:b27
1071 ]) 1169 ])
1072 ] . 1170 ] .
1073 1171
1074 -_:b1 sp:varName "uri"^^xsd:string . 1172 +_:b27
1173 + sp:varName "wellBoreTightnessType"^^xsd:string .
1075 1174
1076 -_:b2 sp:varName "uri"^^xsd:string . 1175 +_:b26
1176 + sp:varName "wellBoreHphtType"^^xsd:string .
1077 1177
1078 -_:b3 sp:varName "uri"^^xsd:string . 1178 +_:b25
1179 + sp:varName "wellBoreDrillingType"^^xsd:string .
1079 1180
1080 -_:b4 sp:varName "uri"^^xsd:string . 1181 +_:b24
1182 + sp:varName "pressureTestType"^^xsd:string .
1081 1183
1082 -_:b5 sp:varName "uri"^^xsd:string . 1184 +_:b23
1185 + sp:varName "dailyDrillingReportType"^^xsd:string .
1083 1186
1084 -_:b6 sp:varName "uri"^^xsd:string . 1187 +_:b22
1188 + sp:varName "fixedOrMoveableRigType"^^xsd:string .
1085 1189
1086 -_:b7 sp:varName "uri"^^xsd:string . 1190 +_:b21
1191 + sp:varName "drillingActivityPurposeType"^^xsd:string .
1087 1192
1088 -_:b8 sp:varName "uri"^^xsd:string . 1193 +_:b19
1194 + sp:varName "dailyDrillingReportType"^^xsd:string .
1089 1195
1090 -_:b9 sp:varName "normalizedStr"^^xsd:string . 1196 +_:b17
1197 + sp:varName "t4"^^xsd:string .
1091 1198
1092 -_:b10 1199 +_:b16
1093 - sp:varName "s1"^^xsd:string . 1200 + sp:varName "t3"^^xsd:string .
1094 1201
1095 -_:b11 1202 +_:b15
1096 - sp:varName "s2"^^xsd:string . 1203 + sp:varName "t2"^^xsd:string .
1097 1204
1098 -_:b12 1205 +_:b14
1099 - sp:varName "t0a"^^xsd:string . 1206 + sp:varName "t1"^^xsd:string .
1100 1207
1101 _:b13 1208 _:b13
1102 sp:varName "t0b"^^xsd:string . 1209 sp:varName "t0b"^^xsd:string .
1103 1210
1104 -_:b14 1211 +_:b12
1105 - sp:varName "t1"^^xsd:string . 1212 + sp:varName "t0a"^^xsd:string .
1106 1213
1107 -_:b15 1214 +_:b11
1108 - sp:varName "t2"^^xsd:string . 1215 + sp:varName "s2"^^xsd:string .
1109 1216
1110 -_:b16 1217 +_:b10
1111 - sp:varName "t3"^^xsd:string . 1218 + sp:varName "s1"^^xsd:string .
1112 1219
1113 -_:b17 1220 +_:b9 sp:varName "normalizedStr"^^xsd:string .
1114 - sp:varName "t4"^^xsd:string .
1115 1221
1116 -_:b18 1222 +_:b8 sp:varName "uri"^^xsd:string .
1117 - sp:varName "dailyDrillingReportType"^^xsd:string .
1118 1223
1119 -_:b19 1224 +_:b7 sp:varName "uri"^^xsd:string .
1120 - sp:varName "drillingActivityPurposeType"^^xsd:string .
1121 1225
1122 -_:b20 1226 +_:b6 sp:varName "uri"^^xsd:string .
1123 - sp:varName "fixedOrMoveableRigType"^^xsd:string .
1124 1227
1125 -_:b21 1228 +_:b5 sp:varName "uri"^^xsd:string .
1126 - sp:varName "dailyDrillingReportType"^^xsd:string .
1127 1229
1128 -_:b22 1230 +_:b4 sp:varName "uri"^^xsd:string .
1129 - sp:varName "pressureTestType"^^xsd:string .
1130 1231
1131 -_:b23 1232 +_:b3 sp:varName "uri"^^xsd:string .
1132 - sp:varName "wellBoreDrillingType"^^xsd:string .
1133 1233
1134 -_:b25 1234 +_:b2 sp:varName "uri"^^xsd:string .
1135 - sp:varName "wellBoreTightnessType"^^xsd:string .
1136 1235
1137 -_:b24 1236 +_:b1 sp:varName "uri"^^xsd:string .
1138 - sp:varName "wellBoreHphtType"^^xsd:string . 1237 +
1238 +_:b18
1239 + sp:varName "activitySuccessType"^^xsd:string .
1240 +
1241 +_:b20
1242 + sp:varName "drillingActivityOutcomeType"^^xsd:string .
......
1 -# Saved by TopBraid on Fri Aug 12 14:18:47 BST 2011 1 +# Saved by TopBraid on Sat Aug 13 16:08:32 BST 2011
2 # baseURI: null 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#> .
......
1 -# baseURI: http://www.reportinghub.no/ep/transform/1.1/ddr/activity 1 +# Saved by TopBraid on Sat Aug 13 15:45:40 BST 2011
2 -# imports: http://spinrdf.org/spin 2 +# baseURI: http://www.reportinghub.no/ep/transform/1.1/ddr/activity
3 -# imports: http://www.reportinghub.no/ep/schema/1.0/activity 3 +# imports: http://www.reportinghub.no/ep/schema/1.0/report
4 -# imports: http://www.reportinghub.no/ep/schema/1.0/activity-purpose 4 +# imports: http://www.reportinghub.no/ep/spin/1.1/lib
5 -# imports: http://www.reportinghub.no/ep/schema/1.0/core 5 +# imports: http://www.reportinghub.no/ep/schema/1.0/core
6 -# imports: http://www.reportinghub.no/ep/schema/1.0/ddr 6 +# imports: http://www.reportinghub.no/ep/schema/1.0/well
7 -# imports: http://www.reportinghub.no/ep/schema/1.0/equipment 7 +# imports: http://www.reportinghub.no/ep/schema/1.0/equipment
8 -# imports: http://www.reportinghub.no/ep/schema/1.0/report 8 +# imports: http://www.reportinghub.no/ep/schema/1.0/activity-purpose
9 -# imports: http://www.reportinghub.no/ep/schema/1.0/well 9 +# imports: http://www.reportinghub.no/ep/schema/1.0/activity
10 -# imports: http://www.reportinghub.no/ep/spin/1.1/lib 10 +# imports: http://www.reportinghub.no/ep/transform/1.1/ddr
11 -# imports: http://www.reportinghub.no/ep/transform/1.1/ddr 11 +# imports: http://www.reportinghub.no/ep/schema/1.0/ddr
12 - 12 +# imports: http://spinrdf.org/spin
13 -@prefix : <http://www.reportinghub.no/ep/transform/1.1/ddr/activity#> . 13 +
14 -@prefix arg: <http://spinrdf.org/arg#> . 14 +@prefix : <http://www.reportinghub.no/ep/transform/1.1/ddr/activity#> .
15 -@prefix bindEP-NativeOWL: <http://www.reportinghub.no/iso15926/bindEP-NativeOWL#> . 15 +@prefix arg: <http://spinrdf.org/arg#> .
16 -@prefix ddr-normalization: <http://www.reportinghub.no/ep/transform/ddr/normalization#> . 16 +@prefix bindEP-NativeOWL: <http://www.reportinghub.no/iso15926/bindEP-NativeOWL#> .
17 -@prefix ddr-normalization-1.1: <http://www.reportinghub.no/ep/transform/1.1/ddr/normalization#> . 17 +@prefix ddr-normalization: <http://www.reportinghub.no/ep/transform/ddr/normalization#> .
18 -@prefix ep-spin-lib: <http://www.reportinghub.no/ep/spin/lib#> . 18 +@prefix ddr-normalization-1.1: <http://www.reportinghub.no/ep/transform/1.1/ddr/normalization#> .
19 -@prefix iso15926: <http://www.reportinghub.no/iso15926/nativeOWL#> . 19 +@prefix ep-spin-lib: <http://www.reportinghub.no/ep/spin/lib#> .
20 -@prefix normalization: <http://www.reportinghub.no/ep/transform/normalization#> . 20 +@prefix iso15926: <http://www.reportinghub.no/iso15926/nativeOWL#> .
21 -@prefix owl: <http://www.w3.org/2002/07/owl#> . 21 +@prefix normalization: <http://www.reportinghub.no/ep/transform/normalization#> .
22 -@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . 22 +@prefix owl: <http://www.w3.org/2002/07/owl#> .
23 -@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . 23 +@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
24 -@prefix rhspin: <http://www.reportinghub.no/spin/rh#> . 24 +@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
25 -@prefix sp: <http://spinrdf.org/sp#> . 25 +@prefix rhspin: <http://www.reportinghub.no/spin/rh#> .
26 -@prefix spin: <http://spinrdf.org/spin#> . 26 +@prefix sp: <http://spinrdf.org/sp#> .
27 -@prefix spl: <http://spinrdf.org/spl#> . 27 +@prefix spin: <http://spinrdf.org/spin#> .
28 -@prefix xsd: <http://www.w3.org/2001/XMLSchema#> . 28 +@prefix spl: <http://spinrdf.org/spl#> .
29 - 29 +@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
30 -<http://www.reportinghub.no/ep/schema/ddr#Obj_drillReport> 30 +
31 - spin:rule 31 +<http://www.reportinghub.no/ep/schema/ddr#Obj_drillReport>
32 - [ rdf:type sp:Construct ; 32 + spin:rule
33 - rdfs:comment "STEP 127 Create part activity and temporal part of WellBore"^^xsd:string ; 33 + [ rdf:type sp:Construct ;
34 - sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/activity#DrillingActivity> ; 34 + rdfs:comment "STEP 133 Transfer stateDetailActivity"^^xsd:string ;
35 - sp:predicate rdf:type ; 35 + sp:templates ([ sp:object _:b1 ;
36 - sp:subject _:b1 36 + sp:predicate rdf:type ;
37 - ] [ sp:object _:b1 ; 37 + sp:subject _:b2
38 - sp:predicate <http://www.reportinghub.no/ep/schema/core#hasPart> ; 38 + ]) ;
39 - sp:subject _:b2 39 + sp:where ([ sp:object _:b3 ;
40 - ] [ sp:object _:b3 ; 40 + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWellbore> ;
41 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ; 41 + sp:subject spin:_this
42 - sp:subject _:b1 42 + ] [ sp:object _:b4 ;
43 - ] [ sp:object _:b4 ; 43 + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#activity> ;
44 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimEnd> ; 44 + sp:subject spin:_this
45 - sp:subject _:b1 45 + ] [ sp:object _:b5 ;
46 - ] [ sp:object <http://www.reportinghub.no/ep/schema/well#TemporalPartOfAWellBore> ; 46 + sp:predicate <http://www.topbraid.org/2007/05/composite.owl#index> ;
47 - sp:predicate rdf:type ; 47 + sp:subject _:b4
48 - sp:subject _:b5 48 + ] [ sp:object _:b6 ;
49 - ] [ sp:object _:b6 ; 49 + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ;
50 - sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ; 50 + sp:subject _:b4
51 - sp:subject _:b5 51 + ] [ sp:object _:b7 ;
52 - ] [ sp:object _:b5 ; 52 + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#enumStateDetailActivity> ;
53 - sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWellBore> ; 53 + sp:subject _:b4
54 - sp:subject _:b1 54 + ] [ rdf:type sp:Bind ;
55 - ]) ; 55 + sp:expression
56 - sp:where ([ sp:object _:b7 ; 56 + [ rdf:type ep-spin-lib:normalizeString ;
57 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWellbore> ; 57 + sp:arg1 _:b3
58 - sp:subject spin:_this 58 + ] ;
59 - ] [ sp:object _:b8 ; 59 + sp:variable _:b8
60 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ; 60 + ] [ rdf:type sp:Bind ;
61 - sp:subject spin:_this 61 + sp:expression
62 - ] [ sp:object _:b9 ; 62 + [ rdf:type ep-spin-lib:buildPartActivityURI ;
63 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#activity> ; 63 + sp:arg1 _:b8 ;
64 - sp:subject spin:_this 64 + sp:arg2 _:b6 ;
65 - ] [ sp:object _:b10 ; 65 + sp:arg3 _:b5
66 - sp:predicate <http://www.topbraid.org/2007/05/composite.owl#index> ; 66 + ] ;
67 - sp:subject _:b9 67 + sp:variable _:b2
68 - ] [ sp:object _:b3 ; 68 + ] [ rdf:type sp:Bind ;
69 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ; 69 + sp:expression
70 - sp:subject _:b9 70 + [ rdf:type ep-spin-lib:selectDrillingActivityOutcomeType ;
71 - ] [ sp:object _:b4 ; 71 + sp:arg1 _:b7
72 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimEnd> ; 72 + ] ;
73 - sp:subject _:b9 73 + sp:variable _:b1
74 - ] [ rdf:type sp:Bind ; 74 + ])
75 - sp:expression 75 + ] ;
76 - [ rdf:type ep-spin-lib:normalizeString ; 76 + spin:rule
77 - sp:arg1 _:b7 77 + [ rdf:type sp:Construct ;
78 - ] ; 78 + rdfs:comment "STEP 132 Transfer status"^^xsd:string ;
79 - sp:variable _:b11 79 + sp:templates ([ sp:object _:b9 ;
80 - ] [ rdf:type sp:Bind ; 80 + sp:predicate rdf:type ;
81 - sp:expression 81 + sp:subject _:b10
82 - [ rdf:type ep-spin-lib:buildPartActivityURI ; 82 + ]) ;
83 - sp:arg1 _:b11 ; 83 + sp:where ([ sp:object _:b11 ;
84 - sp:arg2 _:b3 ; 84 + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWellbore> ;
85 - sp:arg3 _:b10 85 + sp:subject spin:_this
86 - ] ; 86 + ] [ sp:object _:b12 ;
87 - sp:variable _:b1 87 + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#activity> ;
88 - ] [ rdf:type sp:Bind ; 88 + sp:subject spin:_this
89 - sp:expression 89 + ] [ sp:object _:b13 ;
90 - [ rdf:type rhspin:wellBoreByName ; 90 + sp:predicate <http://www.topbraid.org/2007/05/composite.owl#index> ;
91 - arg:wellBoreName _:b7 91 + sp:subject _:b12
92 - ] ; 92 + ] [ sp:object _:b14 ;
93 - sp:variable _:b6 93 + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ;
94 - ] [ rdf:type sp:Bind ; 94 + sp:subject _:b12
95 - sp:expression 95 + ] [ sp:object _:b15 ;
96 - [ rdf:type ep-spin-lib:buildDailyDrillingActivityURI ; 96 + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#enumState> ;
97 - sp:arg1 _:b11 ; 97 + sp:subject _:b12
98 - sp:arg2 _:b8 98 + ] [ rdf:type sp:Bind ;
99 - ] ; 99 + sp:expression
100 - sp:variable _:b2 100 + [ rdf:type ep-spin-lib:normalizeString ;
101 - ] [ rdf:type sp:Bind ; 101 + sp:arg1 _:b11
102 - sp:expression 102 + ] ;
103 - [ rdf:type ep-spin-lib:buildTemporalPartOfAWellBoreURI ; 103 + sp:variable _:b16
104 - sp:arg1 _:b11 ; 104 + ] [ rdf:type sp:Bind ;
105 - sp:arg2 _:b3 ; 105 + sp:expression
106 - sp:arg3 _:b4 106 + [ rdf:type ep-spin-lib:buildPartActivityURI ;
107 - ] ; 107 + sp:arg1 _:b16 ;
108 - sp:variable _:b5 108 + sp:arg2 _:b14 ;
109 - ]) 109 + sp:arg3 _:b13
110 - ] ; 110 + ] ;
111 - spin:rule 111 + sp:variable _:b10
112 - [ rdf:type sp:Construct ; 112 + ] [ rdf:type sp:Bind ;
113 - rdfs:comment "STEP 128 Transfer md"^^xsd:string ; 113 + sp:expression
114 - sp:templates ([ sp:object _:b12 ; 114 + [ rdf:type ep-spin-lib:selectActivitySuccessType ;
115 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#md> ; 115 + sp:arg1 _:b15
116 - sp:subject _:b13 116 + ] ;
117 - ]) ; 117 + sp:variable _:b9
118 - sp:where ([ sp:object _:b14 ; 118 + ])
119 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWellbore> ; 119 + ] ;
120 - sp:subject spin:_this 120 + spin:rule
121 - ] [ sp:object _:b15 ; 121 + [ rdf:type sp:Construct ;
122 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#activity> ; 122 + rdfs:comment "STEP 131 Transfer mdHoleStart"^^xsd:string ;
123 - sp:subject spin:_this 123 + sp:templates ([ sp:object _:b17 ;
124 - ] [ sp:object _:b16 ; 124 + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#mdHoleStart> ;
125 - sp:predicate <http://www.topbraid.org/2007/05/composite.owl#index> ; 125 + sp:subject _:b18
126 - sp:subject _:b15 126 + ]) ;
127 - ] [ sp:object _:b17 ; 127 + sp:where ([ sp:object _:b19 ;
128 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ; 128 + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWellbore> ;
129 - sp:subject _:b15 129 + sp:subject spin:_this
130 - ] [ sp:object _:b12 ; 130 + ] [ sp:object _:b20 ;
131 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#md> ; 131 + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#activity> ;
132 - sp:subject _:b15 132 + sp:subject spin:_this
133 - ] [ sp:object _:b13 ; 133 + ] [ sp:object _:b21 ;
134 - sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWellBore> ; 134 + sp:predicate <http://www.topbraid.org/2007/05/composite.owl#index> ;
135 - sp:subject _:b18 135 + sp:subject _:b20
136 - ] [ rdf:type sp:Bind ; 136 + ] [ sp:object _:b22 ;
137 - sp:expression 137 + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ;
138 - [ rdf:type ep-spin-lib:normalizeString ; 138 + sp:subject _:b20
139 - sp:arg1 _:b14 139 + ] [ sp:object _:b17 ;
140 - ] ; 140 + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#mdHoleStart> ;
141 - sp:variable _:b19 141 + sp:subject _:b20
142 - ] [ rdf:type sp:Bind ; 142 + ] [ sp:object _:b18 ;
143 - sp:expression 143 + sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWellBore> ;
144 - [ rdf:type ep-spin-lib:buildPartActivityURI ; 144 + sp:subject _:b23
145 - sp:arg1 _:b19 ; 145 + ] [ rdf:type sp:Bind ;
146 - sp:arg2 _:b17 ; 146 + sp:expression
147 - sp:arg3 _:b16 147 + [ rdf:type ep-spin-lib:normalizeString ;
148 - ] ; 148 + sp:arg1 _:b19
149 - sp:variable _:b18 149 + ] ;
150 - ]) 150 + sp:variable _:b24
151 - ] ; 151 + ] [ rdf:type sp:Bind ;
152 - spin:rule 152 + sp:expression
153 - [ rdf:type sp:Construct ; 153 + [ rdf:type ep-spin-lib:buildPartActivityURI ;
154 - rdfs:comment "STEP 129 Transfer tvd"^^xsd:string ; 154 + sp:arg1 _:b24 ;
155 - sp:templates ([ sp:object _:b20 ; 155 + sp:arg2 _:b22 ;
156 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#tvd> ; 156 + sp:arg3 _:b21
157 - sp:subject _:b21 157 + ] ;
158 - ]) ; 158 + sp:variable _:b23
159 - sp:where ([ sp:object _:b22 ; 159 + ])
160 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWellbore> ; 160 + ] ;
161 - sp:subject spin:_this 161 + spin:rule
162 - ] [ sp:object _:b23 ; 162 + [ rdf:type sp:Construct ;
163 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#activity> ; 163 + rdfs:comment "STEP 130 Transfer proprietaryCode"^^xsd:string ;
164 - sp:subject spin:_this 164 + sp:templates ([ sp:object _:b25 ;
165 - ] [ sp:object _:b24 ; 165 + sp:predicate rdf:type ;
166 - sp:predicate <http://www.topbraid.org/2007/05/composite.owl#index> ; 166 + sp:subject _:b26
167 - sp:subject _:b23 167 + ]) ;
168 - ] [ sp:object _:b25 ; 168 + sp:where ([ sp:object _:b27 ;
169 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ; 169 + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWellbore> ;
170 - sp:subject _:b23 170 + sp:subject spin:_this
171 - ] [ sp:object _:b20 ; 171 + ] [ sp:object _:b28 ;
172 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#tvd> ; 172 + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#activity> ;
173 - sp:subject _:b23 173 + sp:subject spin:_this
174 - ] [ sp:object _:b21 ; 174 + ] [ sp:object _:b29 ;
175 - sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWellBore> ; 175 + sp:predicate <http://www.topbraid.org/2007/05/composite.owl#index> ;
176 - sp:subject _:b26 176 + sp:subject _:b28
177 - ] [ rdf:type sp:Bind ; 177 + ] [ sp:object _:b30 ;
178 - sp:expression 178 + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ;
179 - [ rdf:type ep-spin-lib:normalizeString ; 179 + sp:subject _:b28
180 - sp:arg1 _:b22 180 + ] [ sp:object _:b31 ;
181 - ] ; 181 + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#enumProprietaryCode> ;
182 - sp:variable _:b27 182 + sp:subject _:b28
183 - ] [ rdf:type sp:Bind ; 183 + ] [ rdf:type sp:Bind ;
184 - sp:expression 184 + sp:expression
185 - [ rdf:type ep-spin-lib:buildPartActivityURI ; 185 + [ rdf:type ep-spin-lib:normalizeString ;
186 - sp:arg1 _:b27 ; 186 + sp:arg1 _:b27
187 - sp:arg2 _:b25 ; 187 + ] ;
188 - sp:arg3 _:b24 188 + sp:variable _:b32
189 - ] ; 189 + ] [ rdf:type sp:Bind ;
190 - sp:variable _:b26 190 + sp:expression
191 - ]) 191 + [ rdf:type ep-spin-lib:buildPartActivityURI ;
192 - ] ; 192 + sp:arg1 _:b32 ;
193 - spin:rule 193 + sp:arg2 _:b30 ;
194 - [ rdf:type sp:Construct ; 194 + sp:arg3 _:b29
195 - rdfs:comment "STEP 130 Transfer proprietaryCode"^^xsd:string ; 195 + ] ;
196 - sp:templates ([ sp:object _:b28 ; 196 + sp:variable _:b26
197 - sp:predicate rdf:type ; 197 + ] [ rdf:type sp:Bind ;
198 - sp:subject _:b29 198 + sp:expression
199 - ]) ; 199 + [ rdf:type ep-spin-lib:selectDrillingActivityPurposeType ;
200 - sp:where ([ sp:object _:b30 ; 200 + sp:arg1 _:b31
201 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWellbore> ; 201 + ] ;
202 - sp:subject spin:_this 202 + sp:variable _:b25
203 - ] [ sp:object _:b31 ; 203 + ])
204 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#activity> ; 204 + ] ;
205 - sp:subject spin:_this 205 + spin:rule
206 - ] [ sp:object _:b32 ; 206 + [ rdf:type sp:Construct ;
207 - sp:predicate <http://www.topbraid.org/2007/05/composite.owl#index> ; 207 + rdfs:comment "STEP 129 Transfer tvd"^^xsd:string ;
208 - sp:subject _:b31 208 + sp:templates ([ sp:object _:b33 ;
209 - ] [ sp:object _:b33 ; 209 + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#tvd> ;
210 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ; 210 + sp:subject _:b34
211 - sp:subject _:b31 211 + ]) ;
212 - ] [ sp:object _:b34 ; 212 + sp:where ([ sp:object _:b35 ;
213 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#enumProprietaryCode> ; 213 + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWellbore> ;
214 - sp:subject _:b31 214 + sp:subject spin:_this
215 - ] [ rdf:type sp:Bind ; 215 + ] [ sp:object _:b36 ;
216 - sp:expression 216 + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#activity> ;
217 - [ rdf:type ep-spin-lib:normalizeString ; 217 + sp:subject spin:_this
218 - sp:arg1 _:b30 218 + ] [ sp:object _:b37 ;
219 - ] ; 219 + sp:predicate <http://www.topbraid.org/2007/05/composite.owl#index> ;
220 - sp:variable _:b35 220 + sp:subject _:b36
221 - ] [ rdf:type sp:Bind ; 221 + ] [ sp:object _:b38 ;
222 - sp:expression 222 + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ;
223 - [ rdf:type ep-spin-lib:buildPartActivityURI ; 223 + sp:subject _:b36
224 - sp:arg1 _:b35 ; 224 + ] [ sp:object _:b33 ;
225 - sp:arg2 _:b33 ; 225 + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#tvd> ;
226 - sp:arg3 _:b32 226 + sp:subject _:b36
227 - ] ; 227 + ] [ sp:object _:b34 ;
228 - sp:variable _:b29 228 + sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWellBore> ;
229 - ] [ rdf:type sp:Bind ; 229 + sp:subject _:b39
230 - sp:expression 230 + ] [ rdf:type sp:Bind ;
231 - [ rdf:type ep-spin-lib:selectDrillingActivityPurposeType ; 231 + sp:expression
232 - sp:arg1 _:b34 232 + [ rdf:type ep-spin-lib:normalizeString ;
233 - ] ; 233 + sp:arg1 _:b35
234 - sp:variable _:b28 234 + ] ;
235 - ]) 235 + sp:variable _:b40
236 - ] . 236 + ] [ rdf:type sp:Bind ;
237 - 237 + sp:expression
238 -<http://www.reportinghub.no/ep/transform/1.1/ddr/activity> 238 + [ rdf:type ep-spin-lib:buildPartActivityURI ;
239 - rdf:type owl:Ontology ; 239 + sp:arg1 _:b40 ;
240 - owl:imports <http://www.reportinghub.no/ep/schema/1.0/activity-purpose> , <http://spinrdf.org/spin> , <http://www.reportinghub.no/ep/schema/1.0/well> , <http://www.reportinghub.no/ep/spin/1.1/lib> , <http://www.reportinghub.no/ep/schema/1.0/activity> , <http://www.reportinghub.no/ep/schema/1.0/ddr> , <http://www.reportinghub.no/ep/transform/1.1/ddr> , <http://www.reportinghub.no/ep/schema/1.0/report> , <http://www.reportinghub.no/ep/schema/1.0/equipment> , <http://www.reportinghub.no/ep/schema/1.0/core> ; 240 + sp:arg2 _:b38 ;
241 - owl:versionInfo "Created with TopBraid Composer"^^xsd:string . 241 + sp:arg3 _:b37
242 - 242 + ] ;
243 -_:b5 sp:varName "temporalPartOfAWellBore"^^xsd:string . 243 + sp:variable _:b39
244 - 244 + ])
245 -_:b2 sp:varName "dailyDrillingActivity"^^xsd:string . 245 + ] ;
246 - 246 + spin:rule
247 -_:b6 sp:varName "wellBore"^^xsd:string . 247 + [ rdf:type sp:Construct ;
248 - 248 + rdfs:comment "STEP 128 Transfer md"^^xsd:string ;
249 -_:b1 sp:varName "partActivity"^^xsd:string . 249 + sp:templates ([ sp:object _:b41 ;
250 - 250 + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#md> ;
251 -_:b11 251 + sp:subject _:b42
252 - sp:varName "normalizedWellBoreName"^^xsd:string . 252 + ]) ;
253 - 253 + sp:where ([ sp:object _:b43 ;
254 -_:b4 sp:varName "dTimEndPart"^^xsd:string . 254 + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWellbore> ;
255 - 255 + sp:subject spin:_this
256 -_:b3 sp:varName "dTimStartPart"^^xsd:string . 256 + ] [ sp:object _:b44 ;
257 - 257 + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#activity> ;
258 -_:b10 258 + sp:subject spin:_this
259 - sp:varName "index"^^xsd:string . 259 + ] [ sp:object _:b45 ;
260 - 260 + sp:predicate <http://www.topbraid.org/2007/05/composite.owl#index> ;
261 -_:b9 sp:varName "activity"^^xsd:string . 261 + sp:subject _:b44
262 - 262 + ] [ sp:object _:b46 ;
263 -_:b8 sp:varName "dTimStart"^^xsd:string . 263 + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ;
264 - 264 + sp:subject _:b44
265 -_:b7 sp:varName "nameWellBore"^^xsd:string . 265 + ] [ sp:object _:b41 ;
266 - 266 + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#md> ;
267 -_:b19 267 + sp:subject _:b44
268 - sp:varName "normalizedWellBoreName"^^xsd:string . 268 + ] [ sp:object _:b42 ;
269 - 269 + sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWellBore> ;
270 -_:b18 270 + sp:subject _:b47
271 - sp:varName "partActivity"^^xsd:string . 271 + ] [ rdf:type sp:Bind ;
272 - 272 + sp:expression
273 -_:b17 273 + [ rdf:type ep-spin-lib:normalizeString ;
274 - sp:varName "dTimStartPart"^^xsd:string . 274 + sp:arg1 _:b43
275 - 275 + ] ;
276 -_:b16 276 + sp:variable _:b48
277 - sp:varName "index"^^xsd:string . 277 + ] [ rdf:type sp:Bind ;
278 - 278 + sp:expression
279 -_:b15 279 + [ rdf:type ep-spin-lib:buildPartActivityURI ;
280 - sp:varName "activity"^^xsd:string . 280 + sp:arg1 _:b48 ;
281 - 281 + sp:arg2 _:b46 ;
282 -_:b14 282 + sp:arg3 _:b45
283 - sp:varName "nameWellBore"^^xsd:string . 283 + ] ;
284 - 284 + sp:variable _:b47
285 -_:b13 285 + ])
286 - sp:varName "temporalPartOfAWellBore"^^xsd:string . 286 + ] ;
287 - 287 + spin:rule
288 -_:b12 288 + [ rdf:type sp:Construct ;
289 - sp:varName "md"^^xsd:string . 289 + rdfs:comment "STEP 127 Create part activity and temporal part of WellBore"^^xsd:string ;
290 - 290 + sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/activity#DrillingActivity> ;
291 -_:b27 291 + sp:predicate rdf:type ;
292 - sp:varName "normalizedWellBoreName"^^xsd:string . 292 + sp:subject _:b49
293 - 293 + ] [ sp:object _:b49 ;
294 -_:b26 294 + sp:predicate <http://www.reportinghub.no/ep/schema/core#hasPart> ;
295 - sp:varName "partActivity"^^xsd:string . 295 + sp:subject _:b50
296 - 296 + ] [ sp:object _:b51 ;
297 -_:b25 297 + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ;
298 - sp:varName "dTimStartPart"^^xsd:string . 298 + sp:subject _:b49
299 - 299 + ] [ sp:object _:b52 ;
300 -_:b24 300 + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimEnd> ;
301 - sp:varName "index"^^xsd:string . 301 + sp:subject _:b49
302 - 302 + ] [ sp:object <http://www.reportinghub.no/ep/schema/well#TemporalPartOfAWellBore> ;
303 -_:b23 303 + sp:predicate rdf:type ;
304 - sp:varName "activity"^^xsd:string . 304 + sp:subject _:b53
305 - 305 + ] [ sp:object _:b54 ;
306 -_:b22 306 + sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
307 - sp:varName "nameWellBore"^^xsd:string . 307 + sp:subject _:b53
308 - 308 + ] [ sp:object _:b53 ;
309 -_:b21 309 + sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWellBore> ;
310 - sp:varName "temporalPartOfAWellBore"^^xsd:string . 310 + sp:subject _:b49
311 - 311 + ]) ;
312 -_:b20 312 + sp:where ([ sp:object _:b55 ;
313 - sp:varName "tvd"^^xsd:string . 313 + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWellbore> ;
314 - 314 + sp:subject spin:_this
315 -_:b35 315 + ] [ sp:object _:b56 ;
316 - sp:varName "normalizedWellBoreName"^^xsd:string . 316 + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ;
317 - 317 + sp:subject spin:_this
318 -_:b34 318 + ] [ sp:object _:b57 ;
319 - sp:varName "proprietaryCode"^^xsd:string . 319 + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#activity> ;
320 - 320 + sp:subject spin:_this
321 -_:b33 321 + ] [ sp:object _:b58 ;
322 - sp:varName "dTimStartPart"^^xsd:string . 322 + sp:predicate <http://www.topbraid.org/2007/05/composite.owl#index> ;
323 - 323 + sp:subject _:b57
324 -_:b32 324 + ] [ sp:object _:b51 ;
325 - sp:varName "index"^^xsd:string . 325 + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ;
326 - 326 + sp:subject _:b57
327 -_:b31 327 + ] [ sp:object _:b52 ;
328 - sp:varName "activity"^^xsd:string . 328 + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimEnd> ;
329 - 329 + sp:subject _:b57
330 -_:b30 330 + ] [ rdf:type sp:Bind ;
331 - sp:varName "nameWellBore"^^xsd:string . 331 + sp:expression
332 - 332 + [ rdf:type ep-spin-lib:normalizeString ;
333 -_:b29 333 + sp:arg1 _:b55
334 - sp:varName "partActivity"^^xsd:string . 334 + ] ;
335 - 335 + sp:variable _:b59
336 -_:b28 336 + ] [ rdf:type sp:Bind ;
337 - sp:varName "drillingActivityPurposeType"^^xsd:string . 337 + sp:expression
338 + [ rdf:type ep-spin-lib:buildPartActivityURI ;
339 + sp:arg1 _:b59 ;
340 + sp:arg2 _:b51 ;
341 + sp:arg3 _:b58
342 + ] ;
343 + sp:variable _:b49
344 + ] [ rdf:type sp:Bind ;
345 + sp:expression
346 + [ rdf:type rhspin:wellBoreByName ;
347 + arg:wellBoreName _:b55
348 + ] ;
349 + sp:variable _:b54
350 + ] [ rdf:type sp:Bind ;
351 + sp:expression
352 + [ rdf:type ep-spin-lib:buildDailyDrillingActivityURI ;
353 + sp:arg1 _:b59 ;
354 + sp:arg2 _:b56
355 + ] ;
356 + sp:variable _:b50
357 + ] [ rdf:type sp:Bind ;
358 + sp:expression
359 + [ rdf:type ep-spin-lib:buildTemporalPartOfAWellBoreURI ;
360 + sp:arg1 _:b59 ;
361 + sp:arg2 _:b51 ;
362 + sp:arg3 _:b52
363 + ] ;
364 + sp:variable _:b53
365 + ])
366 + ] .
367 +
368 +<http://www.reportinghub.no/ep/transform/1.1/ddr/activity>
369 + rdf:type owl:Ontology ;
370 + owl:imports <http://www.reportinghub.no/ep/schema/1.0/activity-purpose> , <http://spinrdf.org/spin> , <http://www.reportinghub.no/ep/schema/1.0/well> , <http://www.reportinghub.no/ep/spin/1.1/lib> , <http://www.reportinghub.no/ep/schema/1.0/activity> , <http://www.reportinghub.no/ep/schema/1.0/ddr> , <http://www.reportinghub.no/ep/transform/1.1/ddr> , <http://www.reportinghub.no/ep/schema/1.0/report> , <http://www.reportinghub.no/ep/schema/1.0/equipment> , <http://www.reportinghub.no/ep/schema/1.0/core> ;
371 + owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
372 +
373 +_:b19
374 + sp:varName "nameWellBore"^^xsd:string .
375 +
376 +_:b20
377 + sp:varName "activity"^^xsd:string .
378 +
379 +_:b21
380 + sp:varName "index"^^xsd:string .
381 +
382 +_:b22
383 + sp:varName "dTimStartPart"^^xsd:string .
384 +
385 +_:b17
386 + sp:varName "mdHoleStart"^^xsd:string .
387 +
388 +_:b23
389 + sp:varName "partActivity"^^xsd:string .
390 +
391 +_:b18
392 + sp:varName "temporalPartOfAWellBore"^^xsd:string .
393 +
394 +_:b24
395 + sp:varName "normalizedWellBoreName"^^xsd:string .
396 +
397 +_:b11
398 + sp:varName "nameWellBore"^^xsd:string .
399 +
400 +_:b12
401 + sp:varName "activity"^^xsd:string .
402 +
403 +_:b13
404 + sp:varName "index"^^xsd:string .
405 +
406 +_:b14
407 + sp:varName "dTimStartPart"^^xsd:string .
408 +
409 +_:b15
410 + sp:varName "state"^^xsd:string .
411 +
412 +_:b16
413 + sp:varName "normalizedWellBoreName"^^xsd:string .
414 +
415 +_:b10
416 + sp:varName "partActivity"^^xsd:string .
417 +
418 +_:b9 sp:varName "activitySuccessType"^^xsd:string .
419 +
420 +_:b3 sp:varName "nameWellBore"^^xsd:string .
421 +
422 +_:b4 sp:varName "activity"^^xsd:string .
423 +
424 +_:b5 sp:varName "index"^^xsd:string .
425 +
426 +_:b6 sp:varName "dTimStartPart"^^xsd:string .
427 +
428 +_:b7 sp:varName "stateDetailActivity"^^xsd:string .
429 +
430 +_:b8 sp:varName "normalizedWellBoreName"^^xsd:string .
431 +
432 +_:b2 sp:varName "partActivity"^^xsd:string .
433 +
434 +_:b1 sp:varName "drillingActivityOutcomeType"^^xsd:string .
435 +
436 +_:b49
437 + sp:varName "partActivity"^^xsd:string .
438 +
439 +_:b50
440 + sp:varName "dailyDrillingActivity"^^xsd:string .
441 +
442 +_:b51
443 + sp:varName "dTimStartPart"^^xsd:string .
444 +
445 +_:b52
446 + sp:varName "dTimEndPart"^^xsd:string .
447 +
448 +_:b53
449 + sp:varName "temporalPartOfAWellBore"^^xsd:string .
450 +
451 +_:b54
452 + sp:varName "wellBore"^^xsd:string .
453 +
454 +_:b55
455 + sp:varName "nameWellBore"^^xsd:string .
456 +
457 +_:b56
458 + sp:varName "dTimStart"^^xsd:string .
459 +
460 +_:b57
461 + sp:varName "activity"^^xsd:string .
462 +
463 +_:b58
464 + sp:varName "index"^^xsd:string .
465 +
466 +_:b59
467 + sp:varName "normalizedWellBoreName"^^xsd:string .
468 +
469 +_:b41
470 + sp:varName "md"^^xsd:string .
471 +
472 +_:b42
473 + sp:varName "temporalPartOfAWellBore"^^xsd:string .
474 +
475 +_:b43
476 + sp:varName "nameWellBore"^^xsd:string .
477 +
478 +_:b44
479 + sp:varName "activity"^^xsd:string .
480 +
481 +_:b45
482 + sp:varName "index"^^xsd:string .
483 +
484 +_:b46
485 + sp:varName "dTimStartPart"^^xsd:string .
486 +
487 +_:b47
488 + sp:varName "partActivity"^^xsd:string .
489 +
490 +_:b48
491 + sp:varName "normalizedWellBoreName"^^xsd:string .
492 +
493 +_:b33
494 + sp:varName "tvd"^^xsd:string .
495 +
496 +_:b34
497 + sp:varName "temporalPartOfAWellBore"^^xsd:string .
498 +
499 +_:b35
500 + sp:varName "nameWellBore"^^xsd:string .
501 +
502 +_:b36
503 + sp:varName "activity"^^xsd:string .
504 +
505 +_:b37
506 + sp:varName "index"^^xsd:string .
507 +
508 +_:b38
509 + sp:varName "dTimStartPart"^^xsd:string .
510 +
511 +_:b39
512 + sp:varName "partActivity"^^xsd:string .
513 +
514 +_:b40
515 + sp:varName "normalizedWellBoreName"^^xsd:string .
516 +
517 +_:b25
518 + sp:varName "drillingActivityPurposeType"^^xsd:string .
519 +
520 +_:b26
521 + sp:varName "partActivity"^^xsd:string .
522 +
523 +_:b27
524 + sp:varName "nameWellBore"^^xsd:string .
525 +
526 +_:b28
527 + sp:varName "activity"^^xsd:string .
528 +
529 +_:b29
530 + sp:varName "index"^^xsd:string .
531 +
532 +_:b30
533 + sp:varName "dTimStartPart"^^xsd:string .
534 +
535 +_:b31
536 + sp:varName "proprietaryCode"^^xsd:string .
537 +
538 +_:b32
539 + sp:varName "normalizedWellBoreName"^^xsd:string .
......
1 -# Saved by TopBraid on Wed Aug 10 11:12:10 BST 2011 1 +# Saved by TopBraid on Sat Aug 13 16:51:24 BST 2011
2 # baseURI: http://www.reportinghub.no/ep/transform/1.1/wellAndWellBoreAlias 2 # baseURI: http://www.reportinghub.no/ep/transform/1.1/wellAndWellBoreAlias
3 # imports: http://www.reportinghub.no/ep/spin/1.1/lib 3 # imports: http://www.reportinghub.no/ep/spin/1.1/lib
4 # imports: http://www.reportinghub.no/ep/schema/1.0/ddr 4 # imports: http://www.reportinghub.no/ep/schema/1.0/ddr
...@@ -13,6 +13,7 @@ ...@@ -13,6 +13,7 @@
13 @prefix smf: <http://topbraid.org/sparqlmotionfunctions#> . 13 @prefix smf: <http://topbraid.org/sparqlmotionfunctions#> .
14 @prefix sp: <http://spinrdf.org/sp#> . 14 @prefix sp: <http://spinrdf.org/sp#> .
15 @prefix spin: <http://spinrdf.org/spin#> . 15 @prefix spin: <http://spinrdf.org/spin#> .
16 +@prefix spinmap: <http://spinrdf.org/spinmap#> .
16 @prefix spl: <http://spinrdf.org/spl#> . 17 @prefix spl: <http://spinrdf.org/spl#> .
17 @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . 18 @prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
18 19
...@@ -118,6 +119,14 @@ ...@@ -118,6 +119,14 @@
118 owl:imports <http://www.reportinghub.no/ep/schema/1.0/ddr> , <http://spinrdf.org/spin> , <http://www.reportinghub.no/ep/spin/1.1/lib> ; 119 owl:imports <http://www.reportinghub.no/ep/schema/1.0/ddr> , <http://spinrdf.org/spin> , <http://www.reportinghub.no/ep/spin/1.1/lib> ;
119 owl:versionInfo "Created with TopBraid Composer"^^xsd:string . 120 owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
120 121
122 +[] rdf:type sp:Modify .
123 +
124 +[] rdf:type fn:starts-with .
125 +
126 +[] rdf:type smf:trim .
127 +
128 +[] rdf:type smf:regex .
129 +
121 _:b14 130 _:b14
122 sp:varName "nameWellBore"^^xsd:string . 131 sp:varName "nameWellBore"^^xsd:string .
123 132
...@@ -166,18 +175,10 @@ _:b10 ...@@ -166,18 +175,10 @@ _:b10
166 175
167 _:b2 sp:varName "labelOfSystem"^^xsd:string . 176 _:b2 sp:varName "labelOfSystem"^^xsd:string .
168 177
169 -[] rdf:type smf:regex .
170 -
171 -[] rdf:type smf:trim .
172 -
173 -[] rdf:type fn:starts-with .
174 -
175 -[] rdf:type sp:Modify .
176 -
177 -([]) .
178 -
179 ([]) . 178 ([]) .
180 179
181 ([] [] [ rdf:type sp:Filter 180 ([] [] [ rdf:type sp:Filter
182 ] [ rdf:type sp:Bind 181 ] [ rdf:type sp:Bind
183 ]) . 182 ]) .
183 +
184 +([]) .
......
...@@ -52,6 +52,148 @@ ...@@ -52,6 +52,148 @@
52 <witsml:fixedRig>true</witsml:fixedRig> 52 <witsml:fixedRig>true</witsml:fixedRig>
53 <witsml:hpht>false</witsml:hpht> 53 <witsml:hpht>false</witsml:hpht>
54 <witsml:tightWell>false</witsml:tightWell> 54 <witsml:tightWell>false</witsml:tightWell>
55 + <witsml:sum24Hr>Circulate and condition hole at 6154m. Resume drilling 8-1/2&quot; production hole section from 6154m to 6162m. Continue to circulate and condition hole to remove cuttings from hole and attempt to reduce loss rate. Resume drilling 8-1/2&quot; production hole section from 6162m to 6292m. Losses ranging from 6 m3/hr to 19 m3/hr while drilling and circulating.</witsml:sum24Hr>
56 + <witsml:forecast24Hr>Continue to drill 8-1/2&quot; production hole section to TD. Circulate and condition hole.</witsml:forecast24Hr>
55 </witsml:statusInfo> 57 </witsml:statusInfo>
58 + <witsml:activity>
59 + <witsml:dTimStart>2011-04-05T06:00:00.001Z</witsml:dTimStart>
60 + <witsml:dTimEnd>2011-04-05T06:15:00.001Z</witsml:dTimEnd>
61 + <witsml:md uom="m">6154</witsml:md>
62 + <witsml:tvd uom="m">1799.94758440832</witsml:tvd>
63 + <witsml:phase>fixed</witsml:phase>
64 + <witsml:proprietaryCode>drilling -- circulating conditioning</witsml:proprietaryCode>
65 + <witsml:state>ok</witsml:state>
66 + <witsml:stateDetailActivity>success</witsml:stateDetailActivity>
67 + <witsml:comments>Continue to circulate and condition mud after hole attempting to pack off. Pump 1600 lpm / 177-185 bar, 150 RPM. Loss rate reduced to 15 m3/hr.
68 +
69 +ECD: 1,53 - 1,56 sg.
70 +
71 +Cuttings weight:
72 +0600hrs - 8kg/min (150 RPM, 1600 lpm)</witsml:comments>
73 + </witsml:activity>
74 + <witsml:activity>
75 + <witsml:dTimStart>2011-04-05T06:15:00.001Z</witsml:dTimStart>
76 + <witsml:dTimEnd>2011-04-05T08:30:00.001Z</witsml:dTimEnd>
77 + <witsml:mdHoleStart uom="m">6000</witsml:mdHoleStart>
78 + <witsml:md uom="m">6162</witsml:md>
79 + <witsml:tvd uom="m">1799.94559164957</witsml:tvd>
80 + <witsml:phase>fixed</witsml:phase>
81 + <witsml:proprietaryCode>drilling -- drill</witsml:proprietaryCode>
82 + <witsml:state>ok</witsml:state>
83 + <witsml:stateDetailActivity>success</witsml:stateDetailActivity>
84 + <witsml:comments>Continue drilling 8-1/2" production hole section. Reduce RPM to 80 and increase pump rate to 1850 lpm to send downlink. Resume drilling f/ 6154m to 6162m. 1600 lpm, 180 bar, 31-33 kNm drilling torque, 3-4 ton WOB. Losses while drilling from 8 m3/hr to 12,2m3/hr
85 +
86 +ECD: 1,50-1,55 sg
87 +
88 +Cuttings weight
89 +0700hrs - 6 kg/min
90 +0800hrs - 6 kg/min</witsml:comments>
91 + </witsml:activity>
92 + <witsml:activity>
93 + <witsml:dTimStart>2011-04-05T08:30:00.001Z</witsml:dTimStart>
94 + <witsml:dTimEnd>2011-04-05T14:15:00.001Z</witsml:dTimEnd>
95 + <witsml:md uom="m">6162</witsml:md>
96 + <witsml:tvd uom="m">1799.94559164957</witsml:tvd>
97 + <witsml:phase>fixed</witsml:phase>
98 + <witsml:proprietaryCode>drilling -- circulating conditioning</witsml:proprietaryCode>
99 + <witsml:state>ok</witsml:state>
100 + <witsml:stateDetailActivity>success</witsml:stateDetailActivity>
101 + <witsml:comments>Circulate and condtion hole to remove cuttings and attempt to heal loss rate. Pump 1600 lpm, 180 bar, 150 RPM. Step up pump rate from 1600 lpm to 1850 lpm in 50 lpm incriments. Observed stabile losses of 16-17 m3/hr while circulating. Reduced RPMs to 130 while stepping up flow rates to maintain stable losses. Continue circulating hole clean with 1800 lpm, 212 bar, 130 RPM, 30 kNm torque. Record string weights while circulating. 130 ton Up weight (145 ton peak), 60 ton Down weight (45 ton peak), 87 ton Rotating weight.
102 +
103 +Losses between 9 m3/hr to 23 m3/hr
104 +
105 +ECD: 1,54 to 1,57 sg
106 +
107 +Cuttings weight:
108 +0900hrs - 6 kg/min
109 +1030hrs - 6 kg/min
110 +1100hrs - 6 kg/min
111 +1200hrs - 6 kg/min
112 +1320hrs - 5,5 kg/min
113 +1400hrs - 3 kg/min</witsml:comments>
114 + </witsml:activity>
115 + <witsml:activity>
116 + <witsml:dTimStart>2011-04-05T14:15:00.001Z</witsml:dTimStart>
117 + <witsml:dTimEnd>2011-04-05T15:00:00.001Z</witsml:dTimEnd>
118 + <witsml:md uom="m">6169</witsml:md>
119 + <witsml:tvd uom="m">1799.94641821816</witsml:tvd>
120 + <witsml:phase>fixed</witsml:phase>
121 + <witsml:proprietaryCode>drilling -- drill</witsml:proprietaryCode>
122 + <witsml:state>ok</witsml:state>
123 + <witsml:stateDetailActivity>success</witsml:stateDetailActivity>
124 + <witsml:comments>Continue drilling 8-1/2" production hole section from 6162m to 6169m. 1700 lpm, 194 bar, 31-33 kNm drilling torque, 2-3 ton WOB. Lossrate 9 m3/hr to 12 m3/hr
125 +
126 +ECD: 1,54 sg
127 +
128 +Cuttings weight
129 +1500hrs - 3,5 kg/min
130 +
131 +
132 +Sand Zones:
133 +</witsml:comments>
134 + </witsml:activity>
135 + <witsml:activity>
136 + <witsml:dTimStart>2011-04-05T15:00:00.001Z</witsml:dTimStart>
137 + <witsml:dTimEnd>2011-04-05T15:15:00.001Z</witsml:dTimEnd>
138 + <witsml:md uom="m">6169</witsml:md>
139 + <witsml:tvd uom="m">1799.94641821816</witsml:tvd>
140 + <witsml:phase>fixed</witsml:phase>
141 + <witsml:proprietaryCode>interruption -- maintain</witsml:proprietaryCode>
142 + <witsml:state>ok</witsml:state>
143 + <witsml:stateDetailActivity>success</witsml:stateDetailActivity>
144 + <witsml:comments>Grease wash pipe.</witsml:comments>
145 + </witsml:activity>
146 + <witsml:activity>
147 + <witsml:dTimStart>2011-04-05T15:15:00.001Z</witsml:dTimStart>
148 + <witsml:dTimEnd>2011-04-06T06:00:00.001Z</witsml:dTimEnd>
149 + <witsml:md uom="m">6292</witsml:md>
150 + <witsml:phase>fixed</witsml:phase>
151 + <witsml:proprietaryCode>drilling -- drill</witsml:proprietaryCode>
152 + <witsml:state>ok</witsml:state>
153 + <witsml:stateDetailActivity>success</witsml:stateDetailActivity>
154 + <witsml:comments>Continue drilling 8-1/2" production hole section from 6169m to 6292m. Drill with 1800-1850 lpm, 210-218 bar, 150 RPM, 33-34 kNm torque. Losses increasing while drilling from 6 m3/hr to 18m3/hr.
155 +
156 +Losses:
157 +6169m - 6230m = 6 m3/hr to 9m3/hr
158 + ECD = 1,56 to 1,59 sg
159 +6230m - 6281m = 9,3 m3/hr to 14,7 m3/hr
160 + ECD = 1,56 to 1,59 sg
161 +6284m - 6292m = 15m3/hr to 17,9 m3/hr
162 + ECD = 1,55 to 1,56 sg
163 +
164 +Cuttings weight
165 +1600hrs - 5 kg/min
166 +1700hrs - 7,5 kg/min
167 +1800hrs - 16,5 kg/min
168 +1900hrs - 13 kg/min
169 +2000hrs - 19 kg/min
170 +2100hrs - 12 kg/min
171 +2200hrs - 9 kg/min
172 +2300hrs - 9 kg/min
173 +0000hrs - 2 kg/min
174 +0100hrs - 3 kg/min
175 +0200hrs - 3 kg/min
176 +0300hrs - 2 kg/min
177 +0400hrs - 2 kg/min
178 +0500hrs - 3 kg/min
179 +0600hrs -
180 +
181 +
182 +Sand Zones:
183 +6195m - 6196,4m
184 +6202m - 6204,5m
185 +6215m - 6224,5m
186 +6226,5m - 6235,5m
187 +6238m - 6248,7m
188 +6250m - 6254m
189 +6255,4m - 6264m
190 +6266m - 6269,5m
191 +6272,5m - 6274m
192 +6275m - 6276m
193 +6277m - 6280m
194 +
195 +
196 +0,08m above, 1,29m to the right of plan.</witsml:comments>
197 + </witsml:activity>
56 </witsml:drillReport> 198 </witsml:drillReport>
57 </witsml:drillReports> 199 </witsml:drillReports>
...\ No newline at end of file ...\ No newline at end of file
......