Fixed Step 106 Wellbore part of Well to use NPD URIs correctly
Showing
2 changed files
with
196 additions
and
201 deletions
1 | -# Saved by TopBraid on Fri Oct 21 16:32:54 BST 2011 | ||
2 | # baseURI: http://www.reportinghub.no/ep/transform/1.1/ddr/drillReport | 1 | # baseURI: http://www.reportinghub.no/ep/transform/1.1/ddr/drillReport |
3 | -# imports: http://www.reportinghub.no/ep/schema/1.0/report | 2 | +# imports: http://spinrdf.org/spin |
4 | -# imports: http://www.reportinghub.no/ep/spin/1.1/lib | ||
5 | # imports: http://www.energistics.org/schemas/abstract | 3 | # imports: http://www.energistics.org/schemas/abstract |
6 | -# imports: http://www.witsml.org/schemas/1series | 4 | +# imports: http://www.reportinghub.no/ep/schema/1.0/activity |
7 | -# imports: http://www.reportinghub.no/ep/schema/1.0/well | 5 | +# imports: http://www.reportinghub.no/ep/schema/1.0/activity-purpose |
8 | # imports: http://www.reportinghub.no/ep/schema/1.0/core | 6 | # imports: http://www.reportinghub.no/ep/schema/1.0/core |
9 | # imports: http://www.reportinghub.no/ep/schema/1.0/equipment | 7 | # imports: http://www.reportinghub.no/ep/schema/1.0/equipment |
10 | -# imports: http://www.reportinghub.no/ep/schema/1.0/activity-purpose | 8 | +# imports: http://www.reportinghub.no/ep/schema/1.0/report |
11 | -# imports: http://www.reportinghub.no/ep/schema/1.0/activity | 9 | +# imports: http://www.reportinghub.no/ep/schema/1.0/well |
12 | -# imports: http://spinrdf.org/spin | 10 | +# imports: http://www.reportinghub.no/ep/spin/1.1/lib |
11 | +# imports: http://www.witsml.org/schemas/1series | ||
13 | 12 | ||
14 | @prefix NPD_110721144611-valid: <file:///Sandbox/NPD_110721144611-valid.xml#> . | 13 | @prefix NPD_110721144611-valid: <file:///Sandbox/NPD_110721144611-valid.xml#> . |
15 | @prefix arg: <http://spinrdf.org/arg#> . | 14 | @prefix arg: <http://spinrdf.org/arg#> . |
... | @@ -32,122 +31,99 @@ | ... | @@ -32,122 +31,99 @@ |
32 | ddr:Obj_drillReport | 31 | ddr:Obj_drillReport |
33 | spin:rule | 32 | spin:rule |
34 | [ rdf:type sp:Construct ; | 33 | [ rdf:type sp:Construct ; |
35 | - rdfs:comment """STEP 103 Create DailyDrillingReport, DailyDrillingActivity, and TemporalPartOfAWellBore | 34 | + rdfs:comment "STEP 106 Create Well Part"^^xsd:string ; |
36 | -Minimum data - createDate, dTimStart, dTimEnd, nameWellBore | 35 | + sp:templates ([ sp:object _:b1 ; |
37 | -Optional data - extendedReport | 36 | + sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWell> ; |
38 | -replaced for testing - BIND (rhspin:wellBoreByName(?nameWellBore) AS ?wellBore) ."""^^xsd:string ; | 37 | + sp:subject |
39 | - sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/report#DailyDrillingReport> ; | 38 | + [ sp:varName "dailyDrillingActivity"^^xsd:string |
40 | - sp:predicate rdf:type ; | 39 | + ] |
40 | + ] [ sp:object | ||
41 | + [ sp:varName "well"^^xsd:string | ||
42 | + ] ; | ||
43 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ; | ||
41 | sp:subject _:b1 | 44 | sp:subject _:b1 |
42 | - ] [ sp:object <http://www.reportinghub.no/ep/schema/activity#DailyDrillingActivity> ; | 45 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/well#TemporalPartOfAWell> ; |
43 | sp:predicate rdf:type ; | 46 | sp:predicate rdf:type ; |
44 | - sp:subject _:b2 | ||
45 | - ] [ sp:object _:b2 ; | ||
46 | - sp:predicate <http://www.reportinghub.no/ep/schema/report#reportOn> ; | ||
47 | - sp:subject _:b1 | ||
48 | - ] [ sp:object _:b3 ; | ||
49 | - sp:predicate <http://www.reportinghub.no/ep/schema/report#createdAt> ; | ||
50 | sp:subject _:b1 | 47 | sp:subject _:b1 |
51 | - ] [ sp:object _:b4 ; | 48 | + ] [ sp:object |
52 | - sp:predicate <http://www.reportinghub.no/ep/schema/activity#startedAt> ; | 49 | + [ sp:varName "wellBore"^^xsd:string |
53 | - sp:subject _:b2 | 50 | + ] ; |
54 | - ] [ sp:object <http://www.reportinghub.no/ep/schema/well#TemporalPartOfAWellBore> ; | 51 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#hasPart> ; |
55 | - sp:predicate rdf:type ; | 52 | + sp:subject |
56 | - sp:subject _:b5 | 53 | + [ sp:varName "well"^^xsd:string |
57 | - ] [ sp:object _:b6 ; | 54 | + ] |
58 | - sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ; | ||
59 | - sp:subject _:b5 | ||
60 | - ] [ sp:object _:b7 ; | ||
61 | - sp:predicate <http://www.reportinghub.no/ep/schema/core#humanRecognizableName> ; | ||
62 | - sp:subject _:b6 | ||
63 | - ] [ sp:object _:b5 ; | ||
64 | - sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWellBore> ; | ||
65 | - sp:subject _:b2 | ||
66 | - ] [ sp:object _:b8 ; | ||
67 | - sp:predicate <http://www.reportinghub.no/ep/schema/activity#descriptionOfActivitiesFollowingTheDailyReportingPeriod> ; | ||
68 | - sp:subject _:b2 | ||
69 | - ] [ sp:object <http://www.reportinghub.no/ep/schema/report#Report> ; | ||
70 | - sp:predicate rdf:type ; | ||
71 | - sp:subject _:b8 | ||
72 | - ] [ sp:object _:b9 ; | ||
73 | - sp:predicate <http://www.reportinghub.no/ep/schema/report#hasContent> ; | ||
74 | - sp:subject _:b8 | ||
75 | - ] [ sp:object _:b10 ; | ||
76 | - sp:predicate <http://www.reportinghub.no/ep/schema/report#createdAt> ; | ||
77 | - sp:subject _:b8 | ||
78 | ]) ; | 55 | ]) ; |
79 | - sp:where ([ sp:object _:b7 ; | 56 | + sp:where ([ sp:object |
57 | + [ sp:varName "nameWellBore"^^xsd:string | ||
58 | + ] ; | ||
80 | sp:predicate ep-spin-lib:nameWellbore ; | 59 | sp:predicate ep-spin-lib:nameWellbore ; |
81 | sp:subject spin:_this | 60 | sp:subject spin:_this |
82 | - ] [ sp:object _:b4 ; | 61 | + ] [ sp:object |
83 | - sp:predicate ddr:dTimStart ; | 62 | + [ sp:varName "nameWell"^^xsd:string |
84 | - sp:subject spin:_this | 63 | + ] ; |
85 | - ] [ sp:object _:b11 ; | 64 | + sp:predicate ep-spin-lib:nameWell ; |
86 | - sp:predicate ddr:dTimEnd ; | ||
87 | sp:subject spin:_this | 65 | sp:subject spin:_this |
88 | - ] [ sp:object _:b3 ; | 66 | + ] [ sp:object |
89 | - sp:predicate ddr:createDate ; | 67 | + [ sp:varName "dTimStart"^^xsd:string |
68 | + ] ; | ||
69 | + sp:predicate ddr:dTimStart ; | ||
90 | sp:subject spin:_this | 70 | sp:subject spin:_this |
91 | - ] [ rdf:type sp:Optional ; | 71 | + ] [ sp:object |
92 | - sp:elements ([ sp:object _:b12 ; | 72 | + [ sp:varName "temporalPartOfAWellBore"^^xsd:string |
93 | - sp:predicate ddr:extendedReportRef ; | ||
94 | - sp:subject spin:_this | ||
95 | - ] [ sp:object _:b9 ; | ||
96 | - sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ; | ||
97 | - sp:subject _:b12 | ||
98 | - ] [ rdf:type sp:Optional ; | ||
99 | - sp:elements ([ sp:object _:b10 ; | ||
100 | - sp:predicate ddr:dTim ; | ||
101 | - sp:subject _:b12 | ||
102 | - ]) | ||
103 | - ]) | ||
104 | - ] [ rdf:type sp:Bind ; | ||
105 | - sp:expression | ||
106 | - [ rdf:type ep-spin-lib:normalizeString ; | ||
107 | - sp:arg1 _:b7 | ||
108 | ] ; | 73 | ] ; |
109 | - sp:variable _:b13 | 74 | + sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWellBore> ; |
110 | - ] [ rdf:type sp:Bind ; | 75 | + sp:subject |
111 | - sp:expression | 76 | + [ sp:varName "dailyDrillingActivity"^^xsd:string |
112 | - [ rdf:type ep-spin-lib:buildDailyDrillingReportURI ; | 77 | + ] |
113 | - sp:arg1 _:b13 ; | 78 | + ] [ sp:object |
114 | - sp:arg2 _:b3 | 79 | + [ sp:varName "wellBore"^^xsd:string |
115 | ] ; | 80 | ] ; |
116 | - sp:variable _:b1 | 81 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ; |
117 | - ] [ rdf:type sp:Bind ; | 82 | + sp:subject |
118 | - sp:expression | 83 | + [ sp:varName "temporalPartOfAWellBore"^^xsd:string |
119 | - [ rdf:type ep-spin-lib:buildDailyDrillingActivityURI ; | 84 | + ] |
120 | - sp:arg1 _:b13 ; | 85 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/well#WellBore> ; |
121 | - sp:arg2 _:b4 | 86 | + sp:predicate rdf:type ; |
87 | + sp:subject | ||
88 | + [ sp:varName "wellBore"^^xsd:string | ||
89 | + ] | ||
90 | + ] [ sp:object | ||
91 | + [ sp:varName "well"^^xsd:string | ||
122 | ] ; | 92 | ] ; |
123 | - sp:variable _:b2 | 93 | + sp:predicate <http://www.reportinghub.no/np/schema/npd#partOfWell> ; |
94 | + sp:subject | ||
95 | + [ sp:varName "wellBore"^^xsd:string | ||
96 | + ] | ||
124 | ] [ rdf:type sp:Bind ; | 97 | ] [ rdf:type sp:Bind ; |
125 | sp:expression | 98 | sp:expression |
126 | - [ rdf:type ep-spin-lib:buildTemporalPartOfAWellBoreURI ; | 99 | + [ rdf:type ep-spin-lib:normalizeString ; |
127 | - sp:arg1 _:b13 ; | 100 | + sp:arg1 [ sp:varName "nameWellBore"^^xsd:string |
128 | - sp:arg2 _:b4 ; | 101 | + ] |
129 | - sp:arg3 _:b11 | ||
130 | ] ; | 102 | ] ; |
131 | - sp:variable _:b5 | 103 | + sp:variable |
104 | + [ sp:varName "normalizedWellBoreName"^^xsd:string | ||
105 | + ] | ||
132 | ] [ rdf:type sp:Bind ; | 106 | ] [ rdf:type sp:Bind ; |
133 | sp:expression | 107 | sp:expression |
134 | - [ rdf:type rhspin:wellBoreByName ; | 108 | + [ rdf:type ep-spin-lib:buildDailyDrillingActivityURI ; |
135 | - arg:wellBoreName | 109 | + sp:arg1 [ sp:varName "normalizedWellBoreName"^^xsd:string |
136 | - [ rdf:type xsd:string ; | 110 | + ] ; |
137 | - sp:arg1 _:b7 | 111 | + sp:arg2 [ sp:varName "dTimStart"^^xsd:string |
138 | ] | 112 | ] |
139 | ] ; | 113 | ] ; |
140 | - sp:variable _:b6 | 114 | + sp:variable |
115 | + [ sp:varName "dailyDrillingActivity"^^xsd:string | ||
116 | + ] | ||
141 | ]) | 117 | ]) |
142 | ] ; | 118 | ] ; |
143 | spin:rule | 119 | spin:rule |
144 | [ rdf:type sp:Construct ; | 120 | [ rdf:type sp:Construct ; |
145 | - rdfs:comment """STEP 105 | 121 | + rdfs:comment """STEP 103a Set name of DailyDrillingReport as label |
146 | -Classify a DailyDrillingReport"""^^xsd:string ; | 122 | +Minimum data - createDate, dTimStart, nameWellBore"""^^xsd:string ; |
147 | sp:templates ([ sp:object | 123 | sp:templates ([ sp:object |
148 | - [ sp:varName "dailyDrillingReportType"^^xsd:string | 124 | + [ sp:varName "nameDailyDrillingReport"^^xsd:string |
149 | ] ; | 125 | ] ; |
150 | - sp:predicate rdf:type ; | 126 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#humanRecognizableName> ; |
151 | sp:subject | 127 | sp:subject |
152 | [ sp:varName "dailyDrillingReport"^^xsd:string | 128 | [ sp:varName "dailyDrillingReport"^^xsd:string |
153 | ] | 129 | ] |
... | @@ -158,26 +134,17 @@ Classify a DailyDrillingReport"""^^xsd:string ; | ... | @@ -158,26 +134,17 @@ Classify a DailyDrillingReport"""^^xsd:string ; |
158 | sp:predicate ep-spin-lib:nameWellbore ; | 134 | sp:predicate ep-spin-lib:nameWellbore ; |
159 | sp:subject spin:_this | 135 | sp:subject spin:_this |
160 | ] [ sp:object | 136 | ] [ sp:object |
161 | - [ sp:varName "createDate"^^xsd:string | 137 | + [ sp:varName "nameDailyDrillingReport"^^xsd:string |
162 | ] ; | 138 | ] ; |
163 | - sp:predicate ddr:createDate ; | 139 | + sp:predicate ddr:name ; |
164 | sp:subject spin:_this | 140 | sp:subject spin:_this |
165 | ] [ sp:object | 141 | ] [ sp:object |
166 | - [ sp:varName "versionKind"^^xsd:string | 142 | + [ sp:varName "createDate"^^xsd:string |
167 | ] ; | 143 | ] ; |
168 | - sp:predicate ddr:versionKindRef ; | 144 | + sp:predicate ddr:createDate ; |
169 | sp:subject spin:_this | 145 | sp:subject spin:_this |
170 | ] [ rdf:type sp:Bind ; | 146 | ] [ rdf:type sp:Bind ; |
171 | sp:expression | 147 | 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 | ||
181 | [ rdf:type ep-spin-lib:normalizeString ; | 148 | [ rdf:type ep-spin-lib:normalizeString ; |
182 | sp:arg1 [ sp:varName "nameWellBore"^^xsd:string | 149 | sp:arg1 [ sp:varName "nameWellBore"^^xsd:string |
183 | ] | 150 | ] |
... | @@ -248,12 +215,12 @@ Classify a DailyDrillingReport"""^^xsd:string ; | ... | @@ -248,12 +215,12 @@ Classify a DailyDrillingReport"""^^xsd:string ; |
248 | ] ; | 215 | ] ; |
249 | spin:rule | 216 | spin:rule |
250 | [ rdf:type sp:Construct ; | 217 | [ rdf:type sp:Construct ; |
251 | - rdfs:comment """STEP 103a Set name of DailyDrillingReport as label | 218 | + rdfs:comment """STEP 105 |
252 | -Minimum data - createDate, dTimStart, nameWellBore"""^^xsd:string ; | 219 | +Classify a DailyDrillingReport"""^^xsd:string ; |
253 | sp:templates ([ sp:object | 220 | sp:templates ([ sp:object |
254 | - [ sp:varName "nameDailyDrillingReport"^^xsd:string | 221 | + [ sp:varName "dailyDrillingReportType"^^xsd:string |
255 | ] ; | 222 | ] ; |
256 | - sp:predicate <http://www.reportinghub.no/ep/schema/core#humanRecognizableName> ; | 223 | + sp:predicate rdf:type ; |
257 | sp:subject | 224 | sp:subject |
258 | [ sp:varName "dailyDrillingReport"^^xsd:string | 225 | [ sp:varName "dailyDrillingReport"^^xsd:string |
259 | ] | 226 | ] |
... | @@ -264,17 +231,26 @@ Minimum data - createDate, dTimStart, nameWellBore"""^^xsd:string ; | ... | @@ -264,17 +231,26 @@ Minimum data - createDate, dTimStart, nameWellBore"""^^xsd:string ; |
264 | sp:predicate ep-spin-lib:nameWellbore ; | 231 | sp:predicate ep-spin-lib:nameWellbore ; |
265 | sp:subject spin:_this | 232 | sp:subject spin:_this |
266 | ] [ sp:object | 233 | ] [ sp:object |
267 | - [ sp:varName "nameDailyDrillingReport"^^xsd:string | 234 | + [ sp:varName "createDate"^^xsd:string |
268 | ] ; | 235 | ] ; |
269 | - sp:predicate ddr:name ; | 236 | + sp:predicate ddr:createDate ; |
270 | sp:subject spin:_this | 237 | sp:subject spin:_this |
271 | ] [ sp:object | 238 | ] [ sp:object |
272 | - [ sp:varName "createDate"^^xsd:string | 239 | + [ sp:varName "versionKind"^^xsd:string |
273 | ] ; | 240 | ] ; |
274 | - sp:predicate ddr:createDate ; | 241 | + sp:predicate ddr:versionKindRef ; |
275 | sp:subject spin:_this | 242 | sp:subject spin:_this |
276 | ] [ rdf:type sp:Bind ; | 243 | ] [ rdf:type sp:Bind ; |
277 | sp:expression | 244 | sp:expression |
245 | + [ rdf:type ep-spin-lib:selectDailyDrillingReportType ; | ||
246 | + sp:arg1 [ sp:varName "versionKind"^^xsd:string | ||
247 | + ] | ||
248 | + ] ; | ||
249 | + sp:variable | ||
250 | + [ sp:varName "dailyDrillingReportType"^^xsd:string | ||
251 | + ] | ||
252 | + ] [ rdf:type sp:Bind ; | ||
253 | + sp:expression | ||
278 | [ rdf:type ep-spin-lib:normalizeString ; | 254 | [ rdf:type ep-spin-lib:normalizeString ; |
279 | sp:arg1 [ sp:varName "nameWellBore"^^xsd:string | 255 | sp:arg1 [ sp:varName "nameWellBore"^^xsd:string |
280 | ] | 256 | ] |
... | @@ -297,120 +273,140 @@ Minimum data - createDate, dTimStart, nameWellBore"""^^xsd:string ; | ... | @@ -297,120 +273,140 @@ Minimum data - createDate, dTimStart, nameWellBore"""^^xsd:string ; |
297 | ] ; | 273 | ] ; |
298 | spin:rule | 274 | spin:rule |
299 | [ rdf:type sp:Construct ; | 275 | [ rdf:type sp:Construct ; |
300 | - rdfs:comment "STEP 106 Create Well Part"^^xsd:string ; | 276 | + rdfs:comment """STEP 103 Create DailyDrillingReport, DailyDrillingActivity, and TemporalPartOfAWellBore |
301 | - sp:templates ([ sp:object _:b14 ; | 277 | +Minimum data - createDate, dTimStart, dTimEnd, nameWellBore |
302 | - sp:predicate <http://www.reportinghub.no/ep/schema/core#humanRecognizableName> ; | 278 | +Optional data - extendedReport |
303 | - sp:subject _:b15 | 279 | +replaced for testing - BIND (rhspin:wellBoreByName(?nameWellBore) AS ?wellBore) ."""^^xsd:string ; |
304 | - ] [ sp:object _:b16 ; | 280 | + sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/report#DailyDrillingReport> ; |
305 | - sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWell> ; | 281 | + sp:predicate rdf:type ; |
306 | - sp:subject _:b17 | 282 | + sp:subject _:b2 |
307 | - ] [ sp:object _:b15 ; | 283 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/activity#DailyDrillingActivity> ; |
284 | + sp:predicate rdf:type ; | ||
285 | + sp:subject _:b3 | ||
286 | + ] [ sp:object _:b3 ; | ||
287 | + sp:predicate <http://www.reportinghub.no/ep/schema/report#reportOn> ; | ||
288 | + sp:subject _:b2 | ||
289 | + ] [ sp:object _:b4 ; | ||
290 | + sp:predicate <http://www.reportinghub.no/ep/schema/report#createdAt> ; | ||
291 | + sp:subject _:b2 | ||
292 | + ] [ sp:object _:b5 ; | ||
293 | + sp:predicate <http://www.reportinghub.no/ep/schema/activity#startedAt> ; | ||
294 | + sp:subject _:b3 | ||
295 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/well#TemporalPartOfAWellBore> ; | ||
296 | + sp:predicate rdf:type ; | ||
297 | + sp:subject _:b6 | ||
298 | + ] [ sp:object _:b7 ; | ||
308 | sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ; | 299 | sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ; |
309 | - sp:subject _:b16 | 300 | + sp:subject _:b6 |
310 | - ] [ sp:object <http://www.reportinghub.no/ep/schema/well#TemporalPartOfAWell> ; | 301 | + ] [ sp:object _:b8 ; |
302 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#humanRecognizableName> ; | ||
303 | + sp:subject _:b7 | ||
304 | + ] [ sp:object _:b6 ; | ||
305 | + sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWellBore> ; | ||
306 | + sp:subject _:b3 | ||
307 | + ] [ sp:object _:b9 ; | ||
308 | + sp:predicate <http://www.reportinghub.no/ep/schema/activity#descriptionOfActivitiesFollowingTheDailyReportingPeriod> ; | ||
309 | + sp:subject _:b3 | ||
310 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/report#Report> ; | ||
311 | sp:predicate rdf:type ; | 311 | sp:predicate rdf:type ; |
312 | - sp:subject _:b16 | 312 | + sp:subject _:b9 |
313 | - ] [ sp:object _:b18 ; | 313 | + ] [ sp:object _:b10 ; |
314 | - sp:predicate <http://www.reportinghub.no/ep/schema/core#hasPart> ; | 314 | + sp:predicate <http://www.reportinghub.no/ep/schema/report#hasContent> ; |
315 | - sp:subject _:b15 | 315 | + sp:subject _:b9 |
316 | + ] [ sp:object _:b11 ; | ||
317 | + sp:predicate <http://www.reportinghub.no/ep/schema/report#createdAt> ; | ||
318 | + sp:subject _:b9 | ||
316 | ]) ; | 319 | ]) ; |
317 | - sp:where ([ sp:object _:b19 ; | 320 | + sp:where ([ sp:object _:b8 ; |
318 | sp:predicate ep-spin-lib:nameWellbore ; | 321 | sp:predicate ep-spin-lib:nameWellbore ; |
319 | sp:subject spin:_this | 322 | sp:subject spin:_this |
320 | - ] [ sp:object _:b14 ; | 323 | + ] [ sp:object _:b5 ; |
321 | - sp:predicate ep-spin-lib:nameWell ; | ||
322 | - sp:subject spin:_this | ||
323 | - ] [ sp:object _:b20 ; | ||
324 | sp:predicate ddr:dTimStart ; | 324 | sp:predicate ddr:dTimStart ; |
325 | sp:subject spin:_this | 325 | sp:subject spin:_this |
326 | - ] [ sp:object _:b21 ; | 326 | + ] [ sp:object _:b12 ; |
327 | - sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWellBore> ; | 327 | + sp:predicate ddr:dTimEnd ; |
328 | - sp:subject _:b17 | 328 | + sp:subject spin:_this |
329 | - ] [ sp:object _:b18 ; | 329 | + ] [ sp:object _:b4 ; |
330 | - sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ; | 330 | + sp:predicate ddr:createDate ; |
331 | - sp:subject _:b21 | 331 | + sp:subject spin:_this |
332 | - ] [ sp:object <http://www.reportinghub.no/ep/schema/well#WellBore> ; | 332 | + ] [ rdf:type sp:Optional ; |
333 | - sp:predicate rdf:type ; | 333 | + sp:elements ([ sp:object _:b13 ; |
334 | - sp:subject _:b18 | 334 | + sp:predicate ddr:extendedReportRef ; |
335 | + sp:subject spin:_this | ||
336 | + ] [ sp:object _:b10 ; | ||
337 | + sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ; | ||
338 | + sp:subject _:b13 | ||
339 | + ] [ rdf:type sp:Optional ; | ||
340 | + sp:elements ([ sp:object _:b11 ; | ||
341 | + sp:predicate ddr:dTim ; | ||
342 | + sp:subject _:b13 | ||
343 | + ]) | ||
344 | + ]) | ||
335 | ] [ rdf:type sp:Bind ; | 345 | ] [ rdf:type sp:Bind ; |
336 | sp:expression | 346 | sp:expression |
337 | [ rdf:type ep-spin-lib:normalizeString ; | 347 | [ rdf:type ep-spin-lib:normalizeString ; |
338 | - sp:arg1 _:b19 | 348 | + sp:arg1 _:b8 |
349 | + ] ; | ||
350 | + sp:variable _:b14 | ||
351 | + ] [ rdf:type sp:Bind ; | ||
352 | + sp:expression | ||
353 | + [ rdf:type ep-spin-lib:buildDailyDrillingReportURI ; | ||
354 | + sp:arg1 _:b14 ; | ||
355 | + sp:arg2 _:b4 | ||
339 | ] ; | 356 | ] ; |
340 | - sp:variable _:b22 | 357 | + sp:variable _:b2 |
341 | ] [ rdf:type sp:Bind ; | 358 | ] [ rdf:type sp:Bind ; |
342 | sp:expression | 359 | sp:expression |
343 | [ rdf:type ep-spin-lib:buildDailyDrillingActivityURI ; | 360 | [ rdf:type ep-spin-lib:buildDailyDrillingActivityURI ; |
344 | - sp:arg1 _:b22 ; | 361 | + sp:arg1 _:b14 ; |
345 | - sp:arg2 _:b20 | 362 | + sp:arg2 _:b5 |
346 | ] ; | 363 | ] ; |
347 | - sp:variable _:b17 | 364 | + sp:variable _:b3 |
348 | ] [ rdf:type sp:Bind ; | 365 | ] [ rdf:type sp:Bind ; |
349 | sp:expression | 366 | sp:expression |
350 | - [ rdf:type ep-spin-lib:normalizeString ; | 367 | + [ rdf:type ep-spin-lib:buildTemporalPartOfAWellBoreURI ; |
351 | - sp:arg1 _:b14 | 368 | + sp:arg1 _:b14 ; |
369 | + sp:arg2 _:b5 ; | ||
370 | + sp:arg3 _:b12 | ||
352 | ] ; | 371 | ] ; |
353 | - sp:variable _:b23 | 372 | + sp:variable _:b6 |
354 | ] [ rdf:type sp:Bind ; | 373 | ] [ rdf:type sp:Bind ; |
355 | sp:expression | 374 | sp:expression |
356 | - [ rdf:type rhspin:wellByName ; | 375 | + [ rdf:type rhspin:wellBoreByName ; |
357 | - arg:wellName _:b23 | 376 | + arg:wellBoreName |
377 | + [ rdf:type xsd:string ; | ||
378 | + sp:arg1 _:b8 | ||
379 | + ] | ||
358 | ] ; | 380 | ] ; |
359 | - sp:variable _:b15 | 381 | + sp:variable _:b7 |
360 | ]) | 382 | ]) |
361 | ] . | 383 | ] . |
362 | 384 | ||
363 | -_:b19 | 385 | +_:b2 sp:varName "dailyDrillingReport"^^xsd:string . |
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 | 386 | ||
372 | -_:b17 | 387 | +_:b3 sp:varName "dailyDrillingActivity"^^xsd:string . |
373 | - sp:varName "dailyDrillingActivity"^^xsd:string . | ||
374 | 388 | ||
375 | -_:b21 | 389 | +_:b4 sp:varName "createDate"^^xsd:string . |
376 | - sp:varName "temporalPartOfAWellBore"^^xsd:string . | ||
377 | 390 | ||
378 | -_:b18 | 391 | +_:b5 sp:varName "dTimStart"^^xsd:string . |
379 | - sp:varName "wellBore"^^xsd:string . | ||
380 | - | ||
381 | -_:b22 | ||
382 | - sp:varName "normalizedWellBoreName"^^xsd:string . | ||
383 | 392 | ||
384 | -_:b23 | 393 | +_:b6 sp:varName "temporalPartOfAWellBore"^^xsd:string . |
385 | - sp:varName "normalizedWellName"^^xsd:string . | ||
386 | 394 | ||
387 | -_:b15 | 395 | +_:b7 sp:varName "wellBore"^^xsd:string . |
388 | - sp:varName "well"^^xsd:string . | ||
389 | 396 | ||
390 | -_:b7 sp:varName "nameWellBore"^^xsd:string . | 397 | +_:b8 sp:varName "nameWellBore"^^xsd:string . |
391 | 398 | ||
392 | -_:b4 sp:varName "dTimStart"^^xsd:string . | 399 | +_:b10 |
400 | + sp:varName "extendedReportContent"^^xsd:string . | ||
393 | 401 | ||
394 | _:b11 | 402 | _:b11 |
395 | - sp:varName "dTimEnd"^^xsd:string . | 403 | + sp:varName "dTimExtendedReport"^^xsd:string . |
396 | - | ||
397 | -_:b3 sp:varName "createDate"^^xsd:string . | ||
398 | 404 | ||
399 | _:b12 | 405 | _:b12 |
400 | - sp:varName "extendedReport"^^xsd:string . | 406 | + sp:varName "dTimEnd"^^xsd:string . |
401 | - | ||
402 | -_:b9 sp:varName "extendedReportContent"^^xsd:string . | ||
403 | - | ||
404 | -_:b10 | ||
405 | - sp:varName "dTimExtendedReport"^^xsd:string . | ||
406 | 407 | ||
407 | _:b13 | 408 | _:b13 |
408 | - sp:varName "normalizedWellBoreName"^^xsd:string . | 409 | + sp:varName "extendedReport"^^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 | 410 | ||
416 | -_:b6 sp:varName "wellBore"^^xsd:string . | 411 | +_:b14 |
412 | + sp:varName "normalizedWellBoreName"^^xsd:string . | ... | ... |
-
Please register or login to post a comment