David Price

Transforms updated to new DDR proxy ontology source

1 -# Saved by TopBraid on Tue Aug 23 17:39:50 BST 2011 1 +# Saved by TopBraid on Sun Sep 11 10:02:31 BST 2011
2 # baseURI: http://www.reportinghub.no/ep/transform/1.1/ddr/activity 2 # baseURI: http://www.reportinghub.no/ep/transform/1.1/ddr/activity
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/spin/1.1/lib 4 # imports: http://www.reportinghub.no/ep/spin/1.1/lib
5 +# imports: http://www.witsml.org/schemas/1series
5 # imports: http://www.reportinghub.no/ep/schema/1.0/core 6 # 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/well
7 # imports: http://www.reportinghub.no/ep/schema/1.0/equipment 8 # imports: http://www.reportinghub.no/ep/schema/1.0/equipment
8 # imports: http://www.reportinghub.no/ep/schema/1.0/activity-purpose 9 # imports: http://www.reportinghub.no/ep/schema/1.0/activity-purpose
9 # imports: http://www.reportinghub.no/ep/schema/1.0/activity 10 # imports: http://www.reportinghub.no/ep/schema/1.0/activity
10 -# imports: http://www.reportinghub.no/ep/transform/1.1/ddr
11 -# imports: http://www.reportinghub.no/ep/schema/1.0/ddr
12 # imports: http://spinrdf.org/spin 11 # imports: http://spinrdf.org/spin
13 12
14 @prefix : <http://www.reportinghub.no/ep/transform/1.1/ddr/activity#> . 13 @prefix : <http://www.reportinghub.no/ep/transform/1.1/ddr/activity#> .
14 +@prefix afn: <http://jena.hpl.hp.com/ARQ/function#> .
15 @prefix arg: <http://spinrdf.org/arg#> . 15 @prefix arg: <http://spinrdf.org/arg#> .
16 -@prefix bindEP-NativeOWL: <http://www.reportinghub.no/iso15926/bindEP-NativeOWL#> . 16 +@prefix ddr: <http://www.witsml.org/schemas/1series#> .
17 -@prefix ddr-normalization: <http://www.reportinghub.no/ep/transform/ddr/normalization#> .
18 -@prefix ddr-normalization-1.1: <http://www.reportinghub.no/ep/transform/1.1/ddr/normalization#> .
19 @prefix ep-spin-lib: <http://www.reportinghub.no/ep/spin/lib#> . 17 @prefix ep-spin-lib: <http://www.reportinghub.no/ep/spin/lib#> .
20 -@prefix iso15926: <http://www.reportinghub.no/iso15926/nativeOWL#> .
21 -@prefix normalization: <http://www.reportinghub.no/ep/transform/normalization#> .
22 @prefix owl: <http://www.w3.org/2002/07/owl#> . 18 @prefix owl: <http://www.w3.org/2002/07/owl#> .
23 @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . 19 @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
24 @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . 20 @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
...@@ -28,99 +24,116 @@ ...@@ -28,99 +24,116 @@
28 @prefix spl: <http://spinrdf.org/spl#> . 24 @prefix spl: <http://spinrdf.org/spl#> .
29 @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . 25 @prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
30 26
31 -<http://www.reportinghub.no/ep/schema/ddr#Obj_drillReport> 27 +<http://www.reportinghub.no/ep/transform/1.1/ddr/activity>
28 + rdf:type owl:Ontology ;
29 + 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/report> , <http://www.reportinghub.no/ep/schema/1.0/equipment> , <http://www.witsml.org/schemas/1series> , <http://www.reportinghub.no/ep/schema/1.0/core> ;
30 + owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
31 +
32 +ddr:Obj_drillReport
32 spin:rule 33 spin:rule
33 [ rdf:type sp:Construct ; 34 [ rdf:type sp:Construct ;
34 - rdfs:comment "STEP 130 Transfer proprietaryCode and phase"^^xsd:string ; 35 + rdfs:comment "STEP 131 Transfer mdHoleStart"^^xsd:string ;
35 sp:templates ([ sp:object _:b1 ; 36 sp:templates ([ sp:object _:b1 ;
36 - sp:predicate rdf:type ; 37 + sp:predicate <http://www.reportinghub.no/ep/schema/well#initialBottomHoleMeasuredDepth> ;
37 sp:subject _:b2 38 sp:subject _:b2
38 - ] [ sp:object _:b3 ; 39 + ] [ sp:object <http://www.reportinghub.no/ep/schema/core#Length> ;
39 sp:predicate rdf:type ; 40 sp:predicate rdf:type ;
40 - sp:subject _:b2 41 + sp:subject _:b1
42 + ] [ sp:object _:b3 ;
43 + sp:predicate _:b4 ;
44 + sp:subject _:b1
41 ]) ; 45 ]) ;
42 - sp:where ([ sp:object _:b4 ; 46 + sp:where ([ sp:object _:b5 ;
43 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWellbore> ; 47 + sp:predicate ddr:nameWellbore ;
44 - sp:subject spin:_this
45 - ] [ sp:object _:b5 ;
46 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#activity> ;
47 sp:subject spin:_this 48 sp:subject spin:_this
48 ] [ sp:object _:b6 ; 49 ] [ sp:object _:b6 ;
49 - sp:predicate <http://www.topbraid.org/2007/05/composite.owl#index> ; 50 + sp:predicate ddr:activityRef ;
50 - sp:subject _:b5 51 + sp:subject spin:_this
51 ] [ sp:object _:b7 ; 52 ] [ sp:object _:b7 ;
52 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ; 53 + sp:predicate ddr:dTimStart ;
53 - sp:subject _:b5 54 + sp:subject _:b6
54 - ] [ rdf:type sp:Optional ; 55 + ] [ sp:object _:b8 ;
55 - sp:elements ([ sp:object _:b8 ; 56 + sp:predicate ddr:dTimEnd ;
56 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#enumProprietaryCode> ; 57 + sp:subject _:b6
57 - sp:subject _:b5
58 ] [ sp:object _:b9 ; 58 ] [ sp:object _:b9 ;
59 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#enumPhase> ; 59 + sp:predicate ddr:mdHoleStartRef ;
60 - sp:subject _:b5 60 + sp:subject _:b6
61 - ]) 61 + ] [ sp:object _:b3 ;
62 + sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
63 + sp:subject _:b9
64 + ] [ sp:object _:b10 ;
65 + sp:predicate ddr:uomRef ;
66 + sp:subject _:b9
67 + ] [ sp:object _:b2 ;
68 + sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWellBore> ;
69 + sp:subject
70 + [ sp:varName "partActivity"^^xsd:string
71 + ]
62 ] [ rdf:type sp:Bind ; 72 ] [ rdf:type sp:Bind ;
63 sp:expression 73 sp:expression
64 [ rdf:type ep-spin-lib:normalizeString ; 74 [ rdf:type ep-spin-lib:normalizeString ;
65 - sp:arg1 _:b4 75 + sp:arg1 _:b5
66 ] ; 76 ] ;
67 - sp:variable _:b10 77 + sp:variable _:b11
68 ] [ rdf:type sp:Bind ; 78 ] [ rdf:type sp:Bind ;
69 sp:expression 79 sp:expression
70 - [ rdf:type ep-spin-lib:buildPartActivityURI ; 80 + [ rdf:type ep-spin-lib:buildTemporalPartOfAWellBoreURI ;
71 - sp:arg1 _:b10 ; 81 + sp:arg1 _:b11 ;
72 sp:arg2 _:b7 ; 82 sp:arg2 _:b7 ;
73 - sp:arg3 _:b6 83 + sp:arg3 _:b8
74 ] ; 84 ] ;
75 sp:variable _:b2 85 sp:variable _:b2
76 ] [ rdf:type sp:Bind ; 86 ] [ rdf:type sp:Bind ;
77 sp:expression 87 sp:expression
78 - [ rdf:type ep-spin-lib:selectDrillingActivityPurposeType ; 88 + [ rdf:type ep-spin-lib:selectLengthScale ;
79 - sp:arg1 _:b8 89 + sp:arg1 _:b10
80 ] ; 90 ] ;
81 - sp:variable _:b1 91 + sp:variable _:b4
82 - ] [ rdf:type sp:Bind ;
83 - sp:expression
84 - [ rdf:type ep-spin-lib:selectDrillingActivityTypeAccordingToEquipmentType ;
85 - sp:arg1 _:b9
86 - ] ;
87 - sp:variable _:b3
88 ]) 92 ])
89 ] ; 93 ] ;
90 spin:rule 94 spin:rule
91 [ rdf:type sp:Construct ; 95 [ rdf:type sp:Construct ;
92 - rdfs:comment "STEP 134 Transfer comments"^^xsd:string ; 96 + rdfs:comment "STEP 133 Transfer stateDetailActivity"^^xsd:string ;
93 - sp:templates ([ sp:object _:b11 ; 97 + sp:templates ([ sp:object _:b12 ;
94 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#comments> ; 98 + sp:predicate rdf:type ;
95 - sp:subject _:b12 99 + sp:subject _:b13
96 ]) ; 100 ]) ;
97 - sp:where ([ sp:object _:b13 ; 101 + sp:where ([ sp:object _:b14 ;
98 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWellbore> ; 102 + sp:predicate ddr:nameWellbore ;
99 - sp:subject spin:_this
100 - ] [ sp:object _:b14 ;
101 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#activity> ;
102 sp:subject spin:_this 103 sp:subject spin:_this
103 ] [ sp:object _:b15 ; 104 ] [ sp:object _:b15 ;
104 - sp:predicate <http://www.topbraid.org/2007/05/composite.owl#index> ; 105 + sp:predicate ddr:dTimStart ;
105 - sp:subject _:b14 106 + sp:subject spin:_this
106 ] [ sp:object _:b16 ; 107 ] [ sp:object _:b16 ;
107 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ; 108 + sp:predicate ddr:activityRef ;
108 - sp:subject _:b14 109 + sp:subject spin:_this
109 - ] [ sp:object _:b11 ; 110 + ] [ sp:object _:b17 ;
110 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#comments> ; 111 + sp:predicate ddr:stateDetailActivityRef ;
111 - sp:subject _:b14 112 + sp:subject _:b16
112 ] [ rdf:type sp:Bind ; 113 ] [ rdf:type sp:Bind ;
113 sp:expression 114 sp:expression
114 [ rdf:type ep-spin-lib:normalizeString ; 115 [ rdf:type ep-spin-lib:normalizeString ;
115 - sp:arg1 _:b13 116 + sp:arg1 _:b14
116 ] ; 117 ] ;
117 - sp:variable _:b17 118 + sp:variable _:b18
119 + ] [ rdf:type sp:Bind ;
120 + sp:expression
121 + [ rdf:type afn:localname ;
122 + sp:arg1 _:b16
123 + ] ;
124 + sp:variable _:b19
118 ] [ rdf:type sp:Bind ; 125 ] [ rdf:type sp:Bind ;
119 sp:expression 126 sp:expression
120 [ rdf:type ep-spin-lib:buildPartActivityURI ; 127 [ rdf:type ep-spin-lib:buildPartActivityURI ;
121 - sp:arg1 _:b17 ; 128 + sp:arg1 _:b18 ;
122 - sp:arg2 _:b16 ; 129 + sp:arg2 _:b15 ;
123 - sp:arg3 _:b15 130 + sp:arg3 _:b19
131 + ] ;
132 + sp:variable _:b13
133 + ] [ rdf:type sp:Bind ;
134 + sp:expression
135 + [ rdf:type ep-spin-lib:selectDrillingActivityOutcomeType ;
136 + sp:arg1 _:b17
124 ] ; 137 ] ;
125 sp:variable _:b12 138 sp:variable _:b12
126 ]) 139 ])
...@@ -130,671 +143,517 @@ ...@@ -130,671 +143,517 @@
130 rdfs:comment "STEP 127 Create part activity and temporal part of WellBore"^^xsd:string ; 143 rdfs:comment "STEP 127 Create part activity and temporal part of WellBore"^^xsd:string ;
131 sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/activity#DrillingActivity> ; 144 sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/activity#DrillingActivity> ;
132 sp:predicate rdf:type ; 145 sp:predicate rdf:type ;
133 - sp:subject _:b18 146 + sp:subject _:b20
134 - ] [ sp:object _:b18 ;
135 - sp:predicate <http://www.reportinghub.no/ep/schema/core#hasPart> ;
136 - sp:subject _:b19
137 ] [ sp:object _:b20 ; 147 ] [ sp:object _:b20 ;
138 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ; 148 + sp:predicate <http://www.reportinghub.no/ep/schema/core#hasPart> ;
139 - sp:subject _:b18 149 + sp:subject _:b21
140 - ] [ sp:object _:b21 ; 150 + ] [ sp:object _:b22 ;
141 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimEnd> ; 151 + sp:predicate <http://www.reportinghub.no/ep/schema/activity#startedAt> ;
142 - sp:subject _:b18 152 + sp:subject _:b20
143 - ] [ sp:object <http://www.reportinghub.no/ep/schema/well#TemporalPartOfAWellBore> ;
144 - sp:predicate rdf:type ;
145 - sp:subject _:b22
146 ] [ sp:object _:b23 ; 153 ] [ sp:object _:b23 ;
154 + sp:predicate <http://www.reportinghub.no/ep/schema/activity#finishedAt> ;
155 + sp:subject _:b20
156 + ] [ sp:object <http://www.reportinghub.no/ep/schema/well#WellBore> ;
157 + sp:predicate rdf:type ;
158 + sp:subject _:b24
159 + ] [ sp:object _:b25 ;
147 sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ; 160 sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
148 - sp:subject _:b22 161 + sp:subject _:b24
149 - ] [ sp:object _:b22 ; 162 + ] [ sp:object _:b24 ;
150 sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWellBore> ; 163 sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWellBore> ;
151 - sp:subject _:b18 164 + sp:subject _:b20
165 + ] [ sp:object _:b26 ;
166 + sp:predicate rdfs:comment ;
167 + sp:subject _:b20
152 ]) ; 168 ]) ;
153 - sp:where ([ sp:object _:b24 ; 169 + sp:where ([ sp:object _:b27 ;
154 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWellbore> ; 170 + sp:predicate ddr:nameWellbore ;
155 sp:subject spin:_this 171 sp:subject spin:_this
156 - ] [ sp:object _:b25 ; 172 + ] [ sp:object _:b28 ;
157 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ; 173 + sp:predicate ddr:dTimStart ;
158 sp:subject spin:_this 174 sp:subject spin:_this
159 - ] [ sp:object _:b26 ; 175 + ] [ sp:object _:b29 ;
160 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#activity> ; 176 + sp:predicate ddr:activityRef ;
161 sp:subject spin:_this 177 sp:subject spin:_this
162 - ] [ sp:object _:b27 ; 178 + ] [ rdf:type sp:Optional ;
163 - sp:predicate <http://www.topbraid.org/2007/05/composite.owl#index> ; 179 + sp:elements ([ sp:object _:b26 ;
164 - sp:subject _:b26 180 + sp:predicate ddr:comments ;
165 - ] [ sp:object _:b20 ; 181 + sp:subject _:b29
166 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ; 182 + ])
167 - sp:subject _:b26 183 + ] [ sp:object _:b22 ;
168 - ] [ sp:object _:b21 ; 184 + sp:predicate ddr:dTimStart ;
169 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimEnd> ; 185 + sp:subject _:b29
170 - sp:subject _:b26 186 + ] [ sp:object _:b23 ;
187 + sp:predicate ddr:dTimEnd ;
188 + sp:subject _:b29
171 ] [ rdf:type sp:Bind ; 189 ] [ rdf:type sp:Bind ;
172 sp:expression 190 sp:expression
173 [ rdf:type ep-spin-lib:normalizeString ; 191 [ rdf:type ep-spin-lib:normalizeString ;
174 - sp:arg1 _:b24 192 + sp:arg1 _:b27
193 + ] ;
194 + sp:variable _:b30
195 + ] [ rdf:type sp:Bind ;
196 + sp:expression
197 + [ rdf:type afn:localname ;
198 + sp:arg1 _:b29
175 ] ; 199 ] ;
176 - sp:variable _:b28 200 + sp:variable _:b31
177 ] [ rdf:type sp:Bind ; 201 ] [ rdf:type sp:Bind ;
178 sp:expression 202 sp:expression
179 [ rdf:type ep-spin-lib:buildPartActivityURI ; 203 [ rdf:type ep-spin-lib:buildPartActivityURI ;
180 - sp:arg1 _:b28 ; 204 + sp:arg1 _:b30 ;
181 - sp:arg2 _:b20 ; 205 + sp:arg2 _:b28 ;
182 - sp:arg3 _:b27 206 + sp:arg3 _:b31
183 ] ; 207 ] ;
184 - sp:variable _:b18 208 + sp:variable _:b20
185 ] [ rdf:type sp:Bind ; 209 ] [ rdf:type sp:Bind ;
186 sp:expression 210 sp:expression
187 [ rdf:type rhspin:wellBoreByName ; 211 [ rdf:type rhspin:wellBoreByName ;
188 - arg:wellBoreName _:b24 212 + arg:wellBoreName _:b27
189 ] ; 213 ] ;
190 - sp:variable _:b23 214 + sp:variable _:b25
191 ] [ rdf:type sp:Bind ; 215 ] [ rdf:type sp:Bind ;
192 sp:expression 216 sp:expression
193 [ rdf:type ep-spin-lib:buildDailyDrillingActivityURI ; 217 [ rdf:type ep-spin-lib:buildDailyDrillingActivityURI ;
194 - sp:arg1 _:b28 ; 218 + sp:arg1 _:b30 ;
195 - sp:arg2 _:b25 219 + sp:arg2 _:b28
196 ] ; 220 ] ;
197 - sp:variable _:b19 221 + sp:variable _:b21
198 ] [ rdf:type sp:Bind ; 222 ] [ rdf:type sp:Bind ;
199 sp:expression 223 sp:expression
200 [ rdf:type ep-spin-lib:buildTemporalPartOfAWellBoreURI ; 224 [ rdf:type ep-spin-lib:buildTemporalPartOfAWellBoreURI ;
201 - sp:arg1 _:b28 ; 225 + sp:arg1 _:b30 ;
202 - sp:arg2 _:b20 ; 226 + sp:arg2 _:b22 ;
203 - sp:arg3 _:b21 227 + sp:arg3 _:b23
204 ] ; 228 ] ;
205 - sp:variable _:b22 229 + sp:variable _:b24
206 ]) 230 ])
207 ] ; 231 ] ;
208 spin:rule 232 spin:rule
209 [ rdf:type sp:Construct ; 233 [ rdf:type sp:Construct ;
210 - rdfs:comment "STEP 128 Transfer md"^^xsd:string ; 234 + rdfs:comment "STEP 129 Transfer tvd"^^xsd:string ;
211 - sp:templates ([ sp:object _:b29 ; 235 + sp:templates ([ sp:object _:b32 ;
212 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#md> ; 236 + sp:predicate <http://www.reportinghub.no/ep/schema/well#finalBottomHoleTrueVerticalDepth> ;
213 - sp:subject _:b30 237 + sp:subject _:b33
214 - ]) ; 238 + ] [ sp:object <http://www.reportinghub.no/ep/schema/core#Length> ;
215 - sp:where ([ sp:object _:b31 ; 239 + sp:predicate rdf:type ;
216 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWellbore> ;
217 - sp:subject spin:_this
218 - ] [ sp:object _:b32 ;
219 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#activity> ;
220 - sp:subject spin:_this
221 - ] [ sp:object _:b33 ;
222 - sp:predicate <http://www.topbraid.org/2007/05/composite.owl#index> ;
223 sp:subject _:b32 240 sp:subject _:b32
224 ] [ sp:object _:b34 ; 241 ] [ sp:object _:b34 ;
225 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ; 242 + sp:predicate _:b35 ;
226 sp:subject _:b32 243 sp:subject _:b32
227 - ] [ sp:object _:b29 ;
228 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#md> ;
229 - sp:subject _:b32
230 - ] [ sp:object _:b30 ;
231 - sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWellBore> ;
232 - sp:subject _:b35
233 - ] [ rdf:type sp:Bind ;
234 - sp:expression
235 - [ rdf:type ep-spin-lib:normalizeString ;
236 - sp:arg1 _:b31
237 - ] ;
238 - sp:variable _:b36
239 - ] [ rdf:type sp:Bind ;
240 - sp:expression
241 - [ rdf:type ep-spin-lib:buildPartActivityURI ;
242 - sp:arg1 _:b36 ;
243 - sp:arg2 _:b34 ;
244 - sp:arg3 _:b33
245 - ] ;
246 - sp:variable _:b35
247 - ])
248 - ] ;
249 - spin:rule
250 - [ rdf:type sp:Construct ;
251 - rdfs:comment "STEP 129 Transfer tvd"^^xsd:string ;
252 - sp:templates ([ sp:object _:b37 ;
253 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#tvd> ;
254 - sp:subject _:b38
255 ]) ; 244 ]) ;
256 - sp:where ([ sp:object _:b39 ; 245 + sp:where ([ sp:object _:b36 ;
257 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWellbore> ; 246 + sp:predicate ddr:nameWellbore ;
258 sp:subject spin:_this 247 sp:subject spin:_this
259 - ] [ sp:object _:b40 ; 248 + ] [ sp:object _:b37 ;
260 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#activity> ; 249 + sp:predicate ddr:activityRef ;
261 sp:subject spin:_this 250 sp:subject spin:_this
262 - ] [ sp:object _:b41 ; 251 + ] [ sp:object _:b38 ;
263 - sp:predicate <http://www.topbraid.org/2007/05/composite.owl#index> ; 252 + sp:predicate ddr:dTimStart ;
264 - sp:subject _:b40 253 + sp:subject _:b37
265 - ] [ sp:object _:b42 ; 254 + ] [ sp:object _:b39 ;
266 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ; 255 + sp:predicate ddr:dTimEnd ;
256 + sp:subject _:b37
257 + ] [ sp:object _:b40 ;
258 + sp:predicate ddr:tvdRef ;
259 + sp:subject _:b37
260 + ] [ sp:object _:b34 ;
261 + sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
267 sp:subject _:b40 262 sp:subject _:b40
268 - ] [ sp:object _:b37 ; 263 + ] [ sp:object _:b41 ;
269 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#tvd> ; 264 + sp:predicate ddr:uomRef ;
270 sp:subject _:b40 265 sp:subject _:b40
271 - ] [ sp:object _:b38 ; 266 + ] [ sp:object _:b33 ;
272 sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWellBore> ; 267 sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWellBore> ;
273 - sp:subject _:b43 268 + sp:subject
269 + [ sp:varName "partActivity"^^xsd:string
270 + ]
274 ] [ rdf:type sp:Bind ; 271 ] [ rdf:type sp:Bind ;
275 sp:expression 272 sp:expression
276 [ rdf:type ep-spin-lib:normalizeString ; 273 [ rdf:type ep-spin-lib:normalizeString ;
277 - sp:arg1 _:b39 274 + sp:arg1 _:b36
278 ] ; 275 ] ;
279 - sp:variable _:b44 276 + sp:variable _:b42
280 ] [ rdf:type sp:Bind ; 277 ] [ rdf:type sp:Bind ;
281 sp:expression 278 sp:expression
282 - [ rdf:type ep-spin-lib:buildPartActivityURI ; 279 + [ rdf:type ep-spin-lib:buildTemporalPartOfAWellBoreURI ;
283 - sp:arg1 _:b44 ; 280 + sp:arg1 _:b42 ;
284 - sp:arg2 _:b42 ; 281 + sp:arg2 _:b38 ;
285 - sp:arg3 _:b41 282 + sp:arg3 _:b39
286 ] ; 283 ] ;
287 - sp:variable _:b43 284 + sp:variable _:b33
285 + ] [ rdf:type sp:Bind ;
286 + sp:expression
287 + [ rdf:type ep-spin-lib:selectLengthScale ;
288 + sp:arg1 _:b41
289 + ] ;
290 + sp:variable _:b35
288 ]) 291 ])
289 ] ; 292 ] ;
290 spin:rule 293 spin:rule
291 [ rdf:type sp:Construct ; 294 [ rdf:type sp:Construct ;
292 - rdfs:comment "STEP 133 Transfer stateDetailActivity"^^xsd:string ; 295 + rdfs:comment "STEP 130 Transfer proprietaryCode and phase"^^xsd:string ;
293 - sp:templates ([ sp:object _:b45 ; 296 + sp:templates ([ sp:object _:b43 ;
297 + sp:predicate rdf:type ;
298 + sp:subject _:b44
299 + ] [ sp:object _:b45 ;
294 sp:predicate rdf:type ; 300 sp:predicate rdf:type ;
295 - sp:subject _:b46 301 + sp:subject _:b44
296 ]) ; 302 ]) ;
297 - sp:where ([ sp:object _:b47 ; 303 + sp:where ([ sp:object _:b46 ;
298 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWellbore> ; 304 + sp:predicate ddr:nameWellbore ;
305 + sp:subject spin:_this
306 + ] [ sp:object _:b47 ;
307 + sp:predicate ddr:dTimStart ;
299 sp:subject spin:_this 308 sp:subject spin:_this
300 ] [ sp:object _:b48 ; 309 ] [ sp:object _:b48 ;
301 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#activity> ; 310 + sp:predicate ddr:activityRef ;
302 sp:subject spin:_this 311 sp:subject spin:_this
303 - ] [ sp:object _:b49 ; 312 + ] [ rdf:type sp:Optional ;
304 - sp:predicate <http://www.topbraid.org/2007/05/composite.owl#index> ; 313 + sp:elements ([ sp:object _:b49 ;
305 - sp:subject _:b48 314 + sp:predicate ddr:proprietaryCodeRef ;
306 - ] [ sp:object _:b50 ;
307 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ;
308 sp:subject _:b48 315 sp:subject _:b48
309 - ] [ sp:object _:b51 ; 316 + ])
310 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#enumStateDetailActivity> ; 317 + ] [ rdf:type sp:Optional ;
318 + sp:elements ([ sp:object _:b50 ;
319 + sp:predicate ddr:phaseRef ;
311 sp:subject _:b48 320 sp:subject _:b48
321 + ])
312 ] [ rdf:type sp:Bind ; 322 ] [ rdf:type sp:Bind ;
313 sp:expression 323 sp:expression
314 [ rdf:type ep-spin-lib:normalizeString ; 324 [ rdf:type ep-spin-lib:normalizeString ;
315 - sp:arg1 _:b47 325 + sp:arg1 _:b46
326 + ] ;
327 + sp:variable _:b51
328 + ] [ rdf:type sp:Bind ;
329 + sp:expression
330 + [ rdf:type afn:localname ;
331 + sp:arg1 _:b48
316 ] ; 332 ] ;
317 sp:variable _:b52 333 sp:variable _:b52
318 ] [ rdf:type sp:Bind ; 334 ] [ rdf:type sp:Bind ;
319 sp:expression 335 sp:expression
320 [ rdf:type ep-spin-lib:buildPartActivityURI ; 336 [ rdf:type ep-spin-lib:buildPartActivityURI ;
321 - sp:arg1 _:b52 ; 337 + sp:arg1 _:b51 ;
322 - sp:arg2 _:b50 ; 338 + sp:arg2 _:b47 ;
323 - sp:arg3 _:b49 339 + sp:arg3 _:b52
324 ] ; 340 ] ;
325 - sp:variable _:b46 341 + sp:variable _:b44
326 ] [ rdf:type sp:Bind ; 342 ] [ rdf:type sp:Bind ;
327 sp:expression 343 sp:expression
328 - [ rdf:type ep-spin-lib:selectDrillingActivityOutcomeType ; 344 + [ rdf:type ep-spin-lib:selectDrillingActivityPurposeType ;
329 - sp:arg1 _:b51 345 + sp:arg1 _:b49
346 + ] ;
347 + sp:variable _:b43
348 + ] [ rdf:type sp:Bind ;
349 + sp:expression
350 + [ rdf:type ep-spin-lib:selectDrillingActivityTypeAccordingToEquipmentType ;
351 + sp:arg1 _:b50
330 ] ; 352 ] ;
331 sp:variable _:b45 353 sp:variable _:b45
332 ]) 354 ])
333 ] ; 355 ] ;
334 spin:rule 356 spin:rule
335 [ rdf:type sp:Construct ; 357 [ rdf:type sp:Construct ;
336 - rdfs:comment "STEP 131 Transfer mdHoleStart"^^xsd:string ; 358 + rdfs:comment "STEP 132 Transfer status"^^xsd:string ;
337 sp:templates ([ sp:object _:b53 ; 359 sp:templates ([ sp:object _:b53 ;
338 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#mdHoleStart> ; 360 + sp:predicate rdf:type ;
339 sp:subject _:b54 361 sp:subject _:b54
340 ]) ; 362 ]) ;
341 sp:where ([ sp:object _:b55 ; 363 sp:where ([ sp:object _:b55 ;
342 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWellbore> ; 364 + sp:predicate ddr:nameWellbore ;
343 sp:subject spin:_this 365 sp:subject spin:_this
344 ] [ sp:object _:b56 ; 366 ] [ sp:object _:b56 ;
345 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#activity> ; 367 + sp:predicate ddr:dTimStart ;
346 sp:subject spin:_this 368 sp:subject spin:_this
347 ] [ sp:object _:b57 ; 369 ] [ sp:object _:b57 ;
348 - sp:predicate <http://www.topbraid.org/2007/05/composite.owl#index> ; 370 + sp:predicate ddr:activityRef ;
349 - sp:subject _:b56 371 + sp:subject spin:_this
350 ] [ sp:object _:b58 ; 372 ] [ sp:object _:b58 ;
351 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ; 373 + sp:predicate ddr:stateRef ;
352 - sp:subject _:b56 374 + sp:subject _:b57
353 - ] [ sp:object _:b53 ;
354 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#mdHoleStart> ;
355 - sp:subject _:b56
356 - ] [ sp:object _:b54 ;
357 - sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWellBore> ;
358 - sp:subject _:b59
359 ] [ rdf:type sp:Bind ; 375 ] [ rdf:type sp:Bind ;
360 sp:expression 376 sp:expression
361 [ rdf:type ep-spin-lib:normalizeString ; 377 [ rdf:type ep-spin-lib:normalizeString ;
362 sp:arg1 _:b55 378 sp:arg1 _:b55
363 ] ; 379 ] ;
364 - sp:variable _:b60
365 - ] [ rdf:type sp:Bind ;
366 - sp:expression
367 - [ rdf:type ep-spin-lib:buildPartActivityURI ;
368 - sp:arg1 _:b60 ;
369 - sp:arg2 _:b58 ;
370 - sp:arg3 _:b57
371 - ] ;
372 sp:variable _:b59 380 sp:variable _:b59
373 - ])
374 - ] ;
375 - spin:rule
376 - [ rdf:type sp:Construct ;
377 - rdfs:comment "STEP 132 Transfer status"^^xsd:string ;
378 - sp:templates ([ sp:object _:b61 ;
379 - sp:predicate rdf:type ;
380 - sp:subject _:b62
381 - ]) ;
382 - sp:where ([ sp:object _:b63 ;
383 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWellbore> ;
384 - sp:subject spin:_this
385 - ] [ sp:object _:b64 ;
386 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#activity> ;
387 - sp:subject spin:_this
388 - ] [ sp:object _:b65 ;
389 - sp:predicate <http://www.topbraid.org/2007/05/composite.owl#index> ;
390 - sp:subject _:b64
391 - ] [ sp:object _:b66 ;
392 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ;
393 - sp:subject _:b64
394 - ] [ sp:object _:b67 ;
395 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#enumState> ;
396 - sp:subject _:b64
397 ] [ rdf:type sp:Bind ; 381 ] [ rdf:type sp:Bind ;
398 sp:expression 382 sp:expression
399 - [ rdf:type ep-spin-lib:normalizeString ; 383 + [ rdf:type afn:localname ;
400 - sp:arg1 _:b63 384 + sp:arg1 _:b57
401 ] ; 385 ] ;
402 - sp:variable _:b68 386 + sp:variable _:b60
403 ] [ rdf:type sp:Bind ; 387 ] [ rdf:type sp:Bind ;
404 sp:expression 388 sp:expression
405 [ rdf:type ep-spin-lib:buildPartActivityURI ; 389 [ rdf:type ep-spin-lib:buildPartActivityURI ;
406 - sp:arg1 _:b68 ; 390 + sp:arg1 _:b59 ;
407 - sp:arg2 _:b66 ; 391 + sp:arg2 _:b56 ;
408 - sp:arg3 _:b65 392 + sp:arg3 _:b60
409 ] ; 393 ] ;
410 - sp:variable _:b62 394 + sp:variable _:b54
411 ] [ rdf:type sp:Bind ; 395 ] [ rdf:type sp:Bind ;
412 sp:expression 396 sp:expression
413 [ rdf:type ep-spin-lib:selectActivitySuccessType ; 397 [ rdf:type ep-spin-lib:selectActivitySuccessType ;
414 - sp:arg1 _:b67 398 + sp:arg1 _:b58
415 ] ; 399 ] ;
416 - sp:variable _:b61 400 + sp:variable _:b53
417 ]) 401 ])
418 ] ; 402 ] ;
419 spin:rule 403 spin:rule
420 [ rdf:type sp:Construct ; 404 [ rdf:type sp:Construct ;
421 - rdfs:comment "STEP 155 Create part activity and temporal part of WellBore"^^xsd:string ; 405 + rdfs:comment "STEP 128 Transfer md"^^xsd:string ;
422 - sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/activity#FluidActivity> ; 406 + sp:templates ([ sp:object _:b61 ;
407 + sp:predicate <http://www.reportinghub.no/ep/schema/well#finalBottomHoleMeasuredDepth> ;
408 + sp:subject _:b62
409 + ] [ sp:object <http://www.reportinghub.no/ep/schema/core#Length> ;
423 sp:predicate rdf:type ; 410 sp:predicate rdf:type ;
424 - sp:subject _:b69 411 + sp:subject _:b61
412 + ] [ sp:object _:b63 ;
413 + sp:predicate _:b64 ;
414 + sp:subject _:b61
415 + ]) ;
416 + sp:where ([ sp:object _:b65 ;
417 + sp:predicate ddr:nameWellbore ;
418 + sp:subject spin:_this
419 + ] [ sp:object _:b66 ;
420 + sp:predicate ddr:activityRef ;
421 + sp:subject spin:_this
422 + ] [ sp:object _:b67 ;
423 + sp:predicate ddr:dTimStart ;
424 + sp:subject _:b66
425 + ] [ sp:object _:b68 ;
426 + sp:predicate ddr:dTimEnd ;
427 + sp:subject _:b66
425 ] [ sp:object _:b69 ; 428 ] [ sp:object _:b69 ;
426 - sp:predicate <http://www.reportinghub.no/ep/schema/core#hasPart> ; 429 + sp:predicate ddr:mdRef ;
427 - sp:subject _:b70 430 + sp:subject _:b66
428 - ] [ sp:object _:b71 ; 431 + ] [ sp:object _:b63 ;
429 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTim> ; 432 + sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
430 - sp:subject _:b69
431 - ] [ sp:object _:b72 ;
432 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#pv> ;
433 - sp:subject _:b69
434 - ] [ sp:object _:b73 ;
435 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#yp> ;
436 - sp:subject _:b69
437 - ] [ sp:object _:b74 ;
438 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#tvd> ;
439 - sp:subject _:b69
440 - ] [ sp:object _:b75 ;
441 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#md> ;
442 - sp:subject _:b69
443 - ] [ sp:object _:b76 ;
444 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#MudClass> ;
445 - sp:subject _:b69
446 - ] [ sp:object _:b77 ;
447 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#presBopRating> ;
448 sp:subject _:b69 433 sp:subject _:b69
449 - ] [ sp:object _:b78 ; 434 + ] [ sp:object _:b70 ;
450 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#type> ; 435 + sp:predicate ddr:uomRef ;
451 sp:subject _:b69 436 sp:subject _:b69
452 - ] [ sp:object _:b79 ; 437 + ] [ sp:object _:b62 ;
453 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#density> ;
454 - sp:subject _:b69
455 - ] [ sp:object <http://www.reportinghub.no/ep/schema/well#TemporalPartOfAWellBore> ;
456 - sp:predicate rdf:type ;
457 - sp:subject _:b80
458 - ] [ sp:object _:b81 ;
459 - sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
460 - sp:subject _:b80
461 - ] [ sp:object _:b80 ;
462 sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWellBore> ; 438 sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWellBore> ;
463 - sp:subject _:b69 439 + sp:subject
464 - ]) ; 440 + [ sp:varName "partActivity"^^xsd:string
465 - sp:where ([ sp:object _:b82 ; 441 + ]
466 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWellbore> ;
467 - sp:subject spin:_this
468 - ] [ sp:object _:b83 ;
469 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ;
470 - sp:subject spin:_this
471 - ] [ sp:object _:b84 ;
472 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#fluid> ;
473 - sp:subject spin:_this
474 - ] [ sp:object _:b85 ;
475 - sp:predicate <http://www.topbraid.org/2007/05/composite.owl#index> ;
476 - sp:subject _:b84
477 - ] [ sp:object _:b71 ;
478 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTim> ;
479 - sp:subject _:b84
480 - ] [ sp:object _:b78 ;
481 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#type> ;
482 - sp:subject _:b84
483 - ] [ sp:object _:b72 ;
484 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#pv> ;
485 - sp:subject _:b84
486 - ] [ sp:object _:b75 ;
487 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#md> ;
488 - sp:subject _:b84
489 - ] [ rdf:type sp:Optional ;
490 - sp:elements ([ sp:object _:b76 ;
491 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#MudClass> ;
492 - sp:subject _:b84
493 - ])
494 - ] [ rdf:type sp:Optional ;
495 - sp:elements ([ sp:object _:b74 ;
496 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#tvd> ;
497 - sp:subject _:b84
498 - ])
499 - ] [ rdf:type sp:Optional ;
500 - sp:elements ([ sp:object _:b73 ;
501 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#yp> ;
502 - sp:subject _:b84
503 - ])
504 - ] [ sp:object _:b79 ;
505 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#density> ;
506 - sp:subject _:b84
507 - ] [ sp:object _:b77 ;
508 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#presBopRating> ;
509 - sp:subject _:b84
510 ] [ rdf:type sp:Bind ; 442 ] [ rdf:type sp:Bind ;
511 sp:expression 443 sp:expression
512 [ rdf:type ep-spin-lib:normalizeString ; 444 [ rdf:type ep-spin-lib:normalizeString ;
513 - sp:arg1 _:b82 445 + sp:arg1 _:b65
514 - ] ;
515 - sp:variable _:b86
516 - ] [ rdf:type sp:Bind ;
517 - sp:expression
518 - [ rdf:type ep-spin-lib:buildPartActivityURI ;
519 - sp:arg1 _:b86 ;
520 - sp:arg2 _:b71 ;
521 - sp:arg3 _:b85
522 ] ; 446 ] ;
523 - sp:variable _:b69 447 + sp:variable _:b71
524 ] [ rdf:type sp:Bind ; 448 ] [ rdf:type sp:Bind ;
525 sp:expression 449 sp:expression
526 - [ rdf:type rhspin:wellBoreByName ; 450 + [ rdf:type ep-spin-lib:buildTemporalPartOfAWellBoreURI ;
527 - arg:wellBoreName _:b82 451 + sp:arg1 _:b71 ;
528 - ] ; 452 + sp:arg2 _:b67 ;
529 - sp:variable _:b81 453 + sp:arg3 _:b68
530 - ] [ rdf:type sp:Bind ;
531 - sp:expression
532 - [ rdf:type ep-spin-lib:buildDailyDrillingActivityURI ;
533 - sp:arg1 _:b86 ;
534 - sp:arg2 _:b83
535 ] ; 454 ] ;
536 - sp:variable _:b70 455 + sp:variable _:b62
537 ] [ rdf:type sp:Bind ; 456 ] [ rdf:type sp:Bind ;
538 sp:expression 457 sp:expression
539 - [ rdf:type ep-spin-lib:buildTemporalPartOfAWellBoreURI ; 458 + [ rdf:type ep-spin-lib:selectLengthScale ;
540 - sp:arg1 _:b86 ; 459 + sp:arg1 _:b70
541 - sp:arg2 _:b71 ;
542 - sp:arg3 _:b71
543 ] ; 460 ] ;
544 - sp:variable _:b80 461 + sp:variable _:b64
545 ]) 462 ])
546 ] . 463 ] .
547 464
548 -<http://www.reportinghub.no/ep/transform/1.1/ddr/activity> 465 +_:b11
549 - rdf:type owl:Ontology ; 466 + sp:varName "normalizedWellBoreName"^^xsd:string .
550 - 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> ;
551 - owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
552 -
553 -_:b69
554 - sp:varName "partActivity"^^xsd:string .
555 467
556 -_:b70 468 +_:b10
557 - sp:varName "dailyDrillingActivity"^^xsd:string . 469 + sp:varName "uom"^^xsd:string .
558 470
559 -_:b71 471 +_:b9 sp:varName "mdHoleStart"^^xsd:string .
560 - sp:varName "dTimStartPart"^^xsd:string .
561 472
562 -_:b72 473 +_:b8 sp:varName "dTimEndPart"^^xsd:string .
563 - sp:varName "pv"^^xsd:string .
564 474
565 -_:b73 475 +_:b7 sp:varName "dTimStartPart"^^xsd:string .
566 - sp:varName "yp"^^xsd:string .
567 476
568 -_:b74 477 +_:b6 sp:varName "activity"^^xsd:string .
569 - sp:varName "tvd"^^xsd:string .
570 478
571 -_:b75 479 +_:b5 sp:varName "nameWellBore"^^xsd:string .
572 - sp:varName "md"^^xsd:string .
573 480
574 -_:b76 481 +_:b4 sp:varName "lengthScale"^^xsd:string .
575 - sp:varName "mud"^^xsd:string .
576 482
577 -_:b77 483 +_:b3 sp:varName "real"^^xsd:string .
578 - sp:varName "presBopRating"^^xsd:string .
579 484
580 -_:b78 485 +_:b2 sp:varName "temporalPartOfAWellBore"^^xsd:string .
581 - sp:varName "type"^^xsd:string .
582 486
583 -_:b79 487 +_:b19
584 - sp:varName "density"^^xsd:string . 488 + sp:varName "localname"^^xsd:string .
585 489
586 -_:b80 490 +_:b18
587 - sp:varName "temporalPartOfAWellBore"^^xsd:string . 491 + sp:varName "normalizedWellBoreName"^^xsd:string .
588 492
589 -_:b81 493 +_:b17
590 - sp:varName "wellBore"^^xsd:string . 494 + sp:varName "stateDetailActivity"^^xsd:string .
591 495
592 -_:b82 496 +_:b16
593 - sp:varName "nameWellBore"^^xsd:string . 497 + sp:varName "activity"^^xsd:string .
594 498
595 -_:b83 499 +_:b15
596 sp:varName "dTimStart"^^xsd:string . 500 sp:varName "dTimStart"^^xsd:string .
597 501
598 -_:b84 502 +_:b14
599 - sp:varName "fluid"^^xsd:string .
600 -
601 -_:b85
602 - sp:varName "index"^^xsd:string .
603 -
604 -_:b86
605 - sp:varName "normalizedWellBoreName"^^xsd:string .
606 -
607 -_:b61
608 - sp:varName "activitySuccessType"^^xsd:string .
609 -
610 -_:b62
611 - sp:varName "partActivity"^^xsd:string .
612 -
613 -_:b63
614 sp:varName "nameWellBore"^^xsd:string . 503 sp:varName "nameWellBore"^^xsd:string .
615 504
616 -_:b64 505 +_:b13
617 - sp:varName "activity"^^xsd:string . 506 + sp:varName "partActivity"^^xsd:string .
618 -
619 -_:b65
620 - sp:varName "index"^^xsd:string .
621 507
622 -_:b66 508 +_:b12
623 - sp:varName "dTimStartPart"^^xsd:string . 509 + sp:varName "drillingActivityOutcomeType"^^xsd:string .
624 510
625 -_:b67 511 +_:b31
626 - sp:varName "state"^^xsd:string . 512 + sp:varName "localname"^^xsd:string .
627 513
628 -_:b68 514 +_:b30
629 sp:varName "normalizedWellBoreName"^^xsd:string . 515 sp:varName "normalizedWellBoreName"^^xsd:string .
630 516
631 -_:b53 517 +_:b29
632 - sp:varName "mdHoleStart"^^xsd:string .
633 -
634 -_:b54
635 - sp:varName "temporalPartOfAWellBore"^^xsd:string .
636 -
637 -_:b55
638 - sp:varName "nameWellBore"^^xsd:string .
639 -
640 -_:b56
641 sp:varName "activity"^^xsd:string . 518 sp:varName "activity"^^xsd:string .
642 519
643 -_:b57 520 +_:b28
644 - sp:varName "index"^^xsd:string . 521 + sp:varName "dTimStart"^^xsd:string .
645 -
646 -_:b58
647 - sp:varName "dTimStartPart"^^xsd:string .
648 522
649 -_:b59 523 +_:b27
650 - sp:varName "partActivity"^^xsd:string . 524 + sp:varName "nameWellBore"^^xsd:string .
651 525
652 -_:b60 526 +_:b26
653 - sp:varName "normalizedWellBoreName"^^xsd:string . 527 + sp:varName "comments"^^xsd:string .
654 528
655 -_:b37 529 +_:b25
656 - sp:varName "tvd"^^xsd:string . 530 + sp:varName "wellBore"^^xsd:string .
657 531
658 -_:b38 532 +_:b24
659 sp:varName "temporalPartOfAWellBore"^^xsd:string . 533 sp:varName "temporalPartOfAWellBore"^^xsd:string .
660 534
661 -_:b39 535 +_:b23
662 - sp:varName "nameWellBore"^^xsd:string . 536 + sp:varName "dTimEndPart"^^xsd:string .
663 -
664 -_:b40
665 - sp:varName "activity"^^xsd:string .
666 -
667 -_:b41
668 - sp:varName "index"^^xsd:string .
669 537
670 -_:b42 538 +_:b22
671 sp:varName "dTimStartPart"^^xsd:string . 539 sp:varName "dTimStartPart"^^xsd:string .
672 540
673 -_:b43 541 +_:b21
542 + sp:varName "dailyDrillingActivity"^^xsd:string .
543 +
544 +_:b20
674 sp:varName "partActivity"^^xsd:string . 545 sp:varName "partActivity"^^xsd:string .
675 546
676 -_:b44 547 +_:b42
677 sp:varName "normalizedWellBoreName"^^xsd:string . 548 sp:varName "normalizedWellBoreName"^^xsd:string .
678 549
679 -_:b29 550 +_:b41
680 - sp:varName "md"^^xsd:string . 551 + sp:varName "uom"^^xsd:string .
681 -
682 -_:b30
683 - sp:varName "temporalPartOfAWellBore"^^xsd:string .
684 -
685 -_:b31
686 - sp:varName "nameWellBore"^^xsd:string .
687 552
688 -_:b32 553 +_:b40
689 - sp:varName "activity"^^xsd:string . 554 + sp:varName "tvd"^^xsd:string .
690 555
691 -_:b33 556 +_:b39
692 - sp:varName "index"^^xsd:string . 557 + sp:varName "dTimEndPart"^^xsd:string .
693 558
694 -_:b34 559 +_:b38
695 sp:varName "dTimStartPart"^^xsd:string . 560 sp:varName "dTimStartPart"^^xsd:string .
696 561
697 -_:b35 562 +_:b37
698 - sp:varName "partActivity"^^xsd:string . 563 + sp:varName "activity"^^xsd:string .
699 564
700 _:b36 565 _:b36
701 - sp:varName "normalizedWellBoreName"^^xsd:string . 566 + sp:varName "nameWellBore"^^xsd:string .
702 -
703 -_:b18
704 - sp:varName "partActivity"^^xsd:string .
705 -
706 -_:b19
707 - sp:varName "dailyDrillingActivity"^^xsd:string .
708 567
709 -_:b20 568 +_:b35
710 - sp:varName "dTimStartPart"^^xsd:string . 569 + sp:varName "lengthScale"^^xsd:string .
711 570
712 -_:b21 571 +_:b34
713 - sp:varName "dTimEndPart"^^xsd:string . 572 + sp:varName "real"^^xsd:string .
714 573
715 -_:b22 574 +_:b33
716 sp:varName "temporalPartOfAWellBore"^^xsd:string . 575 sp:varName "temporalPartOfAWellBore"^^xsd:string .
717 576
718 -_:b23 577 +_:b52
719 - sp:varName "wellBore"^^xsd:string . 578 + sp:varName "localname"^^xsd:string .
720 579
721 -_:b24 580 +_:b51
722 - sp:varName "nameWellBore"^^xsd:string . 581 + sp:varName "normalizedWellBoreName"^^xsd:string .
723 582
724 -_:b25 583 +_:b50
725 - sp:varName "dTimStart"^^xsd:string . 584 + sp:varName "phase"^^xsd:string .
726 585
727 -_:b26 586 +_:b49
587 + sp:varName "proprietaryCode"^^xsd:string .
588 +
589 +_:b48
728 sp:varName "activity"^^xsd:string . 590 sp:varName "activity"^^xsd:string .
729 591
730 -_:b27 592 +_:b47
731 - sp:varName "index"^^xsd:string . 593 + sp:varName "dTimStart"^^xsd:string .
732 594
733 -_:b28 595 +_:b46
734 - sp:varName "normalizedWellBoreName"^^xsd:string . 596 + sp:varName "nameWellBore"^^xsd:string .
735 597
736 -_:b11 598 +_:b45
737 - sp:varName "comments"^^xsd:string . 599 + sp:varName "drillingActivityTypeAccordingToEquipmentType"^^xsd:string .
738 600
739 -_:b12 601 +_:b44
740 sp:varName "partActivity"^^xsd:string . 602 sp:varName "partActivity"^^xsd:string .
741 603
742 -_:b13 604 +_:b43
743 - sp:varName "nameWellBore"^^xsd:string . 605 + sp:varName "drillingActivityPurposeType"^^xsd:string .
744 -
745 -_:b14
746 - sp:varName "activity"^^xsd:string .
747 -
748 -_:b15
749 - sp:varName "index"^^xsd:string .
750 606
751 -_:b16 607 +_:b60
752 - sp:varName "dTimStartPart"^^xsd:string . 608 + sp:varName "localname"^^xsd:string .
753 609
754 -_:b17 610 +_:b59
755 sp:varName "normalizedWellBoreName"^^xsd:string . 611 sp:varName "normalizedWellBoreName"^^xsd:string .
756 612
757 -_:b45 613 +_:b58
758 - sp:varName "drillingActivityOutcomeType"^^xsd:string . 614 + sp:varName "state"^^xsd:string .
759 -
760 -_:b46
761 - sp:varName "partActivity"^^xsd:string .
762 -
763 -_:b47
764 - sp:varName "nameWellBore"^^xsd:string .
765 615
766 -_:b48 616 +_:b57
767 sp:varName "activity"^^xsd:string . 617 sp:varName "activity"^^xsd:string .
768 618
769 -_:b49 619 +_:b56
770 - sp:varName "index"^^xsd:string . 620 + sp:varName "dTimStart"^^xsd:string .
771 621
772 -_:b50 622 +_:b55
773 - sp:varName "dTimStartPart"^^xsd:string . 623 + sp:varName "nameWellBore"^^xsd:string .
774 624
775 -_:b51 625 +_:b54
776 - sp:varName "stateDetailActivity"^^xsd:string . 626 + sp:varName "partActivity"^^xsd:string .
777 627
778 -_:b52 628 +_:b53
779 - sp:varName "normalizedWellBoreName"^^xsd:string . 629 + sp:varName "activitySuccessType"^^xsd:string .
780 630
781 -_:b4 sp:varName "nameWellBore"^^xsd:string . 631 +_:b71
632 + sp:varName "normalizedWellBoreName"^^xsd:string .
782 633
783 -_:b5 sp:varName "activity"^^xsd:string . 634 +_:b70
635 + sp:varName "uom"^^xsd:string .
784 636
785 -_:b6 sp:varName "index"^^xsd:string . 637 +_:b69
638 + sp:varName "md"^^xsd:string .
786 639
787 -_:b7 sp:varName "dTimStartPart"^^xsd:string . 640 +_:b68
641 + sp:varName "dTimEndPart"^^xsd:string .
788 642
789 -_:b8 sp:varName "proprietaryCode"^^xsd:string . 643 +_:b67
644 + sp:varName "dTimStartPart"^^xsd:string .
790 645
791 -_:b9 sp:varName "phase"^^xsd:string . 646 +_:b66
647 + sp:varName "activity"^^xsd:string .
792 648
793 -_:b10 649 +_:b65
794 - sp:varName "normalizedWellBoreName"^^xsd:string . 650 + sp:varName "nameWellBore"^^xsd:string .
795 651
796 -_:b2 sp:varName "partActivity"^^xsd:string . 652 +_:b64
653 + sp:varName "lengthScale"^^xsd:string .
797 654
798 -_:b1 sp:varName "drillingActivityPurposeType"^^xsd:string . 655 +_:b63
656 + sp:varName "real"^^xsd:string .
799 657
800 -_:b3 sp:varName "drillingActivityTypeAccordingToEquipmentType"^^xsd:string . 658 +_:b62
659 + sp:varName "temporalPartOfAWellBore"^^xsd:string .
......
1 -# Saved by TopBraid on Wed Aug 24 15:40:23 BST 2011 1 +# Saved by TopBraid on Wed Sep 14 18:06:22 BST 2011
2 # baseURI: http://www.reportinghub.no/ep/transform/1.1/ddr/casingLinerTubingRun 2 # baseURI: http://www.reportinghub.no/ep/transform/1.1/ddr/casingLinerTubingRun
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/transform/1.1/ddr 4 +# imports: http://www.witsml.org/schemas/1series
5 # imports: http://spinrdf.org/spin 5 # imports: http://spinrdf.org/spin
6 6
7 @prefix : <http://www.reportinghub.no/ep/transform/1.1/ddr/casingLinerTubingRun#> . 7 @prefix : <http://www.reportinghub.no/ep/transform/1.1/ddr/casingLinerTubingRun#> .
8 +@prefix afn: <http://jena.hpl.hp.com/ARQ/function#> .
9 +@prefix ddr: <http://www.witsml.org/schemas/1series#> .
8 @prefix ep-spin-lib: <http://www.reportinghub.no/ep/spin/lib#> . 10 @prefix ep-spin-lib: <http://www.reportinghub.no/ep/spin/lib#> .
9 @prefix owl: <http://www.w3.org/2002/07/owl#> . 11 @prefix owl: <http://www.w3.org/2002/07/owl#> .
10 @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . 12 @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
...@@ -14,7 +16,12 @@ ...@@ -14,7 +16,12 @@
14 @prefix spl: <http://spinrdf.org/spl#> . 16 @prefix spl: <http://spinrdf.org/spl#> .
15 @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . 17 @prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
16 18
17 -<http://www.reportinghub.no/ep/schema/ddr#Obj_drillReport> 19 +<http://www.reportinghub.no/ep/transform/1.1/ddr/casingLinerTubingRun>
20 + rdf:type owl:Ontology ;
21 + owl:imports <http://spinrdf.org/spin> , <http://www.witsml.org/schemas/1series> , <http://www.reportinghub.no/ep/spin/1.1/lib> ;
22 + owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
23 +
24 +ddr:Obj_drillReport
18 spin:rule 25 spin:rule
19 [ rdf:type sp:Construct ; 26 [ rdf:type sp:Construct ;
20 rdfs:comment "STEP 280 Well stimulation"^^xsd:string ; 27 rdfs:comment "STEP 280 Well stimulation"^^xsd:string ;
...@@ -24,12 +31,12 @@ ...@@ -24,12 +31,12 @@
24 ] [ sp:object _:b1 ; 31 ] [ sp:object _:b1 ;
25 sp:predicate <http://www.reportinghub.no/ep/schema/core#hasPart> ; 32 sp:predicate <http://www.reportinghub.no/ep/schema/core#hasPart> ;
26 sp:subject _:b2 33 sp:subject _:b2
27 - ] [ sp:object <http://www.reportinghub.no/ep/schema/well#TemporalPartOfASpatialPartOfAWellBore> ; 34 + ] [ sp:object <http://www.reportinghub.no/ep/schema/well#SpatialPartOfAWellBore> ;
28 sp:predicate rdf:type ; 35 sp:predicate rdf:type ;
29 sp:subject _:b3 36 sp:subject _:b3
30 - ] [ sp:object _:b4 ; 37 + ] [ sp:object _:b3 ;
31 - sp:predicate <http://www.reportinghub.no/ep/schema/core#partOf> ; 38 + sp:predicate <http://www.reportinghub.no/ep/schema/core#hasPart> ;
32 - sp:subject _:b3 39 + sp:subject _:b4
33 ] [ sp:object _:b3 ; 40 ] [ sp:object _:b3 ;
34 sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWellBore> ; 41 sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWellBore> ;
35 sp:subject _:b1 42 sp:subject _:b1
...@@ -40,209 +47,410 @@ ...@@ -40,209 +47,410 @@
40 sp:predicate <http://www.reportinghub.no/ep/schema/activity#finishedAt> ; 47 sp:predicate <http://www.reportinghub.no/ep/schema/activity#finishedAt> ;
41 sp:subject _:b1 48 sp:subject _:b1
42 ] [ sp:object _:b7 ; 49 ] [ sp:object _:b7 ;
43 - sp:predicate <http://www.reportinghub.no/ep/schema/activity#hasCasingLinerTubing> ; 50 + sp:predicate rdfs:comment ;
44 sp:subject _:b1 51 sp:subject _:b1
52 + ] [ sp:object <http://www.reportinghub.no/ep/schema/equipment#Equipment> ;
53 + sp:predicate rdf:type ;
54 + sp:subject _:b3
45 ] [ sp:object _:b8 ; 55 ] [ sp:object _:b8 ;
46 - sp:predicate <http://purl.org/dc/elements/1.1/description> ; 56 + sp:predicate <http://www.reportinghub.no/ep/schema/well#measuredDepthToTheTopOfAPartOfAWellBore> ;
47 - sp:subject _:b1 57 + sp:subject _:b3
48 - ] [ sp:object <http://www.reportinghub.no/ep/schema/equipment#TemporalPartOfEquipment> ; 58 + ] [ sp:object <http://www.reportinghub.no/ep/schema/core#Length> ;
49 sp:predicate rdf:type ; 59 sp:predicate rdf:type ;
50 - sp:subject _:b7 60 + sp:subject _:b8
51 ] [ sp:object _:b9 ; 61 ] [ sp:object _:b9 ;
52 - sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ; 62 + sp:predicate _:b10 ;
53 - sp:subject _:b7 63 + sp:subject _:b8
54 - ] [ sp:object <http://www.reportinghub.no/ep/schema/equipment#CasingLinerTubing> ;
55 - sp:predicate rdf:type ;
56 - sp:subject _:b9
57 - ] [ sp:object _:b10 ;
58 - sp:predicate rdf:type ;
59 - sp:subject _:b9
60 ] [ sp:object _:b11 ; 64 ] [ sp:object _:b11 ;
65 + sp:predicate <http://www.reportinghub.no/ep/schema/well#measuredDepthToTheBottomOfAPartOfAWellBore> ;
66 + sp:subject _:b3
67 + ] [ sp:object <http://www.reportinghub.no/ep/schema/core#Length> ;
61 sp:predicate rdf:type ; 68 sp:predicate rdf:type ;
62 - sp:subject _:b9 69 + sp:subject _:b11
63 ] [ sp:object _:b12 ; 70 ] [ sp:object _:b12 ;
64 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#id> ; 71 + sp:predicate _:b13 ;
65 - sp:subject _:b9 72 + sp:subject _:b11
66 - ] [ sp:object _:b13 ;
67 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#od> ;
68 - sp:subject _:b9
69 ] [ sp:object _:b14 ; 73 ] [ sp:object _:b14 ;
70 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#weight> ; 74 + sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
71 - sp:subject _:b9 75 + sp:subject _:b3
76 + ] [ sp:object <http://www.reportinghub.no/ep/schema/equipment#CasingLinerTubing> ;
77 + sp:predicate rdf:type ;
78 + sp:subject _:b14
72 ] [ sp:object _:b15 ; 79 ] [ sp:object _:b15 ;
73 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#grade> ; 80 + sp:predicate rdf:type ;
74 - sp:subject _:b9 81 + sp:subject _:b14
75 ] [ sp:object _:b16 ; 82 ] [ sp:object _:b16 ;
76 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#connection> ; 83 + sp:predicate rdf:type ;
77 - sp:subject _:b9 84 + sp:subject _:b14
78 ] [ sp:object _:b17 ; 85 ] [ sp:object _:b17 ;
79 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#length> ; 86 + sp:predicate <http://www.reportinghub.no/ep/schema/equipment#insideDiameterOfATubular> ;
80 - sp:subject _:b9 87 + sp:subject _:b14
88 + ] [ sp:object <http://www.reportinghub.no/ep/schema/core#Length> ;
89 + sp:predicate rdf:type ;
90 + sp:subject _:b17
91 + ] [ sp:object _:b18 ;
92 + sp:predicate _:b19 ;
93 + sp:subject _:b17
94 + ] [ sp:object _:b20 ;
95 + sp:predicate <http://www.reportinghub.no/ep/schema/equipment#outsideDiameterOfATubular> ;
96 + sp:subject _:b14
97 + ] [ sp:object <http://www.reportinghub.no/ep/schema/core#Length> ;
98 + sp:predicate rdf:type ;
99 + sp:subject _:b20
100 + ] [ sp:object _:b21 ;
101 + sp:predicate _:b22 ;
102 + sp:subject _:b20
103 + ] [ sp:object _:b23 ;
104 + sp:predicate rdf:type ;
105 + sp:subject _:b14
106 + ] [ sp:object <http://www.reportinghub.no/ep/schema/core#MassPerUnitLength> ;
107 + sp:predicate rdf:type ;
108 + sp:subject _:b23
109 + ] [ sp:object _:b24 ;
110 + sp:predicate _:b25 ;
111 + sp:subject _:b23
112 + ] [ sp:object _:b26 ;
113 + sp:predicate rdf:type ;
114 + sp:subject _:b14
115 + ] [ sp:object <http://www.reportinghub.no/ep/schema/equipment#API_5CT_class> ;
116 + sp:predicate rdf:type ;
117 + sp:subject _:b26
118 + ] [ sp:object _:b27 ;
119 + sp:predicate rdfs:label ;
120 + sp:subject _:b26
121 + ] [ sp:object _:b28 ;
122 + sp:predicate <http://www.reportinghub.no/ep/schema/equipment#hasTubularConnectionClass> ;
123 + sp:subject _:b14
124 + ] [ sp:object <http://www.reportinghub.no/ep/schema/equipment#TubularConnectionClass> ;
125 + sp:predicate rdf:type ;
126 + sp:subject _:b28
127 + ] [ sp:object _:b29 ;
128 + sp:predicate rdfs:label ;
129 + sp:subject _:b28
130 + ] [ sp:object _:b30 ;
131 + sp:predicate <http://www.reportinghub.no/ep/schema/equipment#stringLengthOfATubular> ;
132 + sp:subject _:b14
133 + ] [ sp:object <http://www.reportinghub.no/ep/schema/core#Length> ;
134 + sp:predicate rdf:type ;
135 + sp:subject _:b30
136 + ] [ sp:object _:b31 ;
137 + sp:predicate _:b32 ;
138 + sp:subject _:b30
81 ]) ; 139 ]) ;
82 - sp:where ([ sp:object _:b18 ; 140 + sp:where ([ sp:object _:b33 ;
83 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWellbore> ; 141 + sp:predicate ddr:nameWellbore ;
84 sp:subject spin:_this 142 sp:subject spin:_this
85 ] [ sp:object _:b5 ; 143 ] [ sp:object _:b5 ;
86 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ; 144 + sp:predicate ddr:dTimStart ;
87 sp:subject spin:_this 145 sp:subject spin:_this
88 - ] [ sp:object _:b7 ; 146 + ] [ sp:object _:b34 ;
89 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#casing_Liner_Tubing> ; 147 + sp:predicate ddr:casing_liner_tubingRef ;
90 sp:subject spin:_this 148 sp:subject spin:_this
91 - ] [ sp:object _:b19 ;
92 - sp:predicate <http://www.topbraid.org/2007/05/composite.owl#index> ;
93 - sp:subject _:b7
94 ] [ sp:object _:b4 ; 149 ] [ sp:object _:b4 ;
95 sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWellBore> ; 150 sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWellBore> ;
96 sp:subject _:b2 151 sp:subject _:b2
97 ] [ rdf:type sp:Optional ; 152 ] [ rdf:type sp:Optional ;
98 - sp:elements ([ sp:object _:b20 ; 153 + sp:elements ([ sp:object _:b35 ;
99 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#enumType> ; 154 + sp:predicate ddr:typeRef ;
100 - sp:subject _:b7 155 + sp:subject _:b34
101 - ] [ sp:object _:b12 ; 156 + ])
102 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#id> ; 157 + ] [ rdf:type sp:Optional ;
103 - sp:subject _:b7 158 + sp:elements ([ sp:object _:b36 ;
104 - ] [ sp:object _:b13 ; 159 + sp:predicate ddr:idRef ;
105 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#od> ; 160 + sp:subject _:b34
106 - sp:subject _:b7 161 + ] [ sp:object _:b37 ;
107 - ] [ sp:object _:b14 ; 162 + sp:predicate ddr:uomRef ;
108 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#weight> ; 163 + sp:subject _:b36
109 - sp:subject _:b7 164 + ] [ sp:object _:b18 ;
110 - ] [ sp:object _:b15 ; 165 + sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
111 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#grade> ; 166 + sp:subject _:b36
112 - sp:subject _:b7 167 + ])
113 - ] [ sp:object _:b16 ; 168 + ] [ rdf:type sp:Optional ;
114 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#connection> ; 169 + sp:elements ([ sp:object _:b38 ;
115 - sp:subject _:b7 170 + sp:predicate ddr:odRef ;
116 - ] [ sp:object _:b17 ; 171 + sp:subject _:b34
117 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#length> ; 172 + ] [ sp:object _:b39 ;
118 - sp:subject _:b7 173 + sp:predicate ddr:uomRef ;
119 - ] [ sp:object 174 + sp:subject _:b38
120 - [ sp:varName "mdTop"^^xsd:string
121 - ] ;
122 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#mdTop> ;
123 - sp:subject _:b7
124 - ] [ sp:object
125 - [ sp:varName "mdBottom"^^xsd:string
126 - ] ;
127 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#mdBottom> ;
128 - sp:subject _:b7
129 ] [ sp:object _:b21 ; 175 ] [ sp:object _:b21 ;
130 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#casing_Liner_Tubing_Run> ; 176 + sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
131 - sp:subject _:b7 177 + sp:subject _:b38
132 - ] [ sp:object _:b22 ; 178 + ])
133 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#enumCasingType> ; 179 + ] [ rdf:type sp:Optional ;
134 - sp:subject _:b21 180 + sp:elements ([ sp:object _:b40 ;
135 - ] [ sp:object _:b8 ; 181 + sp:predicate ddr:weightRef ;
136 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#description> ; 182 + sp:subject _:b34
137 - sp:subject _:b21 183 + ] [ sp:object _:b41 ;
184 + sp:predicate ddr:uomRef ;
185 + sp:subject _:b40
186 + ] [ sp:object _:b24 ;
187 + sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
188 + sp:subject _:b40
189 + ])
190 + ] [ rdf:type sp:Optional ;
191 + sp:elements ([ sp:object _:b27 ;
192 + sp:predicate ddr:grade ;
193 + sp:subject _:b34
194 + ])
195 + ] [ rdf:type sp:Optional ;
196 + sp:elements ([ sp:object _:b29 ;
197 + sp:predicate ddr:connection ;
198 + sp:subject _:b34
199 + ])
200 + ] [ rdf:type sp:Optional ;
201 + sp:elements ([ sp:object _:b42 ;
202 + sp:predicate ddr:lengthRef ;
203 + sp:subject _:b34
204 + ] [ sp:object _:b43 ;
205 + sp:predicate ddr:uomRef ;
206 + sp:subject _:b42
207 + ] [ sp:object _:b31 ;
208 + sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
209 + sp:subject _:b42
210 + ])
211 + ] [ rdf:type sp:Optional ;
212 + sp:elements ([ sp:object _:b44 ;
213 + sp:predicate ddr:mdTopRef ;
214 + sp:subject _:b34
215 + ] [ sp:object _:b45 ;
216 + sp:predicate ddr:uomRef ;
217 + sp:subject _:b44
218 + ] [ sp:object _:b9 ;
219 + sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
220 + sp:subject _:b44
221 + ])
222 + ] [ rdf:type sp:Optional ;
223 + sp:elements ([ sp:object _:b46 ;
224 + sp:predicate ddr:mdBottomRef ;
225 + sp:subject _:b34
226 + ] [ sp:object _:b47 ;
227 + sp:predicate ddr:uomRef ;
228 + sp:subject _:b46
229 + ] [ sp:object _:b12 ;
230 + sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
231 + sp:subject _:b46
232 + ])
233 + ] [ rdf:type sp:Optional ;
234 + sp:elements ([ sp:object _:b48 ;
235 + sp:predicate ddr:casing_liner_tubing_runRef ;
236 + sp:subject _:b34
237 + ] [ sp:object _:b49 ;
238 + sp:predicate ddr:casingTypeRef ;
239 + sp:subject _:b48
240 + ])
241 + ] [ rdf:type sp:Optional ;
242 + sp:elements ([ sp:object _:b48 ;
243 + sp:predicate ddr:casing_liner_tubing_runRef ;
244 + sp:subject _:b34
245 + ] [ sp:object _:b7 ;
246 + sp:predicate ddr:description ;
247 + sp:subject _:b48
248 + ])
249 + ] [ rdf:type sp:Optional ;
250 + sp:elements ([ sp:object _:b48 ;
251 + sp:predicate ddr:casing_liner_tubing_runRef ;
252 + sp:subject _:b34
138 ] [ sp:object _:b5 ; 253 ] [ sp:object _:b5 ;
139 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ; 254 + sp:predicate ddr:dTimStart ;
140 - sp:subject _:b21 255 + sp:subject _:b48
256 + ])
257 + ] [ rdf:type sp:Optional ;
258 + sp:elements ([ sp:object _:b48 ;
259 + sp:predicate ddr:casing_liner_tubing_runRef ;
260 + sp:subject _:b34
141 ] [ sp:object _:b6 ; 261 ] [ sp:object _:b6 ;
142 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimEnd> ; 262 + sp:predicate ddr:dTimEnd ;
143 - sp:subject _:b21 263 + sp:subject _:b48
144 ]) 264 ])
145 ] [ rdf:type sp:Bind ; 265 ] [ rdf:type sp:Bind ;
146 sp:expression 266 sp:expression
147 [ rdf:type ep-spin-lib:normalizeString ; 267 [ rdf:type ep-spin-lib:normalizeString ;
148 - sp:arg1 _:b18 268 + sp:arg1 _:b33
149 ] ; 269 ] ;
150 - sp:variable _:b23 270 + sp:variable _:b50
151 ] [ rdf:type sp:Bind ; 271 ] [ rdf:type sp:Bind ;
152 sp:expression 272 sp:expression
153 [ rdf:type ep-spin-lib:buildDailyDrillingActivityURI ; 273 [ rdf:type ep-spin-lib:buildDailyDrillingActivityURI ;
154 - sp:arg1 _:b23 ; 274 + sp:arg1 _:b50 ;
155 sp:arg2 _:b5 275 sp:arg2 _:b5
156 ] ; 276 ] ;
157 sp:variable _:b2 277 sp:variable _:b2
158 ] [ rdf:type sp:Bind ; 278 ] [ rdf:type sp:Bind ;
159 sp:expression 279 sp:expression
280 + [ rdf:type afn:localname ;
281 + sp:arg1 _:b34
282 + ] ;
283 + sp:variable _:b51
284 + ] [ rdf:type sp:Bind ;
285 + sp:expression
160 [ rdf:type ep-spin-lib:buildWellStimulationURI ; 286 [ rdf:type ep-spin-lib:buildWellStimulationURI ;
161 - sp:arg1 _:b23 ; 287 + sp:arg1 _:b50 ;
162 - sp:arg2 _:b19 288 + sp:arg2 _:b51
163 ] ; 289 ] ;
164 sp:variable _:b1 290 sp:variable _:b1
165 ] [ rdf:type sp:Bind ; 291 ] [ rdf:type sp:Bind ;
166 sp:expression 292 sp:expression
167 - [ rdf:type ep-spin-lib:buildPartOfAWellBoreForWellStimulationURI ; 293 + [ rdf:type ep-spin-lib:selectCasingRoleType ;
168 - sp:arg1 _:b23 ; 294 + sp:arg1 _:b49
169 - sp:arg2 _:b19
170 ] ; 295 ] ;
171 - sp:variable _:b3 296 + sp:variable _:b15
172 ] [ rdf:type sp:Bind ; 297 ] [ rdf:type sp:Bind ;
173 sp:expression 298 sp:expression
174 - [ rdf:type ep-spin-lib:selectCasingType ; 299 + [ rdf:type ep-spin-lib:selectTubeType ;
175 - sp:arg1 _:b22 300 + sp:arg1 _:b35
301 + ] ;
302 + sp:variable _:b16
303 + ] [ rdf:type sp:Bind ;
304 + sp:expression
305 + [ rdf:type ep-spin-lib:selectLengthScale ;
306 + sp:arg1 _:b37
307 + ] ;
308 + sp:variable _:b19
309 + ] [ rdf:type sp:Bind ;
310 + sp:expression
311 + [ rdf:type ep-spin-lib:selectLengthScale ;
312 + sp:arg1 _:b39
313 + ] ;
314 + sp:variable _:b22
315 + ] [ rdf:type sp:Bind ;
316 + sp:expression
317 + [ rdf:type ep-spin-lib:selectLengthScale ;
318 + sp:arg1 _:b43
319 + ] ;
320 + sp:variable _:b32
321 + ] [ rdf:type sp:Bind ;
322 + sp:expression
323 + [ rdf:type ep-spin-lib:selectLengthScale ;
324 + sp:arg1 _:b45
176 ] ; 325 ] ;
177 sp:variable _:b10 326 sp:variable _:b10
178 ] [ rdf:type sp:Bind ; 327 ] [ rdf:type sp:Bind ;
179 sp:expression 328 sp:expression
180 - [ rdf:type ep-spin-lib:selectTubeType ; 329 + [ rdf:type ep-spin-lib:selectLengthScale ;
181 - sp:arg1 _:b20 330 + sp:arg1 _:b47
182 ] ; 331 ] ;
183 - sp:variable _:b11 332 + sp:variable _:b13
333 + ] [ rdf:type sp:Bind ;
334 + sp:expression
335 + [ rdf:type ep-spin-lib:selectMassPerUnitLengthScale ;
336 + sp:arg1 _:b41
337 + ] ;
338 + sp:variable _:b25
184 ]) 339 ])
185 ] . 340 ] .
186 341
187 -<http://www.reportinghub.no/ep/transform/1.1/ddr/casingLinerTubingRun> 342 +_:b33
188 - rdf:type owl:Ontology ; 343 + sp:varName "nameWellBore"^^xsd:string .
189 - owl:imports <http://www.reportinghub.no/ep/spin/1.1/lib> , <http://www.reportinghub.no/ep/transform/1.1/ddr> , <http://spinrdf.org/spin> ;
190 - owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
191 344
192 -_:b11 345 +_:b5 sp:varName "dTimStart"^^xsd:string .
193 - sp:varName "tubeType"^^xsd:string .
194 346
195 -_:b10 347 +_:b34
196 - sp:varName "casingType"^^xsd:string . 348 + sp:varName "casingLinerTubing"^^xsd:string .
349 +
350 +_:b2 sp:varName "dailyDrillingActivity"^^xsd:string .
197 351
198 -_:b3 sp:varName "wellStimulationPartOfAWellBore"^^xsd:string . 352 +_:b4 sp:varName "dailyTemporalPartOfAWellBore"^^xsd:string .
199 353
200 -_:b1 sp:varName "wellStimulation"^^xsd:string . 354 +_:b35
355 + sp:varName "enumTubeType"^^xsd:string .
201 356
202 -_:b23 357 +_:b36
203 - sp:varName "normalizedWellBoreName"^^xsd:string . 358 + sp:varName "id"^^xsd:string .
204 359
205 -_:b6 sp:varName "dTimEnd"^^xsd:string . 360 +_:b37
361 + sp:varName "uomId"^^xsd:string .
206 362
207 -_:b8 sp:varName "description"^^xsd:string . 363 +_:b18
364 + sp:varName "realId"^^xsd:string .
208 365
209 -_:b22 366 +_:b38
210 - sp:varName "enumCasingType"^^xsd:string . 367 + sp:varName "od"^^xsd:string .
368 +
369 +_:b39
370 + sp:varName "uomOd"^^xsd:string .
211 371
212 _:b21 372 _:b21
213 - sp:varName "casingLinerTubingRun"^^xsd:string . 373 + sp:varName "realOd"^^xsd:string .
214 374
215 -_:b17 375 +_:b40
216 - sp:varName "length"^^xsd:string . 376 + sp:varName "weight"^^xsd:string .
217 377
218 -_:b16 378 +_:b41
219 - sp:varName "connection"^^xsd:string . 379 + sp:varName "uomWeight"^^xsd:string .
220 380
221 -_:b15 381 +_:b24
382 + sp:varName "realMassPerUnitLength"^^xsd:string .
383 +
384 +_:b27
222 sp:varName "grade"^^xsd:string . 385 sp:varName "grade"^^xsd:string .
223 386
224 -_:b14 387 +_:b29
225 - sp:varName "weight"^^xsd:string . 388 + sp:varName "connection"^^xsd:string .
226 389
227 -_:b13 390 +_:b42
228 - sp:varName "od"^^xsd:string . 391 + sp:varName "length"^^xsd:string .
392 +
393 +_:b43
394 + sp:varName "uomLen"^^xsd:string .
395 +
396 +_:b31
397 + sp:varName "realLen"^^xsd:string .
398 +
399 +_:b44
400 + sp:varName "mdTop"^^xsd:string .
401 +
402 +_:b45
403 + sp:varName "uomMdTop"^^xsd:string .
404 +
405 +_:b9 sp:varName "realMdTop"^^xsd:string .
406 +
407 +_:b46
408 + sp:varName "mdBottom"^^xsd:string .
409 +
410 +_:b47
411 + sp:varName "uomMdBottom"^^xsd:string .
229 412
230 _:b12 413 _:b12
231 - sp:varName "id"^^xsd:string . 414 + sp:varName "realMdBottom"^^xsd:string .
232 415
233 -_:b20 416 +_:b48
234 - sp:varName "enumTubeType"^^xsd:string . 417 + sp:varName "casingLinerTubingRun"^^xsd:string .
235 418
236 -_:b4 sp:varName "dailyTemporalPartOfAWellBore"^^xsd:string . 419 +_:b49
420 + sp:varName "enumCasingType"^^xsd:string .
237 421
238 -_:b2 sp:varName "dailyDrillingActivity"^^xsd:string . 422 +_:b7 sp:varName "description"^^xsd:string .
423 +
424 +_:b6 sp:varName "dTimEnd"^^xsd:string .
425 +
426 +_:b50
427 + sp:varName "normalizedWellBoreName"^^xsd:string .
428 +
429 +_:b51
430 + sp:varName "localname"^^xsd:string .
431 +
432 +_:b1 sp:varName "wellStimulation"^^xsd:string .
433 +
434 +_:b15
435 + sp:varName "casingRoleType"^^xsd:string .
436 +
437 +_:b16
438 + sp:varName "tubeType"^^xsd:string .
239 439
240 _:b19 440 _:b19
241 - sp:varName "index"^^xsd:string . 441 + sp:varName "lengthScaleId"^^xsd:string .
242 442
243 -_:b7 sp:varName "casingLinerTubing"^^xsd:string . 443 +_:b22
444 + sp:varName "lengthScaleOd"^^xsd:string .
244 445
245 -_:b5 sp:varName "dTimStart"^^xsd:string . 446 +_:b32
447 + sp:varName "lengthScaleLen"^^xsd:string .
246 448
247 -_:b18 449 +_:b10
248 - sp:varName "nameWellBore"^^xsd:string . 450 + sp:varName "lengthScaleMdTop"^^xsd:string .
451 +
452 +_:b13
453 + sp:varName "lengthScaleMdBottom"^^xsd:string .
454 +
455 +_:b25
456 + sp:varName "massPerUnitLengthScale"^^xsd:string .
......
1 -# Saved by TopBraid on Wed Aug 24 15:40:23 BST 2011 1 +# Saved by TopBraid on Wed Sep 14 18:06:22 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 -# Saved by TopBraid on Wed Aug 24 20:24:31 BST 2011 1 +# Saved by TopBraid on Wed Sep 14 23:50:25 BST 2011
2 # baseURI: http://www.reportinghub.no/ep/transform/1.1/ddr/cementStage 2 # baseURI: http://www.reportinghub.no/ep/transform/1.1/ddr/cementStage
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/transform/1.1/ddr 4 +# imports: http://www.witsml.org/schemas/1series
5 # imports: http://spinrdf.org/spin 5 # imports: http://spinrdf.org/spin
6 6
7 @prefix : <http://www.reportinghub.no/ep/transform/1.1/ddr/cementStage#> . 7 @prefix : <http://www.reportinghub.no/ep/transform/1.1/ddr/cementStage#> .
8 +@prefix afn: <http://jena.hpl.hp.com/ARQ/function#> .
9 +@prefix ddr: <http://www.witsml.org/schemas/1series#> .
8 @prefix ep-spin-lib: <http://www.reportinghub.no/ep/spin/lib#> . 10 @prefix ep-spin-lib: <http://www.reportinghub.no/ep/spin/lib#> .
9 @prefix owl: <http://www.w3.org/2002/07/owl#> . 11 @prefix owl: <http://www.w3.org/2002/07/owl#> .
10 @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . 12 @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
...@@ -14,7 +16,12 @@ ...@@ -14,7 +16,12 @@
14 @prefix spl: <http://spinrdf.org/spl#> . 16 @prefix spl: <http://spinrdf.org/spl#> .
15 @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . 17 @prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
16 18
17 -<http://www.reportinghub.no/ep/schema/ddr#Obj_drillReport> 19 +<http://www.reportinghub.no/ep/transform/1.1/ddr/cementStage>
20 + rdf:type owl:Ontology ;
21 + owl:imports <http://www.witsml.org/schemas/1series> , <http://www.reportinghub.no/ep/spin/1.1/lib> , <http://spinrdf.org/spin> ;
22 + owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
23 +
24 +ddr:Obj_drillReport
18 spin:rule 25 spin:rule
19 [ rdf:type sp:Construct ; 26 [ rdf:type sp:Construct ;
20 rdfs:comment "STEP 290 Well cement job"^^xsd:string ; 27 rdfs:comment "STEP 290 Well cement job"^^xsd:string ;
...@@ -24,12 +31,12 @@ ...@@ -24,12 +31,12 @@
24 ] [ sp:object _:b1 ; 31 ] [ sp:object _:b1 ;
25 sp:predicate <http://www.reportinghub.no/ep/schema/core#hasPart> ; 32 sp:predicate <http://www.reportinghub.no/ep/schema/core#hasPart> ;
26 sp:subject _:b2 33 sp:subject _:b2
27 - ] [ sp:object <http://www.reportinghub.no/ep/schema/well#TemporalPartOfASpatialPartOfAWellBore> ; 34 + ] [ sp:object <http://www.reportinghub.no/ep/schema/well#SpatialPartOfAWellBore> ;
28 sp:predicate rdf:type ; 35 sp:predicate rdf:type ;
29 sp:subject _:b3 36 sp:subject _:b3
30 - ] [ sp:object _:b4 ; 37 + ] [ sp:object _:b3 ;
31 - sp:predicate <http://www.reportinghub.no/ep/schema/core#partOf> ; 38 + sp:predicate <http://www.reportinghub.no/ep/schema/core#hasPart> ;
32 - sp:subject _:b3 39 + sp:subject _:b4
33 ] [ sp:object _:b3 ; 40 ] [ sp:object _:b3 ;
34 sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWellBore> ; 41 sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWellBore> ;
35 sp:subject _:b1 42 sp:subject _:b1
...@@ -52,373 +59,633 @@ ...@@ -52,373 +59,633 @@
52 sp:predicate rdf:type ; 59 sp:predicate rdf:type ;
53 sp:subject _:b8 60 sp:subject _:b8
54 ] [ sp:object _:b10 ; 61 ] [ sp:object _:b10 ;
55 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#volReturns> ; 62 + sp:predicate <http://www.reportinghub.no/ep/schema/activity#volumeOfReturnedCementingFluid> ;
56 sp:subject _:b8 63 sp:subject _:b8
64 + ] [ sp:object <http://www.reportinghub.no/ep/schema/core#Volume> ;
65 + sp:predicate rdf:type ;
66 + sp:subject _:b10
57 ] [ sp:object _:b11 ; 67 ] [ sp:object _:b11 ;
58 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#volPumped> ; 68 + sp:predicate _:b12 ;
69 + sp:subject _:b10
70 + ] [ sp:object _:b13 ;
71 + sp:predicate <http://www.reportinghub.no/ep/schema/activity#volumeOfPumpedCementingFluid> ;
59 sp:subject _:b8 72 sp:subject _:b8
60 - ] [ sp:object _:b12 ; 73 + ] [ sp:object <http://www.reportinghub.no/ep/schema/core#Volume> ;
74 + sp:predicate rdf:type ;
75 + sp:subject _:b13
76 + ] [ sp:object _:b14 ;
77 + sp:predicate _:b15 ;
78 + sp:subject _:b13
79 + ] [ sp:object _:b16 ;
61 sp:predicate <http://www.reportinghub.no/ep/schema/activity#startedAt> ; 80 sp:predicate <http://www.reportinghub.no/ep/schema/activity#startedAt> ;
62 sp:subject _:b8 81 sp:subject _:b8
63 - ] [ sp:object _:b13 ; 82 + ] [ sp:object _:b17 ;
64 sp:predicate <http://www.reportinghub.no/ep/schema/activity#finishedAt> ; 83 sp:predicate <http://www.reportinghub.no/ep/schema/activity#finishedAt> ;
65 sp:subject _:b8 84 sp:subject _:b8
66 - ] [ sp:object _:b14 ; 85 + ] [ sp:object _:b18 ;
67 sp:predicate <http://www.reportinghub.no/ep/schema/activity#pumpedFluid> ; 86 sp:predicate <http://www.reportinghub.no/ep/schema/activity#pumpedFluid> ;
68 sp:subject _:b8 87 sp:subject _:b8
69 ] [ sp:object <http://www.reportinghub.no/ep/schema/well#CementingFluid> ; 88 ] [ sp:object <http://www.reportinghub.no/ep/schema/well#CementingFluid> ;
70 sp:predicate rdf:type ; 89 sp:predicate rdf:type ;
71 - sp:subject _:b14 90 + sp:subject _:b18
72 - ] [ sp:object _:b15 ; 91 + ] [ sp:object _:b19 ;
73 sp:predicate rdf:type ; 92 sp:predicate rdf:type ;
74 - sp:subject _:b14 93 + sp:subject _:b18
75 - ] [ sp:object _:b16 ; 94 + ] [ sp:object _:b20 ;
95 + sp:predicate rdf:type ;
96 + sp:subject _:b18
97 + ] [ sp:object <http://www.reportinghub.no/ep/schema/well#CementingFluidType> ;
76 sp:predicate rdf:type ; 98 sp:predicate rdf:type ;
77 - sp:subject _:b14 99 + sp:subject _:b20
78 ] [ sp:object 100 ] [ sp:object
79 [ sp:varName "descFluid"^^xsd:string 101 [ sp:varName "descFluid"^^xsd:string
80 ] ; 102 ] ;
81 - sp:predicate <http://purl.org/dc/elements/1.1/description> ; 103 + sp:predicate rdfs:comment ;
82 - sp:subject _:b16 104 + sp:subject _:b20
83 - ] [ sp:object _:b17 ;
84 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#ratioMixWater> ;
85 - sp:subject _:b14
86 - ] [ sp:object _:b18 ;
87 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#density> ;
88 - sp:subject _:b14
89 - ] [ sp:object _:b19 ;
90 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#yp> ;
91 - sp:subject _:b14
92 - ] [ sp:object _:b20 ;
93 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#eTimThickening> ;
94 - sp:subject _:b14
95 ] [ sp:object _:b21 ; 105 ] [ sp:object _:b21 ;
96 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#pcFreeWater> ; 106 + sp:predicate <http://www.reportinghub.no/ep/schema/well#ratioOfCementMixToWater> ;
97 - sp:subject _:b14 107 + sp:subject _:b18
108 + ] [ sp:object <http://www.reportinghub.no/ep/schema/core#Ratio> ;
109 + sp:predicate rdf:type ;
110 + sp:subject _:b21
98 ] [ sp:object _:b22 ; 111 ] [ sp:object _:b22 ;
99 - sp:predicate <http://purl.org/dc/elements/1.1/description> ; 112 + sp:predicate _:b23 ;
100 - sp:subject _:b14 113 + sp:subject _:b21
101 - ] [ sp:object _:b23 ;
102 - sp:predicate <http://www.reportinghub.no/ep/schema/activity#hasCasingString> ;
103 - sp:subject _:b1
104 ] [ sp:object _:b24 ; 114 ] [ sp:object _:b24 ;
105 - sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ; 115 + sp:predicate rdf:type ;
106 - sp:subject _:b23 116 + sp:subject _:b18
107 - ] [ sp:object <http://www.reportinghub.no/ep/schema/well#CasingString> ; 117 + ] [ sp:object <http://www.reportinghub.no/ep/schema/core#Density> ;
108 sp:predicate rdf:type ; 118 sp:predicate rdf:type ;
109 sp:subject _:b24 119 sp:subject _:b24
110 ] [ sp:object _:b25 ; 120 ] [ sp:object _:b25 ;
111 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#casingStrDia> ; 121 + sp:predicate _:b26 ;
112 sp:subject _:b24 122 sp:subject _:b24
113 - ] [ sp:object _:b26 ; 123 + ] [ sp:object _:b27 ;
124 + sp:predicate rdf:type ;
125 + sp:subject _:b18
126 + ] [ sp:object <http://www.reportinghub.no/ep/schema/core#YieldPoint> ;
127 + sp:predicate rdf:type ;
128 + sp:subject _:b27
129 + ] [ sp:object _:b28 ;
130 + sp:predicate _:b29 ;
131 + sp:subject _:b27
132 + ] [ sp:object _:b30 ;
133 + sp:predicate <http://www.reportinghub.no/ep/schema/well#cementingFluidThickeningTime> ;
134 + sp:subject _:b18
135 + ] [ sp:object <http://www.reportinghub.no/ep/schema/core#TimeDuration> ;
136 + sp:predicate rdf:type ;
137 + sp:subject _:b30
138 + ] [ sp:object _:b31 ;
139 + sp:predicate _:b32 ;
140 + sp:subject _:b30
141 + ] [ sp:object _:b33 ;
142 + sp:predicate <http://www.reportinghub.no/ep/schema/well#cementingFluidPerCentFreeWater> ;
143 + sp:subject _:b18
144 + ] [ sp:object <http://www.reportinghub.no/ep/schema/core#Ratio> ;
145 + sp:predicate rdf:type ;
146 + sp:subject _:b33
147 + ] [ sp:object _:b34 ;
148 + sp:predicate _:b35 ;
149 + sp:subject _:b33
150 + ] [ sp:object _:b36 ;
151 + sp:predicate rdfs:comment ;
152 + sp:subject _:b18
153 + ] [ sp:object _:b37 ;
154 + sp:predicate <http://www.reportinghub.no/ep/schema/core#hasPart> ;
155 + sp:subject _:b3
156 + ] [ sp:object <http://www.reportinghub.no/ep/schema/equipment#Equipment> ;
157 + sp:predicate rdf:type ;
158 + sp:subject _:b37
159 + ] [ sp:object _:b38 ;
160 + sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
161 + sp:subject _:b37
162 + ] [ sp:object <http://www.reportinghub.no/ep/schema/equipment#CasingString> ;
163 + sp:predicate rdf:type ;
164 + sp:subject _:b38
165 + ] [ sp:object _:b39 ;
166 + sp:predicate <http://www.reportinghub.no/ep/schema/equipment#diameterOfACasing> ;
167 + sp:subject _:b38
168 + ] [ sp:object <http://www.reportinghub.no/ep/schema/core#Length> ;
169 + sp:predicate rdf:type ;
170 + sp:subject _:b39
171 + ] [ sp:object _:b40 ;
172 + sp:predicate _:b41 ;
173 + sp:subject _:b39
174 + ] [ sp:object _:b42 ;
114 sp:predicate <http://purl.org/dc/elements/1.1/description> ; 175 sp:predicate <http://purl.org/dc/elements/1.1/description> ;
115 sp:subject _:b1 176 sp:subject _:b1
116 - ] [ sp:object _:b27 ; 177 + ] [ sp:object _:b43 ;
117 sp:predicate rdf:type ; 178 sp:predicate rdf:type ;
118 sp:subject _:b1 179 sp:subject _:b1
119 - ] [ sp:object _:b28 ; 180 + ] [ sp:object _:b44 ;
120 sp:predicate rdf:type ; 181 sp:predicate rdf:type ;
121 sp:subject _:b1 182 sp:subject _:b1
122 - ] [ sp:object _:b29 ; 183 + ] [ sp:object _:b45 ;
123 sp:predicate rdf:type ; 184 sp:predicate rdf:type ;
124 sp:subject _:b1 185 sp:subject _:b1
125 - ] [ sp:object _:b30 ; 186 + ] [ sp:object _:b46 ;
126 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#presBump> ; 187 + sp:predicate <http://www.reportinghub.no/ep/schema/activity#pressureAtWhichPlugBumped> ;
127 sp:subject _:b1 188 sp:subject _:b1
128 - ] [ sp:object _:b31 ; 189 + ] [ sp:object <http://www.reportinghub.no/ep/schema/core#Pressure> ;
190 + sp:predicate rdf:type ;
191 + sp:subject _:b46
192 + ] [ sp:object _:b47 ;
193 + sp:predicate _:b48 ;
194 + sp:subject _:b46
195 + ] [ sp:object _:b49 ;
129 sp:predicate rdf:type ; 196 sp:predicate rdf:type ;
130 sp:subject _:b1 197 sp:subject _:b1
131 - ] [ sp:object _:b32 ; 198 + ] [ sp:object _:b50 ;
132 sp:predicate <http://www.reportinghub.no/ep/schema/core#hasPart> ; 199 sp:predicate <http://www.reportinghub.no/ep/schema/core#hasPart> ;
133 sp:subject _:b1 200 sp:subject _:b1
134 ] [ sp:object <http://www.reportinghub.no/ep/schema/activity#WellCementJobPressureRelease> ; 201 ] [ sp:object <http://www.reportinghub.no/ep/schema/activity#WellCementJobPressureRelease> ;
135 sp:predicate rdf:type ; 202 sp:predicate rdf:type ;
136 - sp:subject _:b32 203 + sp:subject _:b50
137 - ] [ sp:object _:b33 ; 204 + ] [ sp:object _:b51 ;
138 - sp:predicate <http://www.reportinghub.no/ep/schema/activity#nominalTime> ; 205 + sp:predicate <http://www.reportinghub.no/ep/schema/activity#nominallyAt> ;
139 - sp:subject _:b32 206 + sp:subject _:b50
140 ]) ; 207 ]) ;
141 - sp:where ([ sp:object _:b34 ; 208 + sp:where ([ sp:object _:b52 ;
142 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWellbore> ; 209 + sp:predicate ddr:nameWellbore ;
143 sp:subject spin:_this 210 sp:subject spin:_this
144 - ] [ sp:object _:b35 ; 211 + ] [ sp:object _:b53 ;
145 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ; 212 + sp:predicate ddr:dTimStart ;
146 sp:subject spin:_this 213 sp:subject spin:_this
147 - ] [ sp:object _:b36 ; 214 + ] [ sp:object _:b54 ;
148 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#cementStage> ; 215 + sp:predicate ddr:cementStageRef ;
149 sp:subject spin:_this 216 sp:subject spin:_this
150 - ] [ sp:object _:b37 ;
151 - sp:predicate <http://www.topbraid.org/2007/05/composite.owl#index> ;
152 - sp:subject _:b36
153 ] [ sp:object _:b4 ; 217 ] [ sp:object _:b4 ;
154 sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWellBore> ; 218 sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWellBore> ;
155 sp:subject _:b2 219 sp:subject _:b2
156 ] [ rdf:type sp:Optional ; 220 ] [ rdf:type sp:Optional ;
157 - sp:elements ([ sp:object _:b12 ; 221 + sp:elements ([ sp:object _:b16 ;
158 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimPumpStart> ; 222 + sp:predicate ddr:dTimPumpStart ;
159 - sp:subject _:b36 223 + sp:subject _:b54
160 - ] [ sp:object _:b13 ; 224 + ])
161 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimPumpEnd> ; 225 + ] [ rdf:type sp:Optional ;
162 - sp:subject _:b36 226 + sp:elements ([ sp:object _:b17 ;
163 - ] [ sp:object _:b38 ; 227 + sp:predicate ddr:dTimPumpEnd ;
164 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#enumJobType> ; 228 + sp:subject _:b54
165 - sp:subject _:b36 229 + ])
166 - ] [ sp:object _:b25 ; 230 + ] [ rdf:type sp:Optional ;
167 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#casingStrDia> ; 231 + sp:elements ([ sp:object _:b55 ;
168 - sp:subject _:b36 232 + sp:predicate ddr:jobTypeRef ;
169 - ] [ sp:object _:b26 ; 233 + sp:subject _:b54
170 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#comments> ; 234 + ])
171 - sp:subject _:b36 235 + ] [ rdf:type sp:Optional ;
172 - ] [ sp:object _:b10 ; 236 + sp:elements ([ sp:object _:b56 ;
173 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#volReturns> ; 237 + sp:predicate ddr:casingStrDiaRef ;
174 - sp:subject _:b36 238 + sp:subject _:b54
175 - ] [ sp:object _:b39 ; 239 + ] [ sp:object _:b57 ;
176 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#cementingFluid> ; 240 + sp:predicate ddr:uomRef ;
177 - sp:subject _:b36 241 + sp:subject _:b56
178 - ] [ sp:object _:b33 ;
179 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimPresReleased> ;
180 - sp:subject _:b36
181 ] [ sp:object _:b40 ; 242 ] [ sp:object _:b40 ;
182 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#annFlowAfter> ; 243 + sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
183 - sp:subject _:b36 244 + sp:subject _:b56
184 - ] [ sp:object _:b41 ; 245 + ])
185 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#topPlug> ; 246 + ] [ rdf:type sp:Optional ;
186 - sp:subject _:b36 247 + sp:elements ([ sp:object _:b42 ;
187 - ] [ sp:object _:b42 ; 248 + sp:predicate ddr:comments ;
188 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#botPlug> ; 249 + sp:subject _:b54
189 - sp:subject _:b36 250 + ])
190 - ] [ sp:object _:b43 ; 251 + ] [ rdf:type sp:Optional ;
191 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#plugBumped> ; 252 + sp:elements ([ sp:object _:b58 ;
192 - sp:subject _:b36 253 + sp:predicate ddr:volReturnsRef ;
193 - ] [ sp:object _:b30 ; 254 + sp:subject _:b54
194 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#presBump> ; 255 + ] [ sp:object _:b59 ;
195 - sp:subject _:b36 256 + sp:predicate ddr:uomRef ;
196 - ] [ sp:object _:b44 ; 257 + sp:subject _:b58
197 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#floatHeld> ; 258 + ] [ sp:object _:b11 ;
198 - sp:subject _:b36 259 + sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
199 - ] [ sp:object _:b45 ; 260 + sp:subject _:b58
200 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#reciprocated> ; 261 + ])
201 - sp:subject _:b36 262 + ] [ rdf:type sp:Optional ;
202 - ] [ sp:object _:b46 ; 263 + sp:elements ([ sp:object _:b60 ;
203 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#rotated> ; 264 + sp:predicate ddr:cementingFluidRef ;
204 - sp:subject _:b36 265 + sp:subject _:b54
266 + ])
267 + ] [ rdf:type sp:Optional ;
268 + sp:elements ([ sp:object _:b51 ;
269 + sp:predicate ddr:dTimPresReleased ;
270 + sp:subject _:b54
271 + ])
272 + ] [ rdf:type sp:Optional ;
273 + sp:elements ([ sp:object _:b61 ;
274 + sp:predicate ddr:annFlowAfter ;
275 + sp:subject _:b54
276 + ])
277 + ] [ rdf:type sp:Optional ;
278 + sp:elements ([ sp:object _:b62 ;
279 + sp:predicate ddr:topPlug ;
280 + sp:subject _:b54
281 + ])
282 + ] [ rdf:type sp:Optional ;
283 + sp:elements ([ sp:object _:b63 ;
284 + sp:predicate ddr:botPlug ;
285 + sp:subject _:b54
286 + ])
287 + ] [ rdf:type sp:Optional ;
288 + sp:elements ([ sp:object _:b64 ;
289 + sp:predicate ddr:plugBumped ;
290 + sp:subject _:b54
291 + ])
292 + ] [ rdf:type sp:Optional ;
293 + sp:elements ([ sp:object _:b65 ;
294 + sp:predicate ddr:presBumpRef ;
295 + sp:subject _:b54
296 + ] [ sp:object _:b66 ;
297 + sp:predicate ddr:uomRef ;
298 + sp:subject _:b65
205 ] [ sp:object _:b47 ; 299 ] [ sp:object _:b47 ;
206 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#enumTypeFluid> ; 300 + sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
207 - sp:subject _:b39 301 + sp:subject _:b65
208 - ] [ sp:object 302 + ])
303 + ] [ rdf:type sp:Optional ;
304 + sp:elements ([ sp:object _:b67 ;
305 + sp:predicate ddr:floatHeld ;
306 + sp:subject _:b54
307 + ])
308 + ] [ rdf:type sp:Optional ;
309 + sp:elements ([ sp:object _:b68 ;
310 + sp:predicate ddr:reciprocated ;
311 + sp:subject _:b54
312 + ])
313 + ] [ rdf:type sp:Optional ;
314 + sp:elements ([ sp:object _:b69 ;
315 + sp:predicate ddr:rotated ;
316 + sp:subject _:b54
317 + ])
318 + ] [ rdf:type sp:Optional ;
319 + sp:elements ([ sp:object _:b70 ;
320 + sp:predicate ddr:typeFluidRef ;
321 + sp:subject _:b60
322 + ])
323 + ] [ rdf:type sp:Optional ;
324 + sp:elements ([ sp:object
209 [ sp:varName "cementingFluidDescription"^^xsd:string 325 [ sp:varName "cementingFluidDescription"^^xsd:string
210 ] ; 326 ] ;
211 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#descFluid> ; 327 + sp:predicate ddr:descFluid ;
212 - sp:subject _:b39 328 + sp:subject _:b60
213 - ] [ sp:object _:b17 ; 329 + ])
214 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#ratioMixWater> ; 330 + ] [ rdf:type sp:Optional ;
215 - sp:subject _:b39 331 + sp:elements ([ sp:object _:b71 ;
216 - ] [ sp:object _:b18 ; 332 + sp:predicate ddr:ratioMixWaterRef ;
217 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#density> ; 333 + sp:subject _:b60
218 - sp:subject _:b39 334 + ] [ sp:object _:b72 ;
219 - ] [ sp:object _:b11 ; 335 + sp:predicate ddr:uomRef ;
220 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#volPumped> ; 336 + sp:subject _:b71
221 - sp:subject _:b39
222 - ] [ sp:object _:b19 ;
223 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#yp> ;
224 - sp:subject _:b39
225 - ] [ sp:object _:b20 ;
226 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#eTimThickening> ;
227 - sp:subject _:b39
228 - ] [ sp:object _:b21 ;
229 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#pcFreeWater> ;
230 - sp:subject _:b39
231 ] [ sp:object _:b22 ; 337 ] [ sp:object _:b22 ;
232 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#comments> ; 338 + sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
233 - sp:subject _:b39 339 + sp:subject _:b71
340 + ])
341 + ] [ rdf:type sp:Optional ;
342 + sp:elements ([ sp:object _:b73 ;
343 + sp:predicate ddr:densityRef ;
344 + sp:subject _:b60
345 + ] [ sp:object _:b74 ;
346 + sp:predicate ddr:uomRef ;
347 + sp:subject _:b73
348 + ] [ sp:object _:b25 ;
349 + sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
350 + sp:subject _:b73
351 + ])
352 + ] [ rdf:type sp:Optional ;
353 + sp:elements ([ sp:object _:b75 ;
354 + sp:predicate ddr:volPumpedRef ;
355 + sp:subject _:b60
356 + ] [ sp:object _:b76 ;
357 + sp:predicate ddr:uomRef ;
358 + sp:subject _:b75
359 + ] [ sp:object _:b14 ;
360 + sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
361 + sp:subject _:b75
362 + ])
363 + ] [ rdf:type sp:Optional ;
364 + sp:elements ([ sp:object _:b77 ;
365 + sp:predicate ddr:ypRef ;
366 + sp:subject _:b60
367 + ] [ sp:object _:b78 ;
368 + sp:predicate ddr:uomRef ;
369 + sp:subject _:b77
370 + ] [ sp:object _:b28 ;
371 + sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
372 + sp:subject _:b77
373 + ])
374 + ] [ rdf:type sp:Optional ;
375 + sp:elements ([ sp:object _:b79 ;
376 + sp:predicate ddr:eTimThickeningRef ;
377 + sp:subject _:b60
378 + ] [ sp:object _:b80 ;
379 + sp:predicate ddr:uomRef ;
380 + sp:subject _:b79
381 + ] [ sp:object _:b31 ;
382 + sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
383 + sp:subject _:b79
384 + ])
385 + ] [ rdf:type sp:Optional ;
386 + sp:elements ([ sp:object _:b81 ;
387 + sp:predicate ddr:pcFreeWaterRef ;
388 + sp:subject _:b60
389 + ] [ sp:object _:b82 ;
390 + sp:predicate ddr:uomRef ;
391 + sp:subject _:b81
392 + ] [ sp:object _:b34 ;
393 + sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
394 + sp:subject _:b81
395 + ])
396 + ] [ rdf:type sp:Optional ;
397 + sp:elements ([ sp:object _:b36 ;
398 + sp:predicate ddr:comments ;
399 + sp:subject _:b60
234 ]) 400 ])
235 ] [ rdf:type sp:Bind ; 401 ] [ rdf:type sp:Bind ;
236 sp:expression 402 sp:expression
237 [ rdf:type ep-spin-lib:normalizeString ; 403 [ rdf:type ep-spin-lib:normalizeString ;
238 - sp:arg1 _:b34 404 + sp:arg1 _:b52
239 ] ; 405 ] ;
240 - sp:variable _:b48 406 + sp:variable _:b83
241 ] [ rdf:type sp:Bind ; 407 ] [ rdf:type sp:Bind ;
242 sp:expression 408 sp:expression
243 [ rdf:type ep-spin-lib:buildDailyDrillingActivityURI ; 409 [ rdf:type ep-spin-lib:buildDailyDrillingActivityURI ;
244 - sp:arg1 _:b48 ; 410 + sp:arg1 _:b83 ;
245 - sp:arg2 _:b35 411 + sp:arg2 _:b53
246 ] ; 412 ] ;
247 sp:variable _:b2 413 sp:variable _:b2
248 ] [ rdf:type sp:Bind ; 414 ] [ rdf:type sp:Bind ;
249 sp:expression 415 sp:expression
250 - [ rdf:type ep-spin-lib:buildWellCementJobURI ; 416 + [ rdf:type afn:localname ;
251 - sp:arg1 _:b48 ; 417 + sp:arg1 [ sp:varName "casingLinerTubing"^^xsd:string
252 - sp:arg2 _:b37 418 + ]
253 ] ; 419 ] ;
254 - sp:variable _:b1 420 + sp:variable _:b84
255 ] [ rdf:type sp:Bind ; 421 ] [ rdf:type sp:Bind ;
256 sp:expression 422 sp:expression
257 - [ rdf:type ep-spin-lib:buildPartOfAWellBoreInWellCementJobURI ; 423 + [ rdf:type ep-spin-lib:buildWellCementJobURI ;
258 - sp:arg1 _:b48 ; 424 + sp:arg1 _:b83 ;
259 - sp:arg2 _:b37 425 + sp:arg2 _:b84
260 ] ; 426 ] ;
261 - sp:variable _:b3 427 + sp:variable _:b1
262 ] [ rdf:type sp:Bind ; 428 ] [ rdf:type sp:Bind ;
263 sp:expression 429 sp:expression
264 [ rdf:type ep-spin-lib:selectWellCementJobType ; 430 [ rdf:type ep-spin-lib:selectWellCementJobType ;
265 - sp:arg1 _:b38 431 + sp:arg1 _:b55
266 ] ; 432 ] ;
267 sp:variable _:b5 433 sp:variable _:b5
268 ] [ rdf:type sp:Bind ; 434 ] [ rdf:type sp:Bind ;
269 sp:expression 435 sp:expression
270 [ rdf:type ep-spin-lib:selectCementingFluidType ; 436 [ rdf:type ep-spin-lib:selectCementingFluidType ;
271 - sp:arg1 _:b47 437 + sp:arg1 _:b70
272 ] ; 438 ] ;
273 - sp:variable _:b15 439 + sp:variable _:b19
274 ] [ rdf:type sp:Bind ; 440 ] [ rdf:type sp:Bind ;
275 sp:expression 441 sp:expression
276 [ rdf:type ep-spin-lib:selectCementingFluidReturnType ; 442 [ rdf:type ep-spin-lib:selectCementingFluidReturnType ;
277 - sp:arg1 _:b40 443 + sp:arg1 _:b61
278 ] ; 444 ] ;
279 sp:variable _:b9 445 sp:variable _:b9
280 ] [ rdf:type sp:Bind ; 446 ] [ rdf:type sp:Bind ;
281 sp:expression 447 sp:expression
282 [ rdf:type ep-spin-lib:selectWellCementJobTopPlugType ; 448 [ rdf:type ep-spin-lib:selectWellCementJobTopPlugType ;
283 - sp:arg1 _:b41 449 + sp:arg1 _:b62
284 ] ; 450 ] ;
285 sp:variable _:b6 451 sp:variable _:b6
286 ] [ rdf:type sp:Bind ; 452 ] [ rdf:type sp:Bind ;
287 sp:expression 453 sp:expression
288 [ rdf:type ep-spin-lib:selectWellCementJobBottomPlugType ; 454 [ rdf:type ep-spin-lib:selectWellCementJobBottomPlugType ;
289 - sp:arg1 _:b42 455 + sp:arg1 _:b63
290 ] ; 456 ] ;
291 sp:variable _:b7 457 sp:variable _:b7
292 ] [ rdf:type sp:Bind ; 458 ] [ rdf:type sp:Bind ;
293 sp:expression 459 sp:expression
294 [ rdf:type ep-spin-lib:selectWellCementJobCasingRotationType ; 460 [ rdf:type ep-spin-lib:selectWellCementJobCasingRotationType ;
295 - sp:arg1 _:b46 461 + sp:arg1 _:b69
296 ] ; 462 ] ;
297 - sp:variable _:b27 463 + sp:variable _:b43
298 ] [ rdf:type sp:Bind ; 464 ] [ rdf:type sp:Bind ;
299 sp:expression 465 sp:expression
300 [ rdf:type ep-spin-lib:selectWellCementJobCasingReciprocationType ; 466 [ rdf:type ep-spin-lib:selectWellCementJobCasingReciprocationType ;
301 - sp:arg1 _:b45 467 + sp:arg1 _:b68
302 ] ; 468 ] ;
303 - sp:variable _:b28 469 + sp:variable _:b44
304 ] [ rdf:type sp:Bind ; 470 ] [ rdf:type sp:Bind ;
305 sp:expression 471 sp:expression
306 [ rdf:type ep-spin-lib:selectWellCementJobPlugBumpingType ; 472 [ rdf:type ep-spin-lib:selectWellCementJobPlugBumpingType ;
307 - sp:arg1 _:b43 473 + sp:arg1 _:b64
308 ] ; 474 ] ;
309 - sp:variable _:b29 475 + sp:variable _:b45
310 ] [ rdf:type sp:Bind ; 476 ] [ rdf:type sp:Bind ;
311 sp:expression 477 sp:expression
312 [ rdf:type ep-spin-lib:selectWellCementJobFloatHoldingType ; 478 [ rdf:type ep-spin-lib:selectWellCementJobFloatHoldingType ;
313 - sp:arg1 _:b44 479 + sp:arg1 _:b67
480 + ] ;
481 + sp:variable _:b49
482 + ] [ rdf:type sp:Bind ;
483 + sp:expression
484 + [ rdf:type ep-spin-lib:selectRatioScale ;
485 + sp:arg1 _:b82
486 + ] ;
487 + sp:variable _:b35
488 + ] [ rdf:type sp:Bind ;
489 + sp:expression
490 + [ rdf:type ep-spin-lib:selectTimeDurationScale ;
491 + sp:arg1 _:b80
492 + ] ;
493 + sp:variable _:b32
494 + ] [ rdf:type sp:Bind ;
495 + sp:expression
496 + [ rdf:type ep-spin-lib:selectYieldPointScale ;
497 + sp:arg1 _:b78
498 + ] ;
499 + sp:variable _:b29
500 + ] [ rdf:type sp:Bind ;
501 + sp:expression
502 + [ rdf:type ep-spin-lib:selectDensityScale ;
503 + sp:arg1 _:b74
504 + ] ;
505 + sp:variable _:b26
506 + ] [ rdf:type sp:Bind ;
507 + sp:expression
508 + [ rdf:type ep-spin-lib:selectPressureScale ;
509 + sp:arg1 _:b66
510 + ] ;
511 + sp:variable _:b48
512 + ] [ rdf:type sp:Bind ;
513 + sp:expression
514 + [ rdf:type ep-spin-lib:selectVolumeScale ;
515 + sp:arg1 _:b76
516 + ] ;
517 + sp:variable _:b15
518 + ] [ rdf:type sp:Bind ;
519 + sp:expression
520 + [ rdf:type ep-spin-lib:selectVolumeScale ;
521 + sp:arg1 _:b59
522 + ] ;
523 + sp:variable _:b12
524 + ] [ rdf:type sp:Bind ;
525 + sp:expression
526 + [ rdf:type ep-spin-lib:selectRatioScale ;
527 + sp:arg1 _:b72
314 ] ; 528 ] ;
315 - sp:variable _:b31 529 + sp:variable _:b23
530 + ] [ rdf:type sp:Bind ;
531 + sp:expression
532 + [ rdf:type ep-spin-lib:selectLengthScale ;
533 + sp:arg1 _:b57
534 + ] ;
535 + sp:variable _:b41
316 ]) 536 ])
317 ] . 537 ] .
318 538
319 -<http://www.reportinghub.no/ep/transform/1.1/ddr/cementStage> 539 +_:b52
320 - rdf:type owl:Ontology ;
321 - owl:imports <http://www.reportinghub.no/ep/transform/1.1/ddr> , <http://www.reportinghub.no/ep/spin/1.1/lib> , <http://spinrdf.org/spin> ;
322 - owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
323 -
324 -_:b34
325 sp:varName "nameWellBore"^^xsd:string . 540 sp:varName "nameWellBore"^^xsd:string .
326 541
327 -_:b35 542 +_:b53
328 sp:varName "dTimStart"^^xsd:string . 543 sp:varName "dTimStart"^^xsd:string .
329 544
330 -_:b36 545 +_:b54
331 sp:varName "cementStage"^^xsd:string . 546 sp:varName "cementStage"^^xsd:string .
332 547
333 -_:b37
334 - sp:varName "index"^^xsd:string .
335 -
336 _:b2 sp:varName "dailyDrillingActivity"^^xsd:string . 548 _:b2 sp:varName "dailyDrillingActivity"^^xsd:string .
337 549
338 _:b4 sp:varName "dailyTemporalPartOfAWellBore"^^xsd:string . 550 _:b4 sp:varName "dailyTemporalPartOfAWellBore"^^xsd:string .
339 551
340 -_:b12 552 +_:b16
341 sp:varName "dTimPumpStart"^^xsd:string . 553 sp:varName "dTimPumpStart"^^xsd:string .
342 554
343 -_:b13 555 +_:b17
344 sp:varName "dTimPumpEnd"^^xsd:string . 556 sp:varName "dTimPumpEnd"^^xsd:string .
345 557
346 -_:b38 558 +_:b55
347 sp:varName "enumJobType"^^xsd:string . 559 sp:varName "enumJobType"^^xsd:string .
348 560
349 -_:b25 561 +_:b56
350 sp:varName "casingStrDia"^^xsd:string . 562 sp:varName "casingStrDia"^^xsd:string .
351 563
352 -_:b26 564 +_:b57
565 + sp:varName "uomCasingStrDia"^^xsd:string .
566 +
567 +_:b40
568 + sp:varName "realCasingStrDia"^^xsd:string .
569 +
570 +_:b42
353 sp:varName "cementStageComments"^^xsd:string . 571 sp:varName "cementStageComments"^^xsd:string .
354 572
355 -_:b10 573 +_:b58
356 sp:varName "volReturns"^^xsd:string . 574 sp:varName "volReturns"^^xsd:string .
357 575
358 -_:b39 576 +_:b59
577 + sp:varName "uomVolReturns"^^xsd:string .
578 +
579 +_:b11
580 + sp:varName "realVolReturns"^^xsd:string .
581 +
582 +_:b60
359 sp:varName "cementingFluid"^^xsd:string . 583 sp:varName "cementingFluid"^^xsd:string .
360 584
361 -_:b33 585 +_:b51
362 sp:varName "dTimPresReleased"^^xsd:string . 586 sp:varName "dTimPresReleased"^^xsd:string .
363 587
364 -_:b40 588 +_:b61
365 sp:varName "annFlowAfter"^^xsd:string . 589 sp:varName "annFlowAfter"^^xsd:string .
366 590
367 -_:b41 591 +_:b62
368 sp:varName "topPlug"^^xsd:string . 592 sp:varName "topPlug"^^xsd:string .
369 593
370 -_:b42 594 +_:b63
371 sp:varName "botPlug"^^xsd:string . 595 sp:varName "botPlug"^^xsd:string .
372 596
373 -_:b43 597 +_:b64
374 sp:varName "plugBumped"^^xsd:string . 598 sp:varName "plugBumped"^^xsd:string .
375 599
376 -_:b30 600 +_:b65
377 sp:varName "presBump"^^xsd:string . 601 sp:varName "presBump"^^xsd:string .
378 602
379 -_:b44 603 +_:b66
604 + sp:varName "uomPresBump"^^xsd:string .
605 +
606 +_:b47
607 + sp:varName "realPresBump"^^xsd:string .
608 +
609 +_:b67
380 sp:varName "floatHeld"^^xsd:string . 610 sp:varName "floatHeld"^^xsd:string .
381 611
382 -_:b45 612 +_:b68
383 sp:varName "reciprocated"^^xsd:string . 613 sp:varName "reciprocated"^^xsd:string .
384 614
385 -_:b46 615 +_:b69
386 sp:varName "rotated"^^xsd:string . 616 sp:varName "rotated"^^xsd:string .
387 617
388 -_:b47 618 +_:b70
389 sp:varName "enumTypeFluid"^^xsd:string . 619 sp:varName "enumTypeFluid"^^xsd:string .
390 620
391 -_:b17 621 +_:b71
392 sp:varName "ratioMixWater"^^xsd:string . 622 sp:varName "ratioMixWater"^^xsd:string .
393 623
394 -_:b18 624 +_:b72
625 + sp:varName "uomRatioMixWater"^^xsd:string .
626 +
627 +_:b22
628 + sp:varName "realRatioMixWater"^^xsd:string .
629 +
630 +_:b73
395 sp:varName "density"^^xsd:string . 631 sp:varName "density"^^xsd:string .
396 632
397 -_:b11 633 +_:b74
634 + sp:varName "uomDensity"^^xsd:string .
635 +
636 +_:b25
637 + sp:varName "realDensity"^^xsd:string .
638 +
639 +_:b75
398 sp:varName "volPumped"^^xsd:string . 640 sp:varName "volPumped"^^xsd:string .
399 641
400 -_:b19 642 +_:b76
643 + sp:varName "uomVolPumped"^^xsd:string .
644 +
645 +_:b14
646 + sp:varName "realVolPumped"^^xsd:string .
647 +
648 +_:b77
401 sp:varName "yp"^^xsd:string . 649 sp:varName "yp"^^xsd:string .
402 650
403 -_:b20 651 +_:b78
652 + sp:varName "uomYp"^^xsd:string .
653 +
654 +_:b28
655 + sp:varName "realYp"^^xsd:string .
656 +
657 +_:b79
404 sp:varName "eTimThickening"^^xsd:string . 658 sp:varName "eTimThickening"^^xsd:string .
405 659
406 -_:b21 660 +_:b80
661 + sp:varName "uomETim"^^xsd:string .
662 +
663 +_:b31
664 + sp:varName "realETim"^^xsd:string .
665 +
666 +_:b81
407 sp:varName "pcFreeWater"^^xsd:string . 667 sp:varName "pcFreeWater"^^xsd:string .
408 668
409 -_:b22 669 +_:b82
670 + sp:varName "uomPcFreeWater"^^xsd:string .
671 +
672 +_:b34
673 + sp:varName "realPcFreeWater"^^xsd:string .
674 +
675 +_:b36
410 sp:varName "cementingFluidComments"^^xsd:string . 676 sp:varName "cementingFluidComments"^^xsd:string .
411 677
412 -_:b48 678 +_:b83
413 sp:varName "normalizedWellBoreName"^^xsd:string . 679 sp:varName "normalizedWellBoreName"^^xsd:string .
414 680
415 -_:b1 sp:varName "wellCementJob"^^xsd:string . 681 +_:b84
682 + sp:varName "localname"^^xsd:string .
416 683
417 -_:b3 sp:varName "wellCementingPartOfAWellBore"^^xsd:string . 684 +_:b1 sp:varName "wellCementJob"^^xsd:string .
418 685
419 _:b5 sp:varName "wellCementJobType"^^xsd:string . 686 _:b5 sp:varName "wellCementJobType"^^xsd:string .
420 687
421 -_:b15 688 +_:b19
422 sp:varName "cementingFluidType"^^xsd:string . 689 sp:varName "cementingFluidType"^^xsd:string .
423 690
424 _:b9 sp:varName "cementingFluidReturnType"^^xsd:string . 691 _:b9 sp:varName "cementingFluidReturnType"^^xsd:string .
...@@ -427,14 +694,41 @@ _:b6 sp:varName "wellCementJobTopPlugType"^^xsd:string . ...@@ -427,14 +694,41 @@ _:b6 sp:varName "wellCementJobTopPlugType"^^xsd:string .
427 694
428 _:b7 sp:varName "wellCementJobBottomPlugType"^^xsd:string . 695 _:b7 sp:varName "wellCementJobBottomPlugType"^^xsd:string .
429 696
430 -_:b27 697 +_:b43
431 sp:varName "wellCementJobCasingRotationType"^^xsd:string . 698 sp:varName "wellCementJobCasingRotationType"^^xsd:string .
432 699
433 -_:b28 700 +_:b44
434 sp:varName "wellCementJobCasingReciprocationType"^^xsd:string . 701 sp:varName "wellCementJobCasingReciprocationType"^^xsd:string .
435 702
436 -_:b29 703 +_:b45
437 sp:varName "wellCementJobPlugBumpingType"^^xsd:string . 704 sp:varName "wellCementJobPlugBumpingType"^^xsd:string .
438 705
439 -_:b31 706 +_:b49
440 sp:varName "wellCementJobFloatHoldingType"^^xsd:string . 707 sp:varName "wellCementJobFloatHoldingType"^^xsd:string .
708 +
709 +_:b35
710 + sp:varName "ratioScalePcFreeWater"^^xsd:string .
711 +
712 +_:b32
713 + sp:varName "durationScaleETim"^^xsd:string .
714 +
715 +_:b29
716 + sp:varName "yieldPointScale"^^xsd:string .
717 +
718 +_:b26
719 + sp:varName "densityScale"^^xsd:string .
720 +
721 +_:b48
722 + sp:varName "pressureScaleBump"^^xsd:string .
723 +
724 +_:b15
725 + sp:varName "volumeScalePumped"^^xsd:string .
726 +
727 +_:b12
728 + sp:varName "volumeScaleReturns"^^xsd:string .
729 +
730 +_:b23
731 + sp:varName "ratioScaleMixWater"^^xsd:string .
732 +
733 +_:b41
734 + sp:varName "lengthScaleCasingStrDia"^^xsd:string .
......
1 -# Saved by TopBraid on Wed Aug 24 20:24:31 BST 2011 1 +# Saved by TopBraid on Wed Sep 14 23:50:25 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 +# Saved by TopBraid on Wed Sep 14 23:55:27 BST 2011
2 +# baseURI: http://www.reportinghub.no/ep/transform/1.1/ddr/collector
3 +# imports: http://www.reportinghub.no/ep/transform/1.1/ddr/activity
4 +# imports: http://www.reportinghub.no/ep/transform/1.1/wellAndWellBoreAlias
5 +# imports: http://www.reportinghub.no/ep/transform/1.1/wellboreInfo
6 +# imports: http://www.reportinghub.no/ep/transform/1.1/ddr/casingLinerTubingRun
7 +# imports: http://www.reportinghub.no/ep/transform/1.1/ddr/cementStage
8 +# imports: http://www.reportinghub.no/ep/transform/1.1/ddr/surveyStation
9 +# imports: http://www.reportinghub.no/ep/transform/1.1/ddr/controlIncidentInfo
10 +# imports: http://www.reportinghub.no/ep/transform/1.1/ddr/drillReport
11 +# imports: http://www.reportinghub.no/ep/transform/1.1/ddr/statusInfo
12 +# imports: http://spinrdf.org/spin
13 +
14 +@prefix : <http://www.reportinghub.no/ep/transform/1.1/ddr/collector#> .
15 +@prefix activity: <http://www.reportinghub.no/ep/transform/1.1/ddr/activity#> .
16 +@prefix casingLinerTubingRun: <http://www.reportinghub.no/ep/transform/1.1/ddr/casingLinerTubingRun#> .
17 +@prefix cementStage: <http://www.reportinghub.no/ep/transform/1.1/ddr/cementStage#> .
18 +@prefix controlIncidentInfo: <http://www.reportinghub.no/ep/transform/1.1/ddr/controlIncidentInfo#> .
19 +@prefix owl: <http://www.w3.org/2002/07/owl#> .
20 +@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
21 +@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
22 +@prefix sp: <http://spinrdf.org/sp#> .
23 +@prefix spin: <http://spinrdf.org/spin#> .
24 +@prefix spl: <http://spinrdf.org/spl#> .
25 +@prefix statusInfo: <http://www.reportinghub.no/ep/transform/1.1/ddr/statusInfo#> .
26 +@prefix surveyStation: <http://www.reportinghub.no/ep/transform/1.1/ddr/surveyStation#> .
27 +@prefix wellAndWellBoreAlias: <http://www.reportinghub.no/ep/transform/1.1/wellAndWellBoreAlias#> .
28 +@prefix wellboreInfo: <http://www.reportinghub.no/ep/transform/1.1/wellboreInfo#> .
29 +@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
30 +
31 +<http://www.reportinghub.no/ep/transform/1.1/ddr/collector>
32 + rdf:type owl:Ontology ;
33 + owl:imports <http://spinrdf.org/spin> , <http://www.reportinghub.no/ep/transform/1.1/ddr/drillReport> , <http://www.reportinghub.no/ep/transform/1.1/ddr/activity> , <http://www.reportinghub.no/ep/transform/1.1/wellboreInfo> , <http://www.reportinghub.no/ep/transform/1.1/ddr/surveyStation> , <http://www.reportinghub.no/ep/transform/1.1/ddr/controlIncidentInfo> , <http://www.reportinghub.no/ep/transform/1.1/ddr/cementStage> , <http://www.reportinghub.no/ep/transform/1.1/wellAndWellBoreAlias> , <http://www.reportinghub.no/ep/transform/1.1/ddr/casingLinerTubingRun> , <http://www.reportinghub.no/ep/transform/1.1/ddr/statusInfo> ;
34 + owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
1 +# Saved by TopBraid on Wed Sep 14 23:55:27 BST 2011
2 +# baseURI: null
3 +
4 +@prefix composite: <http://www.topbraid.org/2007/05/composite.owl#> .
5 +@prefix forms: <http://www.topbraid.org/2007/01/forms.owl#> .
6 +@prefix inference: <http://www.topbraid.org/2007/06/inference.owl#> .
7 +@prefix owl: <http://www.w3.org/2002/07/owl#> .
8 +@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
9 +@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
10 +@prefix visual: <http://topbraid.org/visual#> .
11 +@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
12 +
13 +[] rdf:type inference:Configuration ;
14 + composite:child
15 + [ rdf:type <http://spinrdf.org/spin#TopSPIN> ;
16 + composite:index "0"^^xsd:int
17 + ] .
1 -# Saved by TopBraid on Tue Aug 23 20:39:28 BST 2011 1 +# Saved by TopBraid on Tue Sep 13 16:35:02 BST 2011
2 # baseURI: http://www.reportinghub.no/ep/transform/1.1/ddr/controlIncidentInfo 2 # baseURI: http://www.reportinghub.no/ep/transform/1.1/ddr/controlIncidentInfo
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/transform/1.1/ddr 4 +# imports: http://www.witsml.org/schemas/1series
5 # imports: http://spinrdf.org/spin 5 # imports: http://spinrdf.org/spin
6 6
7 @prefix : <http://www.reportinghub.no/ep/transform/1.1/ddr/controlIncidentInfo#> . 7 @prefix : <http://www.reportinghub.no/ep/transform/1.1/ddr/controlIncidentInfo#> .
8 +@prefix afn: <http://jena.hpl.hp.com/ARQ/function#> .
9 +@prefix ddr: <http://www.witsml.org/schemas/1series#> .
8 @prefix ep-spin-lib: <http://www.reportinghub.no/ep/spin/lib#> . 10 @prefix ep-spin-lib: <http://www.reportinghub.no/ep/spin/lib#> .
9 @prefix owl: <http://www.w3.org/2002/07/owl#> . 11 @prefix owl: <http://www.w3.org/2002/07/owl#> .
10 @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . 12 @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
...@@ -14,7 +16,12 @@ ...@@ -14,7 +16,12 @@
14 @prefix spl: <http://spinrdf.org/spl#> . 16 @prefix spl: <http://spinrdf.org/spl#> .
15 @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . 17 @prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
16 18
17 -<http://www.reportinghub.no/ep/schema/ddr#Obj_drillReport> 19 +<http://www.reportinghub.no/ep/transform/1.1/ddr/controlIncidentInfo>
20 + rdf:type owl:Ontology ;
21 + owl:imports <http://www.reportinghub.no/ep/spin/1.1/lib> , <http://www.witsml.org/schemas/1series> , <http://spinrdf.org/spin> ;
22 + owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
23 +
24 +ddr:Obj_drillReport
18 spin:rule 25 spin:rule
19 [ rdf:type sp:Construct ; 26 [ rdf:type sp:Construct ;
20 rdfs:comment "STEP 250 Create an WellControlIncident activity"^^xsd:string ; 27 rdfs:comment "STEP 250 Create an WellControlIncident activity"^^xsd:string ;
...@@ -24,7 +31,7 @@ ...@@ -24,7 +31,7 @@
24 ] [ sp:object _:b1 ; 31 ] [ sp:object _:b1 ;
25 sp:predicate <http://www.reportinghub.no/ep/schema/core#hasPart> ; 32 sp:predicate <http://www.reportinghub.no/ep/schema/core#hasPart> ;
26 sp:subject _:b2 33 sp:subject _:b2
27 - ] [ sp:object <http://www.reportinghub.no/ep/schema/well#TemporalPartOfAWellBore> ; 34 + ] [ sp:object <http://www.reportinghub.no/ep/schema/well#WellBore> ;
28 sp:predicate rdf:type ; 35 sp:predicate rdf:type ;
29 sp:subject _:b3 36 sp:subject _:b3
30 ] [ sp:object _:b4 ; 37 ] [ sp:object _:b4 ;
...@@ -42,339 +49,712 @@ ...@@ -42,339 +49,712 @@
42 ] [ sp:object _:b7 ; 49 ] [ sp:object _:b7 ;
43 sp:predicate <http://www.reportinghub.no/ep/schema/activity#hasInflowLocation> ; 50 sp:predicate <http://www.reportinghub.no/ep/schema/activity#hasInflowLocation> ;
44 sp:subject _:b1 51 sp:subject _:b1
45 - ] [ sp:object <http://www.reportinghub.no/ep/schema/well#TemporalPartOfASpatialPartOfAWellBore> ; 52 + ] [ sp:object <http://www.reportinghub.no/ep/schema/well#PositionWithinWellBore> ;
46 sp:predicate rdf:type ; 53 sp:predicate rdf:type ;
47 sp:subject _:b7 54 sp:subject _:b7
48 ] [ sp:object _:b8 ; 55 ] [ sp:object _:b8 ;
49 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#md> ; 56 + sp:predicate <http://www.reportinghub.no/ep/schema/core#hasPart> ;
50 sp:subject _:b7 57 sp:subject _:b7
58 + ] [ sp:object <http://www.reportinghub.no/ep/schema/well#SurroundingRockFormation> ;
59 + sp:predicate rdf:type ;
60 + sp:subject _:b8
51 ] [ sp:object _:b9 ; 61 ] [ sp:object _:b9 ;
52 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#tvd> ; 62 + sp:predicate rdfs:comment ;
53 - sp:subject _:b7 63 + sp:subject _:b8
54 ] [ sp:object _:b10 ; 64 ] [ sp:object _:b10 ;
55 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#formation> ; 65 + sp:predicate <http://www.reportinghub.no/ep/schema/well#measuredDepth> ;
56 sp:subject _:b7 66 sp:subject _:b7
67 + ] [ sp:object <http://www.reportinghub.no/ep/schema/core#Length> ;
68 + sp:predicate rdf:type ;
69 + sp:subject _:b10
57 ] [ sp:object _:b11 ; 70 ] [ sp:object _:b11 ;
58 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#eTimLost> ; 71 + sp:predicate _:b12 ;
72 + sp:subject _:b10
73 + ] [ sp:object _:b13 ;
74 + sp:predicate <http://www.reportinghub.no/ep/schema/well#trueVerticalDepth> ;
75 + sp:subject _:b7
76 + ] [ sp:object <http://www.reportinghub.no/ep/schema/core#Length> ;
77 + sp:predicate rdf:type ;
78 + sp:subject _:b13
79 + ] [ sp:object _:b14 ;
80 + sp:predicate _:b15 ;
81 + sp:subject _:b13
82 + ] [ sp:object _:b16 ;
83 + sp:predicate <http://www.reportinghub.no/ep/schema/activity#timeLost> ;
59 sp:subject _:b1 84 sp:subject _:b1
60 - ] [ sp:object _:b12 ; 85 + ] [ sp:object <http://www.reportinghub.no/ep/schema/core#TimeDuration> ;
86 + sp:predicate rdf:type ;
87 + sp:subject _:b16
88 + ] [ sp:object _:b17 ;
89 + sp:predicate _:b18 ;
90 + sp:subject _:b16
91 + ] [ sp:object _:b19 ;
61 sp:predicate rdf:type ; 92 sp:predicate rdf:type ;
62 sp:subject _:b1 93 sp:subject _:b1
63 - ] [ sp:object _:b13 ; 94 + ] [ sp:object _:b20 ;
64 - sp:predicate <http://www.reportinghub.no/ep/schema/activity#during> ; 95 + sp:predicate <http://www.reportinghub.no/ep/schema/core#partOf> ;
65 sp:subject _:b1 96 sp:subject _:b1
66 - ] [ sp:object _:b14 ; 97 + ] [ sp:object _:b21 ;
67 sp:predicate rdf:type ; 98 sp:predicate rdf:type ;
68 - sp:subject _:b13 99 + sp:subject _:b20
69 - ] [ sp:object _:b15 ; 100 + ] [ sp:object _:b22 ;
70 sp:predicate rdf:type ; 101 sp:predicate rdf:type ;
71 - sp:subject _:b13 102 + sp:subject _:b20
72 - ] [ sp:object _:b16 ; 103 + ] [ sp:object _:b23 ;
73 sp:predicate <http://www.reportinghub.no/ep/schema/activity#hasDrillBit> ; 104 sp:predicate <http://www.reportinghub.no/ep/schema/activity#hasDrillBit> ;
74 - sp:subject _:b13 105 + sp:subject _:b20
75 - ] [ sp:object _:b17 ; 106 + ] [ sp:object _:b24 ;
76 sp:predicate <http://www.reportinghub.no/ep/schema/activity#hasChokeValve> ; 107 sp:predicate <http://www.reportinghub.no/ep/schema/activity#hasChokeValve> ;
77 - sp:subject _:b13 108 + sp:subject _:b20
78 - ] [ sp:object _:b18 ;
79 - sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
80 - sp:subject _:b17
81 - ] [ sp:object <http://www.reportinghub.no/ep/schema/equipment#TemporalPartOfEquipment> ;
82 - sp:predicate rdf:type ;
83 - sp:subject _:b17
84 ] [ sp:object <http://www.reportinghub.no/ep/schema/equipment#ChokeValve> ; 109 ] [ sp:object <http://www.reportinghub.no/ep/schema/equipment#ChokeValve> ;
85 sp:predicate rdf:type ; 110 sp:predicate rdf:type ;
86 - sp:subject _:b18 111 + sp:subject _:b24
87 - ] [ sp:object _:b19 ; 112 + ] [ sp:object _:b25 ;
88 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#presMaxChoke> ; 113 + sp:predicate <http://www.reportinghub.no/ep/schema/equipment#maximumPressureForChokeValve> ;
89 - sp:subject _:b18 114 + sp:subject _:b24
90 - ] [ sp:object _:b20 ; 115 + ] [ sp:object <http://www.reportinghub.no/ep/schema/core#Pressure> ;
91 - sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
92 - sp:subject _:b16
93 - ] [ sp:object <http://www.reportinghub.no/ep/schema/equipment#TemporalPartOfEquipment> ;
94 sp:predicate rdf:type ; 116 sp:predicate rdf:type ;
95 - sp:subject _:b16 117 + sp:subject _:b25
118 + ] [ sp:object _:b26 ;
119 + sp:predicate _:b27 ;
120 + sp:subject _:b25
96 ] [ sp:object <http://www.reportinghub.no/ep/schema/equipment#DrillBit> ; 121 ] [ sp:object <http://www.reportinghub.no/ep/schema/equipment#DrillBit> ;
97 sp:predicate rdf:type ; 122 sp:predicate rdf:type ;
98 - sp:subject _:b20 123 + sp:subject _:b23
99 - ] [ sp:object _:b21 ; 124 + ] [ sp:object _:b28 ;
100 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#diaBit> ; 125 + sp:predicate <http://www.reportinghub.no/ep/schema/equipment#diameterOfDrillBit> ;
101 - sp:subject _:b20 126 + sp:subject _:b23
102 - ] [ sp:object _:b22 ; 127 + ] [ sp:object <http://www.reportinghub.no/ep/schema/core#Length> ;
128 + sp:predicate rdf:type ;
129 + sp:subject _:b28
130 + ] [ sp:object _:b29 ;
131 + sp:predicate _:b30 ;
132 + sp:subject _:b28
133 + ] [ sp:object _:b31 ;
103 sp:predicate <http://www.reportinghub.no/ep/schema/core#hasPart> ; 134 sp:predicate <http://www.reportinghub.no/ep/schema/core#hasPart> ;
104 sp:subject _:b1 135 sp:subject _:b1
105 - ] [ sp:object _:b23 ; 136 + ] [ sp:object _:b32 ;
106 sp:predicate rdf:type ; 137 sp:predicate rdf:type ;
107 - sp:subject _:b22 138 + sp:subject _:b31
108 - ] [ sp:object _:b24 ; 139 + ] [ sp:object _:b33 ;
109 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#volMudGained> ; 140 + sp:predicate <http://www.reportinghub.no/ep/schema/activity#volumeOfMudGained> ;
110 sp:subject _:b1 141 sp:subject _:b1
111 - ] [ sp:object _:b25 ; 142 + ] [ sp:object <http://www.reportinghub.no/ep/schema/core#Volume> ;
112 - sp:predicate <http://purl.org/dc/elements/1.1/description> ; 143 + sp:predicate rdf:type ;
144 + sp:subject _:b33
145 + ] [ sp:object _:b34 ;
146 + sp:predicate _:b35 ;
147 + sp:subject _:b33
148 + ] [ sp:object _:b36 ;
149 + sp:predicate rdfs:comment ;
113 sp:subject _:b1 150 sp:subject _:b1
114 - ] [ sp:object _:b26 ; 151 + ] [ sp:object _:b37 ;
115 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#diaCsgLast> ; 152 + sp:predicate <http://www.reportinghub.no/ep/schema/core#hasPart> ;
116 - sp:subject _:b3
117 - ] [ sp:object _:b27 ;
118 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#mdCsgLast> ;
119 sp:subject _:b3 153 sp:subject _:b3
120 - ] [ sp:object _:b28 ; 154 + ] [ sp:object <http://www.reportinghub.no/ep/schema/well#LastCasingOfAWellBore> ;
121 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#mdBit> ; 155 + sp:predicate rdf:type ;
156 + sp:subject _:b37
157 + ] [ sp:object _:b38 ;
158 + sp:predicate <http://www.reportinghub.no/ep/schema/well#diameterOfACasingOfAWellBore> ;
159 + sp:subject _:b37
160 + ] [ sp:object _:b39 ;
161 + sp:predicate <http://www.reportinghub.no/ep/schema/well#measuredDepth> ;
162 + sp:subject _:b37
163 + ] [ sp:object <http://www.reportinghub.no/ep/schema/core#Length> ;
164 + sp:predicate rdf:type ;
165 + sp:subject _:b39
166 + ] [ sp:object _:b40 ;
167 + sp:predicate _:b41 ;
168 + sp:subject _:b39
169 + ] [ sp:object <http://www.reportinghub.no/ep/schema/core#Length> ;
170 + sp:predicate rdf:type ;
171 + sp:subject _:b38
172 + ] [ sp:object _:b42 ;
173 + sp:predicate _:b43 ;
174 + sp:subject _:b38
175 + ] [ sp:object _:b44 ;
176 + sp:predicate <http://www.reportinghub.no/ep/schema/well#bottomHoleMeasuredDepth> ;
122 sp:subject _:b3 177 sp:subject _:b3
123 - ] [ sp:object _:b29 ; 178 + ] [ sp:object <http://www.reportinghub.no/ep/schema/core#Length> ;
124 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#tempBottom> ; 179 + sp:predicate rdf:type ;
180 + sp:subject _:b44
181 + ] [ sp:object _:b45 ;
182 + sp:predicate _:b46 ;
183 + sp:subject _:b44
184 + ] [ sp:object _:b47 ;
185 + sp:predicate <http://www.reportinghub.no/ep/schema/well#bottomHoleTemperature> ;
125 sp:subject _:b3 186 sp:subject _:b3
126 - ] [ sp:object _:b30 ; 187 + ] [ sp:object <http://www.reportinghub.no/ep/schema/core#Temperature> ;
127 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#wtMud> ; 188 + sp:predicate rdf:type ;
189 + sp:subject _:b47
190 + ] [ sp:object _:b48 ;
191 + sp:predicate _:b49 ;
192 + sp:subject _:b47
193 + ] [ sp:object _:b50 ;
194 + sp:predicate <http://www.reportinghub.no/ep/schema/activity#hasDrillingFluid> ;
128 sp:subject _:b3 195 sp:subject _:b3
129 - ] [ sp:object _:b31 ; 196 + ] [ sp:object <http://www.reportinghub.no/ep/schema/well#Fluid> ;
130 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#porePressure> ; 197 + sp:predicate rdf:type ;
198 + sp:subject _:b50
199 + ] [ sp:object _:b51 ;
200 + sp:predicate rdf:type ;
201 + sp:subject _:b50
202 + ] [ sp:object <http://www.reportinghub.no/ep/schema/core#Density> ;
203 + sp:predicate rdf:type ;
204 + sp:subject _:b51
205 + ] [ sp:object _:b52 ;
206 + sp:predicate _:b53 ;
207 + sp:subject _:b51
208 + ] [ sp:object _:b54 ;
209 + sp:predicate <http://www.reportinghub.no/ep/schema/well#porePressureEquivalentMudDensity> ;
131 sp:subject _:b3 210 sp:subject _:b3
132 - ] [ sp:object _:b32 ; 211 + ] [ sp:object <http://www.reportinghub.no/ep/schema/core#Density> ;
133 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#presShutInCasing> ; 212 + sp:predicate rdf:type ;
213 + sp:subject _:b54
214 + ] [ sp:object _:b55 ;
215 + sp:predicate _:b56 ;
216 + sp:subject _:b54
217 + ] [ sp:object _:b57 ;
218 + sp:predicate <http://www.reportinghub.no/ep/schema/well#shutInCasingPressure> ;
134 sp:subject _:b3 219 sp:subject _:b3
135 - ] [ sp:object _:b33 ; 220 + ] [ sp:object <http://www.reportinghub.no/ep/schema/core#Pressure> ;
136 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#presShutInDrill> ; 221 + sp:predicate rdf:type ;
222 + sp:subject _:b57
223 + ] [ sp:object _:b58 ;
224 + sp:predicate _:b59 ;
225 + sp:subject _:b57
226 + ] [ sp:object _:b60 ;
227 + sp:predicate <http://www.reportinghub.no/ep/schema/well#shutInDrillPipePressure> ;
137 sp:subject _:b3 228 sp:subject _:b3
229 + ] [ sp:object <http://www.reportinghub.no/ep/schema/core#Pressure> ;
230 + sp:predicate rdf:type ;
231 + sp:subject _:b60
232 + ] [ sp:object _:b61 ;
233 + sp:predicate _:b62 ;
234 + sp:subject _:b60
138 ]) ; 235 ]) ;
139 - sp:where ([ sp:object _:b34 ; 236 + sp:where ([ sp:object _:b63 ;
140 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWellbore> ; 237 + sp:predicate ddr:nameWellbore ;
141 sp:subject spin:_this 238 sp:subject spin:_this
142 - ] [ sp:object _:b35 ; 239 + ] [ sp:object _:b64 ;
143 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ; 240 + sp:predicate ddr:dTimStart ;
144 sp:subject spin:_this 241 sp:subject spin:_this
145 - ] [ sp:object _:b36 ; 242 + ] [ sp:object _:b4 ;
146 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#controlIncidentInfo> ; 243 + sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWellBore> ;
244 + sp:subject _:b2
245 + ] [ sp:object _:b65 ;
246 + sp:predicate ddr:controlIncidentInfoRef ;
147 sp:subject spin:_this 247 sp:subject spin:_this
148 - ] [ sp:object _:b37 ;
149 - sp:predicate <http://www.topbraid.org/2007/05/composite.owl#index> ;
150 - sp:subject _:b36
151 ] [ sp:object _:b5 ; 248 ] [ sp:object _:b5 ;
152 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTim> ; 249 + sp:predicate ddr:dTim ;
153 - sp:subject _:b36 250 + sp:subject _:b65
154 - ] [ sp:object _:b8 ; 251 + ] [ sp:object _:b66 ;
155 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#mdInflow> ; 252 + sp:predicate ddr:mdInflowRef ;
156 - sp:subject _:b36 253 + sp:subject _:b65
254 + ] [ sp:object _:b67 ;
255 + sp:predicate ddr:uomRef ;
256 + sp:subject _:b66
257 + ] [ sp:object _:b11 ;
258 + sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
259 + sp:subject _:b66
157 ] [ rdf:type sp:Optional ; 260 ] [ rdf:type sp:Optional ;
158 - sp:elements ([ sp:object _:b9 ; 261 + sp:elements ([ sp:object _:b68 ;
159 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#tvdInflow> ; 262 + sp:predicate ddr:tvdInflowRef ;
160 - sp:subject _:b36 263 + sp:subject _:b65
264 + ] [ sp:object _:b69 ;
265 + sp:predicate ddr:uomRef ;
266 + sp:subject _:b68
267 + ] [ sp:object _:b14 ;
268 + sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
269 + sp:subject _:b68
161 ]) 270 ])
162 - ] [ sp:object _:b38 ; 271 + ] [ sp:object _:b70 ;
163 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#enumPhase> ; 272 + sp:predicate ddr:phaseRef ;
164 - sp:subject _:b36 273 + sp:subject _:b65
165 - ] [ sp:object _:b39 ; 274 + ] [ sp:object _:b71 ;
166 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#enumProprietaryCode> ; 275 + sp:predicate ddr:proprietaryCodeRef ;
167 - sp:subject _:b36 276 + sp:subject _:b65
168 - ] [ sp:object _:b11 ; 277 + ] [ sp:object _:b72 ;
169 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#eTimLost> ; 278 + sp:predicate ddr:eTimLostRef ;
170 - sp:subject _:b36 279 + sp:subject _:b65
280 + ] [ sp:object _:b73 ;
281 + sp:predicate ddr:uomRef ;
282 + sp:subject _:b72
283 + ] [ sp:object _:b17 ;
284 + sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
285 + sp:subject _:b72
171 ] [ sp:object _:b6 ; 286 ] [ sp:object _:b6 ;
172 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimRegained> ; 287 + sp:predicate ddr:dTimRegained ;
173 - sp:subject _:b36 288 + sp:subject _:b65
174 - ] [ sp:object _:b21 ; 289 + ] [ sp:object _:b74 ;
175 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#diaBit> ; 290 + sp:predicate ddr:diaBitRef ;
176 - sp:subject _:b36 291 + sp:subject _:b65
177 - ] [ sp:object _:b28 ; 292 + ] [ sp:object _:b75 ;
178 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#mdBit> ; 293 + sp:predicate ddr:uomRef ;
179 - sp:subject _:b36 294 + sp:subject _:b74
180 - ] [ sp:object _:b30 ; 295 + ] [ sp:object _:b29 ;
181 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#wtMud> ; 296 + sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
182 - sp:subject _:b36 297 + sp:subject _:b74
298 + ] [ sp:object _:b76 ;
299 + sp:predicate ddr:mdBitRef ;
300 + sp:subject _:b65
301 + ] [ sp:object _:b77 ;
302 + sp:predicate ddr:uomRef ;
303 + sp:subject _:b76
304 + ] [ sp:object _:b45 ;
305 + sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
306 + sp:subject _:b76
307 + ] [ sp:object _:b78 ;
308 + sp:predicate ddr:wtMudRef ;
309 + sp:subject _:b65
310 + ] [ sp:object _:b79 ;
311 + sp:predicate ddr:uomRef ;
312 + sp:subject _:b78
313 + ] [ sp:object _:b52 ;
314 + sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
315 + sp:subject _:b78
183 ] [ rdf:type sp:Optional ; 316 ] [ rdf:type sp:Optional ;
184 - sp:elements ([ sp:object _:b31 ; 317 + sp:elements ([ sp:object _:b80 ;
185 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#porePressure> ; 318 + sp:predicate ddr:porePressureRef ;
186 - sp:subject _:b36 319 + sp:subject _:b65
320 + ] [ sp:object _:b81 ;
321 + sp:predicate ddr:uomRef ;
322 + sp:subject _:b80
323 + ] [ sp:object _:b55 ;
324 + sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
325 + sp:subject _:b80
187 ]) 326 ])
188 - ] [ sp:object _:b26 ; 327 + ] [ sp:object _:b82 ;
189 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#diaCsgLast> ; 328 + sp:predicate ddr:diaCsgLastRef ;
190 - sp:subject _:b36 329 + sp:subject _:b65
191 - ] [ sp:object _:b27 ; 330 + ] [ sp:object _:b83 ;
192 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#mdCsgLast> ; 331 + sp:predicate ddr:uomRef ;
193 - sp:subject _:b36 332 + sp:subject _:b82
194 - ] [ sp:object _:b24 ; 333 + ] [ sp:object _:b42 ;
195 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#volMudGained> ; 334 + sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
196 - sp:subject _:b36 335 + sp:subject _:b82
197 - ] [ sp:object _:b32 ; 336 + ] [ sp:object _:b84 ;
198 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#presShutInCasing> ; 337 + sp:predicate ddr:mdCsgLastRef ;
199 - sp:subject _:b36 338 + sp:subject _:b65
200 - ] [ sp:object _:b33 ; 339 + ] [ sp:object _:b85 ;
201 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#presShutInDrill> ; 340 + sp:predicate ddr:uomRef ;
202 - sp:subject _:b36 341 + sp:subject _:b84
203 ] [ sp:object _:b40 ; 342 ] [ sp:object _:b40 ;
204 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#enumIncidentType> ; 343 + sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
205 - sp:subject _:b36 344 + sp:subject _:b84
206 - ] [ sp:object _:b41 ; 345 + ] [ sp:object _:b86 ;
207 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#enumKillingType> ; 346 + sp:predicate ddr:volMudGainedRef ;
208 - sp:subject _:b36 347 + sp:subject _:b65
209 - ] [ sp:object _:b10 ; 348 + ] [ sp:object _:b87 ;
210 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#formation> ; 349 + sp:predicate ddr:uomRef ;
211 - sp:subject _:b36 350 + sp:subject _:b86
212 - ] [ sp:object _:b29 ; 351 + ] [ sp:object _:b34 ;
213 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#tempBottom> ; 352 + sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
214 - sp:subject _:b36 353 + sp:subject _:b86
215 - ] [ sp:object _:b19 ; 354 + ] [ sp:object _:b88 ;
216 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#presMaxChoke> ; 355 + sp:predicate ddr:presShutInCasingRef ;
217 - sp:subject _:b36 356 + sp:subject _:b65
218 - ] [ sp:object _:b25 ; 357 + ] [ sp:object _:b89 ;
219 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#description> ; 358 + sp:predicate ddr:uomRef ;
220 - sp:subject _:b36 359 + sp:subject _:b88
221 - ] [ sp:object _:b4 ; 360 + ] [ sp:object _:b58 ;
222 - sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWellBore> ; 361 + sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
223 - sp:subject _:b2 362 + sp:subject _:b88
363 + ] [ sp:object _:b90 ;
364 + sp:predicate ddr:presShutInDrillRef ;
365 + sp:subject _:b65
366 + ] [ sp:object _:b91 ;
367 + sp:predicate ddr:uomRef ;
368 + sp:subject _:b90
369 + ] [ sp:object _:b61 ;
370 + sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
371 + sp:subject _:b90
372 + ] [ sp:object _:b92 ;
373 + sp:predicate ddr:incidentTypeRef ;
374 + sp:subject _:b65
375 + ] [ sp:object _:b93 ;
376 + sp:predicate ddr:killingTypeRef ;
377 + sp:subject _:b65
378 + ] [ sp:object _:b9 ;
379 + sp:predicate ddr:formation ;
380 + sp:subject _:b65
381 + ] [ sp:object _:b94 ;
382 + sp:predicate ddr:tempBottomRef ;
383 + sp:subject _:b65
384 + ] [ sp:object _:b95 ;
385 + sp:predicate ddr:uomRef ;
386 + sp:subject _:b94
387 + ] [ sp:object _:b48 ;
388 + sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
389 + sp:subject _:b94
390 + ] [ sp:object _:b96 ;
391 + sp:predicate ddr:presMaxChokeRef ;
392 + sp:subject _:b65
393 + ] [ sp:object _:b97 ;
394 + sp:predicate ddr:uomRef ;
395 + sp:subject _:b96
396 + ] [ sp:object _:b26 ;
397 + sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
398 + sp:subject _:b96
399 + ] [ sp:object _:b36 ;
400 + sp:predicate ddr:description ;
401 + sp:subject _:b65
402 + ] [ rdf:type sp:Bind ;
403 + sp:expression
404 + [ rdf:type afn:localname ;
405 + sp:arg1 _:b65
406 + ] ;
407 + sp:variable _:b98
224 ] [ rdf:type sp:Bind ; 408 ] [ rdf:type sp:Bind ;
225 sp:expression 409 sp:expression
226 [ rdf:type ep-spin-lib:normalizeString ; 410 [ rdf:type ep-spin-lib:normalizeString ;
227 - sp:arg1 _:b34 411 + sp:arg1 _:b63
228 ] ; 412 ] ;
229 - sp:variable _:b42 413 + sp:variable _:b99
230 ] [ rdf:type sp:Bind ; 414 ] [ rdf:type sp:Bind ;
231 sp:expression 415 sp:expression
232 [ rdf:type ep-spin-lib:buildDailyDrillingActivityURI ; 416 [ rdf:type ep-spin-lib:buildDailyDrillingActivityURI ;
233 - sp:arg1 _:b42 ; 417 + sp:arg1 _:b99 ;
234 - sp:arg2 _:b35 418 + sp:arg2 _:b64
235 ] ; 419 ] ;
236 sp:variable _:b2 420 sp:variable _:b2
237 ] [ rdf:type sp:Bind ; 421 ] [ rdf:type sp:Bind ;
238 sp:expression 422 sp:expression
239 [ rdf:type ep-spin-lib:buildWellControlIncidentURI ; 423 [ rdf:type ep-spin-lib:buildWellControlIncidentURI ;
240 - sp:arg1 _:b42 ; 424 + sp:arg1 _:b99 ;
241 - sp:arg2 _:b35 ; 425 + sp:arg2 _:b64 ;
242 - sp:arg3 _:b37 426 + sp:arg3 _:b98
243 ] ; 427 ] ;
244 sp:variable _:b1 428 sp:variable _:b1
245 ] [ rdf:type sp:Bind ; 429 ] [ rdf:type sp:Bind ;
246 sp:expression 430 sp:expression
247 - [ rdf:type ep-spin-lib:buildTemporalPartOfAWellBoreDuringWellControlIncidentURI ;
248 - sp:arg1 _:b42 ;
249 - sp:arg2 _:b35 ;
250 - sp:arg3 _:b37
251 - ] ;
252 - sp:variable _:b3
253 - ] [ rdf:type sp:Bind ;
254 - sp:expression
255 [ rdf:type ep-spin-lib:selectDrillingActivityPurposeType ; 431 [ rdf:type ep-spin-lib:selectDrillingActivityPurposeType ;
256 - sp:arg1 _:b39 432 + sp:arg1 _:b71
257 ] ; 433 ] ;
258 - sp:variable _:b14 434 + sp:variable _:b21
259 ] [ rdf:type sp:Bind ; 435 ] [ rdf:type sp:Bind ;
260 sp:expression 436 sp:expression
261 [ rdf:type ep-spin-lib:selectDrillingActivityTypeAccordingToEquipmentType ; 437 [ rdf:type ep-spin-lib:selectDrillingActivityTypeAccordingToEquipmentType ;
262 - sp:arg1 _:b38 438 + sp:arg1 _:b70
263 ] ; 439 ] ;
264 - sp:variable _:b15 440 + sp:variable _:b22
265 ] [ rdf:type sp:Bind ; 441 ] [ rdf:type sp:Bind ;
266 sp:expression 442 sp:expression
267 [ rdf:type ep-spin-lib:selectWellControlIncidentType ; 443 [ rdf:type ep-spin-lib:selectWellControlIncidentType ;
268 - sp:arg1 _:b40 444 + sp:arg1 _:b92
269 ] ; 445 ] ;
270 - sp:variable _:b12 446 + sp:variable _:b19
271 ] [ rdf:type sp:Bind ; 447 ] [ rdf:type sp:Bind ;
272 sp:expression 448 sp:expression
273 [ rdf:type ep-spin-lib:selectWellKillingType ; 449 [ rdf:type ep-spin-lib:selectWellKillingType ;
274 - sp:arg1 _:b41 450 + sp:arg1 _:b93
451 + ] ;
452 + sp:variable _:b32
453 + ] [ rdf:type sp:Bind ;
454 + sp:expression
455 + [ rdf:type ep-spin-lib:selectVolumeScale ;
456 + sp:arg1 _:b87
457 + ] ;
458 + sp:variable _:b35
459 + ] [ rdf:type sp:Bind ;
460 + sp:expression
461 + [ rdf:type ep-spin-lib:selectTimeDurationScale ;
462 + sp:arg1 _:b73
463 + ] ;
464 + sp:variable _:b18
465 + ] [ rdf:type sp:Bind ;
466 + sp:expression
467 + [ rdf:type ep-spin-lib:selectLengthScale ;
468 + sp:arg1 _:b67
469 + ] ;
470 + sp:variable _:b12
471 + ] [ rdf:type sp:Bind ;
472 + sp:expression
473 + [ rdf:type ep-spin-lib:selectLengthScale ;
474 + sp:arg1 _:b69
475 + ] ;
476 + sp:variable _:b15
477 + ] [ rdf:type sp:Bind ;
478 + sp:expression
479 + [ rdf:type ep-spin-lib:selectLengthScale ;
480 + sp:arg1 _:b75
481 + ] ;
482 + sp:variable _:b30
483 + ] [ rdf:type sp:Bind ;
484 + sp:expression
485 + [ rdf:type ep-spin-lib:selectLengthScale ;
486 + sp:arg1 _:b77
487 + ] ;
488 + sp:variable _:b46
489 + ] [ rdf:type sp:Bind ;
490 + sp:expression
491 + [ rdf:type ep-spin-lib:selectLengthScale ;
492 + sp:arg1 _:b83
493 + ] ;
494 + sp:variable _:b43
495 + ] [ rdf:type sp:Bind ;
496 + sp:expression
497 + [ rdf:type ep-spin-lib:selectLengthScale ;
498 + sp:arg1 _:b85
499 + ] ;
500 + sp:variable _:b41
501 + ] [ rdf:type sp:Bind ;
502 + sp:expression
503 + [ rdf:type ep-spin-lib:selectDensityScale ;
504 + sp:arg1 _:b79
275 ] ; 505 ] ;
276 - sp:variable _:b23 506 + sp:variable _:b53
507 + ] [ rdf:type sp:Bind ;
508 + sp:expression
509 + [ rdf:type ep-spin-lib:selectTemperatureScale ;
510 + sp:arg1 _:b95
511 + ] ;
512 + sp:variable _:b49
513 + ] [ rdf:type sp:Bind ;
514 + sp:expression
515 + [ rdf:type ep-spin-lib:selectPressureScale ;
516 + sp:arg1 _:b97
517 + ] ;
518 + sp:variable _:b27
519 + ] [ rdf:type sp:Bind ;
520 + sp:expression
521 + [ rdf:type ep-spin-lib:selectPressureScale ;
522 + sp:arg1 _:b89
523 + ] ;
524 + sp:variable _:b59
525 + ] [ rdf:type sp:Bind ;
526 + sp:expression
527 + [ rdf:type ep-spin-lib:selectPressureScale ;
528 + sp:arg1 _:b91
529 + ] ;
530 + sp:variable _:b62
531 + ] [ rdf:type sp:Bind ;
532 + sp:expression
533 + [ rdf:type ep-spin-lib:selectDensityScale ;
534 + sp:arg1 _:b81
535 + ] ;
536 + sp:variable _:b56
277 ]) 537 ])
278 ] . 538 ] .
279 539
280 -<http://www.reportinghub.no/ep/transform/1.1/ddr/controlIncidentInfo> 540 +_:b56
281 - rdf:type owl:Ontology ; 541 + sp:varName "densityScalePore"^^xsd:string .
282 - owl:imports <http://spinrdf.org/spin> , <http://www.reportinghub.no/ep/transform/1.1/ddr> , <http://www.reportinghub.no/ep/spin/1.1/lib> ;
283 - owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
284 542
285 -_:b23 543 +_:b62
286 - sp:varName "wellKillingType"^^xsd:string . 544 + sp:varName "pressureScaleShutInDrill"^^xsd:string .
545 +
546 +_:b59
547 + sp:varName "pressureScaleShutInCasing"^^xsd:string .
548 +
549 +_:b27
550 + sp:varName "pressureScaleMaxChoke"^^xsd:string .
551 +
552 +_:b49
553 + sp:varName "temperatureScale"^^xsd:string .
554 +
555 +_:b53
556 + sp:varName "densityScaleWtMud"^^xsd:string .
557 +
558 +_:b41
559 + sp:varName "lengthScaleMdCsgLast"^^xsd:string .
560 +
561 +_:b43
562 + sp:varName "lengthScaleDiaCsgLast"^^xsd:string .
563 +
564 +_:b46
565 + sp:varName "lengthScaleMdBit"^^xsd:string .
566 +
567 +_:b30
568 + sp:varName "lengthScaleDia"^^xsd:string .
569 +
570 +_:b15
571 + sp:varName "lengthScaleTvdIn"^^xsd:string .
287 572
288 _:b12 573 _:b12
574 + sp:varName "lengthScaleMdIn"^^xsd:string .
575 +
576 +_:b18
577 + sp:varName "timeDurationScale"^^xsd:string .
578 +
579 +_:b35
580 + sp:varName "volumeScale"^^xsd:string .
581 +
582 +_:b32
583 + sp:varName "wellKillingType"^^xsd:string .
584 +
585 +_:b19
289 sp:varName "wellControlIncidentType"^^xsd:string . 586 sp:varName "wellControlIncidentType"^^xsd:string .
290 587
291 -_:b15 588 +_:b22
292 sp:varName "drillingActivityTypeAccordingToEquipmentType"^^xsd:string . 589 sp:varName "drillingActivityTypeAccordingToEquipmentType"^^xsd:string .
293 590
294 -_:b14 591 +_:b21
295 sp:varName "drillingActivityPurposeType"^^xsd:string . 592 sp:varName "drillingActivityPurposeType"^^xsd:string .
296 593
297 -_:b3 sp:varName "temporalPartOfAWellBoreDuringWellControlIncident"^^xsd:string .
298 -
299 _:b1 sp:varName "wellControlIncident"^^xsd:string . 594 _:b1 sp:varName "wellControlIncident"^^xsd:string .
300 595
301 -_:b42 596 +_:b99
302 sp:varName "normalizedWellBoreName"^^xsd:string . 597 sp:varName "normalizedWellBoreName"^^xsd:string .
303 598
304 -_:b4 sp:varName "dailytemporalPartOfAWellBore"^^xsd:string . 599 +_:b98
305 - 600 + sp:varName "localname"^^xsd:string .
306 -_:b2 sp:varName "dailyDrillingActivity"^^xsd:string .
307 601
308 -_:b25 602 +_:b36
309 sp:varName "description"^^xsd:string . 603 sp:varName "description"^^xsd:string .
310 604
311 -_:b19 605 +_:b26
606 + sp:varName "realMaxChoke"^^xsd:string .
607 +
608 +_:b97
609 + sp:varName "uomMaxChoke"^^xsd:string .
610 +
611 +_:b96
312 sp:varName "presMaxChoke"^^xsd:string . 612 sp:varName "presMaxChoke"^^xsd:string .
313 613
314 -_:b29 614 +_:b48
615 + sp:varName "realTemp"^^xsd:string .
616 +
617 +_:b95
618 + sp:varName "uomTemp"^^xsd:string .
619 +
620 +_:b94
315 sp:varName "tempBottom"^^xsd:string . 621 sp:varName "tempBottom"^^xsd:string .
316 622
317 -_:b10 623 +_:b9 sp:varName "formation"^^xsd:string .
318 - sp:varName "formation"^^xsd:string .
319 624
320 -_:b41 625 +_:b93
321 sp:varName "killingType"^^xsd:string . 626 sp:varName "killingType"^^xsd:string .
322 627
323 -_:b40 628 +_:b92
324 sp:varName "incidentType"^^xsd:string . 629 sp:varName "incidentType"^^xsd:string .
325 630
326 -_:b33 631 +_:b61
632 + sp:varName "realShutInDrill"^^xsd:string .
633 +
634 +_:b91
635 + sp:varName "uomShutInDrill"^^xsd:string .
636 +
637 +_:b90
327 sp:varName "presShutInDrill"^^xsd:string . 638 sp:varName "presShutInDrill"^^xsd:string .
328 639
329 -_:b32 640 +_:b58
641 + sp:varName "realShutInCasing"^^xsd:string .
642 +
643 +_:b89
644 + sp:varName "uomShutInCasing"^^xsd:string .
645 +
646 +_:b88
330 sp:varName "presShutInCasing"^^xsd:string . 647 sp:varName "presShutInCasing"^^xsd:string .
331 648
332 -_:b24 649 +_:b34
650 + sp:varName "realVol"^^xsd:string .
651 +
652 +_:b87
653 + sp:varName "uomVol"^^xsd:string .
654 +
655 +_:b86
333 sp:varName "volMudGained"^^xsd:string . 656 sp:varName "volMudGained"^^xsd:string .
334 657
335 -_:b27 658 +_:b40
659 + sp:varName "realMdCsgLast"^^xsd:string .
660 +
661 +_:b85
662 + sp:varName "uomMdCsgLast"^^xsd:string .
663 +
664 +_:b84
336 sp:varName "mdCsgLast"^^xsd:string . 665 sp:varName "mdCsgLast"^^xsd:string .
337 666
338 -_:b26 667 +_:b42
668 + sp:varName "realDiaCsgLast"^^xsd:string .
669 +
670 +_:b83
671 + sp:varName "uomDiaCsgLast"^^xsd:string .
672 +
673 +_:b82
339 sp:varName "diaCsgLast"^^xsd:string . 674 sp:varName "diaCsgLast"^^xsd:string .
340 675
341 -_:b31 676 +_:b55
677 + sp:varName "realPore"^^xsd:string .
678 +
679 +_:b81
680 + sp:varName "uomPore"^^xsd:string .
681 +
682 +_:b80
342 sp:varName "porePressure"^^xsd:string . 683 sp:varName "porePressure"^^xsd:string .
343 684
344 -_:b30 685 +_:b52
686 + sp:varName "realWtMud"^^xsd:string .
687 +
688 +_:b79
689 + sp:varName "uomWtMud"^^xsd:string .
690 +
691 +_:b78
345 sp:varName "wtMud"^^xsd:string . 692 sp:varName "wtMud"^^xsd:string .
346 693
347 -_:b28 694 +_:b45
695 + sp:varName "realMdBit"^^xsd:string .
696 +
697 +_:b77
698 + sp:varName "uomMdBit"^^xsd:string .
699 +
700 +_:b76
348 sp:varName "mdBit"^^xsd:string . 701 sp:varName "mdBit"^^xsd:string .
349 702
350 -_:b21 703 +_:b29
704 + sp:varName "realDia"^^xsd:string .
705 +
706 +_:b75
707 + sp:varName "uomDia"^^xsd:string .
708 +
709 +_:b74
351 sp:varName "diaBit"^^xsd:string . 710 sp:varName "diaBit"^^xsd:string .
352 711
353 _:b6 sp:varName "dTimEndOfIncident"^^xsd:string . 712 _:b6 sp:varName "dTimEndOfIncident"^^xsd:string .
354 713
355 -_:b11 714 +_:b17
715 + sp:varName "realDuration"^^xsd:string .
716 +
717 +_:b73
718 + sp:varName "uomDuration"^^xsd:string .
719 +
720 +_:b72
356 sp:varName "eTimLost"^^xsd:string . 721 sp:varName "eTimLost"^^xsd:string .
357 722
358 -_:b39 723 +_:b71
359 sp:varName "proprietaryCode"^^xsd:string . 724 sp:varName "proprietaryCode"^^xsd:string .
360 725
361 -_:b38 726 +_:b70
362 sp:varName "phase"^^xsd:string . 727 sp:varName "phase"^^xsd:string .
363 728
364 -_:b9 sp:varName "tvdInflow"^^xsd:string . 729 +_:b14
730 + sp:varName "realTvdIn"^^xsd:string .
731 +
732 +_:b69
733 + sp:varName "uomTvdIn"^^xsd:string .
365 734
366 -_:b8 sp:varName "mdInflow"^^xsd:string . 735 +_:b68
736 + sp:varName "tvdIn"^^xsd:string .
367 737
368 -_:b5 sp:varName "dTimStartOfIncident"^^xsd:string . 738 +_:b11
739 + sp:varName "realMdIn"^^xsd:string .
369 740
370 -_:b37 741 +_:b67
371 - sp:varName "index"^^xsd:string . 742 + sp:varName "uomMdIn"^^xsd:string .
372 743
373 -_:b36 744 +_:b66
745 + sp:varName "mdIn"^^xsd:string .
746 +
747 +_:b5 sp:varName "dTimStartOfIncident"^^xsd:string .
748 +
749 +_:b65
374 sp:varName "controlIncidentInfo"^^xsd:string . 750 sp:varName "controlIncidentInfo"^^xsd:string .
375 751
376 -_:b35 752 +_:b4 sp:varName "dailytemporalPartOfAWellBore"^^xsd:string .
753 +
754 +_:b2 sp:varName "dailyDrillingActivity"^^xsd:string .
755 +
756 +_:b64
377 sp:varName "dTimStart"^^xsd:string . 757 sp:varName "dTimStart"^^xsd:string .
378 758
379 -_:b34 759 +_:b63
380 sp:varName "nameWellBore"^^xsd:string . 760 sp:varName "nameWellBore"^^xsd:string .
......
1 -# Saved by TopBraid on Tue Aug 23 20:39:28 BST 2011 1 +# Saved by TopBraid on Tue Sep 13 16:35:02 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 -# Saved by TopBraid on Tue Aug 23 16:05:01 BST 2011 1 +# Saved by TopBraid on Sun Sep 11 06:50:58 BST 2011
2 # baseURI: http://www.reportinghub.no/ep/transform/1.1/ddr/drillReport 2 # baseURI: http://www.reportinghub.no/ep/transform/1.1/ddr/drillReport
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/spin/1.1/lib 4 # imports: http://www.reportinghub.no/ep/spin/1.1/lib
5 +# imports: http://www.energistics.org/schemas/abstract
6 +# imports: http://www.witsml.org/schemas/1series
5 # imports: http://www.reportinghub.no/ep/schema/1.0/well 7 # imports: http://www.reportinghub.no/ep/schema/1.0/well
6 # imports: http://www.reportinghub.no/ep/schema/1.0/core 8 # imports: http://www.reportinghub.no/ep/schema/1.0/core
7 # imports: http://www.reportinghub.no/ep/schema/1.0/equipment 9 # imports: http://www.reportinghub.no/ep/schema/1.0/equipment
8 # imports: http://www.reportinghub.no/ep/schema/1.0/activity-purpose 10 # imports: http://www.reportinghub.no/ep/schema/1.0/activity-purpose
9 # imports: http://www.reportinghub.no/ep/schema/1.0/activity 11 # imports: http://www.reportinghub.no/ep/schema/1.0/activity
10 -# imports: http://www.reportinghub.no/ep/transform/1.1/ddr
11 -# imports: http://www.reportinghub.no/ep/schema/1.0/ddr
12 # imports: http://spinrdf.org/spin 12 # imports: http://spinrdf.org/spin
13 13
14 -@prefix NPD_1104121247071: <file:///www.reportinghub.no/examples/xml/NPD_110412124707.xml#> .
15 @prefix arg: <http://spinrdf.org/arg#> . 14 @prefix arg: <http://spinrdf.org/arg#> .
16 -@prefix bindEP-NativeOWL: <http://www.reportinghub.no/iso15926/bindEP-NativeOWL#> . 15 +@prefix ddr: <http://www.witsml.org/schemas/1series#> .
17 -@prefix ddr-normalization: <http://www.reportinghub.no/ep/transform/ddr/normalization#> .
18 -@prefix ddr-normalization-1.1: <http://www.reportinghub.no/ep/transform/1.1/ddr/normalization#> .
19 @prefix ep-spin-lib: <http://www.reportinghub.no/ep/spin/lib#> . 16 @prefix ep-spin-lib: <http://www.reportinghub.no/ep/spin/lib#> .
20 -@prefix iso15926: <http://www.reportinghub.no/iso15926/nativeOWL#> .
21 -@prefix normalization: <http://www.reportinghub.no/ep/transform/normalization#> .
22 @prefix owl: <http://www.w3.org/2002/07/owl#> . 17 @prefix owl: <http://www.w3.org/2002/07/owl#> .
23 -@prefix p1: <http://example.org/file1#> .
24 @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . 18 @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
25 @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . 19 @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
26 @prefix rhspin: <http://www.reportinghub.no/spin/rh#> . 20 @prefix rhspin: <http://www.reportinghub.no/spin/rh#> .
...@@ -29,360 +23,390 @@ ...@@ -29,360 +23,390 @@
29 @prefix spl: <http://spinrdf.org/spl#> . 23 @prefix spl: <http://spinrdf.org/spl#> .
30 @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . 24 @prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
31 25
32 -<http://www.reportinghub.no/ep/schema/ddr#Obj_drillReport> 26 +<http://www.reportinghub.no/ep/transform/1.1/ddr/drillReport>
27 + rdf:type owl:Ontology ;
28 + owl:imports <http://www.reportinghub.no/ep/schema/1.0/activity-purpose> , <http://www.reportinghub.no/ep/schema/1.0/core> , <http://spinrdf.org/spin> , <http://www.reportinghub.no/ep/schema/1.0/equipment> , <http://www.reportinghub.no/ep/schema/1.0/activity> , <http://www.reportinghub.no/ep/spin/1.1/lib> , <http://www.witsml.org/schemas/1series> , <http://www.energistics.org/schemas/abstract> , <http://www.reportinghub.no/ep/schema/1.0/well> , <http://www.reportinghub.no/ep/schema/1.0/report> ;
29 + owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
30 +
31 +ddr:Obj_drillReport
33 spin:rule 32 spin:rule
34 [ rdf:type sp:Construct ; 33 [ rdf:type sp:Construct ;
35 - rdfs:comment "STEP 106 Create Well"^^xsd:string ; 34 + rdfs:comment """STEP 103 Create DailyDrillingReport, DailyDrillingActivity, TemporalPartOfAWellBore and WellBore
36 - sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/well#Well> ; 35 +Minimum data - createDate, dTimStart, dTimEnd, nameWellBore
36 +Optional data - extendedReport
37 +replaced for testing - BIND (rhspin:wellBoreByName(?nameWellBore) AS ?wellBore) ."""^^xsd:string ;
38 + sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/report#DailyDrillingReport> ;
37 sp:predicate rdf:type ; 39 sp:predicate rdf:type ;
38 sp:subject _:b1 40 sp:subject _:b1
41 + ] [ sp:object <http://www.reportinghub.no/ep/schema/activity#DailyDrillingActivity> ;
42 + sp:predicate rdf:type ;
43 + sp:subject _:b2
39 ] [ sp:object _:b2 ; 44 ] [ sp:object _:b2 ;
40 - sp:predicate <http://www.reportinghub.no/ep/schema/core#name> ; 45 + sp:predicate <http://www.reportinghub.no/ep/schema/report#reportOn> ;
41 sp:subject _:b1 46 sp:subject _:b1
42 - ] [ sp:object _:b1 ; 47 + ] [ sp:object _:b3 ;
43 - sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWell> ; 48 + sp:predicate <http://www.reportinghub.no/ep/schema/report#createdAt> ;
44 - sp:subject _:b3
45 - ] [ sp:object _:b4 ;
46 - sp:predicate <http://www.reportinghub.no/ep/schema/core#hasPart> ;
47 sp:subject _:b1 49 sp:subject _:b1
48 - ]) ; 50 + ] [ sp:object _:b4 ;
49 - sp:where ([ sp:object _:b5 ; 51 + sp:predicate <http://www.reportinghub.no/ep/schema/activity#startedAt> ;
50 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWellbore> ; 52 + sp:subject _:b2
51 - sp:subject spin:_this 53 + ] [ sp:object <http://www.reportinghub.no/ep/schema/well#WellBore> ;
52 - ] [ sp:object _:b2 ; 54 + sp:predicate rdf:type ;
53 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWell> ; 55 + sp:subject _:b5
54 - sp:subject spin:_this 56 + ] [ sp:object <http://www.reportinghub.no/ep/schema/well#WellBore-WholeLife> ;
57 + sp:predicate rdf:type ;
58 + sp:subject _:b6
55 ] [ sp:object _:b6 ; 59 ] [ sp:object _:b6 ;
56 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ; 60 + sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
57 - sp:subject spin:_this 61 + sp:subject _:b5
58 ] [ sp:object _:b7 ; 62 ] [ sp:object _:b7 ;
63 + sp:predicate <http://www.reportinghub.no/ep/schema/core#name> ;
64 + sp:subject _:b6
65 + ] [ sp:object _:b5 ;
59 sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWellBore> ; 66 sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWellBore> ;
60 - sp:subject _:b3 67 + sp:subject _:b2
61 - ] [ sp:object _:b4 ; 68 + ] [ sp:object _:b8 ;
62 - sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ; 69 + sp:predicate <http://www.reportinghub.no/ep/schema/activity#descriptionOfActivitiesFollowingTheDailyReportingPeriod> ;
63 - sp:subject _:b7 70 + sp:subject _:b2
64 - ] [ sp:object <http://www.reportinghub.no/ep/schema/well#WellBore> ; 71 + ] [ sp:object <http://www.reportinghub.no/ep/schema/report#Report> ;
65 sp:predicate rdf:type ; 72 sp:predicate rdf:type ;
66 - sp:subject _:b4 73 + sp:subject _:b8
74 + ] [ sp:object _:b9 ;
75 + sp:predicate <http://www.reportinghub.no/ep/schema/report#hasContent> ;
76 + sp:subject _:b8
77 + ] [ sp:object _:b10 ;
78 + sp:predicate <http://www.reportinghub.no/ep/schema/report#createdAt> ;
79 + sp:subject _:b8
80 + ]) ;
81 + sp:where ([ sp:object _:b7 ;
82 + sp:predicate ddr:nameWellbore ;
83 + sp:subject spin:_this
84 + ] [ sp:object _:b4 ;
85 + sp:predicate ddr:dTimStart ;
86 + sp:subject spin:_this
87 + ] [ sp:object _:b11 ;
88 + sp:predicate ddr:dTimEnd ;
89 + sp:subject spin:_this
90 + ] [ sp:object _:b3 ;
91 + sp:predicate ddr:createDate ;
92 + sp:subject spin:_this
93 + ] [ rdf:type sp:Optional ;
94 + sp:elements ([ sp:object _:b12 ;
95 + sp:predicate ddr:extendedReportRef ;
96 + sp:subject spin:_this
97 + ] [ sp:object _:b9 ;
98 + sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
99 + sp:subject _:b12
100 + ] [ rdf:type sp:Optional ;
101 + sp:elements ([ sp:object _:b10 ;
102 + sp:predicate ddr:dTim ;
103 + sp:subject _:b12
104 + ])
105 + ])
67 ] [ rdf:type sp:Bind ; 106 ] [ rdf:type sp:Bind ;
68 sp:expression 107 sp:expression
69 [ rdf:type ep-spin-lib:normalizeString ; 108 [ rdf:type ep-spin-lib:normalizeString ;
70 - sp:arg1 _:b5 109 + sp:arg1 _:b7
71 ] ; 110 ] ;
72 - sp:variable _:b8 111 + sp:variable _:b13
112 + ] [ rdf:type sp:Bind ;
113 + sp:expression
114 + [ rdf:type ep-spin-lib:buildDailyDrillingReportURI ;
115 + sp:arg1 _:b13 ;
116 + sp:arg2 _:b3
117 + ] ;
118 + sp:variable _:b1
73 ] [ rdf:type sp:Bind ; 119 ] [ rdf:type sp:Bind ;
74 sp:expression 120 sp:expression
75 [ rdf:type ep-spin-lib:buildDailyDrillingActivityURI ; 121 [ rdf:type ep-spin-lib:buildDailyDrillingActivityURI ;
76 - sp:arg1 _:b8 ; 122 + sp:arg1 _:b13 ;
77 - sp:arg2 _:b6 123 + sp:arg2 _:b4
78 ] ; 124 ] ;
79 - sp:variable _:b3 125 + sp:variable _:b2
80 ] [ rdf:type sp:Bind ; 126 ] [ rdf:type sp:Bind ;
81 sp:expression 127 sp:expression
82 - [ rdf:type ep-spin-lib:normalizeString ; 128 + [ rdf:type ep-spin-lib:buildTemporalPartOfAWellBoreURI ;
83 - sp:arg1 _:b2 129 + sp:arg1 _:b13 ;
130 + sp:arg2 _:b4 ;
131 + sp:arg3 _:b11
84 ] ; 132 ] ;
85 - sp:variable _:b9 133 + sp:variable _:b5
86 ] [ rdf:type sp:Bind ; 134 ] [ rdf:type sp:Bind ;
87 sp:expression 135 sp:expression
88 - [ rdf:type rhspin:wellByName ; 136 + [ rdf:type ep-spin-lib:buildTemporaryWellBoreURI ;
89 - arg:wellName _:b9 137 + sp:arg1 _:b13
90 ] ; 138 ] ;
91 - sp:variable _:b1 139 + sp:variable _:b6
92 ]) 140 ])
93 ] ; 141 ] ;
94 spin:rule 142 spin:rule
95 [ rdf:type sp:Construct ; 143 [ rdf:type sp:Construct ;
96 - rdfs:comment """STEP 105 144 + rdfs:comment """STEP 103a Set name of DailyDrillingReport as label
97 -Classify a DailyDrillingReport"""^^xsd:string ; 145 +Minimum data - createDate, dTimStart, nameWellBore"""^^xsd:string ;
98 - sp:templates ([ sp:object _:b10 ; 146 + sp:templates ([ sp:object _:b14 ;
99 - sp:predicate rdf:type ; 147 + sp:predicate <http://www.reportinghub.no/ep/schema/core#name> ;
100 - sp:subject _:b11 148 + sp:subject _:b15
101 ]) ; 149 ]) ;
102 - sp:where ([ sp:object _:b12 ; 150 + sp:where ([ sp:object _:b16 ;
103 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWellbore> ; 151 + sp:predicate ddr:nameWellbore ;
104 - sp:subject spin:_this
105 - ] [ sp:object _:b13 ;
106 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#createDate> ;
107 sp:subject spin:_this 152 sp:subject spin:_this
108 ] [ sp:object _:b14 ; 153 ] [ sp:object _:b14 ;
109 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#enumVersionKind> ; 154 + sp:predicate ddr:name ;
155 + sp:subject spin:_this
156 + ] [ sp:object _:b17 ;
157 + sp:predicate ddr:createDate ;
110 sp:subject spin:_this 158 sp:subject spin:_this
111 - ] [ rdf:type sp:Bind ;
112 - sp:expression
113 - [ rdf:type ep-spin-lib:selectDailyDrillingReportType ;
114 - sp:arg1 _:b14
115 - ] ;
116 - sp:variable _:b10
117 ] [ rdf:type sp:Bind ; 159 ] [ rdf:type sp:Bind ;
118 sp:expression 160 sp:expression
119 [ rdf:type ep-spin-lib:normalizeString ; 161 [ rdf:type ep-spin-lib:normalizeString ;
120 - sp:arg1 _:b12 162 + sp:arg1 _:b16
121 ] ; 163 ] ;
122 - sp:variable _:b15 164 + sp:variable _:b18
123 ] [ rdf:type sp:Bind ; 165 ] [ rdf:type sp:Bind ;
124 sp:expression 166 sp:expression
125 [ rdf:type ep-spin-lib:buildDailyDrillingReportURI ; 167 [ rdf:type ep-spin-lib:buildDailyDrillingReportURI ;
126 - sp:arg1 _:b15 ; 168 + sp:arg1 _:b18 ;
127 - sp:arg2 _:b13 169 + sp:arg2 _:b17
128 ] ; 170 ] ;
129 - sp:variable _:b11 171 + sp:variable _:b15
130 ]) 172 ])
131 ] ; 173 ] ;
132 spin:rule 174 spin:rule
133 [ rdf:type sp:Construct ; 175 [ rdf:type sp:Construct ;
134 - rdfs:comment "STEP 104 Transfer dTimEnd"^^xsd:string ; 176 + rdfs:comment """STEP 105
135 - sp:templates ([ sp:object _:b16 ; 177 +Classify a DailyDrillingReport"""^^xsd:string ;
136 - sp:predicate <http://www.reportinghub.no/ep/schema/activity#finishedAt> ; 178 + sp:templates ([ sp:object _:b19 ;
137 - sp:subject _:b17 179 + sp:predicate rdf:type ;
180 + sp:subject _:b20
138 ]) ; 181 ]) ;
139 - sp:where ([ sp:object _:b18 ; 182 + sp:where ([ sp:object _:b21 ;
140 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWellbore> ; 183 + sp:predicate ddr:nameWellbore ;
141 sp:subject spin:_this 184 sp:subject spin:_this
142 - ] [ sp:object _:b19 ; 185 + ] [ sp:object _:b22 ;
143 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ; 186 + sp:predicate ddr:createDate ;
144 sp:subject spin:_this 187 sp:subject spin:_this
145 - ] [ sp:object _:b16 ; 188 + ] [ sp:object _:b23 ;
146 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimEnd> ; 189 + sp:predicate ddr:versionKindRef ;
147 sp:subject spin:_this 190 sp:subject spin:_this
148 ] [ rdf:type sp:Bind ; 191 ] [ rdf:type sp:Bind ;
149 sp:expression 192 sp:expression
193 + [ rdf:type ep-spin-lib:selectDailyDrillingReportType ;
194 + sp:arg1 _:b23
195 + ] ;
196 + sp:variable _:b19
197 + ] [ rdf:type sp:Bind ;
198 + sp:expression
150 [ rdf:type ep-spin-lib:normalizeString ; 199 [ rdf:type ep-spin-lib:normalizeString ;
151 - sp:arg1 _:b18 200 + sp:arg1 _:b21
152 ] ; 201 ] ;
153 - sp:variable _:b20 202 + sp:variable _:b24
154 ] [ rdf:type sp:Bind ; 203 ] [ rdf:type sp:Bind ;
155 sp:expression 204 sp:expression
156 - [ rdf:type ep-spin-lib:buildDailyDrillingActivityURI ; 205 + [ rdf:type ep-spin-lib:buildDailyDrillingReportURI ;
157 - sp:arg1 _:b20 ; 206 + sp:arg1 _:b24 ;
158 - sp:arg2 _:b19 207 + sp:arg2 _:b22
159 ] ; 208 ] ;
160 - sp:variable _:b17 209 + sp:variable _:b20
161 ]) 210 ])
162 ] ; 211 ] ;
163 spin:rule 212 spin:rule
164 [ rdf:type sp:Construct ; 213 [ rdf:type sp:Construct ;
165 - rdfs:comment """STEP 103a Set name of DailyDrillingReport as label 214 + rdfs:comment "STEP 104 Transfer dTimEnd"^^xsd:string ;
166 -Minimum data - createDate, dTimStart, nameWellBore"""^^xsd:string ; 215 + sp:templates ([ sp:object _:b25 ;
167 - sp:templates ([ sp:object _:b21 ; 216 + sp:predicate <http://www.reportinghub.no/ep/schema/activity#finishedAt> ;
168 - sp:predicate <http://www.reportinghub.no/ep/schema/core#name> ; 217 + sp:subject _:b26
169 - sp:subject _:b22
170 ]) ; 218 ]) ;
171 - sp:where ([ sp:object _:b23 ; 219 + sp:where ([ sp:object _:b27 ;
172 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWellbore> ; 220 + sp:predicate ddr:nameWellbore ;
173 sp:subject spin:_this 221 sp:subject spin:_this
174 - ] [ sp:object _:b21 ; 222 + ] [ sp:object _:b28 ;
175 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#name> ; 223 + sp:predicate ddr:dTimStart ;
176 sp:subject spin:_this 224 sp:subject spin:_this
177 - ] [ sp:object _:b24 ; 225 + ] [ sp:object _:b25 ;
178 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#createDate> ; 226 + sp:predicate ddr:dTimEnd ;
179 sp:subject spin:_this 227 sp:subject spin:_this
180 ] [ rdf:type sp:Bind ; 228 ] [ rdf:type sp:Bind ;
181 sp:expression 229 sp:expression
182 [ rdf:type ep-spin-lib:normalizeString ; 230 [ rdf:type ep-spin-lib:normalizeString ;
183 - sp:arg1 _:b23 231 + sp:arg1 _:b27
184 ] ; 232 ] ;
185 - sp:variable _:b25 233 + sp:variable _:b29
186 ] [ rdf:type sp:Bind ; 234 ] [ rdf:type sp:Bind ;
187 sp:expression 235 sp:expression
188 - [ rdf:type ep-spin-lib:buildDailyDrillingReportURI ; 236 + [ rdf:type ep-spin-lib:buildDailyDrillingActivityURI ;
189 - sp:arg1 _:b25 ; 237 + sp:arg1 _:b29 ;
190 - sp:arg2 _:b24 238 + sp:arg2 _:b28
191 ] ; 239 ] ;
192 - sp:variable _:b22 240 + sp:variable _:b26
193 ]) 241 ])
194 ] ; 242 ] ;
195 spin:rule 243 spin:rule
196 [ rdf:type sp:Construct ; 244 [ rdf:type sp:Construct ;
197 - rdfs:comment """STEP 103 Create DailyDrillingReport, DailyDrillingActivity, TemporalPartOfAWellBore and WellBore 245 + rdfs:comment "STEP 106 Create Well"^^xsd:string ;
198 -Minimum data - createDate, dTimStart, dTimEnd, nameWellBore 246 + sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/well#Well-WholeLife> ;
199 -Optional data - extendedReport
200 -replaced for testing - BIND (rhspin:wellBoreByName(?nameWellBore) AS ?wellBore) ."""^^xsd:string ;
201 - sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/report#DailyDrillingReport> ;
202 - sp:predicate rdf:type ;
203 - sp:subject _:b26
204 - ] [ sp:object <http://www.reportinghub.no/ep/schema/activity#DailyDrillingActivity> ;
205 - sp:predicate rdf:type ;
206 - sp:subject _:b27
207 - ] [ sp:object _:b27 ;
208 - sp:predicate <http://www.reportinghub.no/ep/schema/activity#reportOn> ;
209 - sp:subject _:b26
210 - ] [ sp:object _:b28 ;
211 - sp:predicate <http://www.reportinghub.no/ep/schema/activity#createdAt> ;
212 - sp:subject _:b26
213 - ] [ sp:object _:b29 ;
214 - sp:predicate <http://www.reportinghub.no/ep/schema/activity#startedAt> ;
215 - sp:subject _:b27
216 - ] [ sp:object <http://www.reportinghub.no/ep/schema/well#TemporalPartOfAWellBore> ;
217 sp:predicate rdf:type ; 247 sp:predicate rdf:type ;
218 sp:subject _:b30 248 sp:subject _:b30
219 - ] [ sp:object <http://www.reportinghub.no/ep/schema/well#WellBore> ;
220 - sp:predicate rdf:type ;
221 - sp:subject _:b31
222 ] [ sp:object _:b31 ; 249 ] [ sp:object _:b31 ;
223 - sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ; 250 + sp:predicate <http://www.reportinghub.no/ep/schema/core#name> ;
224 sp:subject _:b30 251 sp:subject _:b30
225 ] [ sp:object _:b32 ; 252 ] [ sp:object _:b32 ;
226 - sp:predicate <http://www.reportinghub.no/ep/schema/core#name> ; 253 + sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWell> ;
227 - sp:subject _:b31 254 + sp:subject _:b33
228 ] [ sp:object _:b30 ; 255 ] [ sp:object _:b30 ;
229 - sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWellBore> ; 256 + sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
230 - sp:subject _:b27 257 + sp:subject _:b32
231 - ] [ sp:object _:b33 ; 258 + ] [ sp:object <http://www.reportinghub.no/ep/schema/well#Well> ;
232 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#extendedReport> ; 259 + sp:predicate rdf:type ;
233 - sp:subject _:b27 260 + sp:subject _:b32
234 - ]) ;
235 - sp:where ([ sp:object _:b32 ;
236 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWellbore> ;
237 - sp:subject spin:_this
238 - ] [ sp:object _:b29 ;
239 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ;
240 - sp:subject spin:_this
241 ] [ sp:object _:b34 ; 261 ] [ sp:object _:b34 ;
242 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimEnd> ; 262 + sp:predicate <http://www.reportinghub.no/ep/schema/core#hasPart> ;
263 + sp:subject _:b30
264 + ]) ;
265 + sp:where ([ sp:object _:b35 ;
266 + sp:predicate ddr:nameWellbore ;
243 sp:subject spin:_this 267 sp:subject spin:_this
244 - ] [ sp:object _:b28 ; 268 + ] [ sp:object _:b31 ;
245 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#createDate> ; 269 + sp:predicate ddr:nameWell ;
246 sp:subject spin:_this 270 sp:subject spin:_this
247 - ] [ rdf:type sp:Optional ; 271 + ] [ sp:object _:b36 ;
248 - sp:elements ([ sp:object _:b33 ; 272 + sp:predicate ddr:dTimStart ;
249 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#extendedReport> ;
250 sp:subject spin:_this 273 sp:subject spin:_this
251 - ]) 274 + ] [ sp:object _:b37 ;
275 + sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWellBore> ;
276 + sp:subject _:b33
277 + ] [ sp:object _:b34 ;
278 + sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
279 + sp:subject _:b37
280 + ] [ sp:object <http://www.reportinghub.no/ep/schema/well#WellBore-WholeLife> ;
281 + sp:predicate rdf:type ;
282 + sp:subject _:b34
252 ] [ rdf:type sp:Bind ; 283 ] [ rdf:type sp:Bind ;
253 sp:expression 284 sp:expression
254 [ rdf:type ep-spin-lib:normalizeString ; 285 [ rdf:type ep-spin-lib:normalizeString ;
255 - sp:arg1 _:b32 286 + sp:arg1 _:b35
256 - ] ;
257 - sp:variable _:b35
258 - ] [ rdf:type sp:Bind ;
259 - sp:expression
260 - [ rdf:type ep-spin-lib:buildDailyDrillingReportURI ;
261 - sp:arg1 _:b35 ;
262 - sp:arg2 _:b28
263 ] ; 287 ] ;
264 - sp:variable _:b26 288 + sp:variable _:b38
265 ] [ rdf:type sp:Bind ; 289 ] [ rdf:type sp:Bind ;
266 sp:expression 290 sp:expression
267 [ rdf:type ep-spin-lib:buildDailyDrillingActivityURI ; 291 [ rdf:type ep-spin-lib:buildDailyDrillingActivityURI ;
268 - sp:arg1 _:b35 ; 292 + sp:arg1 _:b38 ;
269 - sp:arg2 _:b29 293 + sp:arg2 _:b36
270 ] ; 294 ] ;
271 - sp:variable _:b27 295 + sp:variable _:b33
272 ] [ rdf:type sp:Bind ; 296 ] [ rdf:type sp:Bind ;
273 sp:expression 297 sp:expression
274 - [ rdf:type ep-spin-lib:buildTemporalPartOfAWellBoreURI ; 298 + [ rdf:type ep-spin-lib:normalizeString ;
275 - sp:arg1 _:b35 ; 299 + sp:arg1 _:b31
276 - sp:arg2 _:b29 ;
277 - sp:arg3 _:b34
278 ] ; 300 ] ;
279 - sp:variable _:b30 301 + sp:variable _:b39
280 ] [ rdf:type sp:Bind ; 302 ] [ rdf:type sp:Bind ;
281 sp:expression 303 sp:expression
282 - [ rdf:type ep-spin-lib:buildTemporaryWellBoreURI ; 304 + [ rdf:type rhspin:wellByName ;
283 - sp:arg1 _:b35 305 + arg:wellName _:b39
284 ] ; 306 ] ;
285 - sp:variable _:b31 307 + sp:variable _:b30
286 ]) 308 ])
287 ] . 309 ] .
288 310
289 -<http://www.reportinghub.no/ep/transform/1.1/ddr/drillReport> 311 +_:b13
290 - rdf:type owl:Ontology ; 312 + sp:varName "normalizedWellBoreName"^^xsd:string .
291 - owl:imports <http://www.reportinghub.no/ep/schema/1.0/activity-purpose> , <http://www.reportinghub.no/ep/schema/1.0/core> , <http://spinrdf.org/spin> , <http://www.reportinghub.no/ep/schema/1.0/equipment> , <http://www.reportinghub.no/ep/schema/1.0/activity> , <http://www.reportinghub.no/ep/spin/1.1/lib> , <http://www.reportinghub.no/ep/schema/1.0/well> , <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> ;
292 - owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
293 313
294 -_:b25 314 +_:b12
315 + sp:varName "extendedReport"^^xsd:string .
316 +
317 +_:b11
318 + sp:varName "dTimEnd"^^xsd:string .
319 +
320 +_:b10
321 + sp:varName "dTimExtendedReport"^^xsd:string .
322 +
323 +_:b9 sp:varName "extendedReportContent"^^xsd:string .
324 +
325 +_:b7 sp:varName "nameWellBore"^^xsd:string .
326 +
327 +_:b6 sp:varName "wellBore"^^xsd:string .
328 +
329 +_:b5 sp:varName "temporalPartOfAWellBore"^^xsd:string .
330 +
331 +_:b4 sp:varName "dTimStart"^^xsd:string .
332 +
333 +_:b3 sp:varName "createDate"^^xsd:string .
334 +
335 +_:b2 sp:varName "dailyDrillingActivity"^^xsd:string .
336 +
337 +_:b1 sp:varName "dailyDrillingReport"^^xsd:string .
338 +
339 +_:b18
295 sp:varName "normalizedWellBoreName"^^xsd:string . 340 sp:varName "normalizedWellBoreName"^^xsd:string .
296 341
297 -_:b24 342 +_:b17
298 sp:varName "createDate"^^xsd:string . 343 sp:varName "createDate"^^xsd:string .
299 344
300 -_:b23 345 +_:b16
301 sp:varName "nameWellBore"^^xsd:string . 346 sp:varName "nameWellBore"^^xsd:string .
302 347
303 -_:b22 348 +_:b15
304 sp:varName "dailyDrillingReport"^^xsd:string . 349 sp:varName "dailyDrillingReport"^^xsd:string .
305 350
306 -_:b21 351 +_:b14
307 sp:varName "nameDailyDrillingReport"^^xsd:string . 352 sp:varName "nameDailyDrillingReport"^^xsd:string .
308 353
309 -_:b15 354 +_:b24
310 sp:varName "normalizedWellBoreName"^^xsd:string . 355 sp:varName "normalizedWellBoreName"^^xsd:string .
311 356
312 -_:b14 357 +_:b23
313 sp:varName "versionKind"^^xsd:string . 358 sp:varName "versionKind"^^xsd:string .
314 359
315 -_:b13 360 +_:b22
316 sp:varName "createDate"^^xsd:string . 361 sp:varName "createDate"^^xsd:string .
317 362
318 -_:b12 363 +_:b21
319 sp:varName "nameWellBore"^^xsd:string . 364 sp:varName "nameWellBore"^^xsd:string .
320 365
321 -_:b11 366 +_:b20
322 sp:varName "dailyDrillingReport"^^xsd:string . 367 sp:varName "dailyDrillingReport"^^xsd:string .
323 368
324 -_:b10 369 +_:b19
325 sp:varName "dailyDrillingReportType"^^xsd:string . 370 sp:varName "dailyDrillingReportType"^^xsd:string .
326 371
327 -_:b20 372 +_:b29
328 sp:varName "normalizedWellBoreName"^^xsd:string . 373 sp:varName "normalizedWellBoreName"^^xsd:string .
329 374
330 -_:b19 375 +_:b28
331 sp:varName "dTimStart"^^xsd:string . 376 sp:varName "dTimStart"^^xsd:string .
332 377
333 -_:b18 378 +_:b27
334 sp:varName "nameWellBore"^^xsd:string . 379 sp:varName "nameWellBore"^^xsd:string .
335 380
336 -_:b17 381 +_:b26
337 sp:varName "dailyDrillingActivity"^^xsd:string . 382 sp:varName "dailyDrillingActivity"^^xsd:string .
338 383
339 -_:b16 384 +_:b25
340 sp:varName "dTimEnd"^^xsd:string . 385 sp:varName "dTimEnd"^^xsd:string .
341 386
342 -_:b35 387 +_:b39
388 + sp:varName "normalizedWellName"^^xsd:string .
389 +
390 +_:b38
343 sp:varName "normalizedWellBoreName"^^xsd:string . 391 sp:varName "normalizedWellBoreName"^^xsd:string .
344 392
345 -_:b34 393 +_:b37
346 - sp:varName "dTimEnd"^^xsd:string . 394 + sp:varName "temporalPartOfAWellBore"^^xsd:string .
347 395
348 -_:b33 396 +_:b36
349 - sp:varName "extendedReport"^^xsd:string . 397 + sp:varName "dTimStart"^^xsd:string .
350 398
351 -_:b32 399 +_:b35
352 sp:varName "nameWellBore"^^xsd:string . 400 sp:varName "nameWellBore"^^xsd:string .
353 401
354 -_:b31 402 +_:b34
355 sp:varName "wellBore"^^xsd:string . 403 sp:varName "wellBore"^^xsd:string .
356 404
357 -_:b30 405 +_:b33
358 - sp:varName "temporalPartOfAWellBore"^^xsd:string .
359 -
360 -_:b29
361 - sp:varName "dTimStart"^^xsd:string .
362 -
363 -_:b28
364 - sp:varName "createDate"^^xsd:string .
365 -
366 -_:b27
367 sp:varName "dailyDrillingActivity"^^xsd:string . 406 sp:varName "dailyDrillingActivity"^^xsd:string .
368 407
369 -_:b26 408 +_:b31
370 - sp:varName "dailyDrillingReport"^^xsd:string . 409 + sp:varName "nameWell"^^xsd:string .
371 -
372 -_:b1 sp:varName "well"^^xsd:string .
373 -
374 -_:b9 sp:varName "normalizedWellName"^^xsd:string .
375 -
376 -_:b8 sp:varName "normalizedWellBoreName"^^xsd:string .
377 -
378 -_:b4 sp:varName "wellBore"^^xsd:string .
379 -
380 -_:b7 sp:varName "temporalPartOfAWellBore"^^xsd:string .
381 -
382 -_:b3 sp:varName "dailyDrillingActivity"^^xsd:string .
383 -
384 -_:b6 sp:varName "dTimStart"^^xsd:string .
385 -
386 -_:b2 sp:varName "nameWell"^^xsd:string .
387 410
388 -_:b5 sp:varName "nameWellBore"^^xsd:string . 411 +_:b30
412 + sp:varName "well"^^xsd:string .
......
1 -# Saved by TopBraid on Tue Aug 23 16:05:01 BST 2011 1 +# Saved by TopBraid on Sun Sep 11 06:50:58 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 -# Saved by TopBraid on Tue Aug 23 10:49:30 BST 2011 1 +# Saved by TopBraid on Sun Sep 11 06:50:42 BST 2011
2 # baseURI: http://www.reportinghub.no/ep/transform/1.1/ddr/stratInfo 2 # baseURI: http://www.reportinghub.no/ep/transform/1.1/ddr/stratInfo
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/transform/1.1/ddr 4 # imports: http://www.reportinghub.no/ep/transform/1.1/ddr
...@@ -71,7 +71,7 @@ ...@@ -71,7 +71,7 @@
71 sp:subject 71 sp:subject
72 [ sp:varName "dailyTemporalPartOfAWellBore"^^xsd:string 72 [ sp:varName "dailyTemporalPartOfAWellBore"^^xsd:string
73 ] 73 ]
74 - ] [ sp:object <http://www.reportinghub.no/ep/schema/well#WellBore> ; 74 + ] [ sp:object <http://www.reportinghub.no/ep/schema/well#WellBore-WholeLife> ;
75 sp:predicate rdf:type ; 75 sp:predicate rdf:type ;
76 sp:subject _:b4 76 sp:subject _:b4
77 ] [ sp:object _:b6 ; 77 ] [ sp:object _:b6 ;
...@@ -117,35 +117,35 @@ ...@@ -117,35 +117,35 @@
117 117
118 <http://www.reportinghub.no/ep/transform/1.1/ddr/stratInfo> 118 <http://www.reportinghub.no/ep/transform/1.1/ddr/stratInfo>
119 rdf:type owl:Ontology ; 119 rdf:type owl:Ontology ;
120 - owl:imports <http://spinrdf.org/spin> , <http://www.reportinghub.no/ep/transform/1.1/ddr> , <http://www.reportinghub.no/ep/spin/1.1/lib> ; 120 + owl:imports <http://www.reportinghub.no/ep/spin/1.1/lib> , <http://www.reportinghub.no/ep/transform/1.1/ddr> , <http://spinrdf.org/spin> ;
121 owl:versionInfo "Created with TopBraid Composer"^^xsd:string . 121 owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
122 122
123 -_:b9 sp:varName "nameWellBore"^^xsd:string . 123 +_:b13
124 + sp:varName "normalizedWellBoreName"^^xsd:string .
124 125
125 -_:b10 126 +_:b12
126 - sp:varName "dTimStart"^^xsd:string . 127 + sp:varName "index"^^xsd:string .
127 128
128 _:b11 129 _:b11
129 sp:varName "stratInfo"^^xsd:string . 130 sp:varName "stratInfo"^^xsd:string .
130 131
131 -_:b12 132 +_:b10
132 - sp:varName "index"^^xsd:string . 133 + sp:varName "dTimStart"^^xsd:string .
133 134
134 -_:b5 sp:varName "dTimPreliminaryZonation"^^xsd:string . 135 +_:b9 sp:varName "nameWellBore"^^xsd:string .
135 136
136 -_:b2 sp:varName "dailyDrillingActivity"^^xsd:string . 137 +_:b8 sp:varName "description"^^xsd:string .
137 138
138 -_:b4 sp:varName "wellBore"^^xsd:string . 139 +_:b7 sp:varName "tvdTop"^^xsd:string .
139 140
140 _:b6 sp:varName "mdTop"^^xsd:string . 141 _:b6 sp:varName "mdTop"^^xsd:string .
141 142
142 -_:b7 sp:varName "tvdTop"^^xsd:string . 143 +_:b5 sp:varName "dTimPreliminaryZonation"^^xsd:string .
143 144
144 -_:b8 sp:varName "description"^^xsd:string . 145 +_:b4 sp:varName "wellBore"^^xsd:string .
145 146
146 -_:b13 147 +_:b3 sp:varName "stratigraphicInformationPartOfAWellBore"^^xsd:string .
147 - sp:varName "normalizedWellBoreName"^^xsd:string .
148 148
149 -_:b1 sp:varName "preliminaryZonation"^^xsd:string . 149 +_:b2 sp:varName "dailyDrillingActivity"^^xsd:string .
150 150
151 -_:b3 sp:varName "stratigraphicInformationPartOfAWellBore"^^xsd:string . 151 +_:b1 sp:varName "preliminaryZonation"^^xsd:string .
......
1 -# Saved by TopBraid on Tue Aug 23 10:49:30 BST 2011 1 +# Saved by TopBraid on Sun Sep 11 06:50:42 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 -# Saved by TopBraid on Wed Aug 17 11:44:23 BST 2011 1 +# Saved by TopBraid on Tue Sep 13 11:23:38 BST 2011
2 # baseURI: http://www.reportinghub.no/ep/transform/1.1/ddr/surveyStation 2 # baseURI: http://www.reportinghub.no/ep/transform/1.1/ddr/surveyStation
3 -# imports: http://www.reportinghub.no/ep/transform/1.1/ddr 3 +# imports: http://www.reportinghub.no/ep/spin/1.1/lib
4 +# imports: http://www.witsml.org/schemas/1series
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/activity
4 # imports: http://spinrdf.org/spin 8 # imports: http://spinrdf.org/spin
5 9
6 @prefix : <http://www.reportinghub.no/ep/transform/1.1/ddr/surveyStation#> . 10 @prefix : <http://www.reportinghub.no/ep/transform/1.1/ddr/surveyStation#> .
11 +@prefix afn: <http://jena.hpl.hp.com/ARQ/function#> .
12 +@prefix ddr: <http://www.witsml.org/schemas/1series#> .
13 +@prefix ep-core: <http://www.reportinghub.no/ep/schema/core#> .
7 @prefix ep-spin-lib: <http://www.reportinghub.no/ep/spin/lib#> . 14 @prefix ep-spin-lib: <http://www.reportinghub.no/ep/spin/lib#> .
8 @prefix owl: <http://www.w3.org/2002/07/owl#> . 15 @prefix owl: <http://www.w3.org/2002/07/owl#> .
9 @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . 16 @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
...@@ -13,7 +20,12 @@ ...@@ -13,7 +20,12 @@
13 @prefix spl: <http://spinrdf.org/spl#> . 20 @prefix spl: <http://spinrdf.org/spl#> .
14 @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . 21 @prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
15 22
16 -<http://www.reportinghub.no/ep/schema/ddr#Obj_drillReport> 23 +<http://www.reportinghub.no/ep/transform/1.1/ddr/surveyStation>
24 + rdf:type owl:Ontology ;
25 + owl:imports <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/well> , <http://www.reportinghub.no/ep/schema/1.0/core> , <http://www.witsml.org/schemas/1series> , <http://spinrdf.org/spin> ;
26 + owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
27 +
28 +ddr:Obj_drillReport
17 spin:rule 29 spin:rule
18 [ rdf:type sp:Construct ; 30 [ rdf:type sp:Construct ;
19 rdfs:comment "STEP 180 Create a WellBoreDirectionalSurvey activity"^^xsd:string ; 31 rdfs:comment "STEP 180 Create a WellBoreDirectionalSurvey activity"^^xsd:string ;
...@@ -21,379 +33,237 @@ ...@@ -21,379 +33,237 @@
21 sp:predicate rdf:type ; 33 sp:predicate rdf:type ;
22 sp:subject _:b1 34 sp:subject _:b1
23 ] [ sp:object _:b1 ; 35 ] [ sp:object _:b1 ;
24 - sp:predicate <http://www.reportinghub.no/ep/schema/core#hasPart> ; 36 + sp:predicate ep-core:hasPart ;
25 sp:subject _:b2 37 sp:subject _:b2
26 - ] [ sp:object <http://www.reportinghub.no/ep/schema/well#TemporalPartOfASpatialPartOfAWellBore> ;
27 - sp:predicate rdf:type ;
28 - sp:subject _:b3
29 - ] [ sp:object _:b4 ;
30 - sp:predicate <http://www.reportinghub.no/ep/schema/core#partOf> ;
31 - sp:subject _:b3
32 ] [ sp:object _:b3 ; 38 ] [ sp:object _:b3 ;
39 + sp:predicate <http://www.reportinghub.no/ep/schema/activity#finishedAt> ;
40 + sp:subject _:b1
41 + ] [ sp:object _:b4 ;
33 sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWellBore> ; 42 sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWellBore> ;
34 sp:subject _:b1 43 sp:subject _:b1
35 - ]) ; 44 + ] [ sp:object <http://www.reportinghub.no/ep/schema/well#PositionWithinWellBore> ;
36 - sp:where ([ sp:object _:b5 ; 45 + sp:predicate rdf:type ;
37 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWellbore> ; 46 + sp:subject _:b4
38 - sp:subject spin:_this 47 + ] [ sp:object _:b5 ;
48 + sp:predicate ep-core:partOf ;
49 + sp:subject _:b4
39 ] [ sp:object _:b6 ; 50 ] [ sp:object _:b6 ;
40 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ; 51 + sp:predicate <http://www.reportinghub.no/ep/schema/well#measuredDepth> ;
41 - sp:subject spin:_this 52 + sp:subject _:b4
53 + ] [ sp:object ep-core:Length ;
54 + sp:predicate rdf:type ;
55 + sp:subject _:b6
42 ] [ sp:object _:b7 ; 56 ] [ sp:object _:b7 ;
43 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#surveyStation> ; 57 + sp:predicate _:b8 ;
44 - sp:subject spin:_this 58 + sp:subject _:b6
45 - ] [ sp:object _:b8 ; 59 + ] [ sp:object _:b9 ;
46 - sp:predicate <http://www.topbraid.org/2007/05/composite.owl#index> ; 60 + sp:predicate <http://www.reportinghub.no/ep/schema/well#trueVerticalDepth> ;
47 - sp:subject _:b7 61 + sp:subject _:b4
48 - ] [ sp:object _:b4 ; 62 + ] [ sp:object ep-core:Length ;
49 - sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWellBore> ; 63 + sp:predicate rdf:type ;
50 - sp:subject _:b2 64 + sp:subject _:b9
51 - ] [ rdf:type sp:Bind ; 65 + ] [ sp:object _:b10 ;
52 - sp:expression 66 + sp:predicate _:b11 ;
53 - [ rdf:type ep-spin-lib:normalizeString ; 67 + sp:subject _:b9
54 - sp:arg1 _:b5 68 + ] [ sp:object _:b12 ;
55 - ] ; 69 + sp:predicate <http://www.reportinghub.no/ep/schema/well#inclination> ;
56 - sp:variable _:b9 70 + sp:subject _:b4
57 - ] [ rdf:type sp:Bind ; 71 + ] [ sp:object ep-core:PlaneAngle ;
58 - sp:expression 72 + sp:predicate rdf:type ;
59 - [ rdf:type ep-spin-lib:buildDailyDrillingActivityURI ; 73 + sp:subject _:b12
60 - sp:arg1 _:b9 ;
61 - sp:arg2 _:b6
62 - ] ;
63 - sp:variable _:b2
64 - ] [ rdf:type sp:Bind ;
65 - sp:expression
66 - [ rdf:type ep-spin-lib:buildWellBoreDirectionalSurveyURI ;
67 - sp:arg1 _:b9 ;
68 - sp:arg2 _:b6 ;
69 - sp:arg3 _:b8
70 - ] ;
71 - sp:variable _:b1
72 - ] [ rdf:type sp:Bind ;
73 - sp:expression
74 - [ rdf:type ep-spin-lib:buildSurveyedPartOfAWellBoreURI ;
75 - sp:arg1 _:b9 ;
76 - sp:arg2 _:b6 ;
77 - sp:arg3 _:b8
78 - ] ;
79 - sp:variable _:b3
80 - ])
81 - ] ;
82 - spin:rule
83 - [ rdf:type sp:Construct ;
84 - rdfs:comment "STEP 181 Set time of WellBoreDirectionalSurvey"^^xsd:string ;
85 - sp:templates ([ sp:object _:b10 ;
86 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTim> ;
87 - sp:subject _:b11
88 - ]) ;
89 - sp:where ([ sp:object _:b12 ;
90 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWellbore> ;
91 - sp:subject spin:_this
92 ] [ sp:object _:b13 ; 74 ] [ sp:object _:b13 ;
93 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ; 75 + sp:predicate _:b14 ;
94 - sp:subject spin:_this 76 + sp:subject _:b12
95 - ] [ sp:object _:b14 ;
96 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#surveyStation> ;
97 - sp:subject spin:_this
98 ] [ sp:object _:b15 ; 77 ] [ sp:object _:b15 ;
99 - sp:predicate <http://www.topbraid.org/2007/05/composite.owl#index> ; 78 + sp:predicate <http://www.reportinghub.no/ep/schema/well#azimuth> ;
100 - sp:subject _:b14 79 + sp:subject _:b4
101 - ] [ sp:object _:b10 ; 80 + ] [ sp:object ep-core:PlaneAngle ;
102 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTim> ; 81 + sp:predicate rdf:type ;
103 - sp:subject _:b14 82 + sp:subject _:b15
104 - ] [ rdf:type sp:Bind ; 83 + ] [ sp:object _:b16 ;
105 - sp:expression 84 + sp:predicate _:b17 ;
106 - [ rdf:type ep-spin-lib:normalizeString ; 85 + sp:subject _:b15
107 - sp:arg1 _:b12
108 - ] ;
109 - sp:variable _:b16
110 - ] [ rdf:type sp:Bind ;
111 - sp:expression
112 - [ rdf:type ep-spin-lib:buildWellBoreDirectionalSurveyURI ;
113 - sp:arg1 _:b16 ;
114 - sp:arg2 _:b13 ;
115 - sp:arg3 _:b15
116 - ] ;
117 - sp:variable _:b11
118 - ])
119 - ] ;
120 - spin:rule
121 - [ rdf:type sp:Construct ;
122 - rdfs:comment "STEP 182 Set md of WellBoreDirectionalSurvey"^^xsd:string ;
123 - sp:templates ([ sp:object _:b17 ;
124 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#md> ;
125 - sp:subject _:b18
126 ]) ; 86 ]) ;
127 - sp:where ([ sp:object _:b19 ; 87 + sp:where ([ sp:object _:b18 ;
128 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWellbore> ; 88 + sp:predicate ddr:nameWellbore ;
129 sp:subject spin:_this 89 sp:subject spin:_this
130 - ] [ sp:object _:b20 ; 90 + ] [ sp:object _:b19 ;
131 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ; 91 + sp:predicate ddr:dTimStart ;
132 sp:subject spin:_this 92 sp:subject spin:_this
133 - ] [ sp:object _:b21 ; 93 + ] [ sp:object _:b5 ;
134 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#surveyStation> ; 94 + sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWellBore> ;
95 + sp:subject _:b2
96 + ] [ sp:object _:b20 ;
97 + sp:predicate ddr:surveyStationRef ;
135 sp:subject spin:_this 98 sp:subject spin:_this
99 + ] [ rdf:type sp:Optional ;
100 + sp:elements ([ sp:object _:b3 ;
101 + sp:predicate ddr:dTim ;
102 + sp:subject _:b20
103 + ])
104 + ] [ rdf:type sp:Optional ;
105 + sp:elements ([ sp:object _:b21 ;
106 + sp:predicate ddr:mdRef ;
107 + sp:subject _:b20
136 ] [ sp:object _:b22 ; 108 ] [ sp:object _:b22 ;
137 - sp:predicate <http://www.topbraid.org/2007/05/composite.owl#index> ; 109 + sp:predicate ddr:uomRef ;
138 sp:subject _:b21 110 sp:subject _:b21
139 - ] [ sp:object _:b17 ; 111 + ] [ sp:object _:b7 ;
140 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#md> ; 112 + sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
141 sp:subject _:b21 113 sp:subject _:b21
114 + ])
115 + ] [ rdf:type sp:Optional ;
116 + sp:elements ([ sp:object _:b23 ;
117 + sp:predicate ddr:tvdRef ;
118 + sp:subject _:b20
119 + ] [ sp:object _:b24 ;
120 + sp:predicate ddr:uomRef ;
121 + sp:subject _:b23
122 + ] [ sp:object _:b10 ;
123 + sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
124 + sp:subject _:b23
125 + ])
126 + ] [ rdf:type sp:Optional ;
127 + sp:elements ([ sp:object _:b25 ;
128 + sp:predicate ddr:inclRef ;
129 + sp:subject _:b20
130 + ] [ sp:object _:b26 ;
131 + sp:predicate ddr:uomRef ;
132 + sp:subject _:b25
133 + ] [ sp:object _:b13 ;
134 + sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
135 + sp:subject _:b25
136 + ])
137 + ] [ rdf:type sp:Optional ;
138 + sp:elements ([ sp:object _:b27 ;
139 + sp:predicate ddr:aziRef ;
140 + sp:subject _:b20
141 + ] [ sp:object _:b28 ;
142 + sp:predicate ddr:uomRef ;
143 + sp:subject _:b27
144 + ] [ sp:object _:b16 ;
145 + sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
146 + sp:subject _:b27
147 + ])
142 ] [ rdf:type sp:Bind ; 148 ] [ rdf:type sp:Bind ;
143 sp:expression 149 sp:expression
144 [ rdf:type ep-spin-lib:normalizeString ; 150 [ rdf:type ep-spin-lib:normalizeString ;
145 - sp:arg1 _:b19 151 + sp:arg1 _:b18
146 ] ; 152 ] ;
147 - sp:variable _:b23 153 + sp:variable _:b29
148 ] [ rdf:type sp:Bind ; 154 ] [ rdf:type sp:Bind ;
149 sp:expression 155 sp:expression
150 - [ rdf:type ep-spin-lib:buildSurveyedPartOfAWellBoreURI ; 156 + [ rdf:type ep-spin-lib:buildDailyDrillingActivityURI ;
151 - sp:arg1 _:b23 ; 157 + sp:arg1 _:b29 ;
152 - sp:arg2 _:b20 ; 158 + sp:arg2 _:b19
153 - sp:arg3 _:b22
154 - ] ;
155 - sp:variable _:b18
156 - ])
157 ] ; 159 ] ;
158 - spin:rule 160 + sp:variable _:b2
159 - [ rdf:type sp:Construct ;
160 - rdfs:comment "STEP 183 Set tvd of WellBoreDirectionalSurvey"^^xsd:string ;
161 - sp:templates ([ sp:object _:b24 ;
162 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#tvd> ;
163 - sp:subject _:b25
164 - ]) ;
165 - sp:where ([ sp:object _:b26 ;
166 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWellbore> ;
167 - sp:subject spin:_this
168 - ] [ sp:object _:b27 ;
169 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ;
170 - sp:subject spin:_this
171 - ] [ sp:object _:b28 ;
172 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#surveyStation> ;
173 - sp:subject spin:_this
174 - ] [ sp:object _:b29 ;
175 - sp:predicate <http://www.topbraid.org/2007/05/composite.owl#index> ;
176 - sp:subject _:b28
177 - ] [ sp:object _:b24 ;
178 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#tvd> ;
179 - sp:subject _:b28
180 ] [ rdf:type sp:Bind ; 161 ] [ rdf:type sp:Bind ;
181 sp:expression 162 sp:expression
182 - [ rdf:type ep-spin-lib:normalizeString ; 163 + [ rdf:type afn:localname ;
183 - sp:arg1 _:b26 164 + sp:arg1 _:b20
184 ] ; 165 ] ;
185 sp:variable _:b30 166 sp:variable _:b30
186 ] [ rdf:type sp:Bind ; 167 ] [ rdf:type sp:Bind ;
187 sp:expression 168 sp:expression
188 - [ rdf:type ep-spin-lib:buildSurveyedPartOfAWellBoreURI ; 169 + [ rdf:type ep-spin-lib:buildWellBoreDirectionalSurveyURI ;
189 - sp:arg1 _:b30 ; 170 + sp:arg1 _:b29 ;
190 - sp:arg2 _:b27 ; 171 + sp:arg2 _:b19 ;
191 - sp:arg3 _:b29 172 + sp:arg3 _:b30
192 - ] ;
193 - sp:variable _:b25
194 - ])
195 ] ; 173 ] ;
196 - spin:rule 174 + sp:variable _:b1
197 - [ rdf:type sp:Construct ;
198 - rdfs:comment "STEP 184 Set inclination of WellBoreDirectionalSurvey"^^xsd:string ;
199 - sp:templates ([ sp:object _:b31 ;
200 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#incl> ;
201 - sp:subject _:b32
202 - ]) ;
203 - sp:where ([ sp:object _:b33 ;
204 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWellbore> ;
205 - sp:subject spin:_this
206 - ] [ sp:object _:b34 ;
207 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ;
208 - sp:subject spin:_this
209 - ] [ sp:object _:b35 ;
210 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#surveyStation> ;
211 - sp:subject spin:_this
212 - ] [ sp:object _:b36 ;
213 - sp:predicate <http://www.topbraid.org/2007/05/composite.owl#index> ;
214 - sp:subject _:b35
215 - ] [ sp:object _:b31 ;
216 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#incl> ;
217 - sp:subject _:b35
218 ] [ rdf:type sp:Bind ; 175 ] [ rdf:type sp:Bind ;
219 sp:expression 176 sp:expression
220 - [ rdf:type ep-spin-lib:normalizeString ; 177 + [ rdf:type ep-spin-lib:selectLengthScale ;
221 - sp:arg1 _:b33 178 + sp:arg1 _:b22
222 ] ; 179 ] ;
223 - sp:variable _:b37 180 + sp:variable _:b8
224 ] [ rdf:type sp:Bind ; 181 ] [ rdf:type sp:Bind ;
225 sp:expression 182 sp:expression
226 - [ rdf:type ep-spin-lib:buildSurveyedPartOfAWellBoreURI ; 183 + [ rdf:type ep-spin-lib:selectLengthScale ;
227 - sp:arg1 _:b37 ; 184 + sp:arg1 _:b24
228 - sp:arg2 _:b34 ;
229 - sp:arg3 _:b36
230 - ] ;
231 - sp:variable _:b32
232 - ])
233 ] ; 185 ] ;
234 - spin:rule 186 + sp:variable _:b11
235 - [ rdf:type sp:Construct ;
236 - rdfs:comment "STEP 185 Set azimuth of WellBoreDirectionalSurvey"^^xsd:string ;
237 - sp:templates ([ sp:object _:b38 ;
238 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#azi> ;
239 - sp:subject _:b39
240 - ]) ;
241 - sp:where ([ sp:object _:b40 ;
242 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWellbore> ;
243 - sp:subject spin:_this
244 - ] [ sp:object _:b41 ;
245 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ;
246 - sp:subject spin:_this
247 - ] [ sp:object _:b42 ;
248 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#surveyStation> ;
249 - sp:subject spin:_this
250 - ] [ sp:object _:b43 ;
251 - sp:predicate <http://www.topbraid.org/2007/05/composite.owl#index> ;
252 - sp:subject _:b42
253 - ] [ sp:object _:b38 ;
254 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#azi> ;
255 - sp:subject _:b42
256 ] [ rdf:type sp:Bind ; 187 ] [ rdf:type sp:Bind ;
257 sp:expression 188 sp:expression
258 - [ rdf:type ep-spin-lib:normalizeString ; 189 + [ rdf:type ep-spin-lib:selectPlaneAngleScale ;
259 - sp:arg1 _:b40 190 + sp:arg1 _:b26
260 ] ; 191 ] ;
261 - sp:variable _:b44 192 + sp:variable _:b14
262 ] [ rdf:type sp:Bind ; 193 ] [ rdf:type sp:Bind ;
263 sp:expression 194 sp:expression
264 - [ rdf:type ep-spin-lib:buildSurveyedPartOfAWellBoreURI ; 195 + [ rdf:type ep-spin-lib:selectPlaneAngleScale ;
265 - sp:arg1 _:b44 ; 196 + sp:arg1 _:b28
266 - sp:arg2 _:b41 ;
267 - sp:arg3 _:b43
268 ] ; 197 ] ;
269 - sp:variable _:b39 198 + sp:variable _:b17
270 ]) 199 ])
271 ] . 200 ] .
272 201
273 -<http://www.reportinghub.no/ep/transform/1.1/ddr/surveyStation> 202 +_:b18
274 - rdf:type owl:Ontology ;
275 - owl:imports <http://www.reportinghub.no/ep/transform/1.1/ddr> , <http://spinrdf.org/spin> ;
276 - owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
277 -
278 -_:b38
279 - sp:varName "azi"^^xsd:string .
280 -
281 -_:b39
282 - sp:varName "surveyedPartOfAWellBore"^^xsd:string .
283 -
284 -_:b40
285 sp:varName "nameWellBore"^^xsd:string . 203 sp:varName "nameWellBore"^^xsd:string .
286 204
287 -_:b41 205 +_:b19
288 sp:varName "dTimStart"^^xsd:string . 206 sp:varName "dTimStart"^^xsd:string .
289 207
290 -_:b42 208 +_:b2 sp:varName "dailyDrillingActivity"^^xsd:string .
291 - sp:varName "surveyStation"^^xsd:string .
292 -
293 -_:b43
294 - sp:varName "index"^^xsd:string .
295 -
296 -_:b44
297 - sp:varName "normalizedWellBoreName"^^xsd:string .
298 209
299 -_:b31 210 +_:b5 sp:varName "dailyTemporalPartOfAWellBore"^^xsd:string .
300 - sp:varName "incl"^^xsd:string .
301 211
302 -_:b32 212 +_:b20
303 - sp:varName "surveyedPartOfAWellBore"^^xsd:string . 213 + sp:varName "surveyStation"^^xsd:string .
304 214
305 -_:b33 215 +_:b3 sp:varName "dTim"^^xsd:string .
306 - sp:varName "nameWellBore"^^xsd:string .
307 216
308 -_:b34 217 +_:b21
309 - sp:varName "dTimStart"^^xsd:string . 218 + sp:varName "md"^^xsd:string .
310 219
311 -_:b35 220 +_:b22
312 - sp:varName "surveyStation"^^xsd:string . 221 + sp:varName "uomMd"^^xsd:string .
313 222
314 -_:b36 223 +_:b7 sp:varName "realMd"^^xsd:string .
315 - sp:varName "index"^^xsd:string .
316 224
317 -_:b37 225 +_:b23
318 - sp:varName "normalizedWellBoreName"^^xsd:string . 226 + sp:varName "tvd"^^xsd:string .
319 227
320 _:b24 228 _:b24
321 - sp:varName "tvdOfSurvey"^^xsd:string . 229 + sp:varName "uomTvd"^^xsd:string .
230 +
231 +_:b10
232 + sp:varName "realTvd"^^xsd:string .
322 233
323 _:b25 234 _:b25
324 - sp:varName "surveyedPartOfAWellBore"^^xsd:string . 235 + sp:varName "incl"^^xsd:string .
325 236
326 _:b26 237 _:b26
327 - sp:varName "nameWellBore"^^xsd:string . 238 + sp:varName "uomIncl"^^xsd:string .
239 +
240 +_:b13
241 + sp:varName "realIncl"^^xsd:string .
328 242
329 _:b27 243 _:b27
330 - sp:varName "dTimStart"^^xsd:string . 244 + sp:varName "azi"^^xsd:string .
331 245
332 _:b28 246 _:b28
333 - sp:varName "surveyStation"^^xsd:string . 247 + sp:varName "uomAzi"^^xsd:string .
334 248
335 -_:b29 249 +_:b16
336 - sp:varName "index"^^xsd:string . 250 + sp:varName "realAzi"^^xsd:string .
337 251
338 -_:b30 252 +_:b29
339 sp:varName "normalizedWellBoreName"^^xsd:string . 253 sp:varName "normalizedWellBoreName"^^xsd:string .
340 254
341 -_:b17 255 +_:b30
342 - sp:varName "mdOfSurvey"^^xsd:string . 256 + sp:varName "localname"^^xsd:string .
343 -
344 -_:b18
345 - sp:varName "surveyedPartOfAWellBore"^^xsd:string .
346 -
347 -_:b19
348 - sp:varName "nameWellBore"^^xsd:string .
349 -
350 -_:b20
351 - sp:varName "dTimStart"^^xsd:string .
352 -
353 -_:b21
354 - sp:varName "surveyStation"^^xsd:string .
355 -
356 -_:b22
357 - sp:varName "index"^^xsd:string .
358 257
359 -_:b23 258 +_:b1 sp:varName "wellBoreDirectionalSurvey"^^xsd:string .
360 - sp:varName "normalizedWellBoreName"^^xsd:string .
361 259
362 -_:b10 260 +_:b8 sp:varName "lengthScaleMd"^^xsd:string .
363 - sp:varName "timeOfSurvey"^^xsd:string .
364 261
365 _:b11 262 _:b11
366 - sp:varName "wellBoreDirectionalSurvey"^^xsd:string . 263 + sp:varName "lengthScaleTvd"^^xsd:string .
367 -
368 -_:b12
369 - sp:varName "nameWellBore"^^xsd:string .
370 -
371 -_:b13
372 - sp:varName "dTimStart"^^xsd:string .
373 264
374 _:b14 265 _:b14
375 - sp:varName "surveyStation"^^xsd:string . 266 + sp:varName "angleScaleIncl"^^xsd:string .
376 -
377 -_:b15
378 - sp:varName "index"^^xsd:string .
379 -
380 -_:b16
381 - sp:varName "normalizedWellBoreName"^^xsd:string .
382 267
383 -_:b5 sp:varName "nameWellBore"^^xsd:string . 268 +_:b17
384 - 269 + sp:varName "angleScaleAzi"^^xsd:string .
385 -_:b6 sp:varName "dTimStart"^^xsd:string .
386 -
387 -_:b7 sp:varName "surveyStation"^^xsd:string .
388 -
389 -_:b8 sp:varName "index"^^xsd:string .
390 -
391 -_:b2 sp:varName "dailyDrillingActivity"^^xsd:string .
392 -
393 -_:b4 sp:varName "dailyTemporalPartOfAWellBore"^^xsd:string .
394 -
395 -_:b9 sp:varName "normalizedWellBoreName"^^xsd:string .
396 -
397 -_:b1 sp:varName "wellBoreDirectionalSurvey"^^xsd:string .
398 -
399 -_:b3 sp:varName "surveyedPartOfAWellBore"^^xsd:string .
......
1 -# Saved by TopBraid on Wed Aug 17 11:44:23 BST 2011 1 +# Saved by TopBraid on Tue Sep 13 11:23:38 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 -# Saved by TopBraid on Tue Aug 23 09:12:12 BST 2011 1 +# Saved by TopBraid on Sun Sep 11 15:12:53 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.witsml.org/schemas/1series
5 +# imports: http://www.reportinghub.no/ep/schema/1.0/activity
5 # imports: http://spinrdf.org/spin 6 # imports: http://spinrdf.org/spin
6 7
7 @prefix : <http://www.reportinghub.no/ep/transform/1.1/wellAndWellBoreAlias#> . 8 @prefix : <http://www.reportinghub.no/ep/transform/1.1/wellAndWellBoreAlias#> .
9 +@prefix ddr: <http://www.witsml.org/schemas/1series#> .
10 +@prefix ep-activity: <http://www.reportinghub.no/ep/schema/activity#> .
11 +@prefix ep-core: <http://www.reportinghub.no/ep/schema/core#> .
8 @prefix ep-spin-lib: <http://www.reportinghub.no/ep/spin/lib#> . 12 @prefix ep-spin-lib: <http://www.reportinghub.no/ep/spin/lib#> .
9 @prefix fn: <http://www.w3.org/2005/xpath-functions#> . 13 @prefix fn: <http://www.w3.org/2005/xpath-functions#> .
10 @prefix owl: <http://www.w3.org/2002/07/owl#> . 14 @prefix owl: <http://www.w3.org/2002/07/owl#> .
...@@ -17,7 +21,12 @@ ...@@ -17,7 +21,12 @@
17 @prefix spl: <http://spinrdf.org/spl#> . 21 @prefix spl: <http://spinrdf.org/spl#> .
18 @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . 22 @prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
19 23
20 -<http://www.reportinghub.no/ep/schema/ddr#Obj_drillReport> 24 +<http://www.reportinghub.no/ep/transform/1.1/wellAndWellBoreAlias>
25 + rdf:type owl:Ontology ;
26 + owl:imports <http://www.reportinghub.no/ep/schema/1.0/activity> , <http://www.witsml.org/schemas/1series> , <http://spinrdf.org/spin> , <http://www.reportinghub.no/ep/spin/1.1/lib> ;
27 + owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
28 +
29 +ddr:Obj_drillReport
21 spin:rule 30 spin:rule
22 [ rdf:type sp:Construct ; 31 [ rdf:type sp:Construct ;
23 rdfs:comment "STEP 150 Transfer Well aliases"^^xsd:string ; 32 rdfs:comment "STEP 150 Transfer Well aliases"^^xsd:string ;
...@@ -26,36 +35,42 @@ ...@@ -26,36 +35,42 @@
26 sp:subject _:b3 35 sp:subject _:b3
27 ]) ; 36 ]) ;
28 sp:where ([ sp:object _:b4 ; 37 sp:where ([ sp:object _:b4 ;
29 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWellbore> ; 38 + sp:predicate ddr:nameWellbore ;
30 sp:subject spin:_this 39 sp:subject spin:_this
31 ] [ sp:object _:b5 ; 40 ] [ sp:object _:b5 ;
32 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ; 41 + sp:predicate ddr:dTimStart ;
33 sp:subject spin:_this 42 sp:subject spin:_this
34 ] [ sp:object _:b6 ; 43 ] [ sp:object _:b6 ;
35 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#wellAlias> ; 44 + sp:predicate ddr:wellAliasRef ;
36 sp:subject spin:_this 45 sp:subject spin:_this
37 ] [ sp:object _:b1 ; 46 ] [ sp:object _:b1 ;
38 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#name> ; 47 + sp:predicate ddr:name ;
39 sp:subject _:b6 48 sp:subject _:b6
40 ] [ sp:object _:b7 ; 49 ] [ sp:object _:b7 ;
41 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#enumNamingSystem> ; 50 + sp:predicate ddr:namingSystemRef ;
42 sp:subject _:b6 51 sp:subject _:b6
52 + ] [ sp:object _:b8 ;
53 + sp:predicate ep-activity:onWell ;
54 + sp:subject _:b9
43 ] [ sp:object _:b3 ; 55 ] [ sp:object _:b3 ;
44 - sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWell> ; 56 + sp:predicate ep-core:temporalPartOf ;
45 sp:subject _:b8 57 sp:subject _:b8
58 + ] [ sp:object <http://www.reportinghub.no/ep/schema/well#Well-WholeLife> ;
59 + sp:predicate rdf:type ;
60 + sp:subject _:b3
46 ] [ rdf:type sp:Bind ; 61 ] [ rdf:type sp:Bind ;
47 sp:expression 62 sp:expression
48 [ rdf:type ep-spin-lib:normalizeString ; 63 [ rdf:type ep-spin-lib:normalizeString ;
49 sp:arg1 _:b4 64 sp:arg1 _:b4
50 ] ; 65 ] ;
51 - sp:variable _:b9 66 + sp:variable _:b10
52 ] [ rdf:type sp:Bind ; 67 ] [ rdf:type sp:Bind ;
53 sp:expression 68 sp:expression
54 [ rdf:type ep-spin-lib:buildDailyDrillingActivityURI ; 69 [ rdf:type ep-spin-lib:buildDailyDrillingActivityURI ;
55 - sp:arg1 _:b9 ; 70 + sp:arg1 _:b10 ;
56 sp:arg2 _:b5 71 sp:arg2 _:b5
57 ] ; 72 ] ;
58 - sp:variable _:b8 73 + sp:variable _:b9
59 ] [ rdf:type sp:Bind ; 74 ] [ rdf:type sp:Bind ;
60 sp:expression 75 sp:expression
61 [ rdf:type ep-spin-lib:selectLabelOfSystem ; 76 [ rdf:type ep-spin-lib:selectLabelOfSystem ;
...@@ -67,118 +82,119 @@ ...@@ -67,118 +82,119 @@
67 spin:rule 82 spin:rule
68 [ rdf:type sp:Construct ; 83 [ rdf:type sp:Construct ;
69 rdfs:comment "STEP 151 Transfer WellBore aliases"^^xsd:string ; 84 rdfs:comment "STEP 151 Transfer WellBore aliases"^^xsd:string ;
70 - sp:templates ([ sp:object _:b10 ; 85 + sp:templates ([ sp:object _:b11 ;
71 - sp:predicate _:b11 ; 86 + sp:predicate _:b12 ;
72 - sp:subject _:b12 87 + sp:subject _:b13
73 ]) ; 88 ]) ;
74 - sp:where ([ sp:object _:b13 ; 89 + sp:where ([ sp:object _:b14 ;
75 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWellbore> ; 90 + sp:predicate ddr:nameWellbore ;
76 - sp:subject spin:_this
77 - ] [ sp:object _:b14 ;
78 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ;
79 sp:subject spin:_this 91 sp:subject spin:_this
80 ] [ sp:object _:b15 ; 92 ] [ sp:object _:b15 ;
81 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#wellboreAlias> ; 93 + sp:predicate ddr:dTimStart ;
82 sp:subject spin:_this 94 sp:subject spin:_this
83 - ] [ sp:object _:b10 ;
84 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#name> ;
85 - sp:subject _:b15
86 ] [ sp:object _:b16 ; 95 ] [ sp:object _:b16 ;
87 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#enumNamingSystem> ; 96 + sp:predicate ddr:wellboreAliasRef ;
88 - sp:subject _:b15 97 + sp:subject spin:_this
98 + ] [ sp:object _:b11 ;
99 + sp:predicate ddr:name ;
100 + sp:subject _:b16
89 ] [ sp:object _:b17 ; 101 ] [ sp:object _:b17 ;
90 - sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWellBore> ; 102 + sp:predicate ddr:namingSystemRef ;
103 + sp:subject _:b16
104 + ] [ sp:object _:b18 ;
105 + sp:predicate ep-activity:onWellBore ;
106 + sp:subject _:b19
107 + ] [ sp:object _:b13 ;
108 + sp:predicate ep-core:temporalPartOf ;
91 sp:subject _:b18 109 sp:subject _:b18
92 - ] [ sp:object _:b12 ; 110 + ] [ sp:object <http://www.reportinghub.no/ep/schema/well#WellBore-WholeLife> ;
93 - sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ; 111 + sp:predicate rdf:type ;
94 - sp:subject _:b17 112 + sp:subject _:b13
95 ] [ rdf:type sp:Bind ; 113 ] [ rdf:type sp:Bind ;
96 sp:expression 114 sp:expression
97 [ rdf:type ep-spin-lib:normalizeString ; 115 [ rdf:type ep-spin-lib:normalizeString ;
98 - sp:arg1 _:b13 116 + sp:arg1 _:b14
99 ] ; 117 ] ;
100 - sp:variable _:b19 118 + sp:variable _:b20
101 ] [ rdf:type sp:Bind ; 119 ] [ rdf:type sp:Bind ;
102 sp:expression 120 sp:expression
103 [ rdf:type ep-spin-lib:buildDailyDrillingActivityURI ; 121 [ rdf:type ep-spin-lib:buildDailyDrillingActivityURI ;
104 - sp:arg1 _:b19 ; 122 + sp:arg1 _:b20 ;
105 - sp:arg2 _:b14 123 + sp:arg2 _:b15
106 ] ; 124 ] ;
107 - sp:variable _:b18 125 + sp:variable _:b19
108 ] [ rdf:type sp:Bind ; 126 ] [ rdf:type sp:Bind ;
109 sp:expression 127 sp:expression
110 [ rdf:type ep-spin-lib:selectLabelOfSystem ; 128 [ rdf:type ep-spin-lib:selectLabelOfSystem ;
111 - sp:arg1 _:b16 129 + sp:arg1 _:b17
112 ] ; 130 ] ;
113 - sp:variable _:b11 131 + sp:variable _:b12
114 ]) 132 ])
115 ] . 133 ] .
116 134
117 -<http://www.reportinghub.no/ep/transform/1.1/wellAndWellBoreAlias>
118 - rdf:type owl:Ontology ;
119 - owl:imports <http://www.reportinghub.no/ep/spin/1.1/lib> , <http://spinrdf.org/spin> , <http://www.reportinghub.no/ep/schema/1.0/ddr> ;
120 - owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
121 -
122 -[] rdf:type smf:regex .
123 -
124 -[] rdf:type smf:trim .
125 -
126 -[] rdf:type fn:starts-with .
127 -
128 [] rdf:type sp:Modify . 135 [] rdf:type sp:Modify .
129 136
130 -_:b9 sp:varName "normalizedWellBoreName"^^xsd:string . 137 +[] rdf:type fn:starts-with .
131 -
132 -_:b8 sp:varName "dailyDrillingActivity"^^xsd:string .
133 -
134 -_:b7 sp:varName "namingSystem"^^xsd:string .
135 -
136 -_:b6 sp:varName "wellAlias"^^xsd:string .
137 -
138 -_:b5 sp:varName "dTimStart"^^xsd:string .
139 -
140 -_:b4 sp:varName "nameWellBore"^^xsd:string .
141 138
142 -_:b3 sp:varName "well"^^xsd:string . 139 +[] rdf:type smf:trim .
143 140
144 -_:b2 sp:varName "labelOfSystem"^^xsd:string . 141 +[] rdf:type smf:regex .
145 142
146 -_:b1 sp:varName "name"^^xsd:string . 143 +_:b20
144 + sp:varName "normalizedWellBoreName"^^xsd:string .
147 145
148 _:b19 146 _:b19
149 - sp:varName "normalizedWellBoreName"^^xsd:string . 147 + sp:varName "dailyDrillingActivity"^^xsd:string .
150 148
151 _:b18 149 _:b18
152 - sp:varName "dailyDrillingActivity"^^xsd:string . 150 + sp:varName "temporalPartOfAWellBore"^^xsd:string .
153 151
154 _:b17 152 _:b17
155 - sp:varName "temporalPartOfAWellBore"^^xsd:string . 153 + sp:varName "namingSystem"^^xsd:string .
156 154
157 _:b16 155 _:b16
158 - sp:varName "namingSystem"^^xsd:string . 156 + sp:varName "wellBoreAlias"^^xsd:string .
159 157
160 _:b15 158 _:b15
161 - sp:varName "wellBoreAlias"^^xsd:string . 159 + sp:varName "dTimStart"^^xsd:string .
162 160
163 _:b14 161 _:b14
164 - sp:varName "dTimStart"^^xsd:string . 162 + sp:varName "nameWellBore"^^xsd:string .
165 163
166 _:b13 164 _:b13
167 - sp:varName "nameWellBore"^^xsd:string . 165 + sp:varName "wellBore"^^xsd:string .
168 166
169 _:b12 167 _:b12
170 - sp:varName "wellBore"^^xsd:string . 168 + sp:varName "labelOfSystem"^^xsd:string .
171 169
172 _:b11 170 _:b11
173 - sp:varName "labelOfSystem"^^xsd:string . 171 + sp:varName "name"^^xsd:string .
172 +
173 +_:b4 sp:varName "nameWellBore"^^xsd:string .
174 +
175 +_:b5 sp:varName "dTimStart"^^xsd:string .
176 +
177 +_:b6 sp:varName "wellAlias"^^xsd:string .
178 +
179 +_:b1 sp:varName "name"^^xsd:string .
180 +
181 +_:b7 sp:varName "namingSystem"^^xsd:string .
182 +
183 +_:b9 sp:varName "dailyDrillingActivity"^^xsd:string .
184 +
185 +_:b8 sp:varName "temporalPartOfAWell"^^xsd:string .
186 +
187 +_:b3 sp:varName "well"^^xsd:string .
174 188
175 _:b10 189 _:b10
176 - sp:varName "name"^^xsd:string . 190 + sp:varName "normalizedWellBoreName"^^xsd:string .
191 +
192 +_:b2 sp:varName "labelOfSystem"^^xsd:string .
193 +
194 +([]) .
177 195
178 ([]) . 196 ([]) .
179 197
180 ([] [] [ rdf:type sp:Filter 198 ([] [] [ rdf:type sp:Filter
181 ] [ rdf:type sp:Bind 199 ] [ rdf:type sp:Bind
182 ]) . 200 ]) .
183 -
184 -([]) .
......
1 -# Saved by TopBraid on Wed Aug 17 10:15:15 BST 2011 1 +# Saved by TopBraid on Wed Sep 14 12:13:21 BST 2011
2 # baseURI: http://www.reportinghub.no/ep/transform/1.1/wellboreInfo 2 # baseURI: http://www.reportinghub.no/ep/transform/1.1/wellboreInfo
3 # imports: http://www.reportinghub.no/ep/schema/1.0/organization 3 # imports: http://www.reportinghub.no/ep/schema/1.0/organization
4 # imports: http://www.reportinghub.no/ep/spin/1.1/lib 4 # imports: http://www.reportinghub.no/ep/spin/1.1/lib
5 -# imports: http://www.reportinghub.no/ep/schema/1.0/ddr 5 +# imports: http://www.witsml.org/schemas/1series
6 # imports: http://spinrdf.org/spin 6 # imports: http://spinrdf.org/spin
7 7
8 @prefix : <http://www.reportinghub.no/ep/transform/1.1/wellboreInfo#> . 8 @prefix : <http://www.reportinghub.no/ep/transform/1.1/wellboreInfo#> .
9 @prefix arg: <http://spinrdf.org/arg#> . 9 @prefix arg: <http://spinrdf.org/arg#> .
10 +@prefix ddr: <http://www.witsml.org/schemas/1series#> .
11 +@prefix ep-activity: <http://www.reportinghub.no/ep/schema/activity#> .
12 +@prefix ep-core: <http://www.reportinghub.no/ep/schema/core#> .
13 +@prefix ep-facility: <http://www.reportinghub.no/ep/schema/facility#> .
10 @prefix ep-org: <http://www.reportinghub.no/ep/schema/organization#> . 14 @prefix ep-org: <http://www.reportinghub.no/ep/schema/organization#> .
11 @prefix ep-spin-lib: <http://www.reportinghub.no/ep/spin/lib#> . 15 @prefix ep-spin-lib: <http://www.reportinghub.no/ep/spin/lib#> .
12 @prefix fn: <http://www.w3.org/2005/xpath-functions#> . 16 @prefix fn: <http://www.w3.org/2005/xpath-functions#> .
...@@ -20,609 +24,890 @@ ...@@ -20,609 +24,890 @@
20 @prefix spl: <http://spinrdf.org/spl#> . 24 @prefix spl: <http://spinrdf.org/spl#> .
21 @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . 25 @prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
22 26
23 -<http://www.reportinghub.no/ep/schema/ddr#Obj_drillReport> 27 +<http://www.reportinghub.no/ep/transform/1.1/wellboreInfo>
28 + rdf:type owl:Ontology ;
29 + owl:imports <http://www.reportinghub.no/ep/schema/1.0/organization> , <http://www.witsml.org/schemas/1series> , <http://spinrdf.org/spin> , <http://www.reportinghub.no/ep/spin/1.1/lib> ;
30 + owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
31 +
32 +ddr:Obj_drillReport
24 spin:rule 33 spin:rule
25 [ rdf:type sp:Construct ; 34 [ rdf:type sp:Construct ;
26 - rdfs:comment "STEP 163 Set drilling contractor for drilling activity"^^xsd:string ; 35 + rdfs:comment "STEP 166 Set SPUD date"^^xsd:string ;
27 sp:templates ([ sp:object _:b1 ; 36 sp:templates ([ sp:object _:b1 ;
28 - sp:predicate <http://www.reportinghub.no/ep/schema/activity#drillingContractor> ; 37 + sp:predicate <http://www.reportinghub.no/ep/schema/well#wellBoreSpudAt> ;
29 sp:subject _:b2 38 sp:subject _:b2
30 - ] [ sp:object _:b3 ;
31 - sp:predicate <http://www.reportinghub.no/ep/schema/core#name> ;
32 - sp:subject _:b1
33 - ] [ sp:object ep-org:Company ;
34 - sp:predicate rdf:type ;
35 - sp:subject _:b1
36 ]) ; 39 ]) ;
37 - sp:where ([ sp:object _:b4 ; 40 + sp:where ([ sp:object _:b3 ;
38 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWellbore> ; 41 + sp:predicate ddr:nameWellbore ;
42 + sp:subject spin:_this
43 + ] [ sp:object _:b4 ;
44 + sp:predicate ddr:dTimStart ;
39 sp:subject spin:_this 45 sp:subject spin:_this
40 ] [ sp:object _:b5 ; 46 ] [ sp:object _:b5 ;
41 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ; 47 + sp:predicate ddr:wellboreInfoRef ;
42 sp:subject spin:_this 48 sp:subject spin:_this
49 + ] [ sp:object _:b1 ;
50 + sp:predicate ddr:dTimSpud ;
51 + sp:subject _:b5
43 ] [ sp:object _:b6 ; 52 ] [ sp:object _:b6 ;
44 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#wellboreInfo> ; 53 + sp:predicate ep-activity:onWellBore ;
45 - sp:subject spin:_this 54 + sp:subject _:b7
46 - ] [ sp:object _:b3 ; 55 + ] [ sp:object _:b2 ;
47 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#drillContractor> ; 56 + sp:predicate ep-core:temporalPartOf ;
48 sp:subject _:b6 57 sp:subject _:b6
58 + ] [ sp:object <http://www.reportinghub.no/ep/schema/well#WellBore-WholeLife> ;
59 + sp:predicate rdf:type ;
60 + sp:subject _:b2
49 ] [ rdf:type sp:Bind ; 61 ] [ rdf:type sp:Bind ;
50 sp:expression 62 sp:expression
51 [ rdf:type ep-spin-lib:normalizeString ; 63 [ rdf:type ep-spin-lib:normalizeString ;
52 - sp:arg1 _:b4 64 + sp:arg1 _:b3
53 ] ; 65 ] ;
54 - sp:variable _:b7 66 + sp:variable _:b8
55 ] [ rdf:type sp:Bind ; 67 ] [ rdf:type sp:Bind ;
56 sp:expression 68 sp:expression
57 [ rdf:type ep-spin-lib:buildDailyDrillingActivityURI ; 69 [ rdf:type ep-spin-lib:buildDailyDrillingActivityURI ;
58 - sp:arg1 _:b7 ; 70 + sp:arg1 _:b8 ;
59 - sp:arg2 _:b5 71 + sp:arg2 _:b4
72 + ] ;
73 + sp:variable _:b7
74 + ])
60 ] ; 75 ] ;
61 - sp:variable _:b2 76 + spin:rule
77 + [ rdf:type sp:Construct ;
78 + rdfs:comment """STEP 169 Transfer elevKelly
79 +This rule processes data from statusInfo, but is here because it must be executed after a rig has been defined."""^^xsd:string ;
80 + sp:templates ([ sp:object _:b9 ;
81 + sp:predicate ep-core:hasPart ;
82 + sp:subject _:b10
83 + ] [ sp:object <http://www.reportinghub.no/ep/schema/equipment#KellyBushing> ;
84 + sp:predicate rdf:type ;
85 + sp:subject _:b9
86 + ] [ sp:object _:b11 ;
87 + sp:predicate <http://www.reportinghub.no/ep/schema/equipment#elevationOfKellyBushing> ;
88 + sp:subject _:b9
89 + ] [ sp:object ep-core:Length ;
90 + sp:predicate rdf:type ;
91 + sp:subject _:b11
92 + ] [ sp:object _:b12 ;
93 + sp:predicate _:b13 ;
94 + sp:subject _:b11
95 + ]) ;
96 + sp:where ([ sp:object _:b14 ;
97 + sp:predicate ddr:nameWellbore ;
98 + sp:subject spin:_this
99 + ] [ sp:object _:b15 ;
100 + sp:predicate ddr:dTimStart ;
101 + sp:subject spin:_this
102 + ] [ sp:object _:b16 ;
103 + sp:predicate ddr:statusInfoRef ;
104 + sp:subject spin:_this
105 + ] [ sp:object _:b10 ;
106 + sp:predicate ep-activity:onRig ;
107 + sp:subject _:b17
108 + ] [ sp:object _:b18 ;
109 + sp:predicate ddr:elevKellyRef ;
110 + sp:subject _:b16
111 + ] [ sp:object _:b12 ;
112 + sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
113 + sp:subject _:b18
114 + ] [ sp:object _:b19 ;
115 + sp:predicate ddr:uomRef ;
116 + sp:subject _:b18
62 ] [ rdf:type sp:Bind ; 117 ] [ rdf:type sp:Bind ;
63 sp:expression 118 sp:expression
64 [ rdf:type ep-spin-lib:normalizeString ; 119 [ rdf:type ep-spin-lib:normalizeString ;
65 - sp:arg1 _:b3 120 + sp:arg1 _:b14
66 ] ; 121 ] ;
67 - sp:variable _:b8 122 + sp:variable _:b20
68 ] [ rdf:type sp:Bind ; 123 ] [ rdf:type sp:Bind ;
69 sp:expression 124 sp:expression
70 - [ rdf:type rhspin:companyById ; 125 + [ rdf:type ep-spin-lib:buildDailyDrillingActivityURI ;
71 - arg:id _:b8 126 + sp:arg1 _:b20 ;
127 + sp:arg2 _:b15
128 + ] ;
129 + sp:variable _:b17
130 + ] [ rdf:type sp:Bind ;
131 + sp:expression
132 + [ rdf:type ep-spin-lib:selectLengthScale ;
133 + sp:arg1 _:b19
72 ] ; 134 ] ;
73 - sp:variable _:b1 135 + sp:variable _:b13
74 ]) 136 ])
75 ] ; 137 ] ;
76 spin:rule 138 spin:rule
77 [ rdf:type sp:Construct ; 139 [ rdf:type sp:Construct ;
78 - rdfs:comment "STEP 164 Set preSPUD date"^^xsd:string ; 140 + rdfs:comment "STEP 160a Set rig for drilling activity - NPD Code supplied"^^xsd:string ;
79 - sp:templates ([ sp:object _:b9 ; 141 + sp:templates ([ sp:object _:b21 ;
80 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimPreSpud> ; 142 + sp:predicate ep-activity:onRig ;
81 - sp:subject _:b10 143 + sp:subject _:b22
144 + ] [ sp:object ep-facility:Rig ;
145 + sp:predicate rdf:type ;
146 + sp:subject _:b21
147 + ] [ sp:object _:b23 ;
148 + sp:predicate ep-core:temporalPartOf ;
149 + sp:subject _:b21
150 + ] [ sp:object ep-facility:Rig-WholeLife ;
151 + sp:predicate rdf:type ;
152 + sp:subject _:b23
153 + ] [ sp:object _:b24 ;
154 + sp:predicate ep-core:npdCode ;
155 + sp:subject _:b23
82 ]) ; 156 ]) ;
83 - sp:where ([ sp:object _:b11 ; 157 + sp:where ([ sp:object _:b25 ;
84 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWellbore> ; 158 + sp:predicate ddr:nameWellbore ;
85 sp:subject spin:_this 159 sp:subject spin:_this
86 - ] [ sp:object _:b12 ; 160 + ] [ sp:object _:b26 ;
87 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ; 161 + sp:predicate ddr:dTimStart ;
88 sp:subject spin:_this 162 sp:subject spin:_this
89 - ] [ sp:object _:b13 ; 163 + ] [ sp:object _:b27 ;
90 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#wellboreInfo> ; 164 + sp:predicate ddr:wellboreInfoRef ;
91 sp:subject spin:_this 165 sp:subject spin:_this
92 - ] [ sp:object _:b9 ; 166 + ] [ sp:object _:b28 ;
93 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimPreSpud> ; 167 + sp:predicate ddr:rigAliasRef ;
94 - sp:subject _:b13 168 + sp:subject _:b27
95 - ] [ sp:object _:b14 ; 169 + ] [ sp:object _:b24 ;
96 - sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWellBore> ; 170 + sp:predicate ddr:name ;
97 - sp:subject _:b15 171 + sp:subject _:b28
98 - ] [ sp:object _:b10 ; 172 + ] [ rdf:type sp:Union ;
99 - sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ; 173 + sp:elements (([ sp:object "NPD Code"^^ddr:NameStringDatatype ;
100 - sp:subject _:b14 174 + sp:predicate ddr:namingSystem ;
175 + sp:subject _:b28
176 + ]) ([ sp:object "NPD code"^^ddr:NameStringDatatype ;
177 + sp:predicate ddr:namingSystem ;
178 + sp:subject _:b28
179 + ]))
180 + ] [ rdf:type sp:Bind ;
181 + sp:expression
182 + [ rdf:type ep-spin-lib:normalizeString ;
183 + sp:arg1 _:b25
184 + ] ;
185 + sp:variable _:b29
101 ] [ rdf:type sp:Bind ; 186 ] [ rdf:type sp:Bind ;
102 sp:expression 187 sp:expression
103 [ rdf:type ep-spin-lib:normalizeString ; 188 [ rdf:type ep-spin-lib:normalizeString ;
104 - sp:arg1 _:b11 189 + sp:arg1 _:b24
105 ] ; 190 ] ;
106 - sp:variable _:b16 191 + sp:variable _:b30
107 ] [ rdf:type sp:Bind ; 192 ] [ rdf:type sp:Bind ;
108 sp:expression 193 sp:expression
109 [ rdf:type ep-spin-lib:buildDailyDrillingActivityURI ; 194 [ rdf:type ep-spin-lib:buildDailyDrillingActivityURI ;
110 - sp:arg1 _:b16 ; 195 + sp:arg1 _:b29 ;
111 - sp:arg2 _:b12 196 + sp:arg2 _:b26
112 ] ; 197 ] ;
113 - sp:variable _:b15 198 + sp:variable _:b22
199 + ] [ rdf:type sp:Bind ;
200 + sp:expression
201 + [ rdf:type ep-spin-lib:buildRigURI ;
202 + sp:arg1 _:b30
203 + ] ;
204 + sp:variable _:b23
114 ]) 205 ])
115 ] ; 206 ] ;
116 spin:rule 207 spin:rule
117 [ rdf:type sp:Construct ; 208 [ rdf:type sp:Construct ;
118 - rdfs:comment "STEP 161 Set name for Rig"^^xsd:string ; 209 + rdfs:comment "STEP 167 Set drill completion date"^^xsd:string ;
119 - sp:templates ([ sp:object _:b17 ; 210 + sp:templates ([ sp:object _:b31 ;
120 - sp:predicate <http://www.reportinghub.no/ep/schema/core#npdName> ; 211 + sp:predicate <http://www.reportinghub.no/ep/schema/well#wellBoreCompletedAt> ;
121 - sp:subject _:b18 212 + sp:subject _:b32
122 ]) ; 213 ]) ;
123 - sp:where ([ sp:object _:b19 ; 214 + sp:where ([ sp:object _:b33 ;
124 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWellbore> ; 215 + sp:predicate ddr:nameWellbore ;
125 sp:subject spin:_this 216 sp:subject spin:_this
126 - ] [ sp:object _:b20 ; 217 + ] [ sp:object _:b34 ;
127 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ; 218 + sp:predicate ddr:dTimStart ;
128 sp:subject spin:_this 219 sp:subject spin:_this
129 - ] [ sp:object _:b21 ; 220 + ] [ sp:object _:b35 ;
130 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#wellboreInfo> ; 221 + sp:predicate ddr:wellboreInfoRef ;
131 sp:subject spin:_this 222 sp:subject spin:_this
132 - ] [ sp:object _:b22 ; 223 + ] [ sp:object _:b31 ;
133 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#rigAlias> ; 224 + sp:predicate ddr:dateDrillComplete ;
134 - sp:subject _:b21 225 + sp:subject _:b35
135 - ] [ sp:object _:b17 ; 226 + ] [ sp:object _:b36 ;
136 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#name> ; 227 + sp:predicate ep-activity:onWellBore ;
137 - sp:subject _:b22 228 + sp:subject _:b37
138 - ] [ sp:object "NPD Name" ; 229 + ] [ sp:object _:b32 ;
139 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#namingSystem> ; 230 + sp:predicate ep-core:temporalPartOf ;
140 - sp:subject _:b22 231 + sp:subject _:b36
141 - ] [ sp:object _:b23 ; 232 + ] [ sp:object <http://www.reportinghub.no/ep/schema/well#WellBore-WholeLife> ;
142 - sp:predicate <http://www.reportinghub.no/ep/schema/activity#onRig> ; 233 + sp:predicate rdf:type ;
143 - sp:subject _:b24 234 + sp:subject _:b32
144 - ] [ sp:object _:b18 ;
145 - sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
146 - sp:subject _:b23
147 ] [ rdf:type sp:Bind ; 235 ] [ rdf:type sp:Bind ;
148 sp:expression 236 sp:expression
149 [ rdf:type ep-spin-lib:normalizeString ; 237 [ rdf:type ep-spin-lib:normalizeString ;
150 - sp:arg1 _:b19 238 + sp:arg1 _:b33
151 ] ; 239 ] ;
152 - sp:variable _:b25 240 + sp:variable _:b38
153 ] [ rdf:type sp:Bind ; 241 ] [ rdf:type sp:Bind ;
154 sp:expression 242 sp:expression
155 [ rdf:type ep-spin-lib:buildDailyDrillingActivityURI ; 243 [ rdf:type ep-spin-lib:buildDailyDrillingActivityURI ;
156 - sp:arg1 _:b25 ; 244 + sp:arg1 _:b38 ;
157 - sp:arg2 _:b20 245 + sp:arg2 _:b34
158 ] ; 246 ] ;
159 - sp:variable _:b24 247 + sp:variable _:b37
160 ]) 248 ])
161 ] ; 249 ] ;
162 spin:rule 250 spin:rule
163 [ rdf:type sp:Construct ; 251 [ rdf:type sp:Construct ;
164 - rdfs:comment "STEP 160 Set rig for drilling activity"^^xsd:string ; 252 + rdfs:comment "STEP 160b Set rig for drilling activity - NPD Code not supplied"^^xsd:string ;
165 - sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/facility#TemporalPartOfARig> ; 253 + sp:templates ([ sp:object _:b39 ;
254 + sp:predicate ep-activity:onRig ;
255 + sp:subject _:b40
256 + ] [ sp:object ep-facility:Rig ;
166 sp:predicate rdf:type ; 257 sp:predicate rdf:type ;
167 - sp:subject _:b26 258 + sp:subject _:b39
168 - ] [ sp:object _:b26 ; 259 + ] [ sp:object _:b41 ;
169 - sp:predicate <http://www.reportinghub.no/ep/schema/activity#onRig> ; 260 + sp:predicate ep-core:temporalPartOf ;
170 - sp:subject _:b27 261 + sp:subject _:b39
171 - ] [ sp:object <http://www.reportinghub.no/ep/schema/facility#Rig> ; 262 + ] [ sp:object ep-facility:Rig-WholeLife ;
172 sp:predicate rdf:type ; 263 sp:predicate rdf:type ;
173 - sp:subject _:b28 264 + sp:subject _:b41
174 - ] [ sp:object _:b29 ;
175 - sp:predicate <http://www.reportinghub.no/ep/schema/core#npdCode> ;
176 - sp:subject _:b28
177 - ] [ sp:object _:b28 ;
178 - sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
179 - sp:subject _:b26
180 ]) ; 265 ]) ;
181 - sp:where ([ sp:object _:b30 ; 266 + sp:where ([ sp:object _:b42 ;
182 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWellbore> ; 267 + sp:predicate ddr:nameWellbore ;
183 - sp:subject spin:_this
184 - ] [ sp:object _:b31 ;
185 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ;
186 sp:subject spin:_this 268 sp:subject spin:_this
187 - ] [ sp:object _:b32 ; 269 + ] [ sp:object _:b43 ;
188 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ; 270 + sp:predicate ddr:dTimStart ;
189 sp:subject spin:_this 271 sp:subject spin:_this
190 - ] [ sp:object _:b33 ; 272 + ] [ rdf:type sp:NotExists ;
191 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#wellboreInfo> ; 273 + sp:elements ([ sp:object _:b44 ;
274 + sp:predicate ddr:wellboreInfoRef ;
192 sp:subject spin:_this 275 sp:subject spin:_this
193 - ] [ sp:object _:b34 ; 276 + ] [ sp:object _:b45 ;
194 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#rigAlias> ; 277 + sp:predicate ddr:rigAliasRef ;
195 - sp:subject _:b33 278 + sp:subject _:b44
196 - ] [ sp:object "NPD Code" ; 279 + ] [ sp:object
197 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#namingSystem> ; 280 + [ sp:varName "code"^^xsd:string
198 - sp:subject _:b34
199 - ] [ sp:object _:b29 ;
200 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#name> ;
201 - sp:subject _:b34
202 - ] [ rdf:type sp:Bind ;
203 - sp:expression
204 - [ rdf:type ep-spin-lib:normalizeString ;
205 - sp:arg1 _:b30
206 ] ; 281 ] ;
207 - sp:variable _:b35 282 + sp:predicate ddr:name ;
283 + sp:subject _:b45
284 + ] [ rdf:type sp:Union ;
285 + sp:elements (([ sp:object "NPD Code"^^ddr:NameStringDatatype ;
286 + sp:predicate ddr:namingSystem ;
287 + sp:subject _:b45
288 + ]) ([ sp:object "NPD code"^^ddr:NameStringDatatype ;
289 + sp:predicate ddr:namingSystem ;
290 + sp:subject _:b45
291 + ]))
292 + ])
208 ] [ rdf:type sp:Bind ; 293 ] [ rdf:type sp:Bind ;
209 sp:expression 294 sp:expression
210 [ rdf:type ep-spin-lib:normalizeString ; 295 [ rdf:type ep-spin-lib:normalizeString ;
211 - sp:arg1 _:b29 296 + sp:arg1 _:b42
212 ] ; 297 ] ;
213 - sp:variable _:b36 298 + sp:variable _:b46
214 ] [ rdf:type sp:Bind ; 299 ] [ rdf:type sp:Bind ;
215 sp:expression 300 sp:expression
216 [ rdf:type ep-spin-lib:buildDailyDrillingActivityURI ; 301 [ rdf:type ep-spin-lib:buildDailyDrillingActivityURI ;
217 - sp:arg1 _:b35 ; 302 + sp:arg1 _:b46 ;
218 - sp:arg2 _:b31 303 + sp:arg2 _:b43
219 ] ; 304 ] ;
220 - sp:variable _:b27 305 + sp:variable _:b40
306 + ])
307 + ] ;
308 + spin:rule
309 + [ rdf:type sp:Construct ;
310 + rdfs:comment "STEP 161 Set NPD name for Rig"^^xsd:string ;
311 + sp:templates ([ sp:object _:b47 ;
312 + sp:predicate ep-core:npdName ;
313 + sp:subject _:b48
314 + ]) ;
315 + sp:where ([ sp:object _:b49 ;
316 + sp:predicate ddr:nameWellbore ;
317 + sp:subject spin:_this
318 + ] [ sp:object _:b50 ;
319 + sp:predicate ddr:dTimStart ;
320 + sp:subject spin:_this
321 + ] [ sp:object _:b51 ;
322 + sp:predicate ddr:wellboreInfoRef ;
323 + sp:subject spin:_this
324 + ] [ sp:object _:b52 ;
325 + sp:predicate ddr:rigAliasRef ;
326 + sp:subject _:b51
327 + ] [ sp:object _:b47 ;
328 + sp:predicate ddr:name ;
329 + sp:subject _:b52
330 + ] [ rdf:type sp:Union ;
331 + sp:elements (([ sp:object "NPD Name"^^ddr:NameStringDatatype ;
332 + sp:predicate ddr:namingSystem ;
333 + sp:subject _:b52
334 + ]) ([ sp:object "NPD name"^^ddr:NameStringDatatype ;
335 + sp:predicate ddr:namingSystem ;
336 + sp:subject _:b52
337 + ]))
338 + ] [ sp:object _:b53 ;
339 + sp:predicate ep-activity:onRig ;
340 + sp:subject _:b54
341 + ] [ sp:object _:b48 ;
342 + sp:predicate ep-core:temporalPartOf ;
343 + sp:subject _:b53
344 + ] [ sp:object ep-facility:Rig-WholeLife ;
345 + sp:predicate rdf:type ;
346 + sp:subject _:b48
221 ] [ rdf:type sp:Bind ; 347 ] [ rdf:type sp:Bind ;
222 sp:expression 348 sp:expression
223 - [ rdf:type ep-spin-lib:buildRigURI ; 349 + [ rdf:type ep-spin-lib:normalizeString ;
224 - sp:arg1 _:b36 350 + sp:arg1 _:b49
225 ] ; 351 ] ;
226 - sp:variable _:b28 352 + sp:variable _:b55
227 ] [ rdf:type sp:Bind ; 353 ] [ rdf:type sp:Bind ;
228 sp:expression 354 sp:expression
229 - [ rdf:type ep-spin-lib:buildTemporalPartOfARigURI ; 355 + [ rdf:type ep-spin-lib:buildDailyDrillingActivityURI ;
230 - sp:arg1 _:b36 ; 356 + sp:arg1 _:b55 ;
231 - sp:arg2 _:b31 ; 357 + sp:arg2 _:b50
232 - sp:arg3 _:b32
233 ] ; 358 ] ;
234 - sp:variable _:b26 359 + sp:variable _:b54
235 ]) 360 ])
236 ] ; 361 ] ;
237 spin:rule 362 spin:rule
238 [ rdf:type sp:Construct ; 363 [ rdf:type sp:Construct ;
239 - rdfs:comment "STEP 167 Set drill completion date"^^xsd:string ; 364 + rdfs:comment """STEP 168 Transfer fixedRig
240 - sp:templates ([ sp:object _:b37 ; 365 +This rule processes data from statusInfo, but is here because it must be executed after a rig has been defined."""^^xsd:string ;
241 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dateDrillComplete> ; 366 + sp:templates ([ sp:object _:b56 ;
242 - sp:subject _:b38 367 + sp:predicate rdf:type ;
368 + sp:subject _:b57
243 ]) ; 369 ]) ;
244 - sp:where ([ sp:object _:b39 ; 370 + sp:where ([ sp:object _:b58 ;
245 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWellbore> ; 371 + sp:predicate ddr:nameWellbore ;
246 sp:subject spin:_this 372 sp:subject spin:_this
247 - ] [ sp:object _:b40 ; 373 + ] [ sp:object _:b59 ;
248 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ; 374 + sp:predicate ddr:dTimStart ;
249 sp:subject spin:_this 375 sp:subject spin:_this
250 - ] [ sp:object _:b41 ; 376 + ] [ sp:object _:b60 ;
251 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#wellboreInfo> ; 377 + sp:predicate ep-activity:onRig ;
378 + sp:subject _:b61
379 + ] [ sp:object _:b57 ;
380 + sp:predicate ep-core:temporalPartOf ;
381 + sp:subject _:b60
382 + ] [ sp:object ep-facility:Rig-WholeLife ;
383 + sp:predicate rdf:type ;
384 + sp:subject _:b57
385 + ] [ sp:object _:b62 ;
386 + sp:predicate ddr:statusInfoRef ;
252 sp:subject spin:_this 387 sp:subject spin:_this
253 - ] [ sp:object _:b37 ; 388 + ] [ sp:object _:b63 ;
254 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dateDrillComplete> ; 389 + sp:predicate ddr:fixedRig ;
255 - sp:subject _:b41 390 + sp:subject _:b62
256 - ] [ sp:object _:b42 ;
257 - sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWellBore> ;
258 - sp:subject _:b43
259 - ] [ sp:object _:b38 ;
260 - sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
261 - sp:subject _:b42
262 ] [ rdf:type sp:Bind ; 391 ] [ rdf:type sp:Bind ;
263 sp:expression 392 sp:expression
264 [ rdf:type ep-spin-lib:normalizeString ; 393 [ rdf:type ep-spin-lib:normalizeString ;
265 - sp:arg1 _:b39 394 + sp:arg1 _:b58
266 ] ; 395 ] ;
267 - sp:variable _:b44 396 + sp:variable _:b64
268 ] [ rdf:type sp:Bind ; 397 ] [ rdf:type sp:Bind ;
269 sp:expression 398 sp:expression
270 [ rdf:type ep-spin-lib:buildDailyDrillingActivityURI ; 399 [ rdf:type ep-spin-lib:buildDailyDrillingActivityURI ;
271 - sp:arg1 _:b44 ; 400 + sp:arg1 _:b64 ;
272 - sp:arg2 _:b40 401 + sp:arg2 _:b59
402 + ] ;
403 + sp:variable _:b61
404 + ] [ rdf:type sp:Bind ;
405 + sp:expression
406 + [ rdf:type ep-spin-lib:selectFixedOrMoveableRigType ;
407 + sp:arg1 _:b63
273 ] ; 408 ] ;
274 - sp:variable _:b43 409 + sp:variable _:b56
275 ]) 410 ])
276 ] ; 411 ] ;
277 spin:rule 412 spin:rule
278 [ rdf:type sp:Construct ; 413 [ rdf:type sp:Construct ;
279 - rdfs:comment "STEP 162 Set drilling operator for drilling activity"^^xsd:string ; 414 + rdfs:comment "STEP 163 Set drilling contractor for drilling activity"^^xsd:string ;
280 - sp:templates ([ sp:object _:b45 ; 415 + sp:templates ([ sp:object _:b65 ;
281 - sp:predicate <http://www.reportinghub.no/ep/schema/activity#drillingOperator> ; 416 + sp:predicate ep-activity:drillingContractor ;
282 - sp:subject _:b46 417 + sp:subject _:b66
283 - ] [ sp:object _:b47 ; 418 + ] [ sp:object _:b67 ;
284 - sp:predicate <http://www.reportinghub.no/ep/schema/core#name> ; 419 + sp:predicate ep-core:temporalPartOf ;
285 - sp:subject _:b45 420 + sp:subject _:b65
286 - ] [ sp:object <http://www.reportinghub.no/np/schema/npd#OperatingCompany> ; 421 + ] [ sp:object ep-org:Organization ;
287 sp:predicate rdf:type ; 422 sp:predicate rdf:type ;
288 - sp:subject _:b45 423 + sp:subject _:b65
424 + ] [ sp:object _:b68 ;
425 + sp:predicate ep-core:name ;
426 + sp:subject _:b67
427 + ] [ sp:object ep-org:Company ;
428 + sp:predicate rdf:type ;
429 + sp:subject _:b67
289 ]) ; 430 ]) ;
290 - sp:where ([ sp:object _:b48 ; 431 + sp:where ([ sp:object _:b69 ;
291 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWellbore> ; 432 + sp:predicate ddr:nameWellbore ;
292 sp:subject spin:_this 433 sp:subject spin:_this
293 - ] [ sp:object _:b49 ; 434 + ] [ sp:object _:b70 ;
294 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ; 435 + sp:predicate ddr:dTimStart ;
295 sp:subject spin:_this 436 sp:subject spin:_this
296 - ] [ sp:object _:b50 ; 437 + ] [ sp:object _:b71 ;
297 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#wellboreInfo> ; 438 + sp:predicate ddr:wellboreInfoRef ;
298 sp:subject spin:_this 439 sp:subject spin:_this
299 - ] [ sp:object _:b47 ; 440 + ] [ sp:object _:b68 ;
300 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#operator> ; 441 + sp:predicate ddr:drillContractor ;
301 - sp:subject _:b50 442 + sp:subject _:b71
302 ] [ rdf:type sp:Bind ; 443 ] [ rdf:type sp:Bind ;
303 sp:expression 444 sp:expression
304 [ rdf:type ep-spin-lib:normalizeString ; 445 [ rdf:type ep-spin-lib:normalizeString ;
305 - sp:arg1 _:b48 446 + sp:arg1 _:b69
306 ] ; 447 ] ;
307 - sp:variable _:b51 448 + sp:variable _:b72
308 ] [ rdf:type sp:Bind ; 449 ] [ rdf:type sp:Bind ;
309 sp:expression 450 sp:expression
310 [ rdf:type ep-spin-lib:buildDailyDrillingActivityURI ; 451 [ rdf:type ep-spin-lib:buildDailyDrillingActivityURI ;
311 - sp:arg1 _:b51 ; 452 + sp:arg1 _:b72 ;
312 - sp:arg2 _:b49 453 + sp:arg2 _:b70
313 ] ; 454 ] ;
314 - sp:variable _:b46 455 + sp:variable _:b66
315 ] [ rdf:type sp:Bind ; 456 ] [ rdf:type sp:Bind ;
316 sp:expression 457 sp:expression
317 [ rdf:type ep-spin-lib:normalizeString ; 458 [ rdf:type ep-spin-lib:normalizeString ;
318 - sp:arg1 _:b47 459 + sp:arg1 _:b68
319 ] ; 460 ] ;
320 - sp:variable _:b52 461 + sp:variable _:b73
321 ] [ rdf:type sp:Bind ; 462 ] [ rdf:type sp:Bind ;
322 sp:expression 463 sp:expression
323 [ rdf:type rhspin:companyById ; 464 [ rdf:type rhspin:companyById ;
324 - arg:id _:b52 465 + arg:id _:b73
325 ] ; 466 ] ;
326 - sp:variable _:b45 467 + sp:variable _:b67
327 ]) 468 ])
328 ] ; 469 ] ;
329 spin:rule 470 spin:rule
330 [ rdf:type sp:Construct ; 471 [ rdf:type sp:Construct ;
331 - rdfs:comment "STEP 166 Set SPUD date"^^xsd:string ; 472 + rdfs:comment "STEP 162 Set drilling operator for drilling activity"^^xsd:string ;
332 - sp:templates ([ sp:object _:b53 ; 473 + sp:templates ([ sp:object _:b74 ;
333 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimSpud> ; 474 + sp:predicate ep-activity:drillingOperator ;
334 - sp:subject _:b54 475 + sp:subject _:b75
476 + ] [ sp:object _:b76 ;
477 + sp:predicate ep-core:temporalPartOf ;
478 + sp:subject _:b74
479 + ] [ sp:object ep-org:Organization ;
480 + sp:predicate rdf:type ;
481 + sp:subject _:b74
482 + ] [ sp:object _:b77 ;
483 + sp:predicate ep-core:name ;
484 + sp:subject _:b76
485 + ] [ sp:object <http://www.reportinghub.no/np/schema/npd#OperatingCompany> ;
486 + sp:predicate rdf:type ;
487 + sp:subject _:b76
335 ]) ; 488 ]) ;
336 - sp:where ([ sp:object _:b55 ; 489 + sp:where ([ sp:object _:b78 ;
337 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWellbore> ; 490 + sp:predicate ddr:nameWellbore ;
338 sp:subject spin:_this 491 sp:subject spin:_this
339 - ] [ sp:object _:b56 ; 492 + ] [ sp:object _:b79 ;
340 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ; 493 + sp:predicate ddr:dTimStart ;
341 sp:subject spin:_this 494 sp:subject spin:_this
342 - ] [ sp:object _:b57 ; 495 + ] [ sp:object _:b80 ;
343 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#wellboreInfo> ; 496 + sp:predicate ddr:wellboreInfoRef ;
344 sp:subject spin:_this 497 sp:subject spin:_this
345 - ] [ sp:object _:b53 ; 498 + ] [ sp:object _:b77 ;
346 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimSpud> ; 499 + sp:predicate ddr:operator ;
347 - sp:subject _:b57 500 + sp:subject _:b80
348 - ] [ sp:object _:b58 ;
349 - sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWellBore> ;
350 - sp:subject _:b59
351 - ] [ sp:object _:b54 ;
352 - sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
353 - sp:subject _:b58
354 ] [ rdf:type sp:Bind ; 501 ] [ rdf:type sp:Bind ;
355 sp:expression 502 sp:expression
356 [ rdf:type ep-spin-lib:normalizeString ; 503 [ rdf:type ep-spin-lib:normalizeString ;
357 - sp:arg1 _:b55 504 + sp:arg1 _:b78
358 ] ; 505 ] ;
359 - sp:variable _:b60 506 + sp:variable _:b81
360 ] [ rdf:type sp:Bind ; 507 ] [ rdf:type sp:Bind ;
361 sp:expression 508 sp:expression
362 [ rdf:type ep-spin-lib:buildDailyDrillingActivityURI ; 509 [ rdf:type ep-spin-lib:buildDailyDrillingActivityURI ;
363 - sp:arg1 _:b60 ; 510 + sp:arg1 _:b81 ;
364 - sp:arg2 _:b56 511 + sp:arg2 _:b79
512 + ] ;
513 + sp:variable _:b75
514 + ] [ rdf:type sp:Bind ;
515 + sp:expression
516 + [ rdf:type ep-spin-lib:normalizeString ;
517 + sp:arg1 _:b77
365 ] ; 518 ] ;
366 - sp:variable _:b59 519 + sp:variable _:b82
520 + ] [ rdf:type sp:Bind ;
521 + sp:expression
522 + [ rdf:type rhspin:companyById ;
523 + arg:id _:b82
524 + ] ;
525 + sp:variable _:b76
367 ]) 526 ])
368 ] ; 527 ] ;
369 spin:rule 528 spin:rule
370 [ rdf:type sp:Construct ; 529 [ rdf:type sp:Construct ;
371 - rdfs:comment """STEP 168 Transfer fixedRig 530 + rdfs:comment """STEP 169a Transfer waterDepth
372 This rule processes data from statusInfo, but is here because it must be executed after a rig has been defined."""^^xsd:string ; 531 This rule processes data from statusInfo, but is here because it must be executed after a rig has been defined."""^^xsd:string ;
373 - sp:templates ([ sp:object _:b61 ; 532 + sp:templates ([ sp:object _:b83 ;
533 + sp:predicate ep-core:hasPart ;
534 + sp:subject _:b84
535 + ] [ sp:object ep-facility:SurroundingWater ;
374 sp:predicate rdf:type ; 536 sp:predicate rdf:type ;
375 - sp:subject _:b62 537 + sp:subject _:b83
538 + ] [ sp:object _:b85 ;
539 + sp:predicate ep-facility:depthOfSurroundingWater ;
540 + sp:subject _:b83
541 + ] [ sp:object ep-core:Length ;
542 + sp:predicate rdf:type ;
543 + sp:subject _:b85
544 + ] [ sp:object _:b86 ;
545 + sp:predicate _:b87 ;
546 + sp:subject _:b85
376 ]) ; 547 ]) ;
377 - sp:where ([ sp:object _:b63 ; 548 + sp:where ([ sp:object _:b88 ;
378 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWellbore> ; 549 + sp:predicate ddr:nameWellbore ;
379 sp:subject spin:_this 550 sp:subject spin:_this
380 - ] [ sp:object _:b64 ; 551 + ] [ sp:object _:b89 ;
381 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ; 552 + sp:predicate ddr:dTimStart ;
382 sp:subject spin:_this 553 sp:subject spin:_this
383 - ] [ sp:object _:b65 ; 554 + ] [ sp:object _:b90 ;
384 - sp:predicate <http://www.reportinghub.no/ep/schema/activity#onRig> ; 555 + sp:predicate ddr:statusInfoRef ;
385 - sp:subject _:b66
386 - ] [ sp:object _:b62 ;
387 - sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
388 - sp:subject _:b65
389 - ] [ sp:object _:b67 ;
390 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#statusInfo> ;
391 sp:subject spin:_this 556 sp:subject spin:_this
392 - ] [ sp:object _:b68 ; 557 + ] [ sp:object _:b84 ;
393 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#fixedRig> ; 558 + sp:predicate ep-activity:onRig ;
394 - sp:subject _:b67 559 + sp:subject _:b91
560 + ] [ sp:object _:b92 ;
561 + sp:predicate ddr:waterDepthRef ;
562 + sp:subject _:b90
563 + ] [ sp:object _:b86 ;
564 + sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
565 + sp:subject _:b92
566 + ] [ sp:object _:b93 ;
567 + sp:predicate ddr:uomRef ;
568 + sp:subject _:b92
395 ] [ rdf:type sp:Bind ; 569 ] [ rdf:type sp:Bind ;
396 sp:expression 570 sp:expression
397 [ rdf:type ep-spin-lib:normalizeString ; 571 [ rdf:type ep-spin-lib:normalizeString ;
398 - sp:arg1 _:b63 572 + sp:arg1 _:b88
399 ] ; 573 ] ;
400 - sp:variable _:b69 574 + sp:variable _:b94
401 ] [ rdf:type sp:Bind ; 575 ] [ rdf:type sp:Bind ;
402 sp:expression 576 sp:expression
403 [ rdf:type ep-spin-lib:buildDailyDrillingActivityURI ; 577 [ rdf:type ep-spin-lib:buildDailyDrillingActivityURI ;
404 - sp:arg1 _:b69 ; 578 + sp:arg1 _:b94 ;
405 - sp:arg2 _:b64 579 + sp:arg2 _:b89
406 ] ; 580 ] ;
407 - sp:variable _:b66 581 + sp:variable _:b91
408 ] [ rdf:type sp:Bind ; 582 ] [ rdf:type sp:Bind ;
409 sp:expression 583 sp:expression
410 - [ rdf:type ep-spin-lib:selectFixedOrMoveableRigType ; 584 + [ rdf:type ep-spin-lib:selectLengthScale ;
411 - sp:arg1 _:b68 585 + sp:arg1 _:b93
412 ] ; 586 ] ;
413 - sp:variable _:b61 587 + sp:variable _:b87
588 + ])
589 + ] ;
590 + spin:rule
591 + [ rdf:type sp:Construct ;
592 + rdfs:comment "STEP 164 Set preSPUD date"^^xsd:string ;
593 + sp:templates ([ sp:object _:b95 ;
594 + sp:predicate <http://www.reportinghub.no/ep/schema/well#wellBorePreSpudAt> ;
595 + sp:subject _:b96
596 + ]) ;
597 + sp:where ([ sp:object _:b97 ;
598 + sp:predicate ddr:nameWellbore ;
599 + sp:subject spin:_this
600 + ] [ sp:object _:b98 ;
601 + sp:predicate ddr:dTimStart ;
602 + sp:subject spin:_this
603 + ] [ sp:object _:b99 ;
604 + sp:predicate ddr:wellboreInfoRef ;
605 + sp:subject spin:_this
606 + ] [ sp:object _:b95 ;
607 + sp:predicate ddr:dTimPreSpud ;
608 + sp:subject _:b99
609 + ] [ sp:object _:b100 ;
610 + sp:predicate ep-activity:onWellBore ;
611 + sp:subject _:b101
612 + ] [ sp:object _:b96 ;
613 + sp:predicate ep-core:temporalPartOf ;
614 + sp:subject _:b100
615 + ] [ sp:object <http://www.reportinghub.no/ep/schema/well#WellBore-WholeLife> ;
616 + sp:predicate rdf:type ;
617 + sp:subject _:b96
618 + ] [ rdf:type sp:Bind ;
619 + sp:expression
620 + [ rdf:type ep-spin-lib:normalizeString ;
621 + sp:arg1 _:b97
622 + ] ;
623 + sp:variable _:b102
624 + ] [ rdf:type sp:Bind ;
625 + sp:expression
626 + [ rdf:type ep-spin-lib:buildDailyDrillingActivityURI ;
627 + sp:arg1 _:b102 ;
628 + sp:arg2 _:b98
629 + ] ;
630 + sp:variable _:b101
414 ]) 631 ])
415 ] . 632 ] .
416 633
417 -<http://www.reportinghub.no/ep/transform/1.1/wellboreInfo> 634 +_:b23
418 - rdf:type owl:Ontology ; 635 + sp:varName "rig"^^xsd:string .
419 - owl:imports <http://www.reportinghub.no/ep/schema/1.0/organization> , <http://www.reportinghub.no/ep/schema/1.0/ddr> , <http://spinrdf.org/spin> , <http://www.reportinghub.no/ep/spin/1.1/lib> ;
420 - owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
421 636
422 -[] rdf:type sp:Modify . 637 +_:b22
638 + sp:varName "dailyDrillingActivity"^^xsd:string .
423 639
424 -[] rdf:type fn:starts-with . 640 +_:b30
641 + sp:varName "normalizedCode"^^xsd:string .
425 642
426 -[] rdf:type smf:trim . 643 +_:b29
644 + sp:varName "normalizedWellBoreName"^^xsd:string .
427 645
428 -[] rdf:type smf:regex . 646 +_:b24
647 + sp:varName "code"^^xsd:string .
429 648
430 -_:b44 649 +_:b28
650 + sp:varName "rigAlias"^^xsd:string .
651 +
652 +_:b27
653 + sp:varName "wellboreInfo"^^xsd:string .
654 +
655 +_:b26
656 + sp:varName "dTimStart"^^xsd:string .
657 +
658 +_:b25
659 + sp:varName "nameWellBore"^^xsd:string .
660 +
661 +_:b55
431 sp:varName "normalizedWellBoreName"^^xsd:string . 662 sp:varName "normalizedWellBoreName"^^xsd:string .
432 663
433 -_:b43 664 +_:b48
665 + sp:varName "rig"^^xsd:string .
666 +
667 +_:b53
668 + sp:varName "temporalPartOfARig"^^xsd:string .
669 +
670 +_:b54
434 sp:varName "dailyDrillingActivity"^^xsd:string . 671 sp:varName "dailyDrillingActivity"^^xsd:string .
435 672
436 -_:b42 673 +_:b47
437 - sp:varName "temporalPartOfAWellBore"^^xsd:string . 674 + sp:varName "name"^^xsd:string .
675 +
676 +_:b52
677 + sp:varName "rigAlias"^^xsd:string .
438 678
439 -_:b41 679 +_:b51
440 sp:varName "wellboreInfo"^^xsd:string . 680 sp:varName "wellboreInfo"^^xsd:string .
441 681
442 -_:b40 682 +_:b50
443 sp:varName "dTimStart"^^xsd:string . 683 sp:varName "dTimStart"^^xsd:string .
444 684
445 -_:b39 685 +_:b49
446 sp:varName "nameWellBore"^^xsd:string . 686 sp:varName "nameWellBore"^^xsd:string .
447 687
448 -_:b38 688 +[] rdf:type sp:Modify .
449 - sp:varName "wellBore"^^xsd:string .
450 689
451 -_:b37 690 +[] rdf:type fn:starts-with .
452 - sp:varName "dateDrillComplete"^^xsd:string .
453 691
454 -_:b16 692 +[] rdf:type smf:trim .
455 - sp:varName "normalizedWellBoreName"^^xsd:string .
456 693
457 -_:b15 694 +[] rdf:type smf:regex .
458 - sp:varName "dailyDrillingActivity"^^xsd:string .
459 695
460 -_:b14 696 +_:b82
461 - sp:varName "temporalPartOfAWellBore"^^xsd:string . 697 + sp:varName "normalizedOperatorName"^^xsd:string .
462 698
463 -_:b13 699 +_:b81
700 + sp:varName "normalizedWellBoreName"^^xsd:string .
701 +
702 +_:b80
464 sp:varName "wellboreInfo"^^xsd:string . 703 sp:varName "wellboreInfo"^^xsd:string .
465 704
466 -_:b12 705 +_:b79
467 sp:varName "dTimStart"^^xsd:string . 706 sp:varName "dTimStart"^^xsd:string .
468 707
469 -_:b11 708 +_:b78
470 sp:varName "nameWellBore"^^xsd:string . 709 sp:varName "nameWellBore"^^xsd:string .
471 710
472 -_:b10 711 +_:b77
473 - sp:varName "wellBore"^^xsd:string . 712 + sp:varName "nameOperator"^^xsd:string .
474 713
475 -_:b9 sp:varName "preSpudDate"^^xsd:string . 714 +_:b76
715 + sp:varName "operator"^^xsd:string .
476 716
477 -_:b25 717 +_:b75
718 + sp:varName "dailyDrillingActivity"^^xsd:string .
719 +
720 +_:b64
478 sp:varName "normalizedWellBoreName"^^xsd:string . 721 sp:varName "normalizedWellBoreName"^^xsd:string .
479 722
480 -_:b24 723 +_:b63
481 - sp:varName "dailyDrillingActivity"^^xsd:string . 724 + sp:varName "fixedRig"^^xsd:string .
482 725
483 -_:b23 726 +_:b62
484 - sp:varName "temporalPartOfARig"^^xsd:string . 727 + sp:varName "statusInfo"^^xsd:string .
485 728
486 -_:b22 729 +_:b61
487 - sp:varName "rigAlias"^^xsd:string . 730 + sp:varName "dailyDrillingActivity"^^xsd:string .
488 731
489 -_:b21 732 +_:b60
490 - sp:varName "wellboreInfo"^^xsd:string . 733 + sp:varName "temporalPartOfARig"^^xsd:string .
491 734
492 -_:b20 735 +_:b59
493 sp:varName "dTimStart"^^xsd:string . 736 sp:varName "dTimStart"^^xsd:string .
494 737
495 -_:b19 738 +_:b58
496 sp:varName "nameWellBore"^^xsd:string . 739 sp:varName "nameWellBore"^^xsd:string .
497 740
498 -_:b18 741 +_:b57
499 sp:varName "rig"^^xsd:string . 742 sp:varName "rig"^^xsd:string .
500 743
501 -_:b17 744 +_:b56
502 - sp:varName "name"^^xsd:string . 745 + sp:varName "fixedOrMoveableRigType"^^xsd:string .
503 746
504 -_:b36 747 +_:b8 sp:varName "normalizedWellBoreName"^^xsd:string .
505 - sp:varName "normalizedRigName"^^xsd:string .
506 748
507 -_:b35 749 +_:b7 sp:varName "dailyDrillingActivity"^^xsd:string .
508 - sp:varName "normalizedWellBoreName"^^xsd:string .
509 750
510 -_:b34 751 +_:b6 sp:varName "temporalPartOfAWellBore"^^xsd:string .
511 - sp:varName "rigAlias"^^xsd:string .
512 752
513 -_:b33 753 +_:b5 sp:varName "wellboreInfo"^^xsd:string .
514 - sp:varName "wellboreInfo"^^xsd:string .
515 754
516 -_:b32 755 +_:b4 sp:varName "dTimStart"^^xsd:string .
517 - sp:varName "dTimEnd"^^xsd:string .
518 756
519 -_:b31 757 +_:b3 sp:varName "nameWellBore"^^xsd:string .
758 +
759 +_:b2 sp:varName "wellBore"^^xsd:string .
760 +
761 +_:b1 sp:varName "spudDate"^^xsd:string .
762 +
763 +_:b73
764 + sp:varName "normalizedContractorName"^^xsd:string .
765 +
766 +_:b72
767 + sp:varName "normalizedWellBoreName"^^xsd:string .
768 +
769 +_:b71
770 + sp:varName "wellboreInfo"^^xsd:string .
771 +
772 +_:b70
520 sp:varName "dTimStart"^^xsd:string . 773 sp:varName "dTimStart"^^xsd:string .
521 774
522 -_:b30 775 +_:b69
523 sp:varName "nameWellBore"^^xsd:string . 776 sp:varName "nameWellBore"^^xsd:string .
524 777
525 -_:b29 778 +_:b68
526 - sp:varName "nameRig"^^xsd:string . 779 + sp:varName "nameContractor"^^xsd:string .
527 780
528 -_:b28 781 +_:b67
529 - sp:varName "rig"^^xsd:string . 782 + sp:varName "contractor"^^xsd:string .
530 783
531 -_:b27 784 +_:b66
532 sp:varName "dailyDrillingActivity"^^xsd:string . 785 sp:varName "dailyDrillingActivity"^^xsd:string .
533 786
534 -_:b26 787 +_:b38
535 - sp:varName "temporalPartOfARig"^^xsd:string .
536 -
537 -_:b60
538 sp:varName "normalizedWellBoreName"^^xsd:string . 788 sp:varName "normalizedWellBoreName"^^xsd:string .
539 789
540 -_:b59 790 +_:b37
541 sp:varName "dailyDrillingActivity"^^xsd:string . 791 sp:varName "dailyDrillingActivity"^^xsd:string .
542 792
543 -_:b58 793 +_:b36
544 sp:varName "temporalPartOfAWellBore"^^xsd:string . 794 sp:varName "temporalPartOfAWellBore"^^xsd:string .
545 795
546 -_:b57 796 +_:b35
547 sp:varName "wellboreInfo"^^xsd:string . 797 sp:varName "wellboreInfo"^^xsd:string .
548 798
549 -_:b56 799 +_:b34
550 sp:varName "dTimStart"^^xsd:string . 800 sp:varName "dTimStart"^^xsd:string .
551 801
552 -_:b55 802 +_:b33
553 sp:varName "nameWellBore"^^xsd:string . 803 sp:varName "nameWellBore"^^xsd:string .
554 804
555 -_:b54 805 +_:b32
556 sp:varName "wellBore"^^xsd:string . 806 sp:varName "wellBore"^^xsd:string .
557 807
558 -_:b53 808 +_:b31
559 - sp:varName "spudDate"^^xsd:string . 809 + sp:varName "dateDrillComplete"^^xsd:string .
560 810
561 -_:b69 811 +_:b20
562 sp:varName "normalizedWellBoreName"^^xsd:string . 812 sp:varName "normalizedWellBoreName"^^xsd:string .
563 813
564 -_:b68 814 +_:b19
565 - sp:varName "fixedRigFlag"^^xsd:string . 815 + sp:varName "uom"^^xsd:string .
566 816
567 -_:b67 817 +_:b18
568 - sp:varName "statusInfo"^^xsd:string . 818 + sp:varName "elevKelly"^^xsd:string .
569 819
570 -_:b66 820 +_:b17
571 sp:varName "dailyDrillingActivity"^^xsd:string . 821 sp:varName "dailyDrillingActivity"^^xsd:string .
572 822
573 -_:b65 823 +_:b16
574 - sp:varName "temporalPartOfARig"^^xsd:string . 824 + sp:varName "statusInfo"^^xsd:string .
575 825
576 -_:b64 826 +_:b15
577 sp:varName "dTimStart"^^xsd:string . 827 sp:varName "dTimStart"^^xsd:string .
578 828
579 -_:b63 829 +_:b14
580 sp:varName "nameWellBore"^^xsd:string . 830 sp:varName "nameWellBore"^^xsd:string .
581 831
582 -_:b62 832 +_:b13
583 - sp:varName "rig"^^xsd:string . 833 + sp:varName "lengthScale"^^xsd:string .
584 834
585 -_:b61 835 +_:b12
586 - sp:varName "fixedOrMoveableRigType"^^xsd:string . 836 + sp:varName "real"^^xsd:string .
837 +
838 +_:b10
839 + sp:varName "temporalPartOfARig"^^xsd:string .
587 840
588 -_:b1 sp:varName "contractor"^^xsd:string . 841 +_:b94
842 + sp:varName "normalizedWellBoreName"^^xsd:string .
589 843
590 -_:b8 sp:varName "normalizedContractorName"^^xsd:string . 844 +_:b93
845 + sp:varName "uom"^^xsd:string .
591 846
592 -_:b2 sp:varName "dailyDrillingActivity"^^xsd:string . 847 +_:b92
848 + sp:varName "waterDepth"^^xsd:string .
593 849
594 -_:b7 sp:varName "normalizedWellBoreName"^^xsd:string . 850 +_:b91
851 + sp:varName "dailyDrillingActivity"^^xsd:string .
595 852
596 -_:b3 sp:varName "nameContractor"^^xsd:string . 853 +_:b90
854 + sp:varName "statusInfo"^^xsd:string .
597 855
598 -_:b6 sp:varName "wellboreInfo"^^xsd:string . 856 +_:b89
857 + sp:varName "dTimStart"^^xsd:string .
599 858
600 -_:b5 sp:varName "dTimStart"^^xsd:string . 859 +_:b88
860 + sp:varName "nameWellBore"^^xsd:string .
601 861
602 -_:b4 sp:varName "nameWellBore"^^xsd:string . 862 +_:b87
863 + sp:varName "lengthScale"^^xsd:string .
603 864
604 -_:b45 865 +_:b86
605 - sp:varName "operator"^^xsd:string . 866 + sp:varName "real"^^xsd:string .
606 867
607 -_:b52 868 +_:b84
608 - sp:varName "normalizedOperatorName"^^xsd:string . 869 + sp:varName "temporalPartOfARig"^^xsd:string .
609 870
610 -_:b46 871 +_:b102
872 + sp:varName "normalizedWellBoreName"^^xsd:string .
873 +
874 +_:b101
611 sp:varName "dailyDrillingActivity"^^xsd:string . 875 sp:varName "dailyDrillingActivity"^^xsd:string .
612 876
613 -_:b51 877 +_:b100
878 + sp:varName "temporalPartOfAWellBore"^^xsd:string .
879 +
880 +_:b99
881 + sp:varName "wellboreInfo"^^xsd:string .
882 +
883 +_:b98
884 + sp:varName "dTimStart"^^xsd:string .
885 +
886 +_:b97
887 + sp:varName "nameWellBore"^^xsd:string .
888 +
889 +_:b96
890 + sp:varName "wellBore"^^xsd:string .
891 +
892 +_:b95
893 + sp:varName "preSpudDate"^^xsd:string .
894 +
895 +_:b40
896 + sp:varName "dailyDrillingActivity"^^xsd:string .
897 +
898 +_:b46
614 sp:varName "normalizedWellBoreName"^^xsd:string . 899 sp:varName "normalizedWellBoreName"^^xsd:string .
615 900
616 -_:b47 901 +_:b45
617 - sp:varName "nameOperator"^^xsd:string . 902 + sp:varName "rigAlias"^^xsd:string .
618 903
619 -_:b50 904 +_:b44
620 sp:varName "wellboreInfo"^^xsd:string . 905 sp:varName "wellboreInfo"^^xsd:string .
621 906
622 -_:b49 907 +_:b43
623 sp:varName "dTimStart"^^xsd:string . 908 sp:varName "dTimStart"^^xsd:string .
624 909
625 -_:b48 910 +_:b42
626 sp:varName "nameWellBore"^^xsd:string . 911 sp:varName "nameWellBore"^^xsd:string .
627 912
628 ([]) . 913 ([]) .
......