David Price

Removed Contruct or Well and Wellbore

1 +# Saved by TopBraid on Fri Oct 21 16:32:54 BST 2011
1 # baseURI: http://www.reportinghub.no/ep/transform/1.1/ddr/drillReport 2 # baseURI: http://www.reportinghub.no/ep/transform/1.1/ddr/drillReport
2 -# imports: http://spinrdf.org/spin
3 -# imports: http://www.energistics.org/schemas/abstract
4 -# imports: http://www.reportinghub.no/ep/schema/1.0/activity
5 -# imports: http://www.reportinghub.no/ep/schema/1.0/activity-purpose
6 -# imports: http://www.reportinghub.no/ep/schema/1.0/core
7 -# imports: http://www.reportinghub.no/ep/schema/1.0/equipment
8 # imports: http://www.reportinghub.no/ep/schema/1.0/report 3 # imports: http://www.reportinghub.no/ep/schema/1.0/report
9 -# imports: http://www.reportinghub.no/ep/schema/1.0/well
10 # 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
11 # imports: http://www.witsml.org/schemas/1series 6 # imports: http://www.witsml.org/schemas/1series
7 +# imports: http://www.reportinghub.no/ep/schema/1.0/well
8 +# imports: http://www.reportinghub.no/ep/schema/1.0/core
9 +# imports: http://www.reportinghub.no/ep/schema/1.0/equipment
10 +# imports: http://www.reportinghub.no/ep/schema/1.0/activity-purpose
11 +# imports: http://www.reportinghub.no/ep/schema/1.0/activity
12 +# imports: http://spinrdf.org/spin
12 13
13 @prefix NPD_110721144611-valid: <file:///Sandbox/NPD_110721144611-valid.xml#> . 14 @prefix NPD_110721144611-valid: <file:///Sandbox/NPD_110721144611-valid.xml#> .
14 @prefix arg: <http://spinrdf.org/arg#> . 15 @prefix arg: <http://spinrdf.org/arg#> .
...@@ -25,206 +26,128 @@ ...@@ -25,206 +26,128 @@
25 26
26 <http://www.reportinghub.no/ep/transform/1.1/ddr/drillReport> 27 <http://www.reportinghub.no/ep/transform/1.1/ddr/drillReport>
27 rdf:type owl:Ontology ; 28 rdf:type owl:Ontology ;
28 - owl:imports <http://spinrdf.org/spin> , <http://www.energistics.org/schemas/abstract> , <http://www.reportinghub.no/ep/schema/1.0/activity> , <http://www.reportinghub.no/ep/schema/1.0/activity-purpose> , <http://www.reportinghub.no/ep/schema/1.0/core> , <http://www.reportinghub.no/ep/schema/1.0/equipment> , <http://www.reportinghub.no/ep/schema/1.0/report> , <http://www.reportinghub.no/ep/schema/1.0/well> , <http://www.reportinghub.no/ep/spin/1.1/lib> , <http://www.witsml.org/schemas/1series> ; 29 + 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 owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
30 31
31 ddr:Obj_drillReport 32 ddr:Obj_drillReport
32 spin:rule 33 spin:rule
33 [ rdf:type sp:Construct ; 34 [ rdf:type sp:Construct ;
34 - rdfs:comment """STEP 103 Create DailyDrillingReport, DailyDrillingActivity, TemporalPartOfAWellBore and WellBore 35 + rdfs:comment """STEP 103 Create DailyDrillingReport, DailyDrillingActivity, and TemporalPartOfAWellBore
35 Minimum data - createDate, dTimStart, dTimEnd, nameWellBore 36 Minimum data - createDate, dTimStart, dTimEnd, nameWellBore
36 Optional data - extendedReport 37 Optional data - extendedReport
37 replaced for testing - BIND (rhspin:wellBoreByName(?nameWellBore) AS ?wellBore) ."""^^xsd:string ; 38 replaced for testing - BIND (rhspin:wellBoreByName(?nameWellBore) AS ?wellBore) ."""^^xsd:string ;
38 sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/report#DailyDrillingReport> ; 39 sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/report#DailyDrillingReport> ;
39 sp:predicate rdf:type ; 40 sp:predicate rdf:type ;
40 - sp:subject 41 + sp:subject _:b1
41 - [ sp:varName "dailyDrillingReport"^^xsd:string
42 - ]
43 ] [ sp:object <http://www.reportinghub.no/ep/schema/activity#DailyDrillingActivity> ; 42 ] [ sp:object <http://www.reportinghub.no/ep/schema/activity#DailyDrillingActivity> ;
44 sp:predicate rdf:type ; 43 sp:predicate rdf:type ;
45 - sp:subject 44 + sp:subject _:b2
46 - [ sp:varName "dailyDrillingActivity"^^xsd:string 45 + ] [ sp:object _:b2 ;
47 - ]
48 - ] [ sp:object
49 - [ sp:varName "dailyDrillingActivity"^^xsd:string
50 - ] ;
51 sp:predicate <http://www.reportinghub.no/ep/schema/report#reportOn> ; 46 sp:predicate <http://www.reportinghub.no/ep/schema/report#reportOn> ;
52 - sp:subject 47 + sp:subject _:b1
53 - [ sp:varName "dailyDrillingReport"^^xsd:string 48 + ] [ sp:object _:b3 ;
54 - ]
55 - ] [ sp:object
56 - [ sp:varName "createDate"^^xsd:string
57 - ] ;
58 sp:predicate <http://www.reportinghub.no/ep/schema/report#createdAt> ; 49 sp:predicate <http://www.reportinghub.no/ep/schema/report#createdAt> ;
59 - sp:subject 50 + sp:subject _:b1
60 - [ sp:varName "dailyDrillingReport"^^xsd:string 51 + ] [ sp:object _:b4 ;
61 - ]
62 - ] [ sp:object
63 - [ sp:varName "dTimStart"^^xsd:string
64 - ] ;
65 sp:predicate <http://www.reportinghub.no/ep/schema/activity#startedAt> ; 52 sp:predicate <http://www.reportinghub.no/ep/schema/activity#startedAt> ;
66 - sp:subject 53 + sp:subject _:b2
67 - [ sp:varName "dailyDrillingActivity"^^xsd:string
68 - ]
69 ] [ sp:object <http://www.reportinghub.no/ep/schema/well#TemporalPartOfAWellBore> ; 54 ] [ sp:object <http://www.reportinghub.no/ep/schema/well#TemporalPartOfAWellBore> ;
70 sp:predicate rdf:type ; 55 sp:predicate rdf:type ;
71 - sp:subject 56 + sp:subject _:b5
72 - [ sp:varName "temporalPartOfAWellBore"^^xsd:string 57 + ] [ sp:object _:b6 ;
73 - ]
74 - ] [ sp:object <http://www.reportinghub.no/ep/schema/well#WellBore> ;
75 - sp:predicate rdf:type ;
76 - sp:subject
77 - [ sp:varName "wellBore"^^xsd:string
78 - ]
79 - ] [ sp:object
80 - [ sp:varName "wellBore"^^xsd:string
81 - ] ;
82 sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ; 58 sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
83 - sp:subject 59 + sp:subject _:b5
84 - [ sp:varName "temporalPartOfAWellBore"^^xsd:string 60 + ] [ sp:object _:b7 ;
85 - ]
86 - ] [ sp:object
87 - [ sp:varName "nameWellBore"^^xsd:string
88 - ] ;
89 sp:predicate <http://www.reportinghub.no/ep/schema/core#humanRecognizableName> ; 61 sp:predicate <http://www.reportinghub.no/ep/schema/core#humanRecognizableName> ;
90 - sp:subject 62 + sp:subject _:b6
91 - [ sp:varName "wellBore"^^xsd:string 63 + ] [ sp:object _:b5 ;
92 - ]
93 - ] [ sp:object
94 - [ sp:varName "temporalPartOfAWellBore"^^xsd:string
95 - ] ;
96 sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWellBore> ; 64 sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWellBore> ;
97 - sp:subject 65 + sp:subject _:b2
98 - [ sp:varName "dailyDrillingActivity"^^xsd:string 66 + ] [ sp:object _:b8 ;
99 - ]
100 - ] [ sp:object _:b1 ;
101 sp:predicate <http://www.reportinghub.no/ep/schema/activity#descriptionOfActivitiesFollowingTheDailyReportingPeriod> ; 67 sp:predicate <http://www.reportinghub.no/ep/schema/activity#descriptionOfActivitiesFollowingTheDailyReportingPeriod> ;
102 - sp:subject 68 + sp:subject _:b2
103 - [ sp:varName "dailyDrillingActivity"^^xsd:string
104 - ]
105 ] [ sp:object <http://www.reportinghub.no/ep/schema/report#Report> ; 69 ] [ sp:object <http://www.reportinghub.no/ep/schema/report#Report> ;
106 sp:predicate rdf:type ; 70 sp:predicate rdf:type ;
107 - sp:subject _:b1 71 + sp:subject _:b8
108 - ] [ sp:object 72 + ] [ sp:object _:b9 ;
109 - [ sp:varName "extendedReportContent"^^xsd:string
110 - ] ;
111 sp:predicate <http://www.reportinghub.no/ep/schema/report#hasContent> ; 73 sp:predicate <http://www.reportinghub.no/ep/schema/report#hasContent> ;
112 - sp:subject _:b1 74 + sp:subject _:b8
113 - ] [ sp:object 75 + ] [ sp:object _:b10 ;
114 - [ sp:varName "dTimExtendedReport"^^xsd:string
115 - ] ;
116 sp:predicate <http://www.reportinghub.no/ep/schema/report#createdAt> ; 76 sp:predicate <http://www.reportinghub.no/ep/schema/report#createdAt> ;
117 - sp:subject _:b1 77 + sp:subject _:b8
118 ]) ; 78 ]) ;
119 - sp:where ([ sp:object 79 + sp:where ([ sp:object _:b7 ;
120 - [ sp:varName "nameWellBore"^^xsd:string
121 - ] ;
122 sp:predicate ep-spin-lib:nameWellbore ; 80 sp:predicate ep-spin-lib:nameWellbore ;
123 sp:subject spin:_this 81 sp:subject spin:_this
124 - ] [ sp:object 82 + ] [ sp:object _:b4 ;
125 - [ sp:varName "dTimStart"^^xsd:string
126 - ] ;
127 sp:predicate ddr:dTimStart ; 83 sp:predicate ddr:dTimStart ;
128 sp:subject spin:_this 84 sp:subject spin:_this
129 - ] [ sp:object 85 + ] [ sp:object _:b11 ;
130 - [ sp:varName "dTimEnd"^^xsd:string
131 - ] ;
132 sp:predicate ddr:dTimEnd ; 86 sp:predicate ddr:dTimEnd ;
133 sp:subject spin:_this 87 sp:subject spin:_this
134 - ] [ sp:object 88 + ] [ sp:object _:b3 ;
135 - [ sp:varName "createDate"^^xsd:string
136 - ] ;
137 sp:predicate ddr:createDate ; 89 sp:predicate ddr:createDate ;
138 sp:subject spin:_this 90 sp:subject spin:_this
139 ] [ rdf:type sp:Optional ; 91 ] [ rdf:type sp:Optional ;
140 - sp:elements ([ sp:object 92 + sp:elements ([ sp:object _:b12 ;
141 - [ sp:varName "extendedReport"^^xsd:string
142 - ] ;
143 sp:predicate ddr:extendedReportRef ; 93 sp:predicate ddr:extendedReportRef ;
144 sp:subject spin:_this 94 sp:subject spin:_this
145 - ] [ sp:object 95 + ] [ sp:object _:b9 ;
146 - [ sp:varName "extendedReportContent"^^xsd:string
147 - ] ;
148 sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ; 96 sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
149 - sp:subject 97 + sp:subject _:b12
150 - [ sp:varName "extendedReport"^^xsd:string
151 - ]
152 ] [ rdf:type sp:Optional ; 98 ] [ rdf:type sp:Optional ;
153 - sp:elements ([ sp:object 99 + sp:elements ([ sp:object _:b10 ;
154 - [ sp:varName "dTimExtendedReport"^^xsd:string
155 - ] ;
156 sp:predicate ddr:dTim ; 100 sp:predicate ddr:dTim ;
157 - sp:subject 101 + sp:subject _:b12
158 - [ sp:varName "extendedReport"^^xsd:string
159 - ]
160 ]) 102 ])
161 ]) 103 ])
162 ] [ rdf:type sp:Bind ; 104 ] [ rdf:type sp:Bind ;
163 sp:expression 105 sp:expression
164 [ rdf:type ep-spin-lib:normalizeString ; 106 [ rdf:type ep-spin-lib:normalizeString ;
165 - sp:arg1 [ sp:varName "nameWellBore"^^xsd:string 107 + sp:arg1 _:b7
166 - ]
167 ] ; 108 ] ;
168 - sp:variable 109 + sp:variable _:b13
169 - [ sp:varName "normalizedWellBoreName"^^xsd:string
170 - ]
171 ] [ rdf:type sp:Bind ; 110 ] [ rdf:type sp:Bind ;
172 sp:expression 111 sp:expression
173 [ rdf:type ep-spin-lib:buildDailyDrillingReportURI ; 112 [ rdf:type ep-spin-lib:buildDailyDrillingReportURI ;
174 - sp:arg1 [ sp:varName "normalizedWellBoreName"^^xsd:string 113 + sp:arg1 _:b13 ;
175 - ] ; 114 + sp:arg2 _:b3
176 - sp:arg2 [ sp:varName "createDate"^^xsd:string
177 - ]
178 ] ; 115 ] ;
179 - sp:variable 116 + sp:variable _:b1
180 - [ sp:varName "dailyDrillingReport"^^xsd:string
181 - ]
182 ] [ rdf:type sp:Bind ; 117 ] [ rdf:type sp:Bind ;
183 sp:expression 118 sp:expression
184 [ rdf:type ep-spin-lib:buildDailyDrillingActivityURI ; 119 [ rdf:type ep-spin-lib:buildDailyDrillingActivityURI ;
185 - sp:arg1 [ sp:varName "normalizedWellBoreName"^^xsd:string 120 + sp:arg1 _:b13 ;
186 - ] ; 121 + sp:arg2 _:b4
187 - sp:arg2 [ sp:varName "dTimStart"^^xsd:string
188 - ]
189 ] ; 122 ] ;
190 - sp:variable 123 + sp:variable _:b2
191 - [ sp:varName "dailyDrillingActivity"^^xsd:string
192 - ]
193 ] [ rdf:type sp:Bind ; 124 ] [ rdf:type sp:Bind ;
194 sp:expression 125 sp:expression
195 [ rdf:type ep-spin-lib:buildTemporalPartOfAWellBoreURI ; 126 [ rdf:type ep-spin-lib:buildTemporalPartOfAWellBoreURI ;
196 - sp:arg1 [ sp:varName "normalizedWellBoreName"^^xsd:string 127 + sp:arg1 _:b13 ;
197 - ] ; 128 + sp:arg2 _:b4 ;
198 - sp:arg2 [ sp:varName "dTimStart"^^xsd:string 129 + sp:arg3 _:b11
199 - ] ;
200 - sp:arg3 [ sp:varName "dTimEnd"^^xsd:string
201 - ]
202 ] ; 130 ] ;
203 - sp:variable 131 + sp:variable _:b5
204 - [ sp:varName "temporalPartOfAWellBore"^^xsd:string
205 - ]
206 ] [ rdf:type sp:Bind ; 132 ] [ rdf:type sp:Bind ;
207 sp:expression 133 sp:expression
208 [ rdf:type rhspin:wellBoreByName ; 134 [ rdf:type rhspin:wellBoreByName ;
209 arg:wellBoreName 135 arg:wellBoreName
210 [ rdf:type xsd:string ; 136 [ rdf:type xsd:string ;
211 - sp:arg1 [ sp:varName "nameWellBore"^^xsd:string 137 + sp:arg1 _:b7
212 - ]
213 ] 138 ]
214 ] ; 139 ] ;
215 - sp:variable 140 + sp:variable _:b6
216 - [ sp:varName "wellBore"^^xsd:string
217 - ]
218 ]) 141 ])
219 ] ; 142 ] ;
220 spin:rule 143 spin:rule
221 [ rdf:type sp:Construct ; 144 [ rdf:type sp:Construct ;
222 - rdfs:comment """STEP 103a Set name of DailyDrillingReport as label 145 + rdfs:comment """STEP 105
223 -Minimum data - createDate, dTimStart, nameWellBore"""^^xsd:string ; 146 +Classify a DailyDrillingReport"""^^xsd:string ;
224 sp:templates ([ sp:object 147 sp:templates ([ sp:object
225 - [ sp:varName "nameDailyDrillingReport"^^xsd:string 148 + [ sp:varName "dailyDrillingReportType"^^xsd:string
226 ] ; 149 ] ;
227 - sp:predicate <http://www.reportinghub.no/ep/schema/core#humanRecognizableName> ; 150 + sp:predicate rdf:type ;
228 sp:subject 151 sp:subject
229 [ sp:varName "dailyDrillingReport"^^xsd:string 152 [ sp:varName "dailyDrillingReport"^^xsd:string
230 ] 153 ]
...@@ -235,17 +158,26 @@ Minimum data - createDate, dTimStart, nameWellBore"""^^xsd:string ; ...@@ -235,17 +158,26 @@ Minimum data - createDate, dTimStart, nameWellBore"""^^xsd:string ;
235 sp:predicate ep-spin-lib:nameWellbore ; 158 sp:predicate ep-spin-lib:nameWellbore ;
236 sp:subject spin:_this 159 sp:subject spin:_this
237 ] [ sp:object 160 ] [ sp:object
238 - [ sp:varName "nameDailyDrillingReport"^^xsd:string 161 + [ sp:varName "createDate"^^xsd:string
239 ] ; 162 ] ;
240 - sp:predicate ddr:name ; 163 + sp:predicate ddr:createDate ;
241 sp:subject spin:_this 164 sp:subject spin:_this
242 ] [ sp:object 165 ] [ sp:object
243 - [ sp:varName "createDate"^^xsd:string 166 + [ sp:varName "versionKind"^^xsd:string
244 ] ; 167 ] ;
245 - sp:predicate ddr:createDate ; 168 + sp:predicate ddr:versionKindRef ;
246 sp:subject spin:_this 169 sp:subject spin:_this
247 ] [ rdf:type sp:Bind ; 170 ] [ rdf:type sp:Bind ;
248 sp:expression 171 sp:expression
172 + [ rdf:type ep-spin-lib:selectDailyDrillingReportType ;
173 + sp:arg1 [ sp:varName "versionKind"^^xsd:string
174 + ]
175 + ] ;
176 + sp:variable
177 + [ sp:varName "dailyDrillingReportType"^^xsd:string
178 + ]
179 + ] [ rdf:type sp:Bind ;
180 + sp:expression
249 [ rdf:type ep-spin-lib:normalizeString ; 181 [ rdf:type ep-spin-lib:normalizeString ;
250 sp:arg1 [ sp:varName "nameWellBore"^^xsd:string 182 sp:arg1 [ sp:varName "nameWellBore"^^xsd:string
251 ] 183 ]
...@@ -316,12 +248,12 @@ Minimum data - createDate, dTimStart, nameWellBore"""^^xsd:string ; ...@@ -316,12 +248,12 @@ Minimum data - createDate, dTimStart, nameWellBore"""^^xsd:string ;
316 ] ; 248 ] ;
317 spin:rule 249 spin:rule
318 [ rdf:type sp:Construct ; 250 [ rdf:type sp:Construct ;
319 - rdfs:comment """STEP 105 251 + rdfs:comment """STEP 103a Set name of DailyDrillingReport as label
320 -Classify a DailyDrillingReport"""^^xsd:string ; 252 +Minimum data - createDate, dTimStart, nameWellBore"""^^xsd:string ;
321 sp:templates ([ sp:object 253 sp:templates ([ sp:object
322 - [ sp:varName "dailyDrillingReportType"^^xsd:string 254 + [ sp:varName "nameDailyDrillingReport"^^xsd:string
323 ] ; 255 ] ;
324 - sp:predicate rdf:type ; 256 + sp:predicate <http://www.reportinghub.no/ep/schema/core#humanRecognizableName> ;
325 sp:subject 257 sp:subject
326 [ sp:varName "dailyDrillingReport"^^xsd:string 258 [ sp:varName "dailyDrillingReport"^^xsd:string
327 ] 259 ]
...@@ -332,26 +264,17 @@ Classify a DailyDrillingReport"""^^xsd:string ; ...@@ -332,26 +264,17 @@ Classify a DailyDrillingReport"""^^xsd:string ;
332 sp:predicate ep-spin-lib:nameWellbore ; 264 sp:predicate ep-spin-lib:nameWellbore ;
333 sp:subject spin:_this 265 sp:subject spin:_this
334 ] [ sp:object 266 ] [ sp:object
335 - [ sp:varName "createDate"^^xsd:string 267 + [ sp:varName "nameDailyDrillingReport"^^xsd:string
336 ] ; 268 ] ;
337 - sp:predicate ddr:createDate ; 269 + sp:predicate ddr:name ;
338 sp:subject spin:_this 270 sp:subject spin:_this
339 ] [ sp:object 271 ] [ sp:object
340 - [ sp:varName "versionKind"^^xsd:string 272 + [ sp:varName "createDate"^^xsd:string
341 ] ; 273 ] ;
342 - sp:predicate ddr:versionKindRef ; 274 + sp:predicate ddr:createDate ;
343 sp:subject spin:_this 275 sp:subject spin:_this
344 ] [ rdf:type sp:Bind ; 276 ] [ rdf:type sp:Bind ;
345 sp:expression 277 sp:expression
346 - [ rdf:type ep-spin-lib:selectDailyDrillingReportType ;
347 - sp:arg1 [ sp:varName "versionKind"^^xsd:string
348 - ]
349 - ] ;
350 - sp:variable
351 - [ sp:varName "dailyDrillingReportType"^^xsd:string
352 - ]
353 - ] [ rdf:type sp:Bind ;
354 - sp:expression
355 [ rdf:type ep-spin-lib:normalizeString ; 278 [ rdf:type ep-spin-lib:normalizeString ;
356 sp:arg1 [ sp:varName "nameWellBore"^^xsd:string 279 sp:arg1 [ sp:varName "nameWellBore"^^xsd:string
357 ] 280 ]
...@@ -374,112 +297,120 @@ Classify a DailyDrillingReport"""^^xsd:string ; ...@@ -374,112 +297,120 @@ Classify a DailyDrillingReport"""^^xsd:string ;
374 ] ; 297 ] ;
375 spin:rule 298 spin:rule
376 [ rdf:type sp:Construct ; 299 [ rdf:type sp:Construct ;
377 - rdfs:comment "STEP 106 Create Well"^^xsd:string ; 300 + rdfs:comment "STEP 106 Create Well Part"^^xsd:string ;
378 - sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/well#Well> ; 301 + sp:templates ([ sp:object _:b14 ;
379 - sp:predicate rdf:type ;
380 - sp:subject
381 - [ sp:varName "well"^^xsd:string
382 - ]
383 - ] [ sp:object
384 - [ sp:varName "nameWell"^^xsd:string
385 - ] ;
386 sp:predicate <http://www.reportinghub.no/ep/schema/core#humanRecognizableName> ; 302 sp:predicate <http://www.reportinghub.no/ep/schema/core#humanRecognizableName> ;
387 - sp:subject 303 + sp:subject _:b15
388 - [ sp:varName "well"^^xsd:string 304 + ] [ sp:object _:b16 ;
389 - ]
390 - ] [ sp:object _:b2 ;
391 sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWell> ; 305 sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWell> ;
392 - sp:subject 306 + sp:subject _:b17
393 - [ sp:varName "dailyDrillingActivity"^^xsd:string 307 + ] [ sp:object _:b15 ;
394 - ]
395 - ] [ sp:object
396 - [ sp:varName "well"^^xsd:string
397 - ] ;
398 sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ; 308 sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
399 - sp:subject _:b2 309 + sp:subject _:b16
400 ] [ sp:object <http://www.reportinghub.no/ep/schema/well#TemporalPartOfAWell> ; 310 ] [ sp:object <http://www.reportinghub.no/ep/schema/well#TemporalPartOfAWell> ;
401 sp:predicate rdf:type ; 311 sp:predicate rdf:type ;
402 - sp:subject _:b2 312 + sp:subject _:b16
403 - ] [ sp:object 313 + ] [ sp:object _:b18 ;
404 - [ sp:varName "wellBore"^^xsd:string
405 - ] ;
406 sp:predicate <http://www.reportinghub.no/ep/schema/core#hasPart> ; 314 sp:predicate <http://www.reportinghub.no/ep/schema/core#hasPart> ;
407 - sp:subject 315 + sp:subject _:b15
408 - [ sp:varName "well"^^xsd:string
409 - ]
410 ]) ; 316 ]) ;
411 - sp:where ([ sp:object 317 + sp:where ([ sp:object _:b19 ;
412 - [ sp:varName "nameWellBore"^^xsd:string
413 - ] ;
414 sp:predicate ep-spin-lib:nameWellbore ; 318 sp:predicate ep-spin-lib:nameWellbore ;
415 sp:subject spin:_this 319 sp:subject spin:_this
416 - ] [ sp:object 320 + ] [ sp:object _:b14 ;
417 - [ sp:varName "nameWell"^^xsd:string
418 - ] ;
419 sp:predicate ep-spin-lib:nameWell ; 321 sp:predicate ep-spin-lib:nameWell ;
420 sp:subject spin:_this 322 sp:subject spin:_this
421 - ] [ sp:object 323 + ] [ sp:object _:b20 ;
422 - [ sp:varName "dTimStart"^^xsd:string
423 - ] ;
424 sp:predicate ddr:dTimStart ; 324 sp:predicate ddr:dTimStart ;
425 sp:subject spin:_this 325 sp:subject spin:_this
426 - ] [ sp:object 326 + ] [ sp:object _:b21 ;
427 - [ sp:varName "temporalPartOfAWellBore"^^xsd:string
428 - ] ;
429 sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWellBore> ; 327 sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWellBore> ;
430 - sp:subject 328 + sp:subject _:b17
431 - [ sp:varName "dailyDrillingActivity"^^xsd:string 329 + ] [ sp:object _:b18 ;
432 - ]
433 - ] [ sp:object
434 - [ sp:varName "wellBore"^^xsd:string
435 - ] ;
436 sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ; 330 sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
437 - sp:subject 331 + sp:subject _:b21
438 - [ sp:varName "temporalPartOfAWellBore"^^xsd:string
439 - ]
440 ] [ sp:object <http://www.reportinghub.no/ep/schema/well#WellBore> ; 332 ] [ sp:object <http://www.reportinghub.no/ep/schema/well#WellBore> ;
441 sp:predicate rdf:type ; 333 sp:predicate rdf:type ;
442 - sp:subject 334 + sp:subject _:b18
443 - [ sp:varName "wellBore"^^xsd:string
444 - ]
445 ] [ rdf:type sp:Bind ; 335 ] [ rdf:type sp:Bind ;
446 sp:expression 336 sp:expression
447 [ rdf:type ep-spin-lib:normalizeString ; 337 [ rdf:type ep-spin-lib:normalizeString ;
448 - sp:arg1 [ sp:varName "nameWellBore"^^xsd:string 338 + sp:arg1 _:b19
449 - ]
450 ] ; 339 ] ;
451 - sp:variable 340 + sp:variable _:b22
452 - [ sp:varName "normalizedWellBoreName"^^xsd:string
453 - ]
454 ] [ rdf:type sp:Bind ; 341 ] [ rdf:type sp:Bind ;
455 sp:expression 342 sp:expression
456 [ rdf:type ep-spin-lib:buildDailyDrillingActivityURI ; 343 [ rdf:type ep-spin-lib:buildDailyDrillingActivityURI ;
457 - sp:arg1 [ sp:varName "normalizedWellBoreName"^^xsd:string 344 + sp:arg1 _:b22 ;
345 + sp:arg2 _:b20
458 ] ; 346 ] ;
459 - sp:arg2 [ sp:varName "dTimStart"^^xsd:string 347 + sp:variable _:b17
460 - ]
461 - ] ;
462 - sp:variable
463 - [ sp:varName "dailyDrillingActivity"^^xsd:string
464 - ]
465 ] [ rdf:type sp:Bind ; 348 ] [ rdf:type sp:Bind ;
466 sp:expression 349 sp:expression
467 [ rdf:type ep-spin-lib:normalizeString ; 350 [ rdf:type ep-spin-lib:normalizeString ;
468 - sp:arg1 [ sp:varName "nameWell"^^xsd:string 351 + sp:arg1 _:b14
469 - ]
470 ] ; 352 ] ;
471 - sp:variable 353 + sp:variable _:b23
472 - [ sp:varName "normalizedWellName"^^xsd:string
473 - ]
474 ] [ rdf:type sp:Bind ; 354 ] [ rdf:type sp:Bind ;
475 sp:expression 355 sp:expression
476 [ rdf:type rhspin:wellByName ; 356 [ rdf:type rhspin:wellByName ;
477 - arg:wellName 357 + arg:wellName _:b23
478 - [ sp:varName "normalizedWellName"^^xsd:string
479 - ]
480 ] ; 358 ] ;
481 - sp:variable 359 + sp:variable _:b15
482 - [ sp:varName "well"^^xsd:string
483 - ]
484 ]) 360 ])
485 ] . 361 ] .
362 +
363 +_:b19
364 + sp:varName "nameWellBore"^^xsd:string .
365 +
366 +_:b14
367 + sp:varName "nameWell"^^xsd:string .
368 +
369 +_:b20
370 + sp:varName "dTimStart"^^xsd:string .
371 +
372 +_:b17
373 + sp:varName "dailyDrillingActivity"^^xsd:string .
374 +
375 +_:b21
376 + sp:varName "temporalPartOfAWellBore"^^xsd:string .
377 +
378 +_:b18
379 + sp:varName "wellBore"^^xsd:string .
380 +
381 +_:b22
382 + sp:varName "normalizedWellBoreName"^^xsd:string .
383 +
384 +_:b23
385 + sp:varName "normalizedWellName"^^xsd:string .
386 +
387 +_:b15
388 + sp:varName "well"^^xsd:string .
389 +
390 +_:b7 sp:varName "nameWellBore"^^xsd:string .
391 +
392 +_:b4 sp:varName "dTimStart"^^xsd:string .
393 +
394 +_:b11
395 + sp:varName "dTimEnd"^^xsd:string .
396 +
397 +_:b3 sp:varName "createDate"^^xsd:string .
398 +
399 +_:b12
400 + sp:varName "extendedReport"^^xsd:string .
401 +
402 +_:b9 sp:varName "extendedReportContent"^^xsd:string .
403 +
404 +_:b10
405 + sp:varName "dTimExtendedReport"^^xsd:string .
406 +
407 +_:b13
408 + sp:varName "normalizedWellBoreName"^^xsd:string .
409 +
410 +_:b1 sp:varName "dailyDrillingReport"^^xsd:string .
411 +
412 +_:b2 sp:varName "dailyDrillingActivity"^^xsd:string .
413 +
414 +_:b5 sp:varName "temporalPartOfAWellBore"^^xsd:string .
415 +
416 +_:b6 sp:varName "wellBore"^^xsd:string .
......
1 +# Saved by TopBraid on Fri Oct 21 16:32:55 BST 2011
1 # baseURI: null 2 # baseURI: null
2 3
3 @prefix composite: <http://www.topbraid.org/2007/05/composite.owl#> . 4 @prefix composite: <http://www.topbraid.org/2007/05/composite.owl#> .
......