Holger Knublauch

Clean up & optimization of NPD transform

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