Holger Knublauch

Further SPIN template to drive UI

Mapping now also creates ep-core:name for Well/Bore
...@@ -45,22 +45,22 @@ ...@@ -45,22 +45,22 @@
45 spinmap:context :BAA-BusinessArrangementArea ; 45 spinmap:context :BAA-BusinessArrangementArea ;
46 spinmap:expression spin:_arg1 ; 46 spinmap:expression spin:_arg1 ;
47 spinmap:sourcePredicate1 47 spinmap:sourcePredicate1
48 - <file:///www.reportinghub.no/transform/npd/baa#baaNpdidBsnsArrArea> ; 48 + <file:///www.reportinghub.no/transform/npd/baa#baaName> ;
49 spinmap:targetPredicate1 49 spinmap:targetPredicate1
50 - <http://www.reportinghub.no/np/schema/npd#id> 50 + <http://www.reportinghub.no/np/schema/npd#name>
51 ] ; 51 ] ;
52 spinmap:rule 52 spinmap:rule
53 [ rdf:type spinmap:Mapping-1-1 ; 53 [ rdf:type spinmap:Mapping-1-1 ;
54 spinmap:context :BAA-BusinessArrangementArea ; 54 spinmap:context :BAA-BusinessArrangementArea ;
55 spinmap:expression 55 spinmap:expression
56 - [ rdf:type spinmapl:resourceWithValueTypeless ; 56 + [ rdf:type spif:parseDate ;
57 - sp:arg1 spin:_arg1 ; 57 + arg:pattern "dd.MM.yyyy" ;
58 - spinmapl:predicate :baaKind 58 + sp:arg1 spin:_arg1
59 ] ; 59 ] ;
60 spinmap:sourcePredicate1 60 spinmap:sourcePredicate1
61 - <file:///www.reportinghub.no/transform/npd/baa#baaKind> ; 61 + <file:///www.reportinghub.no/transform/npd/baa#baaDateValidTo> ;
62 spinmap:targetPredicate1 62 spinmap:targetPredicate1
63 - rdf:type 63 + <http://www.reportinghub.no/np/schema/npd#endDate>
64 ] ; 64 ] ;
65 spinmap:rule 65 spinmap:rule
66 [ rdf:type spinmap:Mapping-1-1 ; 66 [ rdf:type spinmap:Mapping-1-1 ;
...@@ -79,32 +79,37 @@ ...@@ -79,32 +79,37 @@
79 [ rdf:type spinmap:Mapping-1-1 ; 79 [ rdf:type spinmap:Mapping-1-1 ;
80 spinmap:context :BAA-BusinessArrangementArea ; 80 spinmap:context :BAA-BusinessArrangementArea ;
81 spinmap:expression 81 spinmap:expression
82 - [ rdf:type spif:parseDate ; 82 + [ rdf:type spinmapl:resourceWithValueTypeless ;
83 - arg:pattern "dd.MM.yyyy" ; 83 + sp:arg1 spin:_arg1 ;
84 - sp:arg1 spin:_arg1 84 + spinmapl:predicate :baaKind
85 ] ; 85 ] ;
86 spinmap:sourcePredicate1 86 spinmap:sourcePredicate1
87 - <file:///www.reportinghub.no/transform/npd/baa#baaDateValidTo> ; 87 + <file:///www.reportinghub.no/transform/npd/baa#baaKind> ;
88 spinmap:targetPredicate1 88 spinmap:targetPredicate1
89 - <http://www.reportinghub.no/np/schema/npd#endDate> 89 + rdf:type
90 ] ; 90 ] ;
91 spinmap:rule 91 spinmap:rule
92 [ rdf:type spinmap:Mapping-1-1 ; 92 [ rdf:type spinmap:Mapping-1-1 ;
93 spinmap:context :BAA-BusinessArrangementArea ; 93 spinmap:context :BAA-BusinessArrangementArea ;
94 spinmap:expression spin:_arg1 ; 94 spinmap:expression spin:_arg1 ;
95 spinmap:sourcePredicate1 95 spinmap:sourcePredicate1
96 - <file:///www.reportinghub.no/transform/npd/baa#baaName> ; 96 + <file:///www.reportinghub.no/transform/npd/baa#baaNpdidBsnsArrArea> ;
97 spinmap:targetPredicate1 97 spinmap:targetPredicate1
98 - <http://www.reportinghub.no/np/schema/npd#name> 98 + <http://www.reportinghub.no/np/schema/npd#id>
99 ] . 99 ] .
100 100
101 <file:///www.reportinghub.no/transform/npd/baalicensee#BAALicensee> 101 <file:///www.reportinghub.no/transform/npd/baalicensee#BAALicensee>
102 spinmap:rule 102 spinmap:rule
103 - [ rdf:type spinmap:Mapping-0-1 ; 103 + [ rdf:type spinmap:Mapping-1-1 ;
104 spinmap:context :BAALicensee-ShareOfBAA ; 104 spinmap:context :BAALicensee-ShareOfBAA ;
105 - spinmap:expression <http://www.reportinghub.no/np/schema/npd#ShareOfBAA> ; 105 + spinmap:expression
106 + [ rdf:type xsd:float ;
107 + sp:arg1 spin:_arg1
108 + ] ;
109 + spinmap:sourcePredicate1
110 + <file:///www.reportinghub.no/transform/npd/baalicensee#baaLicenseeInterest> ;
106 spinmap:targetPredicate1 111 spinmap:targetPredicate1
107 - rdf:type 112 + <http://www.reportinghub.no/np/schema/npd#percentageOfShare>
108 ] ; 113 ] ;
109 spinmap:rule 114 spinmap:rule
110 [ rdf:type spinmap:Mapping-1-1 ; 115 [ rdf:type spinmap:Mapping-1-1 ;
...@@ -113,12 +118,12 @@ ...@@ -113,12 +118,12 @@
113 [ rdf:type spinmapl:resourceWithValue ; 118 [ rdf:type spinmapl:resourceWithValue ;
114 sp:arg1 spin:_arg1 ; 119 sp:arg1 spin:_arg1 ;
115 spinmapl:predicate <http://www.reportinghub.no/np/schema/npd#name> ; 120 spinmapl:predicate <http://www.reportinghub.no/np/schema/npd#name> ;
116 - spinmapl:type <http://www.reportinghub.no/np/schema/npd#BusinessArrangementArea> 121 + spinmapl:type <http://www.reportinghub.no/ep/schema/organization#Company>
117 ] ; 122 ] ;
118 spinmap:sourcePredicate1 123 spinmap:sourcePredicate1
119 - <file:///www.reportinghub.no/transform/npd/baalicensee#baaName> ; 124 + <file:///www.reportinghub.no/transform/npd/baalicensee#cmpLongName> ;
120 spinmap:targetPredicate1 125 spinmap:targetPredicate1
121 - <http://www.reportinghub.no/np/schema/npd#baaShared> 126 + <http://www.reportinghub.no/np/schema/npd#shareHolder>
122 ] ; 127 ] ;
123 spinmap:rule 128 spinmap:rule
124 [ rdf:type spinmap:Mapping-1-1 ; 129 [ rdf:type spinmap:Mapping-1-1 ;
...@@ -129,9 +134,9 @@ ...@@ -129,9 +134,9 @@
129 sp:arg1 spin:_arg1 134 sp:arg1 spin:_arg1
130 ] ; 135 ] ;
131 spinmap:sourcePredicate1 136 spinmap:sourcePredicate1
132 - <file:///www.reportinghub.no/transform/npd/baalicensee#baaLicenseeDateValidFrom> ; 137 + <file:///www.reportinghub.no/transform/npd/baalicensee#baaLicenseeDateValidTo> ;
133 spinmap:targetPredicate1 138 spinmap:targetPredicate1
134 - <http://www.reportinghub.no/np/schema/npd#startDate> 139 + <http://www.reportinghub.no/np/schema/npd#endDate>
135 ] ; 140 ] ;
136 spinmap:rule 141 spinmap:rule
137 [ rdf:type spinmap:Mapping-1-1 ; 142 [ rdf:type spinmap:Mapping-1-1 ;
...@@ -142,9 +147,9 @@ ...@@ -142,9 +147,9 @@
142 sp:arg1 spin:_arg1 147 sp:arg1 spin:_arg1
143 ] ; 148 ] ;
144 spinmap:sourcePredicate1 149 spinmap:sourcePredicate1
145 - <file:///www.reportinghub.no/transform/npd/baalicensee#baaLicenseeDateValidTo> ; 150 + <file:///www.reportinghub.no/transform/npd/baalicensee#baaLicenseeDateValidFrom> ;
146 spinmap:targetPredicate1 151 spinmap:targetPredicate1
147 - <http://www.reportinghub.no/np/schema/npd#endDate> 152 + <http://www.reportinghub.no/np/schema/npd#startDate>
148 ] ; 153 ] ;
149 spinmap:rule 154 spinmap:rule
150 [ rdf:type spinmap:Mapping-1-1 ; 155 [ rdf:type spinmap:Mapping-1-1 ;
...@@ -153,58 +158,56 @@ ...@@ -153,58 +158,56 @@
153 [ rdf:type spinmapl:resourceWithValue ; 158 [ rdf:type spinmapl:resourceWithValue ;
154 sp:arg1 spin:_arg1 ; 159 sp:arg1 spin:_arg1 ;
155 spinmapl:predicate <http://www.reportinghub.no/np/schema/npd#name> ; 160 spinmapl:predicate <http://www.reportinghub.no/np/schema/npd#name> ;
156 - spinmapl:type <http://www.reportinghub.no/ep/schema/organization#Company> 161 + spinmapl:type <http://www.reportinghub.no/np/schema/npd#BusinessArrangementArea>
157 ] ; 162 ] ;
158 spinmap:sourcePredicate1 163 spinmap:sourcePredicate1
159 - <file:///www.reportinghub.no/transform/npd/baalicensee#cmpLongName> ; 164 + <file:///www.reportinghub.no/transform/npd/baalicensee#baaName> ;
160 spinmap:targetPredicate1 165 spinmap:targetPredicate1
161 - <http://www.reportinghub.no/np/schema/npd#shareHolder> 166 + <http://www.reportinghub.no/np/schema/npd#baaShared>
162 ] ; 167 ] ;
163 spinmap:rule 168 spinmap:rule
164 - [ rdf:type spinmap:Mapping-1-1 ; 169 + [ rdf:type spinmap:Mapping-0-1 ;
165 spinmap:context :BAALicensee-ShareOfBAA ; 170 spinmap:context :BAALicensee-ShareOfBAA ;
166 - spinmap:expression 171 + spinmap:expression <http://www.reportinghub.no/np/schema/npd#ShareOfBAA> ;
167 - [ rdf:type xsd:float ;
168 - sp:arg1 spin:_arg1
169 - ] ;
170 - spinmap:sourcePredicate1
171 - <file:///www.reportinghub.no/transform/npd/baalicensee#baaLicenseeInterest> ;
172 spinmap:targetPredicate1 172 spinmap:targetPredicate1
173 - <http://www.reportinghub.no/np/schema/npd#percentageOfShare> 173 + rdf:type
174 ] . 174 ] .
175 175
176 <file:///www.reportinghub.no/transform/npd/company#Company> 176 <file:///www.reportinghub.no/transform/npd/company#Company>
177 spinmap:rule 177 spinmap:rule
178 [ rdf:type spinmap:Mapping-1-1 ; 178 [ rdf:type spinmap:Mapping-1-1 ;
179 - spinmap:context :Company-Company ; 179 + spinmap:context :Company-ParentCompany ;
180 spinmap:expression spin:_arg1 ; 180 spinmap:expression spin:_arg1 ;
181 spinmap:sourcePredicate1 181 spinmap:sourcePredicate1
182 - <file:///www.reportinghub.no/transform/npd/company#cmpNpdidCompany> ; 182 + <file:///www.reportinghub.no/transform/npd/company#cmpGroup> ;
183 spinmap:targetPredicate1 183 spinmap:targetPredicate1
184 - <http://www.reportinghub.no/np/schema/npd#id> 184 + <http://www.reportinghub.no/np/schema/npd#name>
185 ] ; 185 ] ;
186 spinmap:rule 186 spinmap:rule
187 [ rdf:type spinmap:Mapping-1-1 ; 187 [ rdf:type spinmap:Mapping-1-1 ;
188 - spinmap:context :Company-Company ; 188 + spinmap:context :Company-ParentCompany ;
189 spinmap:expression spin:_arg1 ; 189 spinmap:expression spin:_arg1 ;
190 spinmap:sourcePredicate1 190 spinmap:sourcePredicate1
191 - <file:///www.reportinghub.no/transform/npd/company#cmpShortName> ; 191 + <file:///www.reportinghub.no/transform/npd/company#cmpGroup> ;
192 spinmap:targetPredicate1 192 spinmap:targetPredicate1
193 <http://www.reportinghub.no/np/schema/npd#companyShortName> 193 <http://www.reportinghub.no/np/schema/npd#companyShortName>
194 ] ; 194 ] ;
195 spinmap:rule 195 spinmap:rule
196 [ rdf:type spinmap:Mapping-1-1 ; 196 [ rdf:type spinmap:Mapping-1-1 ;
197 spinmap:context :Company-Company ; 197 spinmap:context :Company-Company ;
198 - spinmap:expression spin:_arg1 ; 198 + spinmap:expression
199 + [ rdf:type rhspin:parentCompanyByName ;
200 + arg:name spin:_arg1
201 + ] ;
199 spinmap:sourcePredicate1 202 spinmap:sourcePredicate1
200 - <file:///www.reportinghub.no/transform/npd/company#cmpLongName> ; 203 + <file:///www.reportinghub.no/transform/npd/company#cmpGroup> ;
201 spinmap:targetPredicate1 204 spinmap:targetPredicate1
202 - <http://www.reportinghub.no/np/schema/npd#name> 205 + <http://www.reportinghub.no/np/schema/npd#parentCompany>
203 ] ; 206 ] ;
204 spinmap:rule 207 spinmap:rule
205 [ rdf:type spinmap:Mapping-0-1 ; 208 [ rdf:type spinmap:Mapping-0-1 ;
206 - spinmap:context :Company-Company ; 209 + spinmap:context :Company-ParentCompany ;
207 - spinmap:expression <http://www.reportinghub.no/np/schema/npd#OperatingCompany> ; 210 + spinmap:expression <http://www.reportinghub.no/np/schema/npd#ParentCompany> ;
208 spinmap:targetPredicate1 211 spinmap:targetPredicate1
209 rdf:type 212 rdf:type
210 ] ; 213 ] ;
...@@ -219,40 +222,37 @@ ...@@ -219,40 +222,37 @@
219 ] ; 222 ] ;
220 spinmap:rule 223 spinmap:rule
221 [ rdf:type spinmap:Mapping-0-1 ; 224 [ rdf:type spinmap:Mapping-0-1 ;
222 - spinmap:context :Company-ParentCompany ; 225 + spinmap:context :Company-Company ;
223 - spinmap:expression <http://www.reportinghub.no/np/schema/npd#ParentCompany> ; 226 + spinmap:expression <http://www.reportinghub.no/np/schema/npd#OperatingCompany> ;
224 spinmap:targetPredicate1 227 spinmap:targetPredicate1
225 rdf:type 228 rdf:type
226 ] ; 229 ] ;
227 spinmap:rule 230 spinmap:rule
228 [ rdf:type spinmap:Mapping-1-1 ; 231 [ rdf:type spinmap:Mapping-1-1 ;
229 spinmap:context :Company-Company ; 232 spinmap:context :Company-Company ;
230 - spinmap:expression 233 + spinmap:expression spin:_arg1 ;
231 - [ rdf:type rhspin:parentCompanyByName ;
232 - arg:name spin:_arg1
233 - ] ;
234 spinmap:sourcePredicate1 234 spinmap:sourcePredicate1
235 - <file:///www.reportinghub.no/transform/npd/company#cmpGroup> ; 235 + <file:///www.reportinghub.no/transform/npd/company#cmpLongName> ;
236 spinmap:targetPredicate1 236 spinmap:targetPredicate1
237 - <http://www.reportinghub.no/np/schema/npd#parentCompany> 237 + <http://www.reportinghub.no/np/schema/npd#name>
238 ] ; 238 ] ;
239 spinmap:rule 239 spinmap:rule
240 [ rdf:type spinmap:Mapping-1-1 ; 240 [ rdf:type spinmap:Mapping-1-1 ;
241 - spinmap:context :Company-ParentCompany ; 241 + spinmap:context :Company-Company ;
242 spinmap:expression spin:_arg1 ; 242 spinmap:expression spin:_arg1 ;
243 spinmap:sourcePredicate1 243 spinmap:sourcePredicate1
244 - <file:///www.reportinghub.no/transform/npd/company#cmpGroup> ; 244 + <file:///www.reportinghub.no/transform/npd/company#cmpShortName> ;
245 spinmap:targetPredicate1 245 spinmap:targetPredicate1
246 <http://www.reportinghub.no/np/schema/npd#companyShortName> 246 <http://www.reportinghub.no/np/schema/npd#companyShortName>
247 ] ; 247 ] ;
248 spinmap:rule 248 spinmap:rule
249 [ rdf:type spinmap:Mapping-1-1 ; 249 [ rdf:type spinmap:Mapping-1-1 ;
250 - spinmap:context :Company-ParentCompany ; 250 + spinmap:context :Company-Company ;
251 spinmap:expression spin:_arg1 ; 251 spinmap:expression spin:_arg1 ;
252 spinmap:sourcePredicate1 252 spinmap:sourcePredicate1
253 - <file:///www.reportinghub.no/transform/npd/company#cmpGroup> ; 253 + <file:///www.reportinghub.no/transform/npd/company#cmpNpdidCompany> ;
254 spinmap:targetPredicate1 254 spinmap:targetPredicate1
255 - <http://www.reportinghub.no/np/schema/npd#name> 255 + <http://www.reportinghub.no/np/schema/npd#id>
256 ] . 256 ] .
257 257
258 <file:///www.reportinghub.no/transform/npd/discovery#Discovery> 258 <file:///www.reportinghub.no/transform/npd/discovery#Discovery>
...@@ -287,35 +287,30 @@ ...@@ -287,35 +287,30 @@
287 spinmap:context :Discovery-Discovery ; 287 spinmap:context :Discovery-Discovery ;
288 spinmap:expression spin:_arg1 ; 288 spinmap:expression spin:_arg1 ;
289 spinmap:sourcePredicate1 289 spinmap:sourcePredicate1
290 - <file:///www.reportinghub.no/transform/npd/discovery#dscNpdidDiscovery> ; 290 + <file:///www.reportinghub.no/transform/npd/discovery#dscName> ;
291 spinmap:targetPredicate1 291 spinmap:targetPredicate1
292 - <http://www.reportinghub.no/np/schema/npd#id> 292 + <http://www.reportinghub.no/np/schema/npd#name>
293 ] ; 293 ] ;
294 spinmap:rule 294 spinmap:rule
295 [ rdf:type spinmap:Mapping-1-1 ; 295 [ rdf:type spinmap:Mapping-1-1 ;
296 spinmap:context :Discovery-Discovery ; 296 spinmap:context :Discovery-Discovery ;
297 spinmap:expression 297 spinmap:expression
298 - [ rdf:type spinmapl:resourceWithValue ; 298 + [ rdf:type rhspin:wellBoreById ;
299 - sp:arg1 spin:_arg1 ; 299 + arg:id spin:_arg1
300 - spinmapl:predicate <http://www.reportinghub.no/np/schema/npd#name> ;
301 - spinmapl:type <http://www.reportinghub.no/ep/schema/organization#Company>
302 ] ; 300 ] ;
303 spinmap:sourcePredicate1 301 spinmap:sourcePredicate1
304 - <file:///www.reportinghub.no/transform/npd/discovery#cmpLongName2> ; 302 + <file:///www.reportinghub.no/transform/npd/discovery#wlbNpdidWellbore> ;
305 spinmap:targetPredicate1 303 spinmap:targetPredicate1
306 - <http://www.reportinghub.no/np/schema/npd#discoveryOperator> 304 + <http://www.reportinghub.no/np/schema/npd#discoveryWellBore>
307 ] ; 305 ] ;
308 spinmap:rule 306 spinmap:rule
309 [ rdf:type spinmap:Mapping-1-1 ; 307 [ rdf:type spinmap:Mapping-1-1 ;
310 spinmap:context :Discovery-Discovery ; 308 spinmap:context :Discovery-Discovery ;
311 - spinmap:expression 309 + spinmap:expression spin:_arg1 ;
312 - [ rdf:type rhspin:wellBoreById ;
313 - arg:id spin:_arg1
314 - ] ;
315 spinmap:sourcePredicate1 310 spinmap:sourcePredicate1
316 - <file:///www.reportinghub.no/transform/npd/discovery#wlbNpdidWellbore> ; 311 + <file:///www.reportinghub.no/transform/npd/discovery#dscNpdidDiscovery> ;
317 spinmap:targetPredicate1 312 spinmap:targetPredicate1
318 - <http://www.reportinghub.no/np/schema/npd#discoveryWellBore> 313 + <http://www.reportinghub.no/np/schema/npd#id>
319 ] ; 314 ] ;
320 spinmap:rule 315 spinmap:rule
321 [ rdf:type spinmap:Mapping-1-1 ; 316 [ rdf:type spinmap:Mapping-1-1 ;
...@@ -332,6 +327,13 @@ ...@@ -332,6 +327,13 @@
332 <http://www.reportinghub.no/np/schema/npd#discoveryOwner> 327 <http://www.reportinghub.no/np/schema/npd#discoveryOwner>
333 ] ; 328 ] ;
334 spinmap:rule 329 spinmap:rule
330 + [ rdf:type spinmap:Mapping-0-1 ;
331 + spinmap:context :Discovery-Discovery ;
332 + spinmap:expression <http://www.reportinghub.no/np/schema/npd#Discovery> ;
333 + spinmap:targetPredicate1
334 + rdf:type
335 + ] ;
336 + spinmap:rule
335 [ rdf:type spinmap:Mapping-1-1 ; 337 [ rdf:type spinmap:Mapping-1-1 ;
336 spinmap:context :Discovery-Discovery ; 338 spinmap:context :Discovery-Discovery ;
337 spinmap:expression 339 spinmap:expression
...@@ -348,11 +350,16 @@ ...@@ -348,11 +350,16 @@
348 spinmap:rule 350 spinmap:rule
349 [ rdf:type spinmap:Mapping-1-1 ; 351 [ rdf:type spinmap:Mapping-1-1 ;
350 spinmap:context :Discovery-Discovery ; 352 spinmap:context :Discovery-Discovery ;
351 - spinmap:expression spin:_arg1 ; 353 + spinmap:expression
354 + [ rdf:type spinmapl:resourceWithValue ;
355 + sp:arg1 spin:_arg1 ;
356 + spinmapl:predicate <http://www.reportinghub.no/np/schema/npd#code> ;
357 + spinmapl:type <http://www.reportinghub.no/np/schema/npd#HCType>
358 + ] ;
352 spinmap:sourcePredicate1 359 spinmap:sourcePredicate1
353 - <file:///www.reportinghub.no/transform/npd/discovery#dscName> ; 360 + <file:///www.reportinghub.no/transform/npd/discovery#dscHcType> ;
354 spinmap:targetPredicate1 361 spinmap:targetPredicate1
355 - <http://www.reportinghub.no/np/schema/npd#name> 362 + <http://www.reportinghub.no/np/schema/npd#discoveryHCType>
356 ] ; 363 ] ;
357 spinmap:rule 364 spinmap:rule
358 [ rdf:type spinmap:Mapping-1-1 ; 365 [ rdf:type spinmap:Mapping-1-1 ;
...@@ -367,67 +374,62 @@ ...@@ -367,67 +374,62 @@
367 <http://www.reportinghub.no/np/schema/npd#discoveryYear> 374 <http://www.reportinghub.no/np/schema/npd#discoveryYear>
368 ] ; 375 ] ;
369 spinmap:rule 376 spinmap:rule
370 - [ rdf:type spinmap:Mapping-0-1 ;
371 - spinmap:context :Discovery-Discovery ;
372 - spinmap:expression <http://www.reportinghub.no/np/schema/npd#Discovery> ;
373 - spinmap:targetPredicate1
374 - rdf:type
375 - ] ;
376 - spinmap:rule
377 [ rdf:type spinmap:Mapping-1-1 ; 377 [ rdf:type spinmap:Mapping-1-1 ;
378 spinmap:context :Discovery-Discovery ; 378 spinmap:context :Discovery-Discovery ;
379 spinmap:expression 379 spinmap:expression
380 [ rdf:type spinmapl:resourceWithValue ; 380 [ rdf:type spinmapl:resourceWithValue ;
381 sp:arg1 spin:_arg1 ; 381 sp:arg1 spin:_arg1 ;
382 - spinmapl:predicate <http://www.reportinghub.no/np/schema/npd#code> ; 382 + spinmapl:predicate <http://www.reportinghub.no/np/schema/npd#name> ;
383 - spinmapl:type <http://www.reportinghub.no/np/schema/npd#HCType> 383 + spinmapl:type <http://www.reportinghub.no/ep/schema/organization#Company>
384 ] ; 384 ] ;
385 spinmap:sourcePredicate1 385 spinmap:sourcePredicate1
386 - <file:///www.reportinghub.no/transform/npd/discovery#dscHcType> ; 386 + <file:///www.reportinghub.no/transform/npd/discovery#cmpLongName2> ;
387 spinmap:targetPredicate1 387 spinmap:targetPredicate1
388 - <http://www.reportinghub.no/np/schema/npd#discoveryHCType> 388 + <http://www.reportinghub.no/np/schema/npd#discoveryOperator>
389 ] . 389 ] .
390 390
391 <file:///www.reportinghub.no/transform/npd/facilityfixed#FacilityFixed> 391 <file:///www.reportinghub.no/transform/npd/facilityfixed#FacilityFixed>
392 spinmap:rule 392 spinmap:rule
393 [ rdf:type spinmap:Mapping-1-1 ; 393 [ rdf:type spinmap:Mapping-1-1 ;
394 spinmap:context :FacilityFixed-FixedFacility ; 394 spinmap:context :FacilityFixed-FixedFacility ;
395 - spinmap:expression spin:_arg1 ;
396 - spinmap:sourcePredicate1
397 - <file:///www.reportinghub.no/transform/npd/facilityfixed#fclKind> ;
398 - spinmap:targetPredicate1
399 - <http://www.reportinghub.no/np/schema/npd#facilityKind>
400 - ] ;
401 - spinmap:rule
402 - [ rdf:type spinmap:Mapping-1-1 ;
403 - spinmap:context :FacilityFixed-FixedFacility ;
404 spinmap:expression 395 spinmap:expression
405 - [ rdf:type spif:parseDate ; 396 + [ rdf:type spinmapl:resourceWithValue ;
406 - arg:pattern "dd.MM.yyyy" ; 397 + sp:arg1 spin:_arg1 ;
407 - sp:arg1 spin:_arg1 398 + spinmapl:predicate <http://www.reportinghub.no/np/schema/npd#code> ;
399 + spinmapl:type <http://www.reportinghub.no/np/schema/npd#FixedFacilityPhase>
408 ] ; 400 ] ;
409 spinmap:sourcePredicate1 401 spinmap:sourcePredicate1
410 - <file:///www.reportinghub.no/transform/npd/facilityfixed#fclStartupDate> ; 402 + <file:///www.reportinghub.no/transform/npd/facilityfixed#fclPhase> ;
411 spinmap:targetPredicate1 403 spinmap:targetPredicate1
412 - <http://www.reportinghub.no/np/schema/npd#startDate> 404 + <http://www.reportinghub.no/np/schema/npd#fixedFacilityPhase>
413 ] ; 405 ] ;
414 spinmap:rule 406 spinmap:rule
415 [ rdf:type spinmap:Mapping-1-1 ; 407 [ rdf:type spinmap:Mapping-1-1 ;
416 spinmap:context :FacilityFixed-FixedFacility ; 408 spinmap:context :FacilityFixed-FixedFacility ;
417 - spinmap:expression spin:_arg1 ; 409 + spinmap:expression
410 + [ rdf:type spinmapl:resourceWithValue ;
411 + sp:arg1 spin:_arg1 ;
412 + spinmapl:predicate <http://www.reportinghub.no/np/schema/npd#id> ;
413 + spinmapl:type <http://www.reportinghub.no/np/schema/npd#FixedFacilityParent>
414 + ] ;
418 spinmap:sourcePredicate1 415 spinmap:sourcePredicate1
419 - <file:///www.reportinghub.no/transform/npd/facilityfixed#fclName> ; 416 + <file:///www.reportinghub.no/transform/npd/facilityfixed#fclBelongsToS> ;
420 spinmap:targetPredicate1 417 spinmap:targetPredicate1
421 - <http://www.reportinghub.no/np/schema/npd#name> 418 + <http://www.reportinghub.no/np/schema/npd#belongsTo>
422 ] ; 419 ] ;
423 spinmap:rule 420 spinmap:rule
424 [ rdf:type spinmap:Mapping-1-1 ; 421 [ rdf:type spinmap:Mapping-1-1 ;
425 spinmap:context :FacilityFixed-FixedFacility ; 422 spinmap:context :FacilityFixed-FixedFacility ;
426 - spinmap:expression spin:_arg1 ; 423 + spinmap:expression
424 + [ rdf:type spinmapl:resourceWithValue ;
425 + sp:arg1 spin:_arg1 ;
426 + spinmapl:predicate <http://www.reportinghub.no/np/schema/npd#name> ;
427 + spinmapl:type <http://www.reportinghub.no/ep/schema/organization#Company>
428 + ] ;
427 spinmap:sourcePredicate1 429 spinmap:sourcePredicate1
428 - <file:///www.reportinghub.no/transform/npd/facilityfixed#fclNpdidFacility> ; 430 + <file:///www.reportinghub.no/transform/npd/facilityfixed#fclCurrentOperatorName> ;
429 spinmap:targetPredicate1 431 spinmap:targetPredicate1
430 - <http://www.reportinghub.no/np/schema/npd#id> 432 + <http://www.reportinghub.no/np/schema/npd#currentOperator>
431 ] ; 433 ] ;
432 spinmap:rule 434 spinmap:rule
433 [ rdf:type spinmap:Mapping-1-1 ; 435 [ rdf:type spinmap:Mapping-1-1 ;
...@@ -449,62 +451,67 @@ ...@@ -449,62 +451,67 @@
449 spinmap:rule 451 spinmap:rule
450 [ rdf:type spinmap:Mapping-1-1 ; 452 [ rdf:type spinmap:Mapping-1-1 ;
451 spinmap:context :FacilityFixed-FixedFacility ; 453 spinmap:context :FacilityFixed-FixedFacility ;
452 - spinmap:expression 454 + spinmap:expression spin:_arg1 ;
453 - [ rdf:type spinmapl:resourceWithValue ;
454 - sp:arg1 spin:_arg1 ;
455 - spinmapl:predicate <http://www.reportinghub.no/np/schema/npd#name> ;
456 - spinmapl:type <http://www.reportinghub.no/ep/schema/organization#Company>
457 - ] ;
458 spinmap:sourcePredicate1 455 spinmap:sourcePredicate1
459 - <file:///www.reportinghub.no/transform/npd/facilityfixed#fclCurrentOperatorName> ; 456 + <file:///www.reportinghub.no/transform/npd/facilityfixed#fclNpdidFacility> ;
460 spinmap:targetPredicate1 457 spinmap:targetPredicate1
461 - <http://www.reportinghub.no/np/schema/npd#currentOperator> 458 + <http://www.reportinghub.no/np/schema/npd#id>
462 ] ; 459 ] ;
463 spinmap:rule 460 spinmap:rule
464 [ rdf:type spinmap:Mapping-1-1 ; 461 [ rdf:type spinmap:Mapping-1-1 ;
465 spinmap:context :FacilityFixed-FixedFacility ; 462 spinmap:context :FacilityFixed-FixedFacility ;
466 - spinmap:expression 463 + spinmap:expression spin:_arg1 ;
467 - [ rdf:type spinmapl:resourceWithValue ;
468 - sp:arg1 spin:_arg1 ;
469 - spinmapl:predicate <http://www.reportinghub.no/np/schema/npd#id> ;
470 - spinmapl:type <http://www.reportinghub.no/np/schema/npd#FixedFacilityParent>
471 - ] ;
472 spinmap:sourcePredicate1 464 spinmap:sourcePredicate1
473 - <file:///www.reportinghub.no/transform/npd/facilityfixed#fclBelongsToS> ; 465 + <file:///www.reportinghub.no/transform/npd/facilityfixed#fclName> ;
474 spinmap:targetPredicate1 466 spinmap:targetPredicate1
475 - <http://www.reportinghub.no/np/schema/npd#belongsTo> 467 + <http://www.reportinghub.no/np/schema/npd#name>
476 ] ; 468 ] ;
477 spinmap:rule 469 spinmap:rule
478 [ rdf:type spinmap:Mapping-1-1 ; 470 [ rdf:type spinmap:Mapping-1-1 ;
479 spinmap:context :FacilityFixed-FixedFacility ; 471 spinmap:context :FacilityFixed-FixedFacility ;
480 spinmap:expression 472 spinmap:expression
481 - [ rdf:type spinmapl:resourceWithValue ; 473 + [ rdf:type spif:parseDate ;
482 - sp:arg1 spin:_arg1 ; 474 + arg:pattern "dd.MM.yyyy" ;
483 - spinmapl:predicate <http://www.reportinghub.no/np/schema/npd#code> ; 475 + sp:arg1 spin:_arg1
484 - spinmapl:type <http://www.reportinghub.no/np/schema/npd#FixedFacilityPhase>
485 ] ; 476 ] ;
486 spinmap:sourcePredicate1 477 spinmap:sourcePredicate1
487 - <file:///www.reportinghub.no/transform/npd/facilityfixed#fclPhase> ; 478 + <file:///www.reportinghub.no/transform/npd/facilityfixed#fclStartupDate> ;
488 spinmap:targetPredicate1 479 spinmap:targetPredicate1
489 - <http://www.reportinghub.no/np/schema/npd#fixedFacilityPhase> 480 + <http://www.reportinghub.no/np/schema/npd#startDate>
481 + ] ;
482 + spinmap:rule
483 + [ rdf:type spinmap:Mapping-1-1 ;
484 + spinmap:context :FacilityFixed-FixedFacility ;
485 + spinmap:expression spin:_arg1 ;
486 + spinmap:sourcePredicate1
487 + <file:///www.reportinghub.no/transform/npd/facilityfixed#fclKind> ;
488 + spinmap:targetPredicate1
489 + <http://www.reportinghub.no/np/schema/npd#facilityKind>
490 ] . 490 ] .
491 491
492 <file:///www.reportinghub.no/transform/npd/facilitymoveable#FacilityMoveable> 492 <file:///www.reportinghub.no/transform/npd/facilitymoveable#FacilityMoveable>
493 spinmap:rule 493 spinmap:rule
494 - [ rdf:type spinmap:Mapping-0-1 ; 494 + [ rdf:type spinmap:Mapping-1-1 ;
495 spinmap:context :FacilityMoveable-MoveableFacility ; 495 spinmap:context :FacilityMoveable-MoveableFacility ;
496 - spinmap:expression <http://www.reportinghub.no/ep/schema/facility#MoveableFacility> ; 496 + spinmap:expression
497 + [ rdf:type spinmapl:resourceWithValue ;
498 + sp:arg1 spin:_arg1 ;
499 + spinmapl:predicate <http://www.reportinghub.no/np/schema/npd#name> ;
500 + spinmapl:type <http://www.reportinghub.no/ep/schema/organization#Company>
501 + ] ;
502 + spinmap:sourcePredicate1
503 + <file:///www.reportinghub.no/transform/npd/facilitymoveable#fclCurrentRespCompanyName> ;
497 spinmap:targetPredicate1 504 spinmap:targetPredicate1
498 - rdf:type 505 + <http://www.reportinghub.no/np/schema/npd#currentlyResponsibleCompany>
499 ] ; 506 ] ;
500 spinmap:rule 507 spinmap:rule
501 [ rdf:type spinmap:Mapping-1-1 ; 508 [ rdf:type spinmap:Mapping-1-1 ;
502 spinmap:context :FacilityMoveable-MoveableFacility ; 509 spinmap:context :FacilityMoveable-MoveableFacility ;
503 spinmap:expression spin:_arg1 ; 510 spinmap:expression spin:_arg1 ;
504 spinmap:sourcePredicate1 511 spinmap:sourcePredicate1
505 - <file:///www.reportinghub.no/transform/npd/facilitymoveable#fclNpdidFacility> ; 512 + <file:///www.reportinghub.no/transform/npd/facilitymoveable#fclName> ;
506 spinmap:targetPredicate1 513 spinmap:targetPredicate1
507 - <http://www.reportinghub.no/np/schema/npd#id> 514 + <http://www.reportinghub.no/np/schema/npd#name>
508 ] ; 515 ] ;
509 spinmap:rule 516 spinmap:rule
510 [ rdf:type spinmap:Mapping-1-1 ; 517 [ rdf:type spinmap:Mapping-1-1 ;
...@@ -520,53 +527,58 @@ ...@@ -520,53 +527,58 @@
520 spinmap:context :FacilityMoveable-MoveableFacility ; 527 spinmap:context :FacilityMoveable-MoveableFacility ;
521 spinmap:expression spin:_arg1 ; 528 spinmap:expression spin:_arg1 ;
522 spinmap:sourcePredicate1 529 spinmap:sourcePredicate1
523 - <file:///www.reportinghub.no/transform/npd/facilitymoveable#fclName> ; 530 + <file:///www.reportinghub.no/transform/npd/facilitymoveable#fclNpdidFacility> ;
524 spinmap:targetPredicate1 531 spinmap:targetPredicate1
525 - <http://www.reportinghub.no/np/schema/npd#name> 532 + <http://www.reportinghub.no/np/schema/npd#id>
526 ] ; 533 ] ;
527 spinmap:rule 534 spinmap:rule
528 - [ rdf:type spinmap:Mapping-1-1 ; 535 + [ rdf:type spinmap:Mapping-0-1 ;
529 spinmap:context :FacilityMoveable-MoveableFacility ; 536 spinmap:context :FacilityMoveable-MoveableFacility ;
530 - spinmap:expression 537 + spinmap:expression <http://www.reportinghub.no/ep/schema/facility#MoveableFacility> ;
531 - [ rdf:type spinmapl:resourceWithValue ;
532 - sp:arg1 spin:_arg1 ;
533 - spinmapl:predicate <http://www.reportinghub.no/np/schema/npd#name> ;
534 - spinmapl:type <http://www.reportinghub.no/ep/schema/organization#Company>
535 - ] ;
536 - spinmap:sourcePredicate1
537 - <file:///www.reportinghub.no/transform/npd/facilitymoveable#fclCurrentRespCompanyName> ;
538 spinmap:targetPredicate1 538 spinmap:targetPredicate1
539 - <http://www.reportinghub.no/np/schema/npd#currentlyResponsibleCompany> 539 + rdf:type
540 ] . 540 ] .
541 541
542 <file:///www.reportinghub.no/transform/npd/field#Field> 542 <file:///www.reportinghub.no/transform/npd/field#Field>
543 spinmap:rule 543 spinmap:rule
544 - [ rdf:type spinmap:Mapping-0-1 ; 544 + [ rdf:type spinmap:Mapping-1-1 ;
545 spinmap:context :Field-Field ; 545 spinmap:context :Field-Field ;
546 - spinmap:expression <http://www.reportinghub.no/np/schema/npd#Field> ; 546 + spinmap:expression
547 + [ rdf:type spinmapl:resourceWithValue ;
548 + sp:arg1 spin:_arg1 ;
549 + spinmapl:predicate <http://www.reportinghub.no/np/schema/npd#code> ;
550 + spinmapl:type <http://www.reportinghub.no/np/schema/npd#FieldActivityStatus>
551 + ] ;
552 + spinmap:sourcePredicate1
553 + <file:///www.reportinghub.no/transform/npd/field#fldCurrentActivitySatus> ;
547 spinmap:targetPredicate1 554 spinmap:targetPredicate1
548 - rdf:type 555 + <http://www.reportinghub.no/np/schema/npd#currentActivityStatus>
549 ] ; 556 ] ;
550 spinmap:rule 557 spinmap:rule
551 [ rdf:type spinmap:Mapping-1-1 ; 558 [ rdf:type spinmap:Mapping-1-1 ;
552 spinmap:context :Field-Field ; 559 spinmap:context :Field-Field ;
553 spinmap:expression 560 spinmap:expression
554 - [ rdf:type rhspin:companyById ; 561 + [ rdf:type spinmapl:resourceWithValue ;
555 - arg:id spin:_arg1 562 + sp:arg1 spin:_arg1 ;
563 + spinmapl:predicate <http://www.reportinghub.no/np/schema/npd#id> ;
564 + spinmapl:type <http://www.reportinghub.no/np/schema/npd#Owner>
556 ] ; 565 ] ;
557 spinmap:sourcePredicate1 566 spinmap:sourcePredicate1
558 - <file:///www.reportinghub.no/transform/npd/field#cmpNpdidCompany> ; 567 + <file:///www.reportinghub.no/transform/npd/field#fldNpdidOwner> ;
559 spinmap:targetPredicate1 568 spinmap:targetPredicate1
560 - <http://www.reportinghub.no/np/schema/npd#fieldOperator> 569 + <http://www.reportinghub.no/np/schema/npd#fieldOwner>
561 ] ; 570 ] ;
562 spinmap:rule 571 spinmap:rule
563 [ rdf:type spinmap:Mapping-1-1 ; 572 [ rdf:type spinmap:Mapping-1-1 ;
564 spinmap:context :Field-Field ; 573 spinmap:context :Field-Field ;
565 - spinmap:expression spin:_arg1 ; 574 + spinmap:expression
575 + [ rdf:type rhspin:wellBoreById ;
576 + arg:id spin:_arg1
577 + ] ;
566 spinmap:sourcePredicate1 578 spinmap:sourcePredicate1
567 - <file:///www.reportinghub.no/transform/npd/field#fldNpdidField> ; 579 + <file:///www.reportinghub.no/transform/npd/field#wlbNpdidWellbore> ;
568 spinmap:targetPredicate1 580 spinmap:targetPredicate1
569 - <http://www.reportinghub.no/np/schema/npd#id> 581 + <http://www.reportinghub.no/np/schema/npd#fieldDiscoveryWellBore>
570 ] ; 582 ] ;
571 spinmap:rule 583 spinmap:rule
572 [ rdf:type spinmap:Mapping-1-1 ; 584 [ rdf:type spinmap:Mapping-1-1 ;
...@@ -580,84 +592,57 @@ ...@@ -580,84 +592,57 @@
580 spinmap:rule 592 spinmap:rule
581 [ rdf:type spinmap:Mapping-1-1 ; 593 [ rdf:type spinmap:Mapping-1-1 ;
582 spinmap:context :Field-Field ; 594 spinmap:context :Field-Field ;
583 - spinmap:expression 595 + spinmap:expression spin:_arg1 ;
584 - [ rdf:type rhspin:wellBoreById ;
585 - arg:id spin:_arg1
586 - ] ;
587 spinmap:sourcePredicate1 596 spinmap:sourcePredicate1
588 - <file:///www.reportinghub.no/transform/npd/field#wlbNpdidWellbore> ; 597 + <file:///www.reportinghub.no/transform/npd/field#fldNpdidField> ;
589 spinmap:targetPredicate1 598 spinmap:targetPredicate1
590 - <http://www.reportinghub.no/np/schema/npd#fieldDiscoveryWellBore> 599 + <http://www.reportinghub.no/np/schema/npd#id>
591 ] ; 600 ] ;
592 spinmap:rule 601 spinmap:rule
593 [ rdf:type spinmap:Mapping-1-1 ; 602 [ rdf:type spinmap:Mapping-1-1 ;
594 spinmap:context :Field-Field ; 603 spinmap:context :Field-Field ;
595 spinmap:expression 604 spinmap:expression
596 - [ rdf:type spinmapl:resourceWithValue ; 605 + [ rdf:type rhspin:companyById ;
597 - sp:arg1 spin:_arg1 ; 606 + arg:id spin:_arg1
598 - spinmapl:predicate <http://www.reportinghub.no/np/schema/npd#id> ;
599 - spinmapl:type <http://www.reportinghub.no/np/schema/npd#Owner>
600 ] ; 607 ] ;
601 spinmap:sourcePredicate1 608 spinmap:sourcePredicate1
602 - <file:///www.reportinghub.no/transform/npd/field#fldNpdidOwner> ; 609 + <file:///www.reportinghub.no/transform/npd/field#cmpNpdidCompany> ;
603 spinmap:targetPredicate1 610 spinmap:targetPredicate1
604 - <http://www.reportinghub.no/np/schema/npd#fieldOwner> 611 + <http://www.reportinghub.no/np/schema/npd#fieldOperator>
605 ] ; 612 ] ;
606 spinmap:rule 613 spinmap:rule
607 - [ rdf:type spinmap:Mapping-1-1 ; 614 + [ rdf:type spinmap:Mapping-0-1 ;
608 spinmap:context :Field-Field ; 615 spinmap:context :Field-Field ;
609 - spinmap:expression 616 + spinmap:expression <http://www.reportinghub.no/np/schema/npd#Field> ;
610 - [ rdf:type spinmapl:resourceWithValue ;
611 - sp:arg1 spin:_arg1 ;
612 - spinmapl:predicate <http://www.reportinghub.no/np/schema/npd#code> ;
613 - spinmapl:type <http://www.reportinghub.no/np/schema/npd#FieldActivityStatus>
614 - ] ;
615 - spinmap:sourcePredicate1
616 - <file:///www.reportinghub.no/transform/npd/field#fldCurrentActivitySatus> ;
617 spinmap:targetPredicate1 617 spinmap:targetPredicate1
618 - <http://www.reportinghub.no/np/schema/npd#currentActivityStatus> 618 + rdf:type
619 ] . 619 ] .
620 620
621 <file:///www.reportinghub.no/transform/npd/licence#Licence> 621 <file:///www.reportinghub.no/transform/npd/licence#Licence>
622 spinmap:rule 622 spinmap:rule
623 [ rdf:type spinmap:Mapping-1-1 ; 623 [ rdf:type spinmap:Mapping-1-1 ;
624 spinmap:context :License-License ; 624 spinmap:context :License-License ;
625 - spinmap:expression 625 + spinmap:expression spin:_arg1 ;
626 - [ rdf:type spinmapl:resourceWithValue ;
627 - sp:arg1 spin:_arg1 ;
628 - spinmapl:predicate <http://www.reportinghub.no/np/schema/npd#code> ;
629 - spinmapl:type <http://www.reportinghub.no/np/schema/npd#LicenceStatus>
630 - ] ;
631 spinmap:sourcePredicate1 626 spinmap:sourcePredicate1
632 - <file:///www.reportinghub.no/transform/npd/licence#prlStatus> ; 627 + <file:///www.reportinghub.no/transform/npd/licence#prlLicensingActivityName> ;
633 spinmap:targetPredicate1 628 spinmap:targetPredicate1
634 - <http://www.reportinghub.no/np/schema/npd#licenceStatus> 629 + <http://www.reportinghub.no/np/schema/npd#licensingActivity>
635 ] ; 630 ] ;
636 spinmap:rule 631 spinmap:rule
637 [ rdf:type spinmap:Mapping-1-1 ; 632 [ rdf:type spinmap:Mapping-1-1 ;
638 spinmap:context :License-License ; 633 spinmap:context :License-License ;
639 - spinmap:expression 634 + spinmap:expression spin:_arg1 ;
640 - [ rdf:type spif:parseDate ;
641 - arg:pattern "dd.MM.yyyy" ;
642 - sp:arg1 spin:_arg1
643 - ] ;
644 spinmap:sourcePredicate1 635 spinmap:sourcePredicate1
645 - <file:///www.reportinghub.no/transform/npd/licence#prlDateGranted> ; 636 + <file:///www.reportinghub.no/transform/npd/licence#prlName> ;
646 spinmap:targetPredicate1 637 spinmap:targetPredicate1
647 - <http://www.reportinghub.no/np/schema/npd#startDate> 638 + <http://www.reportinghub.no/np/schema/npd#name>
648 ] ; 639 ] ;
649 spinmap:rule 640 spinmap:rule
650 - [ rdf:type spinmap:Mapping-1-1 ; 641 + [ rdf:type spinmap:Mapping-0-1 ;
651 spinmap:context :License-License ; 642 spinmap:context :License-License ;
652 - spinmap:expression 643 + spinmap:expression <http://www.reportinghub.no/np/schema/npd#Licence> ;
653 - [ rdf:type spif:parseDate ;
654 - arg:pattern "dd.MM.yyyy" ;
655 - sp:arg1 spin:_arg1
656 - ] ;
657 - spinmap:sourcePredicate1
658 - <file:///www.reportinghub.no/transform/npd/licence#prlDateValidTo> ;
659 spinmap:targetPredicate1 644 spinmap:targetPredicate1
660 - <http://www.reportinghub.no/np/schema/npd#endDate> 645 + rdf:type
661 ] ; 646 ] ;
662 spinmap:rule 647 spinmap:rule
663 [ rdf:type spinmap:Mapping-1-1 ; 648 [ rdf:type spinmap:Mapping-1-1 ;
...@@ -669,55 +654,78 @@ ...@@ -669,55 +654,78 @@
669 <http://www.reportinghub.no/np/schema/npd#id> 654 <http://www.reportinghub.no/np/schema/npd#id>
670 ] ; 655 ] ;
671 spinmap:rule 656 spinmap:rule
672 - [ rdf:type spinmap:Mapping-0-1 ; 657 + [ rdf:type spinmap:Mapping-1-1 ;
673 spinmap:context :License-License ; 658 spinmap:context :License-License ;
674 - spinmap:expression <http://www.reportinghub.no/np/schema/npd#Licence> ; 659 + spinmap:expression
660 + [ rdf:type spif:parseDate ;
661 + arg:pattern "dd.MM.yyyy" ;
662 + sp:arg1 spin:_arg1
663 + ] ;
664 + spinmap:sourcePredicate1
665 + <file:///www.reportinghub.no/transform/npd/licence#prlDateValidTo> ;
675 spinmap:targetPredicate1 666 spinmap:targetPredicate1
676 - rdf:type 667 + <http://www.reportinghub.no/np/schema/npd#endDate>
677 ] ; 668 ] ;
678 spinmap:rule 669 spinmap:rule
679 [ rdf:type spinmap:Mapping-1-1 ; 670 [ rdf:type spinmap:Mapping-1-1 ;
680 spinmap:context :License-License ; 671 spinmap:context :License-License ;
681 - spinmap:expression spin:_arg1 ; 672 + spinmap:expression
673 + [ rdf:type spif:parseDate ;
674 + arg:pattern "dd.MM.yyyy" ;
675 + sp:arg1 spin:_arg1
676 + ] ;
682 spinmap:sourcePredicate1 677 spinmap:sourcePredicate1
683 - <file:///www.reportinghub.no/transform/npd/licence#prlName> ; 678 + <file:///www.reportinghub.no/transform/npd/licence#prlDateGranted> ;
684 spinmap:targetPredicate1 679 spinmap:targetPredicate1
685 - <http://www.reportinghub.no/np/schema/npd#name> 680 + <http://www.reportinghub.no/np/schema/npd#startDate>
686 ] ; 681 ] ;
687 spinmap:rule 682 spinmap:rule
688 [ rdf:type spinmap:Mapping-1-1 ; 683 [ rdf:type spinmap:Mapping-1-1 ;
689 spinmap:context :License-License ; 684 spinmap:context :License-License ;
690 - spinmap:expression spin:_arg1 ; 685 + spinmap:expression
686 + [ rdf:type spinmapl:resourceWithValue ;
687 + sp:arg1 spin:_arg1 ;
688 + spinmapl:predicate <http://www.reportinghub.no/np/schema/npd#code> ;
689 + spinmapl:type <http://www.reportinghub.no/np/schema/npd#LicenceStatus>
690 + ] ;
691 spinmap:sourcePredicate1 691 spinmap:sourcePredicate1
692 - <file:///www.reportinghub.no/transform/npd/licence#prlLicensingActivityName> ; 692 + <file:///www.reportinghub.no/transform/npd/licence#prlStatus> ;
693 spinmap:targetPredicate1 693 spinmap:targetPredicate1
694 - <http://www.reportinghub.no/np/schema/npd#licensingActivity> 694 + <http://www.reportinghub.no/np/schema/npd#licenceStatus>
695 ] . 695 ] .
696 696
697 <file:///www.reportinghub.no/transform/npd/licensee#Licensee> 697 <file:///www.reportinghub.no/transform/npd/licensee#Licensee>
698 spinmap:rule 698 spinmap:rule
699 + [ rdf:type spinmap:Mapping-0-1 ;
700 + spinmap:context :Licensee-ShareOfLicence ;
701 + spinmap:expression <http://www.reportinghub.no/np/schema/npd#ShareOfLicence> ;
702 + spinmap:targetPredicate1
703 + rdf:type
704 + ] ;
705 + spinmap:rule
699 [ rdf:type spinmap:Mapping-1-1 ; 706 [ rdf:type spinmap:Mapping-1-1 ;
700 spinmap:context :Licensee-ShareOfLicence ; 707 spinmap:context :Licensee-ShareOfLicence ;
701 spinmap:expression 708 spinmap:expression
702 - [ rdf:type rhspin:licenceById ; 709 + [ rdf:type spif:parseDate ;
703 - arg:id spin:_arg1 710 + arg:pattern "dd.MM.yyyy" ;
711 + sp:arg1 spin:_arg1
704 ] ; 712 ] ;
705 spinmap:sourcePredicate1 713 spinmap:sourcePredicate1
706 - <file:///www.reportinghub.no/transform/npd/licensee#prlNpdidLicence> ; 714 + <file:///www.reportinghub.no/transform/npd/licensee#prlLicenseeDateValidFrom> ;
707 spinmap:targetPredicate1 715 spinmap:targetPredicate1
708 - <http://www.reportinghub.no/np/schema/npd#licenceShared> 716 + <http://www.reportinghub.no/np/schema/npd#startDate>
709 ] ; 717 ] ;
710 spinmap:rule 718 spinmap:rule
711 [ rdf:type spinmap:Mapping-1-1 ; 719 [ rdf:type spinmap:Mapping-1-1 ;
712 spinmap:context :Licensee-ShareOfLicence ; 720 spinmap:context :Licensee-ShareOfLicence ;
713 spinmap:expression 721 spinmap:expression
714 - [ rdf:type xsd:float ; 722 + [ rdf:type rhspin:companyById ;
715 - sp:arg1 spin:_arg1 723 + arg:id spin:_arg1
716 ] ; 724 ] ;
717 spinmap:sourcePredicate1 725 spinmap:sourcePredicate1
718 - <file:///www.reportinghub.no/transform/npd/licensee#prlLicenseeInterest> ; 726 + <file:///www.reportinghub.no/transform/npd/licensee#cmpNpdidCompany> ;
719 spinmap:targetPredicate1 727 spinmap:targetPredicate1
720 - <http://www.reportinghub.no/np/schema/npd#percentageOfShare> 728 + <http://www.reportinghub.no/np/schema/npd#shareHolder>
721 ] ; 729 ] ;
722 spinmap:rule 730 spinmap:rule
723 [ rdf:type spinmap:Mapping-1-1 ; 731 [ rdf:type spinmap:Mapping-1-1 ;
...@@ -736,42 +744,36 @@ ...@@ -736,42 +744,36 @@
736 [ rdf:type spinmap:Mapping-1-1 ; 744 [ rdf:type spinmap:Mapping-1-1 ;
737 spinmap:context :Licensee-ShareOfLicence ; 745 spinmap:context :Licensee-ShareOfLicence ;
738 spinmap:expression 746 spinmap:expression
739 - [ rdf:type rhspin:companyById ; 747 + [ rdf:type xsd:float ;
740 - arg:id spin:_arg1 748 + sp:arg1 spin:_arg1
741 ] ; 749 ] ;
742 spinmap:sourcePredicate1 750 spinmap:sourcePredicate1
743 - <file:///www.reportinghub.no/transform/npd/licensee#cmpNpdidCompany> ; 751 + <file:///www.reportinghub.no/transform/npd/licensee#prlLicenseeInterest> ;
744 spinmap:targetPredicate1 752 spinmap:targetPredicate1
745 - <http://www.reportinghub.no/np/schema/npd#shareHolder> 753 + <http://www.reportinghub.no/np/schema/npd#percentageOfShare>
746 ] ; 754 ] ;
747 spinmap:rule 755 spinmap:rule
748 [ rdf:type spinmap:Mapping-1-1 ; 756 [ rdf:type spinmap:Mapping-1-1 ;
749 spinmap:context :Licensee-ShareOfLicence ; 757 spinmap:context :Licensee-ShareOfLicence ;
750 spinmap:expression 758 spinmap:expression
751 - [ rdf:type spif:parseDate ; 759 + [ rdf:type rhspin:licenceById ;
752 - arg:pattern "dd.MM.yyyy" ; 760 + arg:id spin:_arg1
753 - sp:arg1 spin:_arg1
754 ] ; 761 ] ;
755 spinmap:sourcePredicate1 762 spinmap:sourcePredicate1
756 - <file:///www.reportinghub.no/transform/npd/licensee#prlLicenseeDateValidFrom> ; 763 + <file:///www.reportinghub.no/transform/npd/licensee#prlNpdidLicence> ;
757 - spinmap:targetPredicate1
758 - <http://www.reportinghub.no/np/schema/npd#startDate>
759 - ] ;
760 - spinmap:rule
761 - [ rdf:type spinmap:Mapping-0-1 ;
762 - spinmap:context :Licensee-ShareOfLicence ;
763 - spinmap:expression <http://www.reportinghub.no/np/schema/npd#ShareOfLicence> ;
764 spinmap:targetPredicate1 764 spinmap:targetPredicate1
765 - rdf:type 765 + <http://www.reportinghub.no/np/schema/npd#licenceShared>
766 ] . 766 ] .
767 767
768 <file:///www.reportinghub.no/transform/npd/tufoperator#TUFOperator> 768 <file:///www.reportinghub.no/transform/npd/tufoperator#TUFOperator>
769 spinmap:rule 769 spinmap:rule
770 - [ rdf:type spinmap:Mapping-0-1 ; 770 + [ rdf:type spinmap:Mapping-1-1 ;
771 spinmap:context :TUFOperator-TUF ; 771 spinmap:context :TUFOperator-TUF ;
772 - spinmap:expression <http://www.reportinghub.no/np/schema/npd#TUF> ; 772 + spinmap:expression spin:_arg1 ;
773 + spinmap:sourcePredicate1
774 + <file:///www.reportinghub.no/transform/npd/tufoperator#tufName> ;
773 spinmap:targetPredicate1 775 spinmap:targetPredicate1
774 - rdf:type 776 + <http://www.reportinghub.no/np/schema/npd#name>
775 ] ; 777 ] ;
776 spinmap:rule 778 spinmap:rule
777 [ rdf:type spinmap:Mapping-1-1 ; 779 [ rdf:type spinmap:Mapping-1-1 ;
...@@ -783,69 +785,44 @@ ...@@ -783,69 +785,44 @@
783 <http://www.reportinghub.no/np/schema/npd#id> 785 <http://www.reportinghub.no/np/schema/npd#id>
784 ] ; 786 ] ;
785 spinmap:rule 787 spinmap:rule
786 - [ rdf:type spinmap:Mapping-1-1 ; 788 + [ rdf:type spinmap:Mapping-0-1 ;
787 spinmap:context :TUFOperator-TUF ; 789 spinmap:context :TUFOperator-TUF ;
788 - spinmap:expression spin:_arg1 ; 790 + spinmap:expression <http://www.reportinghub.no/np/schema/npd#TUF> ;
789 - spinmap:sourcePredicate1
790 - <file:///www.reportinghub.no/transform/npd/tufoperator#tufName> ;
791 spinmap:targetPredicate1 791 spinmap:targetPredicate1
792 - <http://www.reportinghub.no/np/schema/npd#name> 792 + rdf:type
793 ] . 793 ] .
794 794
795 <file:///www.reportinghub.no/transform/npd/wbdev#WBDev> 795 <file:///www.reportinghub.no/transform/npd/wbdev#WBDev>
796 spinmap:rule 796 spinmap:rule
797 - [ rdf:type spinmap:Mapping-0-1 ;
798 - spinmap:context :WBDev-WellBore ;
799 - spinmap:expression <http://www.reportinghub.no/ep/schema/well#WellBore> ;
800 - spinmap:targetPredicate1
801 - rdf:type
802 - ] ;
803 - spinmap:rule
804 [ rdf:type spinmap:Mapping-1-1 ; 797 [ rdf:type spinmap:Mapping-1-1 ;
805 spinmap:context :WBDev-WellBore ; 798 spinmap:context :WBDev-WellBore ;
806 spinmap:expression 799 spinmap:expression
807 - [ rdf:type spif:parseDate ; 800 + [ rdf:type rhspin:facilityById ;
808 - arg:pattern "dd.MM.yyyy"^^xsd:string ; 801 + arg:id spin:_arg1
809 - sp:arg1 spin:_arg1
810 ] ; 802 ] ;
811 spinmap:sourcePredicate1 803 spinmap:sourcePredicate1
812 - <file:///www.reportinghub.no/transform/npd/wbdev#wlbEntryDate> ; 804 + <file:///www.reportinghub.no/transform/npd/wbdev#fclNpdidFacilityProducing> ;
813 spinmap:targetPredicate1 805 spinmap:targetPredicate1
814 - <http://www.reportinghub.no/np/schema/npd#startDate> 806 + <http://www.reportinghub.no/np/schema/npd#productionFacility>
815 ] ; 807 ] ;
816 spinmap:rule 808 spinmap:rule
817 - [ rdf:type spinmap:Mapping-1-1 ; 809 + [ rdf:type spinmap:Mapping-0-1 ;
818 spinmap:context :WBDev-Well ; 810 spinmap:context :WBDev-Well ;
819 - spinmap:expression spin:_arg1 ; 811 + spinmap:expression <http://www.reportinghub.no/ep/schema/well#Well> ;
820 - spinmap:sourcePredicate1
821 - <file:///www.reportinghub.no/transform/npd/wbdev#wlbWell> ;
822 - spinmap:targetPredicate1
823 - <http://www.reportinghub.no/np/schema/npd#name>
824 - ] ;
825 - spinmap:rule
826 - [ rdf:type spinmap:Mapping-1-1 ;
827 - spinmap:context :WBDev-WellBore ;
828 - spinmap:expression
829 - [ rdf:type spif:parseDate ;
830 - arg:pattern "dd.MM.yyyy"^^xsd:string ;
831 - sp:arg1 spin:_arg1
832 - ] ;
833 - spinmap:sourcePredicate1
834 - <file:///www.reportinghub.no/transform/npd/wbdev#wlbCompletionDate> ;
835 spinmap:targetPredicate1 812 spinmap:targetPredicate1
836 - <http://www.reportinghub.no/np/schema/npd#wellBoreCompletionDate> 813 + rdf:type
837 ] ; 814 ] ;
838 spinmap:rule 815 spinmap:rule
839 [ rdf:type spinmap:Mapping-1-1 ; 816 [ rdf:type spinmap:Mapping-1-1 ;
840 spinmap:context :WBDev-WellBore ; 817 spinmap:context :WBDev-WellBore ;
841 spinmap:expression 818 spinmap:expression
842 - [ rdf:type rhspin:wellByName ; 819 + [ rdf:type rhspin:licenceById ;
843 - arg:wellName spin:_arg1 820 + arg:id spin:_arg1
844 ] ; 821 ] ;
845 spinmap:sourcePredicate1 822 spinmap:sourcePredicate1
846 - <file:///www.reportinghub.no/transform/npd/wbdev#wlbWell> ; 823 + <file:///www.reportinghub.no/transform/npd/wbdev#prlNpdidProductionLicence> ;
847 spinmap:targetPredicate1 824 spinmap:targetPredicate1
848 - <http://www.reportinghub.no/np/schema/npd#partOfWell> 825 + <http://www.reportinghub.no/np/schema/npd#drilledInProductionLicence>
849 ] ; 826 ] ;
850 spinmap:rule 827 spinmap:rule
851 [ rdf:type spinmap:Mapping-1-1 ; 828 [ rdf:type spinmap:Mapping-1-1 ;
...@@ -859,11 +836,14 @@ ...@@ -859,11 +836,14 @@
859 spinmap:rule 836 spinmap:rule
860 [ rdf:type spinmap:Mapping-1-1 ; 837 [ rdf:type spinmap:Mapping-1-1 ;
861 spinmap:context :WBDev-WellBore ; 838 spinmap:context :WBDev-WellBore ;
862 - spinmap:expression spin:_arg1 ; 839 + spinmap:expression
840 + [ rdf:type rhspin:facilityById ;
841 + arg:id spin:_arg1
842 + ] ;
863 spinmap:sourcePredicate1 843 spinmap:sourcePredicate1
864 - <file:///www.reportinghub.no/transform/npd/wbdev#wlbNpdidWellbore> ; 844 + <file:///www.reportinghub.no/transform/npd/wbdev#fclNpdidFacilityDrilling> ;
865 spinmap:targetPredicate1 845 spinmap:targetPredicate1
866 - <http://www.reportinghub.no/np/schema/npd#id> 846 + <http://www.reportinghub.no/np/schema/npd#drillingFacility>
867 ] ; 847 ] ;
868 spinmap:rule 848 spinmap:rule
869 [ rdf:type spinmap:Mapping-1-1 ; 849 [ rdf:type spinmap:Mapping-1-1 ;
...@@ -883,22 +863,13 @@ ...@@ -883,22 +863,13 @@
883 [ rdf:type spinmap:Mapping-1-1 ; 863 [ rdf:type spinmap:Mapping-1-1 ;
884 spinmap:context :WBDev-WellBore ; 864 spinmap:context :WBDev-WellBore ;
885 spinmap:expression 865 spinmap:expression
886 - [ rdf:type rhspin:licenceById ; 866 + [ rdf:type rhspin:wellByName ;
887 - arg:id spin:_arg1 867 + arg:wellName spin:_arg1
888 ] ; 868 ] ;
889 spinmap:sourcePredicate1 869 spinmap:sourcePredicate1
890 - <file:///www.reportinghub.no/transform/npd/wbdev#prlNpdidProductionLicence> ; 870 + <file:///www.reportinghub.no/transform/npd/wbdev#wlbWell> ;
891 - spinmap:targetPredicate1
892 - <http://www.reportinghub.no/np/schema/npd#drilledInProductionLicence>
893 - ] ;
894 - spinmap:rule
895 - [ rdf:type spinmap:Mapping-1-1 ;
896 - spinmap:context :WBDev-WellBore ;
897 - spinmap:expression spin:_arg1 ;
898 - spinmap:sourcePredicate1
899 - <file:///www.reportinghub.no/transform/npd/wbdev#wlbWellType> ;
900 spinmap:targetPredicate1 871 spinmap:targetPredicate1
901 - <http://www.reportinghub.no/np/schema/npd#wellBoreType> 872 + <http://www.reportinghub.no/np/schema/npd#partOfWell>
902 ] ; 873 ] ;
903 spinmap:rule 874 spinmap:rule
904 [ rdf:type spinmap:Mapping-1-1 ; 875 [ rdf:type spinmap:Mapping-1-1 ;
...@@ -915,11 +886,13 @@ ...@@ -915,11 +886,13 @@
915 <http://www.reportinghub.no/np/schema/npd#wellBoreContent> 886 <http://www.reportinghub.no/np/schema/npd#wellBoreContent>
916 ] ; 887 ] ;
917 spinmap:rule 888 spinmap:rule
918 - [ rdf:type spinmap:Mapping-0-1 ; 889 + [ rdf:type spinmap:Mapping-1-1 ;
919 spinmap:context :WBDev-Well ; 890 spinmap:context :WBDev-Well ;
920 - spinmap:expression <http://www.reportinghub.no/ep/schema/well#Well> ; 891 + spinmap:expression spin:_arg1 ;
892 + spinmap:sourcePredicate1
893 + <file:///www.reportinghub.no/transform/npd/wbdev#wlbWell> ;
921 spinmap:targetPredicate1 894 spinmap:targetPredicate1
922 - rdf:type 895 + <http://www.reportinghub.no/np/schema/npd#name>
923 ] ; 896 ] ;
924 spinmap:rule 897 spinmap:rule
925 [ rdf:type spinmap:Mapping-1-1 ; 898 [ rdf:type spinmap:Mapping-1-1 ;
...@@ -934,37 +907,51 @@ ...@@ -934,37 +907,51 @@
934 <http://www.reportinghub.no/np/schema/npd#wellPartOfField> 907 <http://www.reportinghub.no/np/schema/npd#wellPartOfField>
935 ] ; 908 ] ;
936 spinmap:rule 909 spinmap:rule
910 + [ rdf:type spinmap:Mapping-0-1 ;
911 + spinmap:context :WBDev-WellBore ;
912 + spinmap:expression <http://www.reportinghub.no/ep/schema/well#WellBore> ;
913 + spinmap:targetPredicate1
914 + rdf:type
915 + ] ;
916 + spinmap:rule
937 [ rdf:type spinmap:Mapping-1-1 ; 917 [ rdf:type spinmap:Mapping-1-1 ;
938 spinmap:context :WBDev-WellBore ; 918 spinmap:context :WBDev-WellBore ;
939 - spinmap:expression 919 + spinmap:expression spin:_arg1 ;
940 - [ rdf:type rhspin:facilityById ;
941 - arg:id spin:_arg1
942 - ] ;
943 spinmap:sourcePredicate1 920 spinmap:sourcePredicate1
944 - <file:///www.reportinghub.no/transform/npd/wbdev#fclNpdidFacilityDrilling> ; 921 + <file:///www.reportinghub.no/transform/npd/wbdev#wlbWellType> ;
945 spinmap:targetPredicate1 922 spinmap:targetPredicate1
946 - <http://www.reportinghub.no/np/schema/npd#drillingFacility> 923 + <http://www.reportinghub.no/np/schema/npd#wellBoreType>
924 + ] ;
925 + spinmap:rule
926 + [ rdf:type spinmap:Mapping-1-1 ;
927 + spinmap:context :WBDev-WellBore ;
928 + spinmap:expression spin:_arg1 ;
929 + spinmap:sourcePredicate1
930 + <file:///www.reportinghub.no/transform/npd/wbdev#wlbWellboreName> ;
931 + spinmap:targetPredicate1
932 + <http://www.reportinghub.no/np/schema/npd#name>
947 ] ; 933 ] ;
948 spinmap:rule 934 spinmap:rule
949 [ rdf:type spinmap:Mapping-1-1 ; 935 [ rdf:type spinmap:Mapping-1-1 ;
950 spinmap:context :WBDev-WellBore ; 936 spinmap:context :WBDev-WellBore ;
951 spinmap:expression 937 spinmap:expression
952 - [ rdf:type rhspin:facilityById ; 938 + [ rdf:type spif:parseDate ;
953 - arg:id spin:_arg1 939 + arg:pattern "dd.MM.yyyy"^^xsd:string ;
940 + sp:arg1 spin:_arg1
954 ] ; 941 ] ;
955 spinmap:sourcePredicate1 942 spinmap:sourcePredicate1
956 - <file:///www.reportinghub.no/transform/npd/wbdev#fclNpdidFacilityProducing> ; 943 + <file:///www.reportinghub.no/transform/npd/wbdev#wlbEntryDate> ;
957 spinmap:targetPredicate1 944 spinmap:targetPredicate1
958 - <http://www.reportinghub.no/np/schema/npd#productionFacility> 945 + <http://www.reportinghub.no/np/schema/npd#startDate>
959 ] ; 946 ] ;
960 spinmap:rule 947 spinmap:rule
961 [ rdf:type spinmap:Mapping-1-1 ; 948 [ rdf:type spinmap:Mapping-1-1 ;
962 spinmap:context :WBDev-WellBore ; 949 spinmap:context :WBDev-WellBore ;
963 spinmap:expression spin:_arg1 ; 950 spinmap:expression spin:_arg1 ;
964 spinmap:sourcePredicate1 951 spinmap:sourcePredicate1
965 - <file:///www.reportinghub.no/transform/npd/wbdev#wlbWellboreName> ; 952 + <file:///www.reportinghub.no/transform/npd/wbdev#wlbNpdidWellbore> ;
966 spinmap:targetPredicate1 953 spinmap:targetPredicate1
967 - <http://www.reportinghub.no/np/schema/npd#name> 954 + <http://www.reportinghub.no/np/schema/npd#id>
968 ] ; 955 ] ;
969 spinmap:rule 956 spinmap:rule
970 [ rdf:type spinmap:Mapping-1-1 ; 957 [ rdf:type spinmap:Mapping-1-1 ;
...@@ -973,56 +960,50 @@ ...@@ -973,56 +960,50 @@
973 [ rdf:type spinmapl:resourceWithValue ; 960 [ rdf:type spinmapl:resourceWithValue ;
974 sp:arg1 spin:_arg1 ; 961 sp:arg1 spin:_arg1 ;
975 spinmapl:predicate <http://www.reportinghub.no/np/schema/npd#name> ; 962 spinmapl:predicate <http://www.reportinghub.no/np/schema/npd#name> ;
976 - spinmapl:type <http://www.reportinghub.no/ep/schema/organization#Company> 963 + spinmapl:type <http://www.reportinghub.no/ep/schema/organization#Company>
977 - ] ; 964 + ] ;
978 - spinmap:sourcePredicate1 965 + spinmap:sourcePredicate1
979 - <file:///www.reportinghub.no/transform/npd/wbdev#wlbDrillingOperator> ; 966 + <file:///www.reportinghub.no/transform/npd/wbdev#wlbDrillingOperator> ;
980 - spinmap:targetPredicate1
981 - <http://www.reportinghub.no/np/schema/npd#drillingOperator>
982 - ] .
983 -
984 -<file:///www.reportinghub.no/transform/npd/wbexp#WBExp>
985 - spinmap:rule
986 - [ rdf:type spinmap:Mapping-0-1 ;
987 - spinmap:context :WBExp-Well ;
988 - spinmap:expression <http://www.reportinghub.no/ep/schema/well#Well> ;
989 spinmap:targetPredicate1 967 spinmap:targetPredicate1
990 - rdf:type 968 + <http://www.reportinghub.no/np/schema/npd#drillingOperator>
991 ] ; 969 ] ;
992 spinmap:rule 970 spinmap:rule
993 [ rdf:type spinmap:Mapping-1-1 ; 971 [ rdf:type spinmap:Mapping-1-1 ;
994 - spinmap:context :WBExp-WellBore ; 972 + spinmap:context :WBDev-WellBore ;
995 spinmap:expression 973 spinmap:expression
996 [ rdf:type spif:parseDate ; 974 [ rdf:type spif:parseDate ;
997 arg:pattern "dd.MM.yyyy"^^xsd:string ; 975 arg:pattern "dd.MM.yyyy"^^xsd:string ;
998 sp:arg1 spin:_arg1 976 sp:arg1 spin:_arg1
999 ] ; 977 ] ;
1000 spinmap:sourcePredicate1 978 spinmap:sourcePredicate1
1001 - <file:///www.reportinghub.no/transform/npd/wbexp#wlbCompletionDate> ; 979 + <file:///www.reportinghub.no/transform/npd/wbdev#wlbCompletionDate> ;
1002 spinmap:targetPredicate1 980 spinmap:targetPredicate1
1003 <http://www.reportinghub.no/np/schema/npd#wellBoreCompletionDate> 981 <http://www.reportinghub.no/np/schema/npd#wellBoreCompletionDate>
1004 - ] ; 982 + ] .
983 +
984 +<file:///www.reportinghub.no/transform/npd/wbexp#WBExp>
1005 spinmap:rule 985 spinmap:rule
1006 [ rdf:type spinmap:Mapping-1-1 ; 986 [ rdf:type spinmap:Mapping-1-1 ;
1007 spinmap:context :WBExp-WellBore ; 987 spinmap:context :WBExp-WellBore ;
1008 spinmap:expression 988 spinmap:expression
1009 - [ rdf:type spif:parseDate ; 989 + [ rdf:type spinmapl:resourceWithValue ;
1010 - arg:pattern "dd.MM.yyyy"^^xsd:string ; 990 + sp:arg1 spin:_arg1 ;
1011 - sp:arg1 spin:_arg1 991 + spinmapl:predicate <http://www.reportinghub.no/np/schema/npd#code> ;
992 + spinmapl:type <http://www.reportinghub.no/np/schema/npd#ExplorationWellBorePurpose>
1012 ] ; 993 ] ;
1013 spinmap:sourcePredicate1 994 spinmap:sourcePredicate1
1014 - <file:///www.reportinghub.no/transform/npd/wbexp#wlbEntryDate> ; 995 + <file:///www.reportinghub.no/transform/npd/wbexp#wlbPurpose> ;
1015 spinmap:targetPredicate1 996 spinmap:targetPredicate1
1016 - <http://www.reportinghub.no/np/schema/npd#startDate> 997 + <http://www.reportinghub.no/np/schema/npd#wellBorePurpose>
1017 ] ; 998 ] ;
1018 spinmap:rule 999 spinmap:rule
1019 [ rdf:type spinmap:Mapping-1-1 ; 1000 [ rdf:type spinmap:Mapping-1-1 ;
1020 spinmap:context :WBExp-WellBore ; 1001 spinmap:context :WBExp-WellBore ;
1021 spinmap:expression spin:_arg1 ; 1002 spinmap:expression spin:_arg1 ;
1022 spinmap:sourcePredicate1 1003 spinmap:sourcePredicate1
1023 - <file:///www.reportinghub.no/transform/npd/wbexp#wlbNpdidWellbore> ; 1004 + <file:///www.reportinghub.no/transform/npd/wbexp#wlbDrillPermit> ;
1024 spinmap:targetPredicate1 1005 spinmap:targetPredicate1
1025 - <http://www.reportinghub.no/np/schema/npd#id> 1006 + <http://www.reportinghub.no/np/schema/npd#wellBoreDrillPermit>
1026 ] ; 1007 ] ;
1027 spinmap:rule 1008 spinmap:rule
1028 [ rdf:type spinmap:Mapping-1-1 ; 1009 [ rdf:type spinmap:Mapping-1-1 ;
...@@ -1030,32 +1011,25 @@ ...@@ -1030,32 +1011,25 @@
1030 spinmap:expression 1011 spinmap:expression
1031 [ rdf:type spinmapl:resourceWithValue ; 1012 [ rdf:type spinmapl:resourceWithValue ;
1032 sp:arg1 spin:_arg1 ; 1013 sp:arg1 spin:_arg1 ;
1033 - spinmapl:predicate <http://www.reportinghub.no/np/schema/npd#code> ; 1014 + spinmapl:predicate <http://www.reportinghub.no/np/schema/npd#name> ;
1034 - spinmapl:type <http://www.reportinghub.no/np/schema/npd#ExplorationWellBorePurpose> 1015 + spinmapl:type <http://www.reportinghub.no/ep/schema/organization#Company>
1035 ] ; 1016 ] ;
1036 spinmap:sourcePredicate1 1017 spinmap:sourcePredicate1
1037 - <file:///www.reportinghub.no/transform/npd/wbexp#wlbPurpose> ; 1018 + <file:///www.reportinghub.no/transform/npd/wbexp#wlbDrillingOperator> ;
1038 spinmap:targetPredicate1 1019 spinmap:targetPredicate1
1039 - <http://www.reportinghub.no/np/schema/npd#wellBorePurpose> 1020 + <http://www.reportinghub.no/np/schema/npd#drillingOperator>
1040 ] ; 1021 ] ;
1041 spinmap:rule 1022 spinmap:rule
1042 [ rdf:type spinmap:Mapping-1-1 ; 1023 [ rdf:type spinmap:Mapping-1-1 ;
1043 - spinmap:context :WBExp-Well ; 1024 + spinmap:context :WBExp-WellBore ;
1044 spinmap:expression 1025 spinmap:expression
1045 - [ rdf:type rhspin:fieldById ; 1026 + [ rdf:type rhspin:facilityById ;
1046 arg:id spin:_arg1 1027 arg:id spin:_arg1
1047 ] ; 1028 ] ;
1048 spinmap:sourcePredicate1 1029 spinmap:sourcePredicate1
1049 - <file:///www.reportinghub.no/transform/npd/wbexp#fldNpdidField> ; 1030 + <file:///www.reportinghub.no/transform/npd/wbexp#fclNpdidFacilityDrilling> ;
1050 - spinmap:targetPredicate1
1051 - <http://www.reportinghub.no/np/schema/npd#wellPartOfField>
1052 - ] ;
1053 - spinmap:rule
1054 - [ rdf:type spinmap:Mapping-0-1 ;
1055 - spinmap:context :WBExp-WellBore ;
1056 - spinmap:expression <http://www.reportinghub.no/ep/schema/well#WellBore> ;
1057 spinmap:targetPredicate1 1031 spinmap:targetPredicate1
1058 - rdf:type 1032 + <http://www.reportinghub.no/np/schema/npd#drillingFacility>
1059 ] ; 1033 ] ;
1060 spinmap:rule 1034 spinmap:rule
1061 [ rdf:type spinmap:Mapping-1-1 ; 1035 [ rdf:type spinmap:Mapping-1-1 ;
...@@ -1075,22 +1049,32 @@ ...@@ -1075,22 +1049,32 @@
1075 [ rdf:type spinmap:Mapping-1-1 ; 1049 [ rdf:type spinmap:Mapping-1-1 ;
1076 spinmap:context :WBExp-WellBore ; 1050 spinmap:context :WBExp-WellBore ;
1077 spinmap:expression 1051 spinmap:expression
1078 - [ rdf:type rhspin:licenceById ; 1052 + [ rdf:type spif:parseDate ;
1079 - arg:id spin:_arg1 1053 + arg:pattern "dd.MM.yyyy"^^xsd:string ;
1054 + sp:arg1 spin:_arg1
1080 ] ; 1055 ] ;
1081 spinmap:sourcePredicate1 1056 spinmap:sourcePredicate1
1082 - <file:///www.reportinghub.no/transform/npd/wbexp#prlNpdidProductionLicence> ; 1057 + <file:///www.reportinghub.no/transform/npd/wbexp#wlbCompletionDate> ;
1083 spinmap:targetPredicate1 1058 spinmap:targetPredicate1
1084 - <http://www.reportinghub.no/np/schema/npd#drilledInProductionLicence> 1059 + <http://www.reportinghub.no/np/schema/npd#wellBoreCompletionDate>
1085 ] ; 1060 ] ;
1086 spinmap:rule 1061 spinmap:rule
1087 [ rdf:type spinmap:Mapping-1-1 ; 1062 [ rdf:type spinmap:Mapping-1-1 ;
1088 spinmap:context :WBExp-WellBore ; 1063 spinmap:context :WBExp-WellBore ;
1089 spinmap:expression spin:_arg1 ; 1064 spinmap:expression spin:_arg1 ;
1090 spinmap:sourcePredicate1 1065 spinmap:sourcePredicate1
1091 - <file:///www.reportinghub.no/transform/npd/wbexp#wlbWellType> ; 1066 + <file:///www.reportinghub.no/transform/npd/wbexp#wlbNpdidWellbore> ;
1092 spinmap:targetPredicate1 1067 spinmap:targetPredicate1
1093 - <http://www.reportinghub.no/np/schema/npd#wellBoreType> 1068 + <http://www.reportinghub.no/np/schema/npd#id>
1069 + ] ;
1070 + spinmap:rule
1071 + [ rdf:type spinmap:Mapping-1-1 ;
1072 + spinmap:context :WBExp-WellBore ;
1073 + spinmap:expression spin:_arg1 ;
1074 + spinmap:sourcePredicate1
1075 + <file:///www.reportinghub.no/transform/npd/wbexp#wlbWellboreName> ;
1076 + spinmap:targetPredicate1
1077 + <http://www.reportinghub.no/np/schema/npd#name>
1094 ] ; 1078 ] ;
1095 spinmap:rule 1079 spinmap:rule
1096 [ rdf:type spinmap:Mapping-1-1 ; 1080 [ rdf:type spinmap:Mapping-1-1 ;
...@@ -1105,45 +1089,61 @@ ...@@ -1105,45 +1089,61 @@
1105 [ rdf:type spinmap:Mapping-1-1 ; 1089 [ rdf:type spinmap:Mapping-1-1 ;
1106 spinmap:context :WBExp-WellBore ; 1090 spinmap:context :WBExp-WellBore ;
1107 spinmap:expression 1091 spinmap:expression
1108 - [ rdf:type spinmapl:resourceWithValue ; 1092 + [ rdf:type spif:parseDate ;
1109 - sp:arg1 spin:_arg1 ; 1093 + arg:pattern "dd.MM.yyyy"^^xsd:string ;
1110 - spinmapl:predicate <http://www.reportinghub.no/np/schema/npd#name> ; 1094 + sp:arg1 spin:_arg1
1111 - spinmapl:type <http://www.reportinghub.no/ep/schema/organization#Company>
1112 ] ; 1095 ] ;
1113 spinmap:sourcePredicate1 1096 spinmap:sourcePredicate1
1114 - <file:///www.reportinghub.no/transform/npd/wbexp#wlbDrillingOperator> ; 1097 + <file:///www.reportinghub.no/transform/npd/wbexp#wlbEntryDate> ;
1115 spinmap:targetPredicate1 1098 spinmap:targetPredicate1
1116 - <http://www.reportinghub.no/np/schema/npd#drillingOperator> 1099 + <http://www.reportinghub.no/np/schema/npd#startDate>
1100 + ] ;
1101 + spinmap:rule
1102 + [ rdf:type spinmap:Mapping-0-1 ;
1103 + spinmap:context :WBExp-WellBore ;
1104 + spinmap:expression <http://www.reportinghub.no/ep/schema/well#WellBore> ;
1105 + spinmap:targetPredicate1
1106 + rdf:type
1107 + ] ;
1108 + spinmap:rule
1109 + [ rdf:type spinmap:Mapping-0-1 ;
1110 + spinmap:context :WBExp-Well ;
1111 + spinmap:expression <http://www.reportinghub.no/ep/schema/well#Well> ;
1112 + spinmap:targetPredicate1
1113 + rdf:type
1117 ] ; 1114 ] ;
1118 spinmap:rule 1115 spinmap:rule
1119 [ rdf:type spinmap:Mapping-1-1 ; 1116 [ rdf:type spinmap:Mapping-1-1 ;
1120 spinmap:context :WBExp-WellBore ; 1117 spinmap:context :WBExp-WellBore ;
1121 spinmap:expression spin:_arg1 ; 1118 spinmap:expression spin:_arg1 ;
1122 spinmap:sourcePredicate1 1119 spinmap:sourcePredicate1
1123 - <file:///www.reportinghub.no/transform/npd/wbexp#wlbWellboreName> ; 1120 + <file:///www.reportinghub.no/transform/npd/wbexp#wlbWellType> ;
1124 spinmap:targetPredicate1 1121 spinmap:targetPredicate1
1125 - <http://www.reportinghub.no/np/schema/npd#name> 1122 + <http://www.reportinghub.no/np/schema/npd#wellBoreType>
1126 ] ; 1123 ] ;
1127 spinmap:rule 1124 spinmap:rule
1128 [ rdf:type spinmap:Mapping-1-1 ; 1125 [ rdf:type spinmap:Mapping-1-1 ;
1129 - spinmap:context :WBExp-WellBore ; 1126 + spinmap:context :WBExp-Well ;
1130 - spinmap:expression spin:_arg1 ; 1127 + spinmap:expression
1128 + [ rdf:type rhspin:fieldById ;
1129 + arg:id spin:_arg1
1130 + ] ;
1131 spinmap:sourcePredicate1 1131 spinmap:sourcePredicate1
1132 - <file:///www.reportinghub.no/transform/npd/wbexp#wlbDrillPermit> ; 1132 + <file:///www.reportinghub.no/transform/npd/wbexp#fldNpdidField> ;
1133 spinmap:targetPredicate1 1133 spinmap:targetPredicate1
1134 - <http://www.reportinghub.no/np/schema/npd#wellBoreDrillPermit> 1134 + <http://www.reportinghub.no/np/schema/npd#wellPartOfField>
1135 ] ; 1135 ] ;
1136 spinmap:rule 1136 spinmap:rule
1137 [ rdf:type spinmap:Mapping-1-1 ; 1137 [ rdf:type spinmap:Mapping-1-1 ;
1138 spinmap:context :WBExp-WellBore ; 1138 spinmap:context :WBExp-WellBore ;
1139 spinmap:expression 1139 spinmap:expression
1140 - [ rdf:type rhspin:facilityById ; 1140 + [ rdf:type rhspin:licenceById ;
1141 arg:id spin:_arg1 1141 arg:id spin:_arg1
1142 ] ; 1142 ] ;
1143 spinmap:sourcePredicate1 1143 spinmap:sourcePredicate1
1144 - <file:///www.reportinghub.no/transform/npd/wbexp#fclNpdidFacilityDrilling> ; 1144 + <file:///www.reportinghub.no/transform/npd/wbexp#prlNpdidProductionLicence> ;
1145 spinmap:targetPredicate1 1145 spinmap:targetPredicate1
1146 - <http://www.reportinghub.no/np/schema/npd#drillingFacility> 1146 + <http://www.reportinghub.no/np/schema/npd#drilledInProductionLicence>
1147 ] ; 1147 ] ;
1148 spinmap:rule 1148 spinmap:rule
1149 [ rdf:type spinmap:Mapping-1-1 ; 1149 [ rdf:type spinmap:Mapping-1-1 ;
...@@ -1160,36 +1160,43 @@ ...@@ -1160,36 +1160,43 @@
1160 1160
1161 <file:///www.reportinghub.no/transform/npd/wbid#WBId> 1161 <file:///www.reportinghub.no/transform/npd/wbid#WBId>
1162 spinmap:rule 1162 spinmap:rule
1163 - [ rdf:type spinmap:Mapping-0-1 ; 1163 + [ rdf:type spinmap:Mapping-1-1 ;
1164 spinmap:context :WBId-Well ; 1164 spinmap:context :WBId-Well ;
1165 - spinmap:expression <http://www.reportinghub.no/ep/schema/well#Well> ; 1165 + spinmap:expression spin:_arg1 ;
1166 + spinmap:sourcePredicate1
1167 + <file:///www.reportinghub.no/transform/npd/wbid#wlbWell> ;
1166 spinmap:targetPredicate1 1168 spinmap:targetPredicate1
1167 - rdf:type 1169 + <http://www.reportinghub.no/ep/schema/core#name>
1168 ] ; 1170 ] ;
1169 spinmap:rule 1171 spinmap:rule
1170 [ rdf:type spinmap:Mapping-1-1 ; 1172 [ rdf:type spinmap:Mapping-1-1 ;
1171 - spinmap:context :WBId-Well ; 1173 + spinmap:context :WBId-WellBore ;
1172 spinmap:expression spin:_arg1 ; 1174 spinmap:expression spin:_arg1 ;
1173 spinmap:sourcePredicate1 1175 spinmap:sourcePredicate1
1174 - <file:///www.reportinghub.no/transform/npd/wbid#wlbWell> ; 1176 + <file:///www.reportinghub.no/transform/npd/wbid#wlbWellboreName> ;
1175 spinmap:targetPredicate1 1177 spinmap:targetPredicate1
1176 - <http://www.reportinghub.no/np/schema/npd#name> 1178 + <http://www.reportinghub.no/ep/schema/core#name>
1177 ] ; 1179 ] ;
1178 spinmap:rule 1180 spinmap:rule
1179 - [ rdf:type spinmap:Mapping-0-1 ; 1181 + [ rdf:type spinmap:Mapping-1-1 ;
1180 spinmap:context :WBId-WellBore ; 1182 spinmap:context :WBId-WellBore ;
1181 - spinmap:expression <http://www.reportinghub.no/ep/schema/well#WellBore> ; 1183 + spinmap:expression
1184 + [ rdf:type rhspin:wellByName ;
1185 + arg:wellName spin:_arg1
1186 + ] ;
1187 + spinmap:sourcePredicate1
1188 + <file:///www.reportinghub.no/transform/npd/wbid#wlbWell> ;
1182 spinmap:targetPredicate1 1189 spinmap:targetPredicate1
1183 - rdf:type 1190 + <http://www.reportinghub.no/np/schema/npd#partOfWell>
1184 ] ; 1191 ] ;
1185 spinmap:rule 1192 spinmap:rule
1186 [ rdf:type spinmap:Mapping-1-1 ; 1193 [ rdf:type spinmap:Mapping-1-1 ;
1187 spinmap:context :WBId-WellBore ; 1194 spinmap:context :WBId-WellBore ;
1188 spinmap:expression spin:_arg1 ; 1195 spinmap:expression spin:_arg1 ;
1189 spinmap:sourcePredicate1 1196 spinmap:sourcePredicate1
1190 - <file:///www.reportinghub.no/transform/npd/wbid#wlbNpdidWellbore> ; 1197 + <file:///www.reportinghub.no/transform/npd/wbid#wlbWellboreName> ;
1191 spinmap:targetPredicate1 1198 spinmap:targetPredicate1
1192 - <http://www.reportinghub.no/np/schema/npd#id> 1199 + <http://www.reportinghub.no/np/schema/npd#name>
1193 ] ; 1200 ] ;
1194 spinmap:rule 1201 spinmap:rule
1195 [ rdf:type spinmap:Mapping-1-1 ; 1202 [ rdf:type spinmap:Mapping-1-1 ;
...@@ -1205,55 +1212,43 @@ ...@@ -1205,55 +1212,43 @@
1205 spinmap:context :WBId-WellBore ; 1212 spinmap:context :WBId-WellBore ;
1206 spinmap:expression spin:_arg1 ; 1213 spinmap:expression spin:_arg1 ;
1207 spinmap:sourcePredicate1 1214 spinmap:sourcePredicate1
1208 - <file:///www.reportinghub.no/transform/npd/wbid#wlbWellboreName> ; 1215 + <file:///www.reportinghub.no/transform/npd/wbid#wlbNpdidWellbore> ;
1209 spinmap:targetPredicate1 1216 spinmap:targetPredicate1
1210 - <http://www.reportinghub.no/np/schema/npd#name> 1217 + <http://www.reportinghub.no/np/schema/npd#id>
1211 ] ; 1218 ] ;
1212 spinmap:rule 1219 spinmap:rule
1213 - [ rdf:type spinmap:Mapping-1-1 ; 1220 + [ rdf:type spinmap:Mapping-0-1 ;
1214 spinmap:context :WBId-WellBore ; 1221 spinmap:context :WBId-WellBore ;
1215 - spinmap:expression 1222 + spinmap:expression <http://www.reportinghub.no/ep/schema/well#WellBore> ;
1216 - [ rdf:type rhspin:wellByName ;
1217 - arg:wellName spin:_arg1
1218 - ] ;
1219 - spinmap:sourcePredicate1
1220 - <file:///www.reportinghub.no/transform/npd/wbid#wlbWell> ;
1221 - spinmap:targetPredicate1
1222 - <http://www.reportinghub.no/np/schema/npd#partOfWell>
1223 - ] .
1224 -
1225 -<file:///www.reportinghub.no/transform/npd/wbsha#WBSha>
1226 - spinmap:rule
1227 - [ rdf:type spinmap:Mapping-1-1 ;
1228 - spinmap:context :WBSha-WellBore ;
1229 - spinmap:expression
1230 - [ rdf:type spinmapl:resourceWithValue ;
1231 - sp:arg1 spin:_arg1 ;
1232 - spinmapl:predicate <http://www.reportinghub.no/np/schema/npd#name> ;
1233 - spinmapl:type <http://www.reportinghub.no/np/schema/npd#Licence>
1234 - ] ;
1235 - spinmap:sourcePredicate1
1236 - <file:///www.reportinghub.no/transform/npd/wbsha#wlbProductionLicence> ;
1237 spinmap:targetPredicate1 1223 spinmap:targetPredicate1
1238 - <http://www.reportinghub.no/np/schema/npd#drilledInProductionLicence> 1224 + rdf:type
1239 ] ; 1225 ] ;
1240 spinmap:rule 1226 spinmap:rule
1241 [ rdf:type spinmap:Mapping-1-1 ; 1227 [ rdf:type spinmap:Mapping-1-1 ;
1242 - spinmap:context :WBSha-WellBore ; 1228 + spinmap:context :WBId-Well ;
1243 spinmap:expression spin:_arg1 ; 1229 spinmap:expression spin:_arg1 ;
1244 spinmap:sourcePredicate1 1230 spinmap:sourcePredicate1
1245 - <file:///www.reportinghub.no/transform/npd/wbsha#wlbDrillPermit> ; 1231 + <file:///www.reportinghub.no/transform/npd/wbid#wlbWell> ;
1246 spinmap:targetPredicate1 1232 spinmap:targetPredicate1
1247 - <http://www.reportinghub.no/np/schema/npd#wellBoreDrillPermit> 1233 + <http://www.reportinghub.no/np/schema/npd#name>
1248 ] ; 1234 ] ;
1249 spinmap:rule 1235 spinmap:rule
1236 + [ rdf:type spinmap:Mapping-0-1 ;
1237 + spinmap:context :WBId-Well ;
1238 + spinmap:expression <http://www.reportinghub.no/ep/schema/well#Well> ;
1239 + spinmap:targetPredicate1
1240 + rdf:type
1241 + ] .
1242 +
1243 +<file:///www.reportinghub.no/transform/npd/wbsha#WBSha>
1244 + spinmap:rule
1250 [ rdf:type spinmap:Mapping-1-1 ; 1245 [ rdf:type spinmap:Mapping-1-1 ;
1251 - spinmap:context :WBSha-WellBore ; 1246 + spinmap:context :WBSha-Well ;
1252 spinmap:expression spin:_arg1 ; 1247 spinmap:expression spin:_arg1 ;
1253 spinmap:sourcePredicate1 1248 spinmap:sourcePredicate1
1254 - <file:///www.reportinghub.no/transform/npd/wbsha#wlbNpdidWellbore> ; 1249 + <file:///www.reportinghub.no/transform/npd/wbsha#wlbWell> ;
1255 spinmap:targetPredicate1 1250 spinmap:targetPredicate1
1256 - <http://www.reportinghub.no/np/schema/npd#id> 1251 + <http://www.reportinghub.no/np/schema/npd#name>
1257 ] ; 1252 ] ;
1258 spinmap:rule 1253 spinmap:rule
1259 [ rdf:type spinmap:Mapping-0-1 ; 1254 [ rdf:type spinmap:Mapping-0-1 ;
...@@ -1275,11 +1270,18 @@ ...@@ -1275,11 +1270,18 @@
1275 <http://www.reportinghub.no/np/schema/npd#partOfWell> 1270 <http://www.reportinghub.no/np/schema/npd#partOfWell>
1276 ] ; 1271 ] ;
1277 spinmap:rule 1272 spinmap:rule
1278 - [ rdf:type spinmap:Mapping-0-1 ; 1273 + [ rdf:type spinmap:Mapping-1-1 ;
1279 - spinmap:context :WBSha-Well ; 1274 + spinmap:context :WBSha-WellBore ;
1280 - spinmap:expression <http://www.reportinghub.no/ep/schema/well#Well> ; 1275 + spinmap:expression
1276 + [ rdf:type spinmapl:resourceWithValue ;
1277 + sp:arg1 spin:_arg1 ;
1278 + spinmapl:predicate <http://www.reportinghub.no/np/schema/npd#name> ;
1279 + spinmapl:type <http://www.reportinghub.no/ep/schema/organization#Company>
1280 + ] ;
1281 + spinmap:sourcePredicate1
1282 + <file:///www.reportinghub.no/transform/npd/wbsha#wlbDrillingOperator> ;
1281 spinmap:targetPredicate1 1283 spinmap:targetPredicate1
1282 - rdf:type 1284 + <http://www.reportinghub.no/np/schema/npd#drillingOperator>
1283 ] ; 1285 ] ;
1284 spinmap:rule 1286 spinmap:rule
1285 [ rdf:type spinmap:Mapping-1-1 ; 1287 [ rdf:type spinmap:Mapping-1-1 ;
...@@ -1296,12 +1298,12 @@ ...@@ -1296,12 +1298,12 @@
1296 ] ; 1298 ] ;
1297 spinmap:rule 1299 spinmap:rule
1298 [ rdf:type spinmap:Mapping-1-1 ; 1300 [ rdf:type spinmap:Mapping-1-1 ;
1299 - spinmap:context :WBSha-Well ; 1301 + spinmap:context :WBSha-WellBore ;
1300 spinmap:expression spin:_arg1 ; 1302 spinmap:expression spin:_arg1 ;
1301 spinmap:sourcePredicate1 1303 spinmap:sourcePredicate1
1302 - <file:///www.reportinghub.no/transform/npd/wbsha#wlbWell> ; 1304 + <file:///www.reportinghub.no/transform/npd/wbsha#wlbDrillPermit> ;
1303 spinmap:targetPredicate1 1305 spinmap:targetPredicate1
1304 - <http://www.reportinghub.no/np/schema/npd#name> 1306 + <http://www.reportinghub.no/np/schema/npd#wellBoreDrillPermit>
1305 ] ; 1307 ] ;
1306 spinmap:rule 1308 spinmap:rule
1307 [ rdf:type spinmap:Mapping-1-1 ; 1309 [ rdf:type spinmap:Mapping-1-1 ;
...@@ -1315,15 +1317,11 @@ ...@@ -1315,15 +1317,11 @@
1315 spinmap:rule 1317 spinmap:rule
1316 [ rdf:type spinmap:Mapping-1-1 ; 1318 [ rdf:type spinmap:Mapping-1-1 ;
1317 spinmap:context :WBSha-WellBore ; 1319 spinmap:context :WBSha-WellBore ;
1318 - spinmap:expression 1320 + spinmap:expression spin:_arg1 ;
1319 - [ rdf:type spif:parseDate ;
1320 - arg:pattern "dd.MM.yyyy"^^xsd:string ;
1321 - sp:arg1 spin:_arg1
1322 - ] ;
1323 spinmap:sourcePredicate1 1321 spinmap:sourcePredicate1
1324 - <file:///www.reportinghub.no/transform/npd/wbsha#wlbCompletionDate> ; 1322 + <file:///www.reportinghub.no/transform/npd/wbsha#wlbNpdidWellbore> ;
1325 spinmap:targetPredicate1 1323 spinmap:targetPredicate1
1326 - <http://www.reportinghub.no/np/schema/npd#wellBoreCompletionDate> 1324 + <http://www.reportinghub.no/np/schema/npd#id>
1327 ] ; 1325 ] ;
1328 spinmap:rule 1326 spinmap:rule
1329 [ rdf:type spinmap:Mapping-1-1 ; 1327 [ rdf:type spinmap:Mapping-1-1 ;
...@@ -1332,12 +1330,32 @@ ...@@ -1332,12 +1330,32 @@
1332 [ rdf:type spinmapl:resourceWithValue ; 1330 [ rdf:type spinmapl:resourceWithValue ;
1333 sp:arg1 spin:_arg1 ; 1331 sp:arg1 spin:_arg1 ;
1334 spinmapl:predicate <http://www.reportinghub.no/np/schema/npd#name> ; 1332 spinmapl:predicate <http://www.reportinghub.no/np/schema/npd#name> ;
1335 - spinmapl:type <http://www.reportinghub.no/ep/schema/organization#Company> 1333 + spinmapl:type <http://www.reportinghub.no/np/schema/npd#Licence>
1336 ] ; 1334 ] ;
1337 spinmap:sourcePredicate1 1335 spinmap:sourcePredicate1
1338 - <file:///www.reportinghub.no/transform/npd/wbsha#wlbDrillingOperator> ; 1336 + <file:///www.reportinghub.no/transform/npd/wbsha#wlbProductionLicence> ;
1339 spinmap:targetPredicate1 1337 spinmap:targetPredicate1
1340 - <http://www.reportinghub.no/np/schema/npd#drillingOperator> 1338 + <http://www.reportinghub.no/np/schema/npd#drilledInProductionLicence>
1339 + ] ;
1340 + spinmap:rule
1341 + [ rdf:type spinmap:Mapping-1-1 ;
1342 + spinmap:context :WBSha-WellBore ;
1343 + spinmap:expression
1344 + [ rdf:type spif:parseDate ;
1345 + arg:pattern "dd.MM.yyyy"^^xsd:string ;
1346 + sp:arg1 spin:_arg1
1347 + ] ;
1348 + spinmap:sourcePredicate1
1349 + <file:///www.reportinghub.no/transform/npd/wbsha#wlbCompletionDate> ;
1350 + spinmap:targetPredicate1
1351 + <http://www.reportinghub.no/np/schema/npd#wellBoreCompletionDate>
1352 + ] ;
1353 + spinmap:rule
1354 + [ rdf:type spinmap:Mapping-0-1 ;
1355 + spinmap:context :WBSha-Well ;
1356 + spinmap:expression <http://www.reportinghub.no/ep/schema/well#Well> ;
1357 + spinmap:targetPredicate1
1358 + rdf:type
1341 ] . 1359 ] .
1342 1360
1343 arg:well 1361 arg:well
......
...@@ -12,11 +12,11 @@ ...@@ -12,11 +12,11 @@
12 [] rdf:type inference:Configuration ; 12 [] rdf:type inference:Configuration ;
13 composite:child 13 composite:child
14 [ rdf:type <http://spinrdf.org/spin#TopSPIN> ; 14 [ rdf:type <http://spinrdf.org/spin#TopSPIN> ;
15 - composite:index "0"^^xsd:int 15 + composite:index "1"^^xsd:int
16 ] ; 16 ] ;
17 composite:child 17 composite:child
18 [ rdf:type <http://spinrdf.org/spin#TopSPIN> ; 18 [ rdf:type <http://spinrdf.org/spin#TopSPIN> ;
19 - composite:index "1"^^xsd:int 19 + composite:index "0"^^xsd:int
20 ] ; 20 ] ;
21 inference:completeMode 21 inference:completeMode
22 "true"^^xsd:boolean ; 22 "true"^^xsd:boolean ;
......
...@@ -25,6 +25,11 @@ ...@@ -25,6 +25,11 @@
25 rdfs:label "company"^^xsd:string ; 25 rdfs:label "company"^^xsd:string ;
26 rdfs:subPropertyOf sp:arg . 26 rdfs:subPropertyOf sp:arg .
27 27
28 +<http://spinrdf.org/arg#companyName>
29 + rdf:type rdf:Property ;
30 + rdfs:label "company name"^^xsd:string ;
31 + rdfs:subPropertyOf sp:arg .
32 +
28 <http://spinrdf.org/arg#id> 33 <http://spinrdf.org/arg#id>
29 rdf:type rdf:Property ; 34 rdf:type rdf:Property ;
30 rdfs:label "id"^^xsd:string ; 35 rdfs:label "id"^^xsd:string ;
...@@ -82,15 +87,15 @@ ...@@ -82,15 +87,15 @@
82 ] ; 87 ] ;
83 spin:constraint 88 spin:constraint
84 [ rdf:type spl:Argument ; 89 [ rdf:type spl:Argument ;
85 - rdfs:comment "The value to match against."^^xsd:string ;
86 - spl:predicate sp:arg1
87 - ] ;
88 - spin:constraint
89 - [ rdf:type spl:Argument ;
90 rdfs:comment "The property that must be used in the result resource."^^xsd:string ; 90 rdfs:comment "The property that must be used in the result resource."^^xsd:string ;
91 spl:predicate <http://topbraid.org/spin/spinmapl#predicate> ; 91 spl:predicate <http://topbraid.org/spin/spinmapl#predicate> ;
92 spl:valueType rdf:Property 92 spl:valueType rdf:Property
93 ] ; 93 ] ;
94 + spin:constraint
95 + [ rdf:type spl:Argument ;
96 + rdfs:comment "The value to match against."^^xsd:string ;
97 + spl:predicate sp:arg1
98 + ] ;
94 spin:returnType rdfs:Resource . 99 spin:returnType rdfs:Resource .
95 100
96 npdata:npd 101 npdata:npd
...@@ -147,6 +152,48 @@ rhspin:GetWellBoresOfWell ...@@ -147,6 +152,48 @@ rhspin:GetWellBoresOfWell
147 spl:valueType <http://www.reportinghub.no/ep/schema/well#Well> 152 spl:valueType <http://www.reportinghub.no/ep/schema/well#Well>
148 ] . 153 ] .
149 154
155 +rhspin:GetWellsOfCompanyName
156 + rdf:type spin:SelectTemplate ;
157 + rdfs:comment "Gets the wells that a company with a given name has access to. Result variables are ?well and ?wellName."^^xsd:string ;
158 + rdfs:label "Get wells of company name"^^xsd:string ;
159 + rdfs:subClassOf spin:SelectTemplates ;
160 + spin:body
161 + [ rdf:type sp:Select ;
162 + sp:distinct "true"^^xsd:boolean ;
163 + sp:orderBy (_:b5) ;
164 + sp:resultVariables (_:b6 _:b5) ;
165 + sp:where ([ rdf:type sp:NamedGraph ;
166 + sp:elements ([ sp:object
167 + [ sp:varName "companyName"^^xsd:string
168 + ] ;
169 + sp:predicate <http://www.reportinghub.no/np/schema/npd#name> ;
170 + sp:subject _:b7
171 + ] [ sp:object <http://www.reportinghub.no/np/schema/npd#OperatingCompany> ;
172 + sp:predicate rdf:type ;
173 + sp:subject _:b7
174 + ] [ sp:object _:b8 ;
175 + sp:predicate rhspin:companyHasLicenceForWellBore ;
176 + sp:subject _:b7
177 + ] [ sp:object _:b6 ;
178 + sp:predicate <http://www.reportinghub.no/np/schema/npd#partOfWell> ;
179 + sp:subject _:b8
180 + ] [ sp:object <http://www.reportinghub.no/ep/schema/well#Well> ;
181 + sp:predicate rdf:type ;
182 + sp:subject _:b6
183 + ] [ sp:object _:b5 ;
184 + sp:predicate <http://www.reportinghub.no/np/schema/npd#name> ;
185 + sp:subject _:b6
186 + ]) ;
187 + sp:graphNameNode npdata:npd
188 + ])
189 + ] ;
190 + spin:constraint
191 + [ rdf:type spl:Argument ;
192 + rdfs:comment "The name of a company."^^xsd:string ;
193 + spl:predicate <http://spinrdf.org/arg#companyName> ;
194 + spl:valueType xsd:string
195 + ] .
196 +
150 rhspin:TableTemplate 197 rhspin:TableTemplate
151 rdf:type rdfs:Class ; 198 rdf:type rdfs:Class ;
152 rdfs:comment "A spin:Template for SELECT queries that are meant to be displayed as a table. The added feature compared to normal templates is the ability to specify headers for the result variables."^^xsd:string ; 199 rdfs:comment "A spin:Template for SELECT queries that are meant to be displayed as a table. The added feature compared to normal templates is the ability to specify headers for the result variables."^^xsd:string ;
...@@ -211,14 +258,14 @@ rhspin:companyHasLicence ...@@ -211,14 +258,14 @@ rhspin:companyHasLicence
211 spin:body 258 spin:body
212 [ rdf:type sp:Select ; 259 [ rdf:type sp:Select ;
213 sp:distinct "true"^^xsd:boolean ; 260 sp:distinct "true"^^xsd:boolean ;
214 - sp:resultVariables (_:b5) ; 261 + sp:resultVariables (_:b9) ;
215 sp:where ([ rdf:type sp:NamedGraph ; 262 sp:where ([ rdf:type sp:NamedGraph ;
216 sp:elements ([ sp:object spin:_arg1 ; 263 sp:elements ([ sp:object spin:_arg1 ;
217 sp:predicate <http://www.reportinghub.no/np/schema/npd#shareHolder> ; 264 sp:predicate <http://www.reportinghub.no/np/schema/npd#shareHolder> ;
218 - sp:subject _:b6 265 + sp:subject _:b10
219 - ] [ sp:object _:b5 ; 266 + ] [ sp:object _:b9 ;
220 sp:predicate <http://www.reportinghub.no/np/schema/npd#licenceShared> ; 267 sp:predicate <http://www.reportinghub.no/np/schema/npd#licenceShared> ;
221 - sp:subject _:b6 268 + sp:subject _:b10
222 ]) ; 269 ]) ;
223 sp:graphNameNode npdata:npd 270 sp:graphNameNode npdata:npd
224 ]) 271 ])
...@@ -239,20 +286,20 @@ rhspin:companyHasLicenceForWellBore ...@@ -239,20 +286,20 @@ rhspin:companyHasLicenceForWellBore
239 spin:body 286 spin:body
240 [ rdf:type sp:Select ; 287 [ rdf:type sp:Select ;
241 sp:distinct "true"^^xsd:boolean ; 288 sp:distinct "true"^^xsd:boolean ;
242 - sp:resultVariables (_:b7) ; 289 + sp:resultVariables (_:b11) ;
243 sp:where ([ rdf:type sp:NamedGraph ; 290 sp:where ([ rdf:type sp:NamedGraph ;
244 sp:elements ([ sp:object spin:_arg1 ; 291 sp:elements ([ sp:object spin:_arg1 ;
245 sp:predicate <http://www.reportinghub.no/np/schema/npd#shareHolder> ; 292 sp:predicate <http://www.reportinghub.no/np/schema/npd#shareHolder> ;
246 - sp:subject _:b8 293 + sp:subject _:b12
247 - ] [ sp:object _:b9 ; 294 + ] [ sp:object _:b13 ;
248 sp:predicate <http://www.reportinghub.no/np/schema/npd#licenceShared> ; 295 sp:predicate <http://www.reportinghub.no/np/schema/npd#licenceShared> ;
249 - sp:subject _:b8 296 + sp:subject _:b12
250 ] [ sp:object <http://www.reportinghub.no/np/schema/npd#LS_Active> ; 297 ] [ sp:object <http://www.reportinghub.no/np/schema/npd#LS_Active> ;
251 sp:predicate <http://www.reportinghub.no/np/schema/npd#licenceStatus> ; 298 sp:predicate <http://www.reportinghub.no/np/schema/npd#licenceStatus> ;
252 - sp:subject _:b9 299 + sp:subject _:b13
253 - ] [ sp:object _:b9 ; 300 + ] [ sp:object _:b13 ;
254 sp:predicate <http://www.reportinghub.no/np/schema/npd#drilledInProductionLicence> ; 301 sp:predicate <http://www.reportinghub.no/np/schema/npd#drilledInProductionLicence> ;
255 - sp:subject _:b7 302 + sp:subject _:b11
256 ]) ; 303 ]) ;
257 sp:graphNameNode npdata:npd 304 sp:graphNameNode npdata:npd
258 ]) 305 ])
...@@ -280,16 +327,16 @@ rhspin:companyWithName ...@@ -280,16 +327,16 @@ rhspin:companyWithName
280 rdfs:subClassOf spin:Functions ; 327 rdfs:subClassOf spin:Functions ;
281 spin:body 328 spin:body
282 [ rdf:type sp:Select ; 329 [ rdf:type sp:Select ;
283 - sp:resultVariables (_:b10) ; 330 + sp:resultVariables (_:b14) ;
284 sp:where ([ rdf:type sp:NamedGraph ; 331 sp:where ([ rdf:type sp:NamedGraph ;
285 sp:elements ([ sp:object 332 sp:elements ([ sp:object
286 [ sp:varName "name"^^xsd:string 333 [ sp:varName "name"^^xsd:string
287 ] ; 334 ] ;
288 sp:predicate <http://www.reportinghub.no/np/schema/npd#name> ; 335 sp:predicate <http://www.reportinghub.no/np/schema/npd#name> ;
289 - sp:subject _:b10 336 + sp:subject _:b14
290 ] [ sp:object <http://www.reportinghub.no/np/schema/npd#OperatingCompany> ; 337 ] [ sp:object <http://www.reportinghub.no/np/schema/npd#OperatingCompany> ;
291 sp:predicate rdf:type ; 338 sp:predicate rdf:type ;
292 - sp:subject _:b10 339 + sp:subject _:b14
293 ]) ; 340 ]) ;
294 sp:graphNameNode npdata:npd 341 sp:graphNameNode npdata:npd
295 ]) 342 ])
...@@ -331,26 +378,26 @@ rhspin:dtypeValue ...@@ -331,26 +378,26 @@ rhspin:dtypeValue
331 rdfs:subClassOf spl:OntologyFunctions ; 378 rdfs:subClassOf spl:OntologyFunctions ;
332 spin:body 379 spin:body
333 [ rdf:type sp:Select ; 380 [ rdf:type sp:Select ;
334 - sp:resultVariables (_:b11) ; 381 + sp:resultVariables (_:b15) ;
335 - sp:where ([ sp:object _:b12 ; 382 + sp:where ([ sp:object _:b16 ;
336 sp:predicate spin:_arg2 ; 383 sp:predicate spin:_arg2 ;
337 sp:subject spin:_arg1 384 sp:subject spin:_arg1
338 - ] [ sp:object _:b11 ; 385 + ] [ sp:object _:b15 ;
339 sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ; 386 sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
340 - sp:subject _:b12 387 + sp:subject _:b16
341 ]) 388 ])
342 ] ; 389 ] ;
343 spin:constraint 390 spin:constraint
344 [ rdf:type spl:Argument ; 391 [ rdf:type spl:Argument ;
345 - rdfs:comment "The predicate that points to the reified value."^^xsd:string ;
346 - spl:predicate sp:arg2 ;
347 - spl:valueType rdf:Property
348 - ] ;
349 - spin:constraint
350 - [ rdf:type spl:Argument ;
351 rdfs:comment "The subject of the value."^^xsd:string ; 392 rdfs:comment "The subject of the value."^^xsd:string ;
352 spl:predicate sp:arg1 ; 393 spl:predicate sp:arg1 ;
353 spl:valueType rdfs:Resource 394 spl:valueType rdfs:Resource
395 + ] ;
396 + spin:constraint
397 + [ rdf:type spl:Argument ;
398 + rdfs:comment "The predicate that points to the reified value."^^xsd:string ;
399 + spl:predicate sp:arg2 ;
400 + spl:valueType rdf:Property
354 ] . 401 ] .
355 402
356 rhspin:facilityById 403 rhspin:facilityById
...@@ -427,9 +474,9 @@ rhspin:licenceForWellBore ...@@ -427,9 +474,9 @@ rhspin:licenceForWellBore
427 rdfs:subClassOf spin:Functions ; 474 rdfs:subClassOf spin:Functions ;
428 spin:body 475 spin:body
429 [ rdf:type sp:Select ; 476 [ rdf:type sp:Select ;
430 - sp:resultVariables (_:b13) ; 477 + sp:resultVariables (_:b17) ;
431 sp:where ([ rdf:type sp:NamedGraph ; 478 sp:where ([ rdf:type sp:NamedGraph ;
432 - sp:elements ([ sp:object _:b13 ; 479 + sp:elements ([ sp:object _:b17 ;
433 sp:predicate <http://www.reportinghub.no/np/schema/npd#drilledInProductionLicence> ; 480 sp:predicate <http://www.reportinghub.no/np/schema/npd#drilledInProductionLicence> ;
434 sp:subject 481 sp:subject
435 [ sp:varName "wellBore"^^xsd:string 482 [ sp:varName "wellBore"^^xsd:string
...@@ -453,7 +500,7 @@ rhspin:normalizeString ...@@ -453,7 +500,7 @@ rhspin:normalizeString
453 rdfs:subClassOf spl:StringFunctions ; 500 rdfs:subClassOf spl:StringFunctions ;
454 spin:body 501 spin:body
455 [ rdf:type sp:Select ; 502 [ rdf:type sp:Select ;
456 - sp:resultVariables (_:b14) ; 503 + sp:resultVariables (_:b18) ;
457 sp:where ([ rdf:type sp:Bind ; 504 sp:where ([ rdf:type sp:Bind ;
458 sp:expression 505 sp:expression
459 [ rdf:type spif:regex ; 506 [ rdf:type spif:regex ;
...@@ -461,67 +508,67 @@ rhspin:normalizeString ...@@ -461,67 +508,67 @@ rhspin:normalizeString
461 sp:arg2 "\\((.*)\\)" ; 508 sp:arg2 "\\((.*)\\)" ;
462 sp:arg3 "" 509 sp:arg3 ""
463 ] ; 510 ] ;
464 - sp:variable _:b15 511 + sp:variable _:b19
465 ] [ rdf:type sp:Bind ; 512 ] [ rdf:type sp:Bind ;
466 sp:expression 513 sp:expression
467 [ rdf:type spif:trim ; 514 [ rdf:type spif:trim ;
468 - sp:arg1 _:b15 515 + sp:arg1 _:b19
469 ] ; 516 ] ;
470 - sp:variable _:b16 517 + sp:variable _:b20
471 ] [ rdf:type sp:Bind ; 518 ] [ rdf:type sp:Bind ;
472 sp:expression 519 sp:expression
473 [ rdf:type spif:encodeURL ; 520 [ rdf:type spif:encodeURL ;
474 - sp:arg1 _:b16 521 + sp:arg1 _:b20
475 ] ; 522 ] ;
476 - sp:variable _:b17 523 + sp:variable _:b21
477 ] [ rdf:type sp:Bind ; 524 ] [ rdf:type sp:Bind ;
478 sp:expression 525 sp:expression
479 [ rdf:type spif:regex ; 526 [ rdf:type spif:regex ;
480 - sp:arg1 _:b17 ; 527 + sp:arg1 _:b21 ;
481 sp:arg2 "%2F" ; 528 sp:arg2 "%2F" ;
482 sp:arg3 "_" 529 sp:arg3 "_"
483 ] ; 530 ] ;
484 - sp:variable _:b18 531 + sp:variable _:b22
485 ] [ rdf:type sp:Bind ; 532 ] [ rdf:type sp:Bind ;
486 sp:expression 533 sp:expression
487 [ rdf:type spif:regex ; 534 [ rdf:type spif:regex ;
488 - sp:arg1 _:b18 ; 535 + sp:arg1 _:b22 ;
489 sp:arg2 "%[0-9A-F][0-9A-F]" ; 536 sp:arg2 "%[0-9A-F][0-9A-F]" ;
490 sp:arg3 "" 537 sp:arg3 ""
491 ] ; 538 ] ;
492 - sp:variable _:b19 539 + sp:variable _:b23
493 ] [ rdf:type sp:Bind ; 540 ] [ rdf:type sp:Bind ;
494 sp:expression 541 sp:expression
495 [ rdf:type spif:regex ; 542 [ rdf:type spif:regex ;
496 - sp:arg1 _:b19 ; 543 + sp:arg1 _:b23 ;
497 sp:arg2 "\\+" ; 544 sp:arg2 "\\+" ;
498 sp:arg3 "_" 545 sp:arg3 "_"
499 ] ; 546 ] ;
500 - sp:variable _:b20 547 + sp:variable _:b24
501 ] [ rdf:type sp:Bind ; 548 ] [ rdf:type sp:Bind ;
502 sp:expression 549 sp:expression
503 [ rdf:type spif:regex ; 550 [ rdf:type spif:regex ;
504 - sp:arg1 _:b20 ; 551 + sp:arg1 _:b24 ;
505 sp:arg2 "_+" ; 552 sp:arg2 "_+" ;
506 sp:arg3 "_" 553 sp:arg3 "_"
507 ] ; 554 ] ;
508 - sp:variable _:b21 555 + sp:variable _:b25
509 ] [ rdf:type sp:Bind ; 556 ] [ rdf:type sp:Bind ;
510 sp:expression 557 sp:expression
511 [ rdf:type spif:regex ; 558 [ rdf:type spif:regex ;
512 - sp:arg1 _:b21 ; 559 + sp:arg1 _:b25 ;
513 sp:arg2 "\\*" ; 560 sp:arg2 "\\*" ;
514 sp:arg3 "" 561 sp:arg3 ""
515 ] ; 562 ] ;
516 - sp:variable _:b22 563 + sp:variable _:b26
517 ] [ rdf:type sp:Bind ; 564 ] [ rdf:type sp:Bind ;
518 sp:expression 565 sp:expression
519 [ rdf:type xsd:string ; 566 [ rdf:type xsd:string ;
520 sp:arg1 [ rdf:type spif:upperCase ; 567 sp:arg1 [ rdf:type spif:upperCase ;
521 - sp:arg1 _:b22 568 + sp:arg1 _:b26
522 ] 569 ]
523 ] ; 570 ] ;
524 - sp:variable _:b14 571 + sp:variable _:b18
525 ]) 572 ])
526 ] ; 573 ] ;
527 spin:constraint 574 spin:constraint
...@@ -538,9 +585,9 @@ rhspin:npdId ...@@ -538,9 +585,9 @@ rhspin:npdId
538 rdfs:subClassOf spl:StringFunctions ; 585 rdfs:subClassOf spl:StringFunctions ;
539 spin:body 586 spin:body
540 [ rdf:type sp:Select ; 587 [ rdf:type sp:Select ;
541 - sp:resultVariables (_:b23) ; 588 + sp:resultVariables (_:b27) ;
542 sp:where ([ rdf:type sp:NamedGraph ; 589 sp:where ([ rdf:type sp:NamedGraph ;
543 - sp:elements ([ sp:object _:b23 ; 590 + sp:elements ([ sp:object _:b27 ;
544 sp:predicate <http://www.reportinghub.no/np/schema/npd#id> ; 591 sp:predicate <http://www.reportinghub.no/np/schema/npd#id> ;
545 sp:subject 592 sp:subject
546 [ sp:varName "resource"^^xsd:string 593 [ sp:varName "resource"^^xsd:string
...@@ -563,9 +610,9 @@ rhspin:npdName ...@@ -563,9 +610,9 @@ rhspin:npdName
563 rdfs:subClassOf spl:StringFunctions ; 610 rdfs:subClassOf spl:StringFunctions ;
564 spin:body 611 spin:body
565 [ rdf:type sp:Select ; 612 [ rdf:type sp:Select ;
566 - sp:resultVariables (_:b24) ; 613 + sp:resultVariables (_:b28) ;
567 sp:where ([ rdf:type sp:NamedGraph ; 614 sp:where ([ rdf:type sp:NamedGraph ;
568 - sp:elements ([ sp:object _:b24 ; 615 + sp:elements ([ sp:object _:b28 ;
569 sp:predicate <http://www.reportinghub.no/np/schema/npd#name> ; 616 sp:predicate <http://www.reportinghub.no/np/schema/npd#name> ;
570 sp:subject 617 sp:subject
571 [ sp:varName "resource"^^xsd:string 618 [ sp:varName "resource"^^xsd:string
...@@ -677,27 +724,27 @@ rhspin:wellBoreByName ...@@ -677,27 +724,27 @@ rhspin:wellBoreByName
677 rdfs:subClassOf spl:URIFunctions ; 724 rdfs:subClassOf spl:URIFunctions ;
678 spin:body 725 spin:body
679 [ rdf:type sp:Select ; 726 [ rdf:type sp:Select ;
680 - sp:resultVariables (_:b25) ; 727 + sp:resultVariables (_:b29) ;
681 sp:where ([ rdf:type sp:NamedGraph ; 728 sp:where ([ rdf:type sp:NamedGraph ;
682 sp:elements ([ rdf:type sp:Union ; 729 sp:elements ([ rdf:type sp:Union ;
683 - sp:elements (([ sp:object _:b26 ; 730 + sp:elements (([ sp:object _:b30 ;
684 sp:predicate <http://www.reportinghub.no/np/schema/npd#name> ; 731 sp:predicate <http://www.reportinghub.no/np/schema/npd#name> ;
685 - sp:subject _:b25 732 + sp:subject _:b29
686 ]) ([ rdf:type sp:Bind ; 733 ]) ([ rdf:type sp:Bind ;
687 sp:expression 734 sp:expression
688 [ rdf:type spif:replaceAll ; 735 [ rdf:type spif:replaceAll ;
689 - sp:arg1 _:b26 ; 736 + sp:arg1 _:b30 ;
690 sp:arg2 "/0" ; 737 sp:arg2 "/0" ;
691 sp:arg3 "/" 738 sp:arg3 "/"
692 ] ; 739 ] ;
693 - sp:variable _:b27 740 + sp:variable _:b31
694 - ] [ sp:object _:b27 ; 741 + ] [ sp:object _:b31 ;
695 sp:predicate <http://www.reportinghub.no/np/schema/npd#name> ; 742 sp:predicate <http://www.reportinghub.no/np/schema/npd#name> ;
696 - sp:subject _:b25 743 + sp:subject _:b29
697 ])) 744 ]))
698 ] [ sp:object <http://www.reportinghub.no/ep/schema/well#WellBore> ; 745 ] [ sp:object <http://www.reportinghub.no/ep/schema/well#WellBore> ;
699 sp:predicate rdf:type ; 746 sp:predicate rdf:type ;
700 - sp:subject _:b25 747 + sp:subject _:b29
701 ]) ; 748 ]) ;
702 sp:graphNameNode npdata:npd 749 sp:graphNameNode npdata:npd
703 ]) 750 ])
...@@ -736,69 +783,81 @@ rhspin:wellByName ...@@ -736,69 +783,81 @@ rhspin:wellByName
736 ] ; 783 ] ;
737 spin:returnType <http://www.reportinghub.no/ep/schema/well#Well> . 784 spin:returnType <http://www.reportinghub.no/ep/schema/well#Well> .
738 785
739 -_:b13 786 +_:b5 sp:varName "wellName"^^xsd:string .
740 - sp:varName "licence"^^xsd:string .
741 787
742 -_:b27 788 +_:b6 sp:varName "well"^^xsd:string .
789 +
790 +_:b8 sp:varName "wellBore"^^xsd:string .
791 +
792 +_:b7 sp:varName "company"^^xsd:string .
793 +
794 +_:b31
743 sp:varName "str"^^xsd:string . 795 sp:varName "str"^^xsd:string .
744 796
745 -_:b26 797 +_:b30
746 sp:varName "wellBoreName"^^xsd:string . 798 sp:varName "wellBoreName"^^xsd:string .
747 799
748 -_:b25 800 +_:b29
749 sp:varName "wellBore"^^xsd:string . 801 sp:varName "wellBore"^^xsd:string .
750 802
751 -_:b24 803 +_:b28
752 sp:varName "name"^^xsd:string . 804 sp:varName "name"^^xsd:string .
753 805
754 -_:b23 806 +_:b27
755 sp:varName "id"^^xsd:string . 807 sp:varName "id"^^xsd:string .
756 808
757 -_:b22 809 +_:b26
758 sp:varName "t4"^^xsd:string . 810 sp:varName "t4"^^xsd:string .
759 811
760 -_:b21 812 +_:b25
761 sp:varName "t3"^^xsd:string . 813 sp:varName "t3"^^xsd:string .
762 814
763 -_:b20 815 +_:b24
764 sp:varName "t2"^^xsd:string . 816 sp:varName "t2"^^xsd:string .
765 817
766 -_:b19 818 +_:b23
767 sp:varName "t1"^^xsd:string . 819 sp:varName "t1"^^xsd:string .
768 820
769 -_:b18 821 +_:b22
770 sp:varName "t0b"^^xsd:string . 822 sp:varName "t0b"^^xsd:string .
771 823
772 -_:b17 824 +_:b21
773 sp:varName "t0a"^^xsd:string . 825 sp:varName "t0a"^^xsd:string .
774 826
775 -_:b16 827 +_:b20
776 sp:varName "s2"^^xsd:string . 828 sp:varName "s2"^^xsd:string .
777 829
778 -_:b15 830 +_:b19
779 sp:varName "s1"^^xsd:string . 831 sp:varName "s1"^^xsd:string .
780 832
781 -_:b14 833 +_:b18
782 sp:varName "normalizedStr"^^xsd:string . 834 sp:varName "normalizedStr"^^xsd:string .
783 835
784 -_:b12 836 +_:b17
837 + sp:varName "licence"^^xsd:string .
838 +
839 +_:b16
785 sp:varName "reif"^^xsd:string . 840 sp:varName "reif"^^xsd:string .
786 841
787 -_:b11 842 +_:b15
788 sp:varName "value"^^xsd:string . 843 sp:varName "value"^^xsd:string .
789 844
790 -_:b10 845 +_:b14
791 sp:varName "company"^^xsd:string . 846 sp:varName "company"^^xsd:string .
792 847
793 -_:b9 sp:varName "licence"^^xsd:string . 848 +_:b13
849 + sp:varName "licence"^^xsd:string .
794 850
795 -_:b8 sp:varName "share"^^xsd:string . 851 +_:b12
852 + sp:varName "share"^^xsd:string .
796 853
797 -_:b7 sp:varName "wellBore"^^xsd:string . 854 +_:b11
855 + sp:varName "wellBore"^^xsd:string .
798 856
799 -_:b6 sp:varName "share"^^xsd:string . 857 +_:b10
858 + sp:varName "share"^^xsd:string .
800 859
801 -_:b5 sp:varName "licence"^^xsd:string . 860 +_:b9 sp:varName "licence"^^xsd:string .
802 861
803 _:b4 sp:varName "wellBore"^^xsd:string . 862 _:b4 sp:varName "wellBore"^^xsd:string .
804 863
......