Showing
5 changed files
with
430 additions
and
211 deletions
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
... | @@ -17,6 +17,8 @@ | ... | @@ -17,6 +17,8 @@ |
17 | # imports: file:///www.reportinghub.no/transform/npd/facilityfixed | 17 | # imports: file:///www.reportinghub.no/transform/npd/facilityfixed |
18 | # imports: file:///www.reportinghub.no/transform/npd/discovery | 18 | # imports: file:///www.reportinghub.no/transform/npd/discovery |
19 | # imports: file:///www.reportinghub.no/transform/npd/licence | 19 | # imports: file:///www.reportinghub.no/transform/npd/licence |
20 | +# imports: file:///www.reportinghub.no/transform/npd/baalicensee | ||
21 | +# imports: file:///www.reportinghub.no/transform/npd/baalicensee-2011-07-30 | ||
20 | # imports: file:///www.reportinghub.no/transform/npd/facilityfixed-2011-07-30 | 22 | # imports: file:///www.reportinghub.no/transform/npd/facilityfixed-2011-07-30 |
21 | # imports: http://spinrdf.org/spin | 23 | # imports: http://spinrdf.org/spin |
22 | # imports: file:///www.reportinghub.no/transform/npd/tufoperator | 24 | # imports: file:///www.reportinghub.no/transform/npd/tufoperator |
... | @@ -24,11 +26,13 @@ | ... | @@ -24,11 +26,13 @@ |
24 | @prefix : <http://www.reportinghub.no/transform/spreadsheets2npd#> . | 26 | @prefix : <http://www.reportinghub.no/transform/spreadsheets2npd#> . |
25 | @prefix arg: <http://spinrdf.org/arg#> . | 27 | @prefix arg: <http://spinrdf.org/arg#> . |
26 | @prefix baa-2011-07-30: <file:///www.reportinghub.no/transform/npd/baa-2011-07-30#> . | 28 | @prefix baa-2011-07-30: <file:///www.reportinghub.no/transform/npd/baa-2011-07-30#> . |
29 | +@prefix baalicensee-2011-07-30: <file:///www.reportinghub.no/transform/npd/baalicensee-2011-07-30#> . | ||
27 | @prefix company-2011-07-30: <http://www.reportinghub.no/examples/transform/npd/company-2011-07-30#> . | 30 | @prefix company-2011-07-30: <http://www.reportinghub.no/examples/transform/npd/company-2011-07-30#> . |
28 | @prefix discovery-2011-07-30: <file:///www.reportinghub.no/transform/npd/discovery-2011-07-30#> . | 31 | @prefix discovery-2011-07-30: <file:///www.reportinghub.no/transform/npd/discovery-2011-07-30#> . |
29 | @prefix facilityfixed-2011-07-30: <file:///www.reportinghub.no/transform/npd/facilityfixed-2011-07-30#> . | 32 | @prefix facilityfixed-2011-07-30: <file:///www.reportinghub.no/transform/npd/facilityfixed-2011-07-30#> . |
30 | @prefix facilitymoveable-2011-07-30: <file:///www.reportinghub.no/transform/npd/facilitymoveable-2011-07-30#> . | 33 | @prefix facilitymoveable-2011-07-30: <file:///www.reportinghub.no/transform/npd/facilitymoveable-2011-07-30#> . |
31 | @prefix field-2011-07-30: <http://www.reportinghub.no/transform/npd/field-2011-07-30#> . | 34 | @prefix field-2011-07-30: <http://www.reportinghub.no/transform/npd/field-2011-07-30#> . |
35 | +@prefix fn: <http://www.w3.org/2005/xpath-functions#> . | ||
32 | @prefix license-2011-07-30: <file:///www.reportinghub.no/transform/npd/license-2011-07-30#> . | 36 | @prefix license-2011-07-30: <file:///www.reportinghub.no/transform/npd/license-2011-07-30#> . |
33 | @prefix licensee-2011-07-30: <file:///www.reportinghub.no/transform/npd/licensee-2011-07-30#> . | 37 | @prefix licensee-2011-07-30: <file:///www.reportinghub.no/transform/npd/licensee-2011-07-30#> . |
34 | @prefix npdi: <https://www.reportinghub.no/data/npd/> . | 38 | @prefix npdi: <https://www.reportinghub.no/data/npd/> . |
... | @@ -48,37 +52,31 @@ | ... | @@ -48,37 +52,31 @@ |
48 | 52 | ||
49 | <file:///www.reportinghub.no/examples/transform/npd/licence-2011-07-30.csv#Licence> | 53 | <file:///www.reportinghub.no/examples/transform/npd/licence-2011-07-30.csv#Licence> |
50 | spinmap:rule | 54 | spinmap:rule |
51 | - [ rdf:type spinmap:Mapping-0-1 ; | 55 | + [ rdf:type spinmap:Mapping-1-1 ; |
52 | spinmap:context :License-License ; | 56 | spinmap:context :License-License ; |
53 | - spinmap:expression <http://www.reportinghub.no/schema/npd#Licence> ; | 57 | + spinmap:expression spin:_arg1 ; |
58 | + spinmap:sourcePredicate1 | ||
59 | + <file:///www.reportinghub.no/examples/transform/npd/licence-2011-07-30.csv#prlLicensingActivityName> ; | ||
54 | spinmap:targetPredicate1 | 60 | spinmap:targetPredicate1 |
55 | - rdf:type | 61 | + <http://www.reportinghub.no/schema/npd#licensingActivity> |
56 | ] ; | 62 | ] ; |
57 | spinmap:rule | 63 | spinmap:rule |
58 | [ rdf:type spinmap:Mapping-1-1 ; | 64 | [ rdf:type spinmap:Mapping-1-1 ; |
59 | spinmap:context :License-License ; | 65 | spinmap:context :License-License ; |
60 | - spinmap:expression | 66 | + spinmap:expression spin:_arg1 ; |
61 | - [ rdf:type spif:parseDate ; | ||
62 | - arg:pattern "dd.MM.yyyy" ; | ||
63 | - sp:arg1 spin:_arg1 | ||
64 | - ] ; | ||
65 | spinmap:sourcePredicate1 | 67 | spinmap:sourcePredicate1 |
66 | - <file:///www.reportinghub.no/examples/transform/npd/licence-2011-07-30.csv#prlDateGranted> ; | 68 | + <file:///www.reportinghub.no/examples/transform/npd/licence-2011-07-30.csv#prlName> ; |
67 | spinmap:targetPredicate1 | 69 | spinmap:targetPredicate1 |
68 | - <http://www.reportinghub.no/schema/npd#startDate> | 70 | + <http://www.reportinghub.no/schema/npd#name> |
69 | ] ; | 71 | ] ; |
70 | spinmap:rule | 72 | spinmap:rule |
71 | [ rdf:type spinmap:Mapping-1-1 ; | 73 | [ rdf:type spinmap:Mapping-1-1 ; |
72 | spinmap:context :License-License ; | 74 | spinmap:context :License-License ; |
73 | - spinmap:expression | 75 | + spinmap:expression spin:_arg1 ; |
74 | - [ rdf:type spif:parseDate ; | ||
75 | - arg:pattern "dd.MM.yyyy" ; | ||
76 | - sp:arg1 spin:_arg1 | ||
77 | - ] ; | ||
78 | spinmap:sourcePredicate1 | 76 | spinmap:sourcePredicate1 |
79 | - <file:///www.reportinghub.no/examples/transform/npd/licence-2011-07-30.csv#prlDateValidTo> ; | 77 | + <file:///www.reportinghub.no/examples/transform/npd/licence-2011-07-30.csv#prlStatus> ; |
80 | spinmap:targetPredicate1 | 78 | spinmap:targetPredicate1 |
81 | - <http://www.reportinghub.no/schema/npd#endDate> | 79 | + <http://www.reportinghub.no/schema/npd#licenseStatus> |
82 | ] ; | 80 | ] ; |
83 | spinmap:rule | 81 | spinmap:rule |
84 | [ rdf:type spinmap:Mapping-1-1 ; | 82 | [ rdf:type spinmap:Mapping-1-1 ; |
... | @@ -92,29 +90,35 @@ | ... | @@ -92,29 +90,35 @@ |
92 | spinmap:rule | 90 | spinmap:rule |
93 | [ rdf:type spinmap:Mapping-1-1 ; | 91 | [ rdf:type spinmap:Mapping-1-1 ; |
94 | spinmap:context :License-License ; | 92 | spinmap:context :License-License ; |
95 | - spinmap:expression spin:_arg1 ; | 93 | + spinmap:expression |
94 | + [ rdf:type spif:parseDate ; | ||
95 | + arg:pattern "dd.MM.yyyy" ; | ||
96 | + sp:arg1 spin:_arg1 | ||
97 | + ] ; | ||
96 | spinmap:sourcePredicate1 | 98 | spinmap:sourcePredicate1 |
97 | - <file:///www.reportinghub.no/examples/transform/npd/licence-2011-07-30.csv#prlStatus> ; | 99 | + <file:///www.reportinghub.no/examples/transform/npd/licence-2011-07-30.csv#prlDateValidTo> ; |
98 | spinmap:targetPredicate1 | 100 | spinmap:targetPredicate1 |
99 | - <http://www.reportinghub.no/schema/npd#licenseStatus> | 101 | + <http://www.reportinghub.no/schema/npd#endDate> |
100 | ] ; | 102 | ] ; |
101 | spinmap:rule | 103 | spinmap:rule |
102 | [ rdf:type spinmap:Mapping-1-1 ; | 104 | [ rdf:type spinmap:Mapping-1-1 ; |
103 | spinmap:context :License-License ; | 105 | spinmap:context :License-License ; |
104 | - spinmap:expression spin:_arg1 ; | 106 | + spinmap:expression |
107 | + [ rdf:type spif:parseDate ; | ||
108 | + arg:pattern "dd.MM.yyyy" ; | ||
109 | + sp:arg1 spin:_arg1 | ||
110 | + ] ; | ||
105 | spinmap:sourcePredicate1 | 111 | spinmap:sourcePredicate1 |
106 | - <file:///www.reportinghub.no/examples/transform/npd/licence-2011-07-30.csv#prlName> ; | 112 | + <file:///www.reportinghub.no/examples/transform/npd/licence-2011-07-30.csv#prlDateGranted> ; |
107 | spinmap:targetPredicate1 | 113 | spinmap:targetPredicate1 |
108 | - <http://www.reportinghub.no/schema/npd#name> | 114 | + <http://www.reportinghub.no/schema/npd#startDate> |
109 | ] ; | 115 | ] ; |
110 | spinmap:rule | 116 | spinmap:rule |
111 | - [ rdf:type spinmap:Mapping-1-1 ; | 117 | + [ rdf:type spinmap:Mapping-0-1 ; |
112 | spinmap:context :License-License ; | 118 | spinmap:context :License-License ; |
113 | - spinmap:expression spin:_arg1 ; | 119 | + spinmap:expression <http://www.reportinghub.no/schema/npd#Licence> ; |
114 | - spinmap:sourcePredicate1 | ||
115 | - <file:///www.reportinghub.no/examples/transform/npd/licence-2011-07-30.csv#prlLicensingActivityName> ; | ||
116 | spinmap:targetPredicate1 | 120 | spinmap:targetPredicate1 |
117 | - <http://www.reportinghub.no/schema/npd#licensingActivity> | 121 | + rdf:type |
118 | ] . | 122 | ] . |
119 | 123 | ||
120 | <file:///www.reportinghub.no/transform/npd/baa#BAA> | 124 | <file:///www.reportinghub.no/transform/npd/baa#BAA> |
... | @@ -123,22 +127,22 @@ | ... | @@ -123,22 +127,22 @@ |
123 | spinmap:context :BAA-BusinessArrangementArea ; | 127 | spinmap:context :BAA-BusinessArrangementArea ; |
124 | spinmap:expression spin:_arg1 ; | 128 | spinmap:expression spin:_arg1 ; |
125 | spinmap:sourcePredicate1 | 129 | spinmap:sourcePredicate1 |
126 | - <file:///www.reportinghub.no/transform/npd/baa#baaName> ; | 130 | + <file:///www.reportinghub.no/transform/npd/baa#baaNpdidBsnsArrArea> ; |
127 | spinmap:targetPredicate1 | 131 | spinmap:targetPredicate1 |
128 | - <http://www.reportinghub.no/schema/npd#name> | 132 | + <http://www.reportinghub.no/schema/npd#id> |
129 | ] ; | 133 | ] ; |
130 | spinmap:rule | 134 | spinmap:rule |
131 | [ rdf:type spinmap:Mapping-1-1 ; | 135 | [ rdf:type spinmap:Mapping-1-1 ; |
132 | spinmap:context :BAA-BusinessArrangementArea ; | 136 | spinmap:context :BAA-BusinessArrangementArea ; |
133 | spinmap:expression | 137 | spinmap:expression |
134 | - [ rdf:type spif:parseDate ; | 138 | + [ rdf:type spinmapl:resourceWithValue ; |
135 | - arg:pattern "dd.MM.yyyy" ; | 139 | + sp:arg1 spin:_arg1 ; |
136 | - sp:arg1 spin:_arg1 | 140 | + spinmapl:predicate :baaKind |
137 | ] ; | 141 | ] ; |
138 | spinmap:sourcePredicate1 | 142 | spinmap:sourcePredicate1 |
139 | - <file:///www.reportinghub.no/transform/npd/baa#baaDateValidTo> ; | 143 | + <file:///www.reportinghub.no/transform/npd/baa#baaKind> ; |
140 | spinmap:targetPredicate1 | 144 | spinmap:targetPredicate1 |
141 | - <http://www.reportinghub.no/schema/npd#endDate> | 145 | + rdf:type |
142 | ] ; | 146 | ] ; |
143 | spinmap:rule | 147 | spinmap:rule |
144 | [ rdf:type spinmap:Mapping-1-1 ; | 148 | [ rdf:type spinmap:Mapping-1-1 ; |
... | @@ -157,41 +161,109 @@ | ... | @@ -157,41 +161,109 @@ |
157 | [ rdf:type spinmap:Mapping-1-1 ; | 161 | [ rdf:type spinmap:Mapping-1-1 ; |
158 | spinmap:context :BAA-BusinessArrangementArea ; | 162 | spinmap:context :BAA-BusinessArrangementArea ; |
159 | spinmap:expression | 163 | spinmap:expression |
160 | - [ rdf:type spinmapl:resourceWithValue ; | 164 | + [ rdf:type spif:parseDate ; |
161 | - sp:arg1 spin:_arg1 ; | 165 | + arg:pattern "dd.MM.yyyy" ; |
162 | - spinmapl:predicate :baaKind | 166 | + sp:arg1 spin:_arg1 |
163 | ] ; | 167 | ] ; |
164 | spinmap:sourcePredicate1 | 168 | spinmap:sourcePredicate1 |
165 | - <file:///www.reportinghub.no/transform/npd/baa#baaKind> ; | 169 | + <file:///www.reportinghub.no/transform/npd/baa#baaDateValidTo> ; |
166 | spinmap:targetPredicate1 | 170 | spinmap:targetPredicate1 |
167 | - rdf:type | 171 | + <http://www.reportinghub.no/schema/npd#endDate> |
168 | ] ; | 172 | ] ; |
169 | spinmap:rule | 173 | spinmap:rule |
170 | [ rdf:type spinmap:Mapping-1-1 ; | 174 | [ rdf:type spinmap:Mapping-1-1 ; |
171 | spinmap:context :BAA-BusinessArrangementArea ; | 175 | spinmap:context :BAA-BusinessArrangementArea ; |
172 | spinmap:expression spin:_arg1 ; | 176 | spinmap:expression spin:_arg1 ; |
173 | spinmap:sourcePredicate1 | 177 | spinmap:sourcePredicate1 |
174 | - <file:///www.reportinghub.no/transform/npd/baa#baaNpdidBsnsArrArea> ; | 178 | + <file:///www.reportinghub.no/transform/npd/baa#baaName> ; |
175 | spinmap:targetPredicate1 | 179 | spinmap:targetPredicate1 |
176 | - <http://www.reportinghub.no/schema/npd#id> | 180 | + <http://www.reportinghub.no/schema/npd#name> |
177 | ] . | 181 | ] . |
178 | 182 | ||
179 | -<file:///www.reportinghub.no/transform/npd/company#Company> | 183 | +<file:///www.reportinghub.no/transform/npd/baalicensee#BAALicensee> |
180 | spinmap:rule | 184 | spinmap:rule |
181 | [ rdf:type spinmap:Mapping-0-1 ; | 185 | [ rdf:type spinmap:Mapping-0-1 ; |
182 | - spinmap:context :Company-Company ; | 186 | + spinmap:context :BAALicensee-ShareOfBAA ; |
183 | - spinmap:expression <http://www.reportinghub.no/schema/npd#Company> ; | 187 | + spinmap:expression <http://www.reportinghub.no/schema/npd#ShareOfBAA> ; |
184 | spinmap:targetPredicate1 | 188 | spinmap:targetPredicate1 |
185 | rdf:type | 189 | rdf:type |
186 | ] ; | 190 | ] ; |
187 | spinmap:rule | 191 | spinmap:rule |
188 | [ rdf:type spinmap:Mapping-1-1 ; | 192 | [ rdf:type spinmap:Mapping-1-1 ; |
193 | + spinmap:context :BAALicensee-ShareOfBAA ; | ||
194 | + spinmap:expression | ||
195 | + [ rdf:type spinmapl:resourceWithValue ; | ||
196 | + sp:arg1 spin:_arg1 ; | ||
197 | + spinmapl:predicate <http://www.reportinghub.no/schema/npd#name> ; | ||
198 | + spinmapl:type <http://www.reportinghub.no/schema/npd#BusinessArrangementArea> | ||
199 | + ] ; | ||
200 | + spinmap:sourcePredicate1 | ||
201 | + <file:///www.reportinghub.no/transform/npd/baalicensee#baaName> ; | ||
202 | + spinmap:targetPredicate1 | ||
203 | + <http://www.reportinghub.no/schema/npd#baaShared> | ||
204 | + ] ; | ||
205 | + spinmap:rule | ||
206 | + [ rdf:type spinmap:Mapping-1-1 ; | ||
207 | + spinmap:context :BAALicensee-ShareOfBAA ; | ||
208 | + spinmap:expression | ||
209 | + [ rdf:type spif:parseDate ; | ||
210 | + arg:pattern "dd.MM.yyyy" ; | ||
211 | + sp:arg1 spin:_arg1 | ||
212 | + ] ; | ||
213 | + spinmap:sourcePredicate1 | ||
214 | + <file:///www.reportinghub.no/transform/npd/baalicensee#baaLicenseeDateValidFrom> ; | ||
215 | + spinmap:targetPredicate1 | ||
216 | + <http://www.reportinghub.no/schema/npd#startDate> | ||
217 | + ] ; | ||
218 | + spinmap:rule | ||
219 | + [ rdf:type spinmap:Mapping-1-1 ; | ||
220 | + spinmap:context :BAALicensee-ShareOfBAA ; | ||
221 | + spinmap:expression | ||
222 | + [ rdf:type spif:parseDate ; | ||
223 | + arg:pattern "dd.MM.yyyy" ; | ||
224 | + sp:arg1 spin:_arg1 | ||
225 | + ] ; | ||
226 | + spinmap:sourcePredicate1 | ||
227 | + <file:///www.reportinghub.no/transform/npd/baalicensee#baaLicenseeDateValidTo> ; | ||
228 | + spinmap:targetPredicate1 | ||
229 | + <http://www.reportinghub.no/schema/npd#endDate> | ||
230 | + ] ; | ||
231 | + spinmap:rule | ||
232 | + [ rdf:type spinmap:Mapping-1-1 ; | ||
233 | + spinmap:context :BAALicensee-ShareOfBAA ; | ||
234 | + spinmap:expression | ||
235 | + [ rdf:type spinmapl:resourceWithValue ; | ||
236 | + sp:arg1 spin:_arg1 ; | ||
237 | + spinmapl:predicate <http://www.reportinghub.no/schema/npd#name> ; | ||
238 | + spinmapl:type <http://www.reportinghub.no/schema/npd#Company> | ||
239 | + ] ; | ||
240 | + spinmap:sourcePredicate1 | ||
241 | + <file:///www.reportinghub.no/transform/npd/baalicensee#cmpLongName> ; | ||
242 | + spinmap:targetPredicate1 | ||
243 | + <http://www.reportinghub.no/schema/npd#shareHolder> | ||
244 | + ] ; | ||
245 | + spinmap:rule | ||
246 | + [ rdf:type spinmap:Mapping-1-1 ; | ||
247 | + spinmap:context :BAALicensee-ShareOfBAA ; | ||
248 | + spinmap:expression | ||
249 | + [ rdf:type xsd:float ; | ||
250 | + sp:arg1 spin:_arg1 | ||
251 | + ] ; | ||
252 | + spinmap:sourcePredicate1 | ||
253 | + <file:///www.reportinghub.no/transform/npd/baalicensee#baaLicenseeInterest> ; | ||
254 | + spinmap:targetPredicate1 | ||
255 | + <http://www.reportinghub.no/schema/npd#percentageOfShare> | ||
256 | + ] . | ||
257 | + | ||
258 | +<file:///www.reportinghub.no/transform/npd/company#Company> | ||
259 | + spinmap:rule | ||
260 | + [ rdf:type spinmap:Mapping-1-1 ; | ||
189 | spinmap:context :Company-Company ; | 261 | spinmap:context :Company-Company ; |
190 | spinmap:expression spin:_arg1 ; | 262 | spinmap:expression spin:_arg1 ; |
191 | spinmap:sourcePredicate1 | 263 | spinmap:sourcePredicate1 |
192 | - <file:///www.reportinghub.no/transform/npd/company#cmpLongName> ; | 264 | + <file:///www.reportinghub.no/transform/npd/company#cmpNpdidCompany> ; |
193 | spinmap:targetPredicate1 | 265 | spinmap:targetPredicate1 |
194 | - <http://www.reportinghub.no/schema/npd#name> | 266 | + <http://www.reportinghub.no/schema/npd#id> |
195 | ] ; | 267 | ] ; |
196 | spinmap:rule | 268 | spinmap:rule |
197 | [ rdf:type spinmap:Mapping-1-1 ; | 269 | [ rdf:type spinmap:Mapping-1-1 ; |
... | @@ -207,15 +279,31 @@ | ... | @@ -207,15 +279,31 @@ |
207 | spinmap:context :Company-Company ; | 279 | spinmap:context :Company-Company ; |
208 | spinmap:expression spin:_arg1 ; | 280 | spinmap:expression spin:_arg1 ; |
209 | spinmap:sourcePredicate1 | 281 | spinmap:sourcePredicate1 |
210 | - <file:///www.reportinghub.no/transform/npd/company#cmpNpdidCompany> ; | 282 | + <file:///www.reportinghub.no/transform/npd/company#cmpLongName> ; |
211 | spinmap:targetPredicate1 | 283 | spinmap:targetPredicate1 |
212 | - <http://www.reportinghub.no/schema/npd#id> | 284 | + <http://www.reportinghub.no/schema/npd#name> |
285 | + ] ; | ||
286 | + spinmap:rule | ||
287 | + [ rdf:type spinmap:Mapping-0-1 ; | ||
288 | + spinmap:context :Company-Company ; | ||
289 | + spinmap:expression <http://www.reportinghub.no/schema/npd#Company> ; | ||
290 | + spinmap:targetPredicate1 | ||
291 | + rdf:type | ||
213 | ] . | 292 | ] . |
214 | 293 | ||
215 | <file:///www.reportinghub.no/transform/npd/discovery#Discovery> | 294 | <file:///www.reportinghub.no/transform/npd/discovery#Discovery> |
216 | spinmap:rule | 295 | spinmap:rule |
217 | [ rdf:type spinmap:Mapping-1-1 ; | 296 | [ rdf:type spinmap:Mapping-1-1 ; |
218 | spinmap:context :Discovery-Discovery ; | 297 | spinmap:context :Discovery-Discovery ; |
298 | + spinmap:expression spin:_arg1 ; | ||
299 | + spinmap:sourcePredicate1 | ||
300 | + <file:///www.reportinghub.no/transform/npd/discovery#nmaName> ; | ||
301 | + spinmap:targetPredicate1 | ||
302 | + <http://www.reportinghub.no/schema/npd#discoveryMainNcsArea> | ||
303 | + ] ; | ||
304 | + spinmap:rule | ||
305 | + [ rdf:type spinmap:Mapping-1-1 ; | ||
306 | + spinmap:context :Discovery-Discovery ; | ||
219 | spinmap:expression | 307 | spinmap:expression |
220 | [ rdf:type rhspin:wellBoreByName ; | 308 | [ rdf:type rhspin:wellBoreByName ; |
221 | arg:wellBoreName spin:_arg1 | 309 | arg:wellBoreName spin:_arg1 |
... | @@ -228,6 +316,18 @@ | ... | @@ -228,6 +316,18 @@ |
228 | spinmap:rule | 316 | spinmap:rule |
229 | [ rdf:type spinmap:Mapping-1-1 ; | 317 | [ rdf:type spinmap:Mapping-1-1 ; |
230 | spinmap:context :Discovery-Discovery ; | 318 | spinmap:context :Discovery-Discovery ; |
319 | + spinmap:expression | ||
320 | + [ rdf:type rhspin:fieldById ; | ||
321 | + arg:id spin:_arg1 | ||
322 | + ] ; | ||
323 | + spinmap:sourcePredicate1 | ||
324 | + <file:///www.reportinghub.no/transform/npd/discovery#fldNpdidField> ; | ||
325 | + spinmap:targetPredicate1 | ||
326 | + <http://www.reportinghub.no/schema/npd#discoveryField> | ||
327 | + ] ; | ||
328 | + spinmap:rule | ||
329 | + [ rdf:type spinmap:Mapping-1-1 ; | ||
330 | + spinmap:context :Discovery-Discovery ; | ||
231 | spinmap:expression spin:_arg1 ; | 331 | spinmap:expression spin:_arg1 ; |
232 | spinmap:sourcePredicate1 | 332 | spinmap:sourcePredicate1 |
233 | <file:///www.reportinghub.no/transform/npd/discovery#dscNpdidDiscovery> ; | 333 | <file:///www.reportinghub.no/transform/npd/discovery#dscNpdidDiscovery> ; |
... | @@ -251,18 +351,16 @@ | ... | @@ -251,18 +351,16 @@ |
251 | spinmap:rule | 351 | spinmap:rule |
252 | [ rdf:type spinmap:Mapping-1-1 ; | 352 | [ rdf:type spinmap:Mapping-1-1 ; |
253 | spinmap:context :Discovery-Discovery ; | 353 | spinmap:context :Discovery-Discovery ; |
254 | - spinmap:expression spin:_arg1 ; | 354 | + spinmap:expression |
255 | - spinmap:sourcePredicate1 | 355 | + [ rdf:type spinmapl:resourceWithValue ; |
256 | - <file:///www.reportinghub.no/transform/npd/discovery#dscCurrentActivityStatus> ; | 356 | + sp:arg1 spin:_arg1 ; |
257 | - spinmap:targetPredicate1 | 357 | + spinmapl:predicate <http://www.reportinghub.no/schema/npd#name> ; |
258 | - <http://www.reportinghub.no/schema/npd#discoveryCurrentActivityStatus> | 358 | + spinmapl:type <http://www.reportinghub.no/schema/npd#Owner> |
259 | ] ; | 359 | ] ; |
260 | - spinmap:rule | 360 | + spinmap:sourcePredicate1 |
261 | - [ rdf:type spinmap:Mapping-0-1 ; | 361 | + <file:///www.reportinghub.no/transform/npd/discovery#dscOwnerName> ; |
262 | - spinmap:context :Discovery-Discovery ; | ||
263 | - spinmap:expression <http://www.reportinghub.no/schema/npd#Discovery> ; | ||
264 | spinmap:targetPredicate1 | 362 | spinmap:targetPredicate1 |
265 | - rdf:type | 363 | + <http://www.reportinghub.no/schema/npd#discoveryOwner> |
266 | ] ; | 364 | ] ; |
267 | spinmap:rule | 365 | spinmap:rule |
268 | [ rdf:type spinmap:Mapping-1-1 ; | 366 | [ rdf:type spinmap:Mapping-1-1 ; |
... | @@ -281,53 +379,34 @@ | ... | @@ -281,53 +379,34 @@ |
281 | spinmap:context :Discovery-Discovery ; | 379 | spinmap:context :Discovery-Discovery ; |
282 | spinmap:expression spin:_arg1 ; | 380 | spinmap:expression spin:_arg1 ; |
283 | spinmap:sourcePredicate1 | 381 | spinmap:sourcePredicate1 |
284 | - <file:///www.reportinghub.no/transform/npd/discovery#dscHcType> ; | 382 | + <file:///www.reportinghub.no/transform/npd/discovery#dscName> ; |
285 | - spinmap:targetPredicate1 | ||
286 | - <http://www.reportinghub.no/schema/npd#discoveryHCType> | ||
287 | - ] ; | ||
288 | - spinmap:rule | ||
289 | - [ rdf:type spinmap:Mapping-1-1 ; | ||
290 | - spinmap:context :Discovery-Discovery ; | ||
291 | - spinmap:expression | ||
292 | - [ rdf:type rhspin:fieldById ; | ||
293 | - arg:id spin:_arg1 | ||
294 | - ] ; | ||
295 | - spinmap:sourcePredicate1 | ||
296 | - <file:///www.reportinghub.no/transform/npd/discovery#fldNpdidField> ; | ||
297 | spinmap:targetPredicate1 | 383 | spinmap:targetPredicate1 |
298 | - <http://www.reportinghub.no/schema/npd#discoveryField> | 384 | + <http://www.reportinghub.no/schema/npd#name> |
299 | ] ; | 385 | ] ; |
300 | spinmap:rule | 386 | spinmap:rule |
301 | [ rdf:type spinmap:Mapping-1-1 ; | 387 | [ rdf:type spinmap:Mapping-1-1 ; |
302 | spinmap:context :Discovery-Discovery ; | 388 | spinmap:context :Discovery-Discovery ; |
303 | - spinmap:expression | 389 | + spinmap:expression spin:_arg1 ; |
304 | - [ rdf:type spinmapl:resourceWithValue ; | ||
305 | - sp:arg1 spin:_arg1 ; | ||
306 | - spinmapl:predicate <http://www.reportinghub.no/schema/npd#name> ; | ||
307 | - spinmapl:type <http://www.reportinghub.no/schema/npd#Owner> | ||
308 | - ] ; | ||
309 | spinmap:sourcePredicate1 | 390 | spinmap:sourcePredicate1 |
310 | - <file:///www.reportinghub.no/transform/npd/discovery#dscOwnerName> ; | 391 | + <file:///www.reportinghub.no/transform/npd/discovery#dscCurrentActivityStatus> ; |
311 | spinmap:targetPredicate1 | 392 | spinmap:targetPredicate1 |
312 | - <http://www.reportinghub.no/schema/npd#discoveryOwner> | 393 | + <http://www.reportinghub.no/schema/npd#discoveryCurrentActivityStatus> |
313 | ] ; | 394 | ] ; |
314 | spinmap:rule | 395 | spinmap:rule |
315 | [ rdf:type spinmap:Mapping-1-1 ; | 396 | [ rdf:type spinmap:Mapping-1-1 ; |
316 | spinmap:context :Discovery-Discovery ; | 397 | spinmap:context :Discovery-Discovery ; |
317 | spinmap:expression spin:_arg1 ; | 398 | spinmap:expression spin:_arg1 ; |
318 | spinmap:sourcePredicate1 | 399 | spinmap:sourcePredicate1 |
319 | - <file:///www.reportinghub.no/transform/npd/discovery#dscName> ; | 400 | + <file:///www.reportinghub.no/transform/npd/discovery#dscHcType> ; |
320 | spinmap:targetPredicate1 | 401 | spinmap:targetPredicate1 |
321 | - <http://www.reportinghub.no/schema/npd#name> | 402 | + <http://www.reportinghub.no/schema/npd#discoveryHCType> |
322 | ] ; | 403 | ] ; |
323 | spinmap:rule | 404 | spinmap:rule |
324 | - [ rdf:type spinmap:Mapping-1-1 ; | 405 | + [ rdf:type spinmap:Mapping-0-1 ; |
325 | spinmap:context :Discovery-Discovery ; | 406 | spinmap:context :Discovery-Discovery ; |
326 | - spinmap:expression spin:_arg1 ; | 407 | + spinmap:expression <http://www.reportinghub.no/schema/npd#Discovery> ; |
327 | - spinmap:sourcePredicate1 | ||
328 | - <file:///www.reportinghub.no/transform/npd/discovery#nmaName> ; | ||
329 | spinmap:targetPredicate1 | 408 | spinmap:targetPredicate1 |
330 | - <http://www.reportinghub.no/schema/npd#discoveryMainNcsArea> | 409 | + rdf:type |
331 | ] . | 410 | ] . |
332 | 411 | ||
333 | <file:///www.reportinghub.no/transform/npd/facilityfixed#FacilityFixed> | 412 | <file:///www.reportinghub.no/transform/npd/facilityfixed#FacilityFixed> |
... | @@ -336,37 +415,40 @@ | ... | @@ -336,37 +415,40 @@ |
336 | spinmap:context :FacilityFixed-FixedFacility ; | 415 | spinmap:context :FacilityFixed-FixedFacility ; |
337 | spinmap:expression spin:_arg1 ; | 416 | spinmap:expression spin:_arg1 ; |
338 | spinmap:sourcePredicate1 | 417 | spinmap:sourcePredicate1 |
339 | - <file:///www.reportinghub.no/transform/npd/facilityfixed#fclKind> ; | 418 | + <file:///www.reportinghub.no/transform/npd/facilityfixed#fclPhase> ; |
340 | spinmap:targetPredicate1 | 419 | spinmap:targetPredicate1 |
341 | - <http://www.reportinghub.no/schema/npd#facilityKind> | 420 | + <http://www.reportinghub.no/schema/npd#fixedFacilityPhase> |
342 | ] ; | 421 | ] ; |
343 | spinmap:rule | 422 | spinmap:rule |
344 | [ rdf:type spinmap:Mapping-1-1 ; | 423 | [ rdf:type spinmap:Mapping-1-1 ; |
345 | spinmap:context :FacilityFixed-FixedFacility ; | 424 | spinmap:context :FacilityFixed-FixedFacility ; |
346 | spinmap:expression | 425 | spinmap:expression |
347 | - [ rdf:type spinmapl:resourceWithValue ; | 426 | + [ rdf:type spif:parseDate ; |
348 | - sp:arg1 spin:_arg1 ; | 427 | + arg:pattern "dd.MM.yyyy" ; |
349 | - spinmapl:predicate <http://www.reportinghub.no/schema/npd#id> ; | 428 | + sp:arg1 spin:_arg1 |
350 | - spinmapl:type <http://www.reportinghub.no/schema/npd#FixedFacilityParent> | ||
351 | ] ; | 429 | ] ; |
352 | spinmap:sourcePredicate1 | 430 | spinmap:sourcePredicate1 |
353 | - <file:///www.reportinghub.no/transform/npd/facilityfixed#fclBelongsToS> ; | 431 | + <file:///www.reportinghub.no/transform/npd/facilityfixed#fclStartupDate> ; |
354 | spinmap:targetPredicate1 | 432 | spinmap:targetPredicate1 |
355 | - <http://www.reportinghub.no/schema/npd#belongsTo> | 433 | + <http://www.reportinghub.no/schema/npd#startDate> |
356 | ] ; | 434 | ] ; |
357 | spinmap:rule | 435 | spinmap:rule |
358 | [ rdf:type spinmap:Mapping-1-1 ; | 436 | [ rdf:type spinmap:Mapping-1-1 ; |
359 | spinmap:context :FacilityFixed-FixedFacility ; | 437 | spinmap:context :FacilityFixed-FixedFacility ; |
360 | - spinmap:expression | 438 | + spinmap:expression spin:_arg1 ; |
361 | - [ rdf:type spinmapl:resourceWithValue ; | 439 | + spinmap:sourcePredicate1 |
362 | - sp:arg1 spin:_arg1 ; | 440 | + <file:///www.reportinghub.no/transform/npd/facilityfixed#fclName> ; |
363 | - spinmapl:predicate <http://www.reportinghub.no/schema/npd#name> ; | 441 | + spinmap:targetPredicate1 |
364 | - spinmapl:type <http://www.reportinghub.no/schema/npd#Company> | 442 | + <http://www.reportinghub.no/schema/npd#name> |
365 | ] ; | 443 | ] ; |
444 | + spinmap:rule | ||
445 | + [ rdf:type spinmap:Mapping-1-1 ; | ||
446 | + spinmap:context :FacilityFixed-FixedFacility ; | ||
447 | + spinmap:expression spin:_arg1 ; | ||
366 | spinmap:sourcePredicate1 | 448 | spinmap:sourcePredicate1 |
367 | - <file:///www.reportinghub.no/transform/npd/facilityfixed#fclCurrentOperatorName> ; | 449 | + <file:///www.reportinghub.no/transform/npd/facilityfixed#fclNpdidFacility> ; |
368 | spinmap:targetPredicate1 | 450 | spinmap:targetPredicate1 |
369 | - <http://www.reportinghub.no/schema/npd#currentOperator> | 451 | + <http://www.reportinghub.no/schema/npd#id> |
370 | ] ; | 452 | ] ; |
371 | spinmap:rule | 453 | spinmap:rule |
372 | [ rdf:type spinmap:Mapping-1-1 ; | 454 | [ rdf:type spinmap:Mapping-1-1 ; |
... | @@ -388,67 +470,57 @@ | ... | @@ -388,67 +470,57 @@ |
388 | spinmap:rule | 470 | spinmap:rule |
389 | [ rdf:type spinmap:Mapping-1-1 ; | 471 | [ rdf:type spinmap:Mapping-1-1 ; |
390 | spinmap:context :FacilityFixed-FixedFacility ; | 472 | spinmap:context :FacilityFixed-FixedFacility ; |
391 | - spinmap:expression spin:_arg1 ; | 473 | + spinmap:expression |
392 | - spinmap:sourcePredicate1 | 474 | + [ rdf:type spinmapl:resourceWithValue ; |
393 | - <file:///www.reportinghub.no/transform/npd/facilityfixed#fclNpdidFacility> ; | 475 | + sp:arg1 spin:_arg1 ; |
394 | - spinmap:targetPredicate1 | 476 | + spinmapl:predicate <http://www.reportinghub.no/schema/npd#name> ; |
395 | - <http://www.reportinghub.no/schema/npd#id> | 477 | + spinmapl:type <http://www.reportinghub.no/schema/npd#Company> |
396 | ] ; | 478 | ] ; |
397 | - spinmap:rule | ||
398 | - [ rdf:type spinmap:Mapping-1-1 ; | ||
399 | - spinmap:context :FacilityFixed-FixedFacility ; | ||
400 | - spinmap:expression spin:_arg1 ; | ||
401 | spinmap:sourcePredicate1 | 479 | spinmap:sourcePredicate1 |
402 | - <file:///www.reportinghub.no/transform/npd/facilityfixed#fclName> ; | 480 | + <file:///www.reportinghub.no/transform/npd/facilityfixed#fclCurrentOperatorName> ; |
403 | spinmap:targetPredicate1 | 481 | spinmap:targetPredicate1 |
404 | - <http://www.reportinghub.no/schema/npd#name> | 482 | + <http://www.reportinghub.no/schema/npd#currentOperator> |
405 | ] ; | 483 | ] ; |
406 | spinmap:rule | 484 | spinmap:rule |
407 | [ rdf:type spinmap:Mapping-1-1 ; | 485 | [ rdf:type spinmap:Mapping-1-1 ; |
408 | spinmap:context :FacilityFixed-FixedFacility ; | 486 | spinmap:context :FacilityFixed-FixedFacility ; |
409 | spinmap:expression | 487 | spinmap:expression |
410 | - [ rdf:type spif:parseDate ; | 488 | + [ rdf:type spinmapl:resourceWithValue ; |
411 | - arg:pattern "dd.MM.yyyy" ; | 489 | + sp:arg1 spin:_arg1 ; |
412 | - sp:arg1 spin:_arg1 | 490 | + spinmapl:predicate <http://www.reportinghub.no/schema/npd#id> ; |
491 | + spinmapl:type <http://www.reportinghub.no/schema/npd#FixedFacilityParent> | ||
413 | ] ; | 492 | ] ; |
414 | spinmap:sourcePredicate1 | 493 | spinmap:sourcePredicate1 |
415 | - <file:///www.reportinghub.no/transform/npd/facilityfixed#fclStartupDate> ; | 494 | + <file:///www.reportinghub.no/transform/npd/facilityfixed#fclBelongsToS> ; |
416 | spinmap:targetPredicate1 | 495 | spinmap:targetPredicate1 |
417 | - <http://www.reportinghub.no/schema/npd#startDate> | 496 | + <http://www.reportinghub.no/schema/npd#belongsTo> |
418 | ] ; | 497 | ] ; |
419 | spinmap:rule | 498 | spinmap:rule |
420 | [ rdf:type spinmap:Mapping-1-1 ; | 499 | [ rdf:type spinmap:Mapping-1-1 ; |
421 | spinmap:context :FacilityFixed-FixedFacility ; | 500 | spinmap:context :FacilityFixed-FixedFacility ; |
422 | spinmap:expression spin:_arg1 ; | 501 | spinmap:expression spin:_arg1 ; |
423 | spinmap:sourcePredicate1 | 502 | spinmap:sourcePredicate1 |
424 | - <file:///www.reportinghub.no/transform/npd/facilityfixed#fclPhase> ; | 503 | + <file:///www.reportinghub.no/transform/npd/facilityfixed#fclKind> ; |
425 | spinmap:targetPredicate1 | 504 | spinmap:targetPredicate1 |
426 | - <http://www.reportinghub.no/schema/npd#fixedFacilityPhase> | 505 | + <http://www.reportinghub.no/schema/npd#facilityKind> |
427 | ] . | 506 | ] . |
428 | 507 | ||
429 | <file:///www.reportinghub.no/transform/npd/facilitymoveable#FacilityMoveable> | 508 | <file:///www.reportinghub.no/transform/npd/facilitymoveable#FacilityMoveable> |
430 | spinmap:rule | 509 | spinmap:rule |
431 | - [ rdf:type spinmap:Mapping-1-1 ; | 510 | + [ rdf:type spinmap:Mapping-0-1 ; |
432 | spinmap:context :FacilityMoveable-MoveableFacility ; | 511 | spinmap:context :FacilityMoveable-MoveableFacility ; |
433 | - spinmap:expression | 512 | + spinmap:expression <http://www.reportinghub.no/schema/npd#MoveableFacility> ; |
434 | - [ rdf:type spinmapl:resourceWithValue ; | ||
435 | - sp:arg1 spin:_arg1 ; | ||
436 | - spinmapl:predicate <http://www.reportinghub.no/schema/npd#name> ; | ||
437 | - spinmapl:type <http://www.reportinghub.no/schema/npd#Company> | ||
438 | - ] ; | ||
439 | - spinmap:sourcePredicate1 | ||
440 | - <file:///www.reportinghub.no/transform/npd/facilitymoveable#fclCurrentRespCompanyName> ; | ||
441 | spinmap:targetPredicate1 | 513 | spinmap:targetPredicate1 |
442 | - <http://www.reportinghub.no/schema/npd#currentlyResponsibleCompany> | 514 | + rdf:type |
443 | ] ; | 515 | ] ; |
444 | spinmap:rule | 516 | spinmap:rule |
445 | [ rdf:type spinmap:Mapping-1-1 ; | 517 | [ rdf:type spinmap:Mapping-1-1 ; |
446 | spinmap:context :FacilityMoveable-MoveableFacility ; | 518 | spinmap:context :FacilityMoveable-MoveableFacility ; |
447 | spinmap:expression spin:_arg1 ; | 519 | spinmap:expression spin:_arg1 ; |
448 | spinmap:sourcePredicate1 | 520 | spinmap:sourcePredicate1 |
449 | - <file:///www.reportinghub.no/transform/npd/facilitymoveable#fclName> ; | 521 | + <file:///www.reportinghub.no/transform/npd/facilitymoveable#fclNpdidFacility> ; |
450 | spinmap:targetPredicate1 | 522 | spinmap:targetPredicate1 |
451 | - <http://www.reportinghub.no/schema/npd#name> | 523 | + <http://www.reportinghub.no/schema/npd#id> |
452 | ] ; | 524 | ] ; |
453 | spinmap:rule | 525 | spinmap:rule |
454 | [ rdf:type spinmap:Mapping-1-1 ; | 526 | [ rdf:type spinmap:Mapping-1-1 ; |
... | @@ -464,101 +536,106 @@ | ... | @@ -464,101 +536,106 @@ |
464 | spinmap:context :FacilityMoveable-MoveableFacility ; | 536 | spinmap:context :FacilityMoveable-MoveableFacility ; |
465 | spinmap:expression spin:_arg1 ; | 537 | spinmap:expression spin:_arg1 ; |
466 | spinmap:sourcePredicate1 | 538 | spinmap:sourcePredicate1 |
467 | - <file:///www.reportinghub.no/transform/npd/facilitymoveable#fclNpdidFacility> ; | 539 | + <file:///www.reportinghub.no/transform/npd/facilitymoveable#fclName> ; |
468 | spinmap:targetPredicate1 | 540 | spinmap:targetPredicate1 |
469 | - <http://www.reportinghub.no/schema/npd#id> | 541 | + <http://www.reportinghub.no/schema/npd#name> |
470 | ] ; | 542 | ] ; |
471 | spinmap:rule | 543 | spinmap:rule |
472 | - [ rdf:type spinmap:Mapping-0-1 ; | 544 | + [ rdf:type spinmap:Mapping-1-1 ; |
473 | spinmap:context :FacilityMoveable-MoveableFacility ; | 545 | spinmap:context :FacilityMoveable-MoveableFacility ; |
474 | - spinmap:expression <http://www.reportinghub.no/schema/npd#MoveableFacility> ; | 546 | + spinmap:expression |
547 | + [ rdf:type spinmapl:resourceWithValue ; | ||
548 | + sp:arg1 spin:_arg1 ; | ||
549 | + spinmapl:predicate <http://www.reportinghub.no/schema/npd#name> ; | ||
550 | + spinmapl:type <http://www.reportinghub.no/schema/npd#Company> | ||
551 | + ] ; | ||
552 | + spinmap:sourcePredicate1 | ||
553 | + <file:///www.reportinghub.no/transform/npd/facilitymoveable#fclCurrentRespCompanyName> ; | ||
475 | spinmap:targetPredicate1 | 554 | spinmap:targetPredicate1 |
476 | - rdf:type | 555 | + <http://www.reportinghub.no/schema/npd#currentlyResponsibleCompany> |
477 | ] . | 556 | ] . |
478 | 557 | ||
479 | <file:///www.reportinghub.no/transform/npd/field#Field> | 558 | <file:///www.reportinghub.no/transform/npd/field#Field> |
480 | spinmap:rule | 559 | spinmap:rule |
560 | + [ rdf:type spinmap:Mapping-0-1 ; | ||
561 | + spinmap:context :Field-Field ; | ||
562 | + spinmap:expression <http://www.reportinghub.no/schema/npd#Field> ; | ||
563 | + spinmap:targetPredicate1 | ||
564 | + rdf:type | ||
565 | + ] ; | ||
566 | + spinmap:rule | ||
481 | [ rdf:type spinmap:Mapping-1-1 ; | 567 | [ rdf:type spinmap:Mapping-1-1 ; |
482 | spinmap:context :Field-Field ; | 568 | spinmap:context :Field-Field ; |
483 | spinmap:expression | 569 | spinmap:expression |
484 | - [ rdf:type spinmapl:resourceWithValue ; | 570 | + [ rdf:type rhspin:companyById ; |
485 | - sp:arg1 spin:_arg1 ; | 571 | + arg:id spin:_arg1 |
486 | - spinmapl:predicate <http://www.reportinghub.no/schema/npd#id> ; | ||
487 | - spinmapl:type <http://www.reportinghub.no/schema/npd#Owner> | ||
488 | ] ; | 572 | ] ; |
489 | spinmap:sourcePredicate1 | 573 | spinmap:sourcePredicate1 |
490 | - <file:///www.reportinghub.no/transform/npd/field#fldNpdidOwner> ; | 574 | + <file:///www.reportinghub.no/transform/npd/field#cmpNpdidCompany> ; |
491 | spinmap:targetPredicate1 | 575 | spinmap:targetPredicate1 |
492 | - <http://www.reportinghub.no/schema/npd#fieldOwner> | 576 | + <http://www.reportinghub.no/schema/npd#fieldOperator> |
493 | ] ; | 577 | ] ; |
494 | spinmap:rule | 578 | spinmap:rule |
495 | [ rdf:type spinmap:Mapping-1-1 ; | 579 | [ rdf:type spinmap:Mapping-1-1 ; |
496 | spinmap:context :Field-Field ; | 580 | spinmap:context :Field-Field ; |
497 | spinmap:expression spin:_arg1 ; | 581 | spinmap:expression spin:_arg1 ; |
498 | spinmap:sourcePredicate1 | 582 | spinmap:sourcePredicate1 |
499 | - <file:///www.reportinghub.no/transform/npd/field#fldCurrentActivitySatus> ; | 583 | + <file:///www.reportinghub.no/transform/npd/field#fldNpdidField> ; |
500 | spinmap:targetPredicate1 | 584 | spinmap:targetPredicate1 |
501 | - <http://www.reportinghub.no/schema/npd#currentActivityStatus> | 585 | + <http://www.reportinghub.no/schema/npd#id> |
502 | ] ; | 586 | ] ; |
503 | spinmap:rule | 587 | spinmap:rule |
504 | [ rdf:type spinmap:Mapping-1-1 ; | 588 | [ rdf:type spinmap:Mapping-1-1 ; |
505 | spinmap:context :Field-Field ; | 589 | spinmap:context :Field-Field ; |
506 | - spinmap:expression | 590 | + spinmap:expression spin:_arg1 ; |
507 | - [ rdf:type rhspin:wellBoreByName ; | ||
508 | - arg:wellBoreName spin:_arg1 | ||
509 | - ] ; | ||
510 | spinmap:sourcePredicate1 | 591 | spinmap:sourcePredicate1 |
511 | - <file:///www.reportinghub.no/transform/npd/field#wlbName> ; | 592 | + <file:///www.reportinghub.no/transform/npd/field#fldName> ; |
512 | spinmap:targetPredicate1 | 593 | spinmap:targetPredicate1 |
513 | - <http://www.reportinghub.no/schema/npd#fieldDiscoveryWellBore> | 594 | + <http://www.reportinghub.no/schema/npd#name> |
514 | ] ; | 595 | ] ; |
515 | spinmap:rule | 596 | spinmap:rule |
516 | [ rdf:type spinmap:Mapping-1-1 ; | 597 | [ rdf:type spinmap:Mapping-1-1 ; |
517 | spinmap:context :Field-Field ; | 598 | spinmap:context :Field-Field ; |
518 | - spinmap:expression spin:_arg1 ; | 599 | + spinmap:expression |
600 | + [ rdf:type rhspin:wellBoreByName ; | ||
601 | + arg:wellBoreName spin:_arg1 | ||
602 | + ] ; | ||
519 | spinmap:sourcePredicate1 | 603 | spinmap:sourcePredicate1 |
520 | - <file:///www.reportinghub.no/transform/npd/field#fldName> ; | 604 | + <file:///www.reportinghub.no/transform/npd/field#wlbName> ; |
521 | spinmap:targetPredicate1 | 605 | spinmap:targetPredicate1 |
522 | - <http://www.reportinghub.no/schema/npd#name> | 606 | + <http://www.reportinghub.no/schema/npd#fieldDiscoveryWellBore> |
523 | ] ; | 607 | ] ; |
524 | spinmap:rule | 608 | spinmap:rule |
525 | [ rdf:type spinmap:Mapping-1-1 ; | 609 | [ rdf:type spinmap:Mapping-1-1 ; |
526 | spinmap:context :Field-Field ; | 610 | spinmap:context :Field-Field ; |
527 | spinmap:expression spin:_arg1 ; | 611 | spinmap:expression spin:_arg1 ; |
528 | spinmap:sourcePredicate1 | 612 | spinmap:sourcePredicate1 |
529 | - <file:///www.reportinghub.no/transform/npd/field#fldNpdidField> ; | 613 | + <file:///www.reportinghub.no/transform/npd/field#fldCurrentActivitySatus> ; |
530 | spinmap:targetPredicate1 | 614 | spinmap:targetPredicate1 |
531 | - <http://www.reportinghub.no/schema/npd#id> | 615 | + <http://www.reportinghub.no/schema/npd#currentActivityStatus> |
532 | ] ; | 616 | ] ; |
533 | spinmap:rule | 617 | spinmap:rule |
534 | [ rdf:type spinmap:Mapping-1-1 ; | 618 | [ rdf:type spinmap:Mapping-1-1 ; |
535 | spinmap:context :Field-Field ; | 619 | spinmap:context :Field-Field ; |
536 | spinmap:expression | 620 | spinmap:expression |
537 | - [ rdf:type rhspin:companyById ; | 621 | + [ rdf:type spinmapl:resourceWithValue ; |
538 | - arg:id spin:_arg1 | 622 | + sp:arg1 spin:_arg1 ; |
623 | + spinmapl:predicate <http://www.reportinghub.no/schema/npd#id> ; | ||
624 | + spinmapl:type <http://www.reportinghub.no/schema/npd#Owner> | ||
539 | ] ; | 625 | ] ; |
540 | spinmap:sourcePredicate1 | 626 | spinmap:sourcePredicate1 |
541 | - <file:///www.reportinghub.no/transform/npd/field#cmpNpdidCompany> ; | 627 | + <file:///www.reportinghub.no/transform/npd/field#fldNpdidOwner> ; |
542 | - spinmap:targetPredicate1 | ||
543 | - <http://www.reportinghub.no/schema/npd#fieldOperator> | ||
544 | - ] ; | ||
545 | - spinmap:rule | ||
546 | - [ rdf:type spinmap:Mapping-0-1 ; | ||
547 | - spinmap:context :Field-Field ; | ||
548 | - spinmap:expression <http://www.reportinghub.no/schema/npd#Field> ; | ||
549 | spinmap:targetPredicate1 | 628 | spinmap:targetPredicate1 |
550 | - rdf:type | 629 | + <http://www.reportinghub.no/schema/npd#fieldOwner> |
551 | ] . | 630 | ] . |
552 | 631 | ||
553 | <file:///www.reportinghub.no/transform/npd/tufoperator#TUFOperator> | 632 | <file:///www.reportinghub.no/transform/npd/tufoperator#TUFOperator> |
554 | spinmap:rule | 633 | spinmap:rule |
555 | - [ rdf:type spinmap:Mapping-1-1 ; | 634 | + [ rdf:type spinmap:Mapping-0-1 ; |
556 | spinmap:context :TUFOperator-TUF ; | 635 | spinmap:context :TUFOperator-TUF ; |
557 | - spinmap:expression spin:_arg1 ; | 636 | + spinmap:expression <http://www.reportinghub.no/schema/npd#TUF> ; |
558 | - spinmap:sourcePredicate1 | ||
559 | - <file:///www.reportinghub.no/transform/npd/tufoperator#tufName> ; | ||
560 | spinmap:targetPredicate1 | 637 | spinmap:targetPredicate1 |
561 | - <http://www.reportinghub.no/schema/npd#name> | 638 | + rdf:type |
562 | ] ; | 639 | ] ; |
563 | spinmap:rule | 640 | spinmap:rule |
564 | [ rdf:type spinmap:Mapping-1-1 ; | 641 | [ rdf:type spinmap:Mapping-1-1 ; |
... | @@ -570,41 +647,40 @@ | ... | @@ -570,41 +647,40 @@ |
570 | <http://www.reportinghub.no/schema/npd#id> | 647 | <http://www.reportinghub.no/schema/npd#id> |
571 | ] ; | 648 | ] ; |
572 | spinmap:rule | 649 | spinmap:rule |
573 | - [ rdf:type spinmap:Mapping-0-1 ; | 650 | + [ rdf:type spinmap:Mapping-1-1 ; |
574 | spinmap:context :TUFOperator-TUF ; | 651 | spinmap:context :TUFOperator-TUF ; |
575 | - spinmap:expression <http://www.reportinghub.no/schema/npd#TUF> ; | 652 | + spinmap:expression spin:_arg1 ; |
653 | + spinmap:sourcePredicate1 | ||
654 | + <file:///www.reportinghub.no/transform/npd/tufoperator#tufName> ; | ||
576 | spinmap:targetPredicate1 | 655 | spinmap:targetPredicate1 |
577 | - rdf:type | 656 | + <http://www.reportinghub.no/schema/npd#name> |
578 | ] . | 657 | ] . |
579 | 658 | ||
580 | <file:///www.reportinghub.no/transform/wellbore-npdid-overview#WBID> | 659 | <file:///www.reportinghub.no/transform/wellbore-npdid-overview#WBID> |
581 | spinmap:rule | 660 | spinmap:rule |
582 | - [ rdf:type spinmap:Mapping-1-1 ; | 661 | + [ rdf:type spinmap:Mapping-0-1 ; |
583 | spinmap:context :WBID-WellBore ; | 662 | spinmap:context :WBID-WellBore ; |
584 | - spinmap:expression | 663 | + spinmap:expression <http://www.reportinghub.no/schema/npd#WellBore> ; |
585 | - [ rdf:type rhspin:wellByName ; | ||
586 | - arg:wellName spin:_arg1 | ||
587 | - ] ; | ||
588 | - spinmap:sourcePredicate1 | ||
589 | - <file:///www.reportinghub.no/transform/wellbore-npdid-overview#wlbWell> ; | ||
590 | spinmap:targetPredicate1 | 664 | spinmap:targetPredicate1 |
591 | - <http://www.reportinghub.no/schema/npd#partOfWell> | 665 | + rdf:type |
592 | ] ; | 666 | ] ; |
593 | spinmap:rule | 667 | spinmap:rule |
594 | [ rdf:type spinmap:Mapping-1-1 ; | 668 | [ rdf:type spinmap:Mapping-1-1 ; |
595 | - spinmap:context :WBID-Well ; | 669 | + spinmap:context :WBID-WellBore ; |
596 | spinmap:expression spin:_arg1 ; | 670 | spinmap:expression spin:_arg1 ; |
597 | spinmap:sourcePredicate1 | 671 | spinmap:sourcePredicate1 |
598 | - <file:///www.reportinghub.no/transform/wellbore-npdid-overview#wlbWell> ; | 672 | + <file:///www.reportinghub.no/transform/wellbore-npdid-overview#wlbNpdidWellbore> ; |
599 | spinmap:targetPredicate1 | 673 | spinmap:targetPredicate1 |
600 | - <http://www.reportinghub.no/schema/npd#name> | 674 | + <http://www.reportinghub.no/schema/npd#id> |
601 | ] ; | 675 | ] ; |
602 | spinmap:rule | 676 | spinmap:rule |
603 | - [ rdf:type spinmap:Mapping-0-1 ; | 677 | + [ rdf:type spinmap:Mapping-1-1 ; |
604 | - spinmap:context :WBID-Well ; | 678 | + spinmap:context :WBID-WellBore ; |
605 | - spinmap:expression <http://www.reportinghub.no/schema/npd#Well> ; | 679 | + spinmap:expression spin:_arg1 ; |
680 | + spinmap:sourcePredicate1 | ||
681 | + <file:///www.reportinghub.no/transform/wellbore-npdid-overview#wlbWellType> ; | ||
606 | spinmap:targetPredicate1 | 682 | spinmap:targetPredicate1 |
607 | - rdf:type | 683 | + <http://www.reportinghub.no/schema/npd#wellBoreType> |
608 | ] ; | 684 | ] ; |
609 | spinmap:rule | 685 | spinmap:rule |
610 | [ rdf:type spinmap:Mapping-1-1 ; | 686 | [ rdf:type spinmap:Mapping-1-1 ; |
... | @@ -616,29 +692,32 @@ | ... | @@ -616,29 +692,32 @@ |
616 | <http://www.reportinghub.no/schema/npd#name> | 692 | <http://www.reportinghub.no/schema/npd#name> |
617 | ] ; | 693 | ] ; |
618 | spinmap:rule | 694 | spinmap:rule |
619 | - [ rdf:type spinmap:Mapping-1-1 ; | 695 | + [ rdf:type spinmap:Mapping-0-1 ; |
620 | - spinmap:context :WBID-WellBore ; | 696 | + spinmap:context :WBID-Well ; |
621 | - spinmap:expression spin:_arg1 ; | 697 | + spinmap:expression <http://www.reportinghub.no/schema/npd#Well> ; |
622 | - spinmap:sourcePredicate1 | ||
623 | - <file:///www.reportinghub.no/transform/wellbore-npdid-overview#wlbWellType> ; | ||
624 | spinmap:targetPredicate1 | 698 | spinmap:targetPredicate1 |
625 | - <http://www.reportinghub.no/schema/npd#wellBoreType> | 699 | + rdf:type |
626 | ] ; | 700 | ] ; |
627 | spinmap:rule | 701 | spinmap:rule |
628 | [ rdf:type spinmap:Mapping-1-1 ; | 702 | [ rdf:type spinmap:Mapping-1-1 ; |
629 | - spinmap:context :WBID-WellBore ; | 703 | + spinmap:context :WBID-Well ; |
630 | spinmap:expression spin:_arg1 ; | 704 | spinmap:expression spin:_arg1 ; |
631 | spinmap:sourcePredicate1 | 705 | spinmap:sourcePredicate1 |
632 | - <file:///www.reportinghub.no/transform/wellbore-npdid-overview#wlbNpdidWellbore> ; | 706 | + <file:///www.reportinghub.no/transform/wellbore-npdid-overview#wlbWell> ; |
633 | spinmap:targetPredicate1 | 707 | spinmap:targetPredicate1 |
634 | - <http://www.reportinghub.no/schema/npd#id> | 708 | + <http://www.reportinghub.no/schema/npd#name> |
635 | ] ; | 709 | ] ; |
636 | spinmap:rule | 710 | spinmap:rule |
637 | - [ rdf:type spinmap:Mapping-0-1 ; | 711 | + [ rdf:type spinmap:Mapping-1-1 ; |
638 | spinmap:context :WBID-WellBore ; | 712 | spinmap:context :WBID-WellBore ; |
639 | - spinmap:expression <http://www.reportinghub.no/schema/npd#WellBore> ; | 713 | + spinmap:expression |
714 | + [ rdf:type rhspin:wellByName ; | ||
715 | + arg:wellName spin:_arg1 | ||
716 | + ] ; | ||
717 | + spinmap:sourcePredicate1 | ||
718 | + <file:///www.reportinghub.no/transform/wellbore-npdid-overview#wlbWell> ; | ||
640 | spinmap:targetPredicate1 | 719 | spinmap:targetPredicate1 |
641 | - rdf:type | 720 | + <http://www.reportinghub.no/schema/npd#partOfWell> |
642 | ] . | 721 | ] . |
643 | 722 | ||
644 | arg:well | 723 | arg:well |
... | @@ -665,7 +744,7 @@ arg:wellName | ... | @@ -665,7 +744,7 @@ arg:wellName |
665 | <http://www.reportinghub.no/transform/spreadsheets2npd> | 744 | <http://www.reportinghub.no/transform/spreadsheets2npd> |
666 | rdf:type owl:Ontology ; | 745 | rdf:type owl:Ontology ; |
667 | rdfs:comment "Takes spreadsheets imported from the NPD fact pages and maps them into the NPD ontology."^^xsd:string ; | 746 | rdfs:comment "Takes spreadsheets imported from the NPD fact pages and maps them into the NPD ontology."^^xsd:string ; |
668 | - owl:imports <file:///www.reportinghub.no/transform/npd/tufoperator> , <file:///www.reportinghub.no/transform/npd/facilitymoveable-2011-07-30> , <http://www.reportinghub.no/transform/npd/tufoperator-2011-07-30> , <http://www.reportinghub.no/transform/npd/field-2011-07-30> , <file:///www.reportinghub.no/transform/npd/discovery> , <http://www.reportinghub.no/1.1/schema/npd> , <file:///www.reportinghub.no/transform/npd/field> , <file:///www.reportinghub.no/transform/npd/discovery-2011-07-30> , <http://topbraid.org/spin/spinmapl> , <file:///www.reportinghub.no/transform/npd/facilityfixed-2011-07-30> , <file:///www.reportinghub.no/transform/npd/licence> , <file:///www.reportinghub.no/transform/npd/facilityfixed> , <http://www.reportinghub.no/spin/rh> , <file:///www.reportinghub.no/transform/npd/baa> , <http://www.reportinghub.no/examples/transform/npd/company-2011-07-30> , <file:///www.reportinghub.no/transform/npd/facilitymoveable> , <file:///www.reportinghub.no/transform/npd/license-2011-07-30> , <file:///www.reportinghub.no/transform/wellbore-npdid-overview> , <file:///www.reportinghub.no/transform/npd/company> , <http://spinrdf.org/spin> , <file:///www.reportinghub.no/transform/npd/baa-2011-07-30> ; | 747 | + owl:imports <file:///www.reportinghub.no/transform/npd/tufoperator> , <file:///www.reportinghub.no/transform/npd/facilitymoveable-2011-07-30> , <http://www.reportinghub.no/transform/npd/tufoperator-2011-07-30> , <http://www.reportinghub.no/transform/npd/field-2011-07-30> , <file:///www.reportinghub.no/transform/npd/discovery> , <http://www.reportinghub.no/1.1/schema/npd> , <file:///www.reportinghub.no/transform/npd/field> , <file:///www.reportinghub.no/transform/npd/discovery-2011-07-30> , <file:///www.reportinghub.no/transform/npd/facilityfixed-2011-07-30> , <file:///www.reportinghub.no/transform/npd/baalicensee> , <http://topbraid.org/spin/spinmapl> , <file:///www.reportinghub.no/transform/npd/licence> , <file:///www.reportinghub.no/transform/npd/facilityfixed> , <http://www.reportinghub.no/spin/rh> , <http://www.reportinghub.no/examples/transform/npd/company-2011-07-30> , <file:///www.reportinghub.no/transform/npd/baa> , <file:///www.reportinghub.no/transform/npd/facilitymoveable> , <file:///www.reportinghub.no/transform/npd/baalicensee-2011-07-30> , <file:///www.reportinghub.no/transform/npd/license-2011-07-30> , <file:///www.reportinghub.no/transform/wellbore-npdid-overview> , <file:///www.reportinghub.no/transform/npd/company> , <http://spinrdf.org/spin> , <file:///www.reportinghub.no/transform/npd/baa-2011-07-30> ; |
669 | owl:versionInfo "0.1.0"^^xsd:string . | 748 | owl:versionInfo "0.1.0"^^xsd:string . |
670 | 749 | ||
671 | :BAA-BusinessArrangementArea | 750 | :BAA-BusinessArrangementArea |
... | @@ -677,6 +756,17 @@ arg:wellName | ... | @@ -677,6 +756,17 @@ arg:wellName |
677 | ] ; | 756 | ] ; |
678 | spinmap:targetClass <http://www.reportinghub.no/schema/npd#BusinessArrangementArea> . | 757 | spinmap:targetClass <http://www.reportinghub.no/schema/npd#BusinessArrangementArea> . |
679 | 758 | ||
759 | +:BAALicensee-ShareOfBAA | ||
760 | + rdf:type spinmap:Context ; | ||
761 | + spinmap:sourceClass <file:///www.reportinghub.no/transform/npd/baalicensee#BAALicensee> ; | ||
762 | + spinmap:target | ||
763 | + [ rdf:type :buildShareOfBAAURI ; | ||
764 | + spinmap:source | ||
765 | + [ sp:varName "source"^^xsd:string | ||
766 | + ] | ||
767 | + ] ; | ||
768 | + spinmap:targetClass <http://www.reportinghub.no/schema/npd#ShareOfBAA> . | ||
769 | + | ||
680 | :Company-Company | 770 | :Company-Company |
681 | rdf:type spinmap:Context ; | 771 | rdf:type spinmap:Context ; |
682 | spinmap:sourceClass <file:///www.reportinghub.no/transform/npd/company#Company> ; | 772 | spinmap:sourceClass <file:///www.reportinghub.no/transform/npd/company#Company> ; |
... | @@ -866,6 +956,49 @@ arg:wellName | ... | @@ -866,6 +956,49 @@ arg:wellName |
866 | sp:where () | 956 | sp:where () |
867 | ] . | 957 | ] . |
868 | 958 | ||
959 | +:buildShareOfBAAURI | ||
960 | + rdf:type spinmap:TargetFunction ; | ||
961 | + rdfs:label "build ShareOfBAA URI"^^xsd:string ; | ||
962 | + rdfs:subClassOf spinmap:TargetFunctions ; | ||
963 | + spin:body | ||
964 | + [ rdf:type sp:Select ; | ||
965 | + sp:resultVariables ([ rdf:type sp:iri ; | ||
966 | + sp:arg1 [ rdf:type fn:concat ; | ||
967 | + sp:arg1 "https://www.reportinghub.no/data/npd/ShareOfBAA-" ; | ||
968 | + sp:arg2 _:b1 ; | ||
969 | + sp:arg3 "_" ; | ||
970 | + sp:arg4 _:b2 ; | ||
971 | + sp:arg5 "_" ; | ||
972 | + sp:arg6 [ rdf:type spif:parseDate ; | ||
973 | + arg:pattern "dd.MM.yyyy" ; | ||
974 | + sp:arg1 _:b3 | ||
975 | + ] | ||
976 | + ] | ||
977 | + ]) ; | ||
978 | + sp:where ([ sp:object _:b3 ; | ||
979 | + sp:predicate <file:///www.reportinghub.no/transform/npd/baalicensee#baaLicenseeDateValidFrom> ; | ||
980 | + sp:subject _:b4 | ||
981 | + ] [ sp:object _:b5 ; | ||
982 | + sp:predicate <file:///www.reportinghub.no/transform/npd/baalicensee#cmpLongName> ; | ||
983 | + sp:subject _:b4 | ||
984 | + ] [ sp:object _:b5 ; | ||
985 | + sp:predicate <file:///www.reportinghub.no/transform/npd/company#cmpLongName> ; | ||
986 | + sp:subject _:b6 | ||
987 | + ] [ sp:object _:b1 ; | ||
988 | + sp:predicate <file:///www.reportinghub.no/transform/npd/company#cmpNpdidCompany> ; | ||
989 | + sp:subject _:b6 | ||
990 | + ] [ sp:object _:b7 ; | ||
991 | + sp:predicate <file:///www.reportinghub.no/transform/npd/baalicensee#baaName> ; | ||
992 | + sp:subject _:b4 | ||
993 | + ] [ sp:object _:b7 ; | ||
994 | + sp:predicate <file:///www.reportinghub.no/transform/npd/baa#baaName> ; | ||
995 | + sp:subject _:b8 | ||
996 | + ] [ sp:object _:b2 ; | ||
997 | + sp:predicate <file:///www.reportinghub.no/transform/npd/baa#baaNpdidBsnsArrArea> ; | ||
998 | + sp:subject _:b8 | ||
999 | + ]) | ||
1000 | + ] . | ||
1001 | + | ||
869 | :buildTUFURI | 1002 | :buildTUFURI |
870 | rdf:type spinmap:TargetFunction ; | 1003 | rdf:type spinmap:TargetFunction ; |
871 | rdfs:label "build TUF URI"^^xsd:string ; | 1004 | rdfs:label "build TUF URI"^^xsd:string ; |
... | @@ -889,9 +1022,9 @@ arg:wellName | ... | @@ -889,9 +1022,9 @@ arg:wellName |
889 | spin:body | 1022 | spin:body |
890 | [ rdf:type sp:Select ; | 1023 | [ rdf:type sp:Select ; |
891 | sp:resultVariables ([ rdf:type rhspin:wellBoreByName ; | 1024 | sp:resultVariables ([ rdf:type rhspin:wellBoreByName ; |
892 | - arg:wellBoreName _:b1 | 1025 | + arg:wellBoreName _:b9 |
893 | ]) ; | 1026 | ]) ; |
894 | - sp:where ([ sp:object _:b1 ; | 1027 | + sp:where ([ sp:object _:b9 ; |
895 | sp:predicate <file:///www.reportinghub.no/transform/wellbore-npdid-overview#wlbWellboreName> ; | 1028 | sp:predicate <file:///www.reportinghub.no/transform/wellbore-npdid-overview#wlbWellboreName> ; |
896 | sp:subject | 1029 | sp:subject |
897 | [ sp:varName "source"^^xsd:string | 1030 | [ sp:varName "source"^^xsd:string |
... | @@ -907,9 +1040,9 @@ arg:wellName | ... | @@ -907,9 +1040,9 @@ arg:wellName |
907 | spin:body | 1040 | spin:body |
908 | [ rdf:type sp:Select ; | 1041 | [ rdf:type sp:Select ; |
909 | sp:resultVariables ([ rdf:type rhspin:wellByName ; | 1042 | sp:resultVariables ([ rdf:type rhspin:wellByName ; |
910 | - arg:wellName _:b2 | 1043 | + arg:wellName _:b10 |
911 | ]) ; | 1044 | ]) ; |
912 | - sp:where ([ sp:object _:b2 ; | 1045 | + sp:where ([ sp:object _:b10 ; |
913 | sp:predicate <file:///www.reportinghub.no/transform/wellbore-npdid-overview#wlbWell> ; | 1046 | sp:predicate <file:///www.reportinghub.no/transform/wellbore-npdid-overview#wlbWell> ; |
914 | sp:subject | 1047 | sp:subject |
915 | [ sp:varName "source"^^xsd:string | 1048 | [ sp:varName "source"^^xsd:string |
... | @@ -917,6 +1050,23 @@ arg:wellName | ... | @@ -917,6 +1050,23 @@ arg:wellName |
917 | ]) | 1050 | ]) |
918 | ] . | 1051 | ] . |
919 | 1052 | ||
920 | -_:b2 sp:varName "wellName"^^xsd:string . | 1053 | +_:b2 sp:varName "baaId"^^xsd:string . |
1054 | + | ||
1055 | +_:b8 sp:varName "baa"^^xsd:string . | ||
1056 | + | ||
1057 | +_:b7 sp:varName "baaName"^^xsd:string . | ||
1058 | + | ||
1059 | +_:b1 sp:varName "companyId"^^xsd:string . | ||
1060 | + | ||
1061 | +_:b6 sp:varName "company"^^xsd:string . | ||
1062 | + | ||
1063 | +_:b5 sp:varName "companyName"^^xsd:string . | ||
1064 | + | ||
1065 | +_:b3 sp:varName "startDate"^^xsd:string . | ||
1066 | + | ||
1067 | +_:b4 sp:varName "source"^^xsd:string . | ||
1068 | + | ||
1069 | +_:b10 | ||
1070 | + sp:varName "wellName"^^xsd:string . | ||
921 | 1071 | ||
922 | -_:b1 sp:varName "wellBoreId"^^xsd:string . | 1072 | +_:b9 sp:varName "wellBoreId"^^xsd:string . | ... | ... |
... | @@ -13,4 +13,6 @@ | ... | @@ -13,4 +13,6 @@ |
13 | composite:child | 13 | composite:child |
14 | [ rdf:type <http://spinrdf.org/spin#TopSPIN> ; | 14 | [ rdf:type <http://spinrdf.org/spin#TopSPIN> ; |
15 | composite:index "0"^^xsd:int | 15 | composite:index "0"^^xsd:int |
16 | - ] . | 16 | + ] ; |
17 | + inference:inferredMode | ||
18 | + "true"^^xsd:boolean . | ... | ... |
1 | +# baseURI: file:///www.reportinghub.no/transform/npd/baalicensee | ||
2 | +# imports: http://topbraid.org/tables | ||
3 | + | ||
4 | +@prefix baalicensee: <file:///www.reportinghub.no/transform/npd/baalicensee#> . | ||
5 | +@prefix owl: <http://www.w3.org/2002/07/owl#> . | ||
6 | +@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . | ||
7 | +@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . | ||
8 | +@prefix tables: <http://topbraid.org/tables#> . | ||
9 | +@prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | ||
10 | + | ||
11 | +<file:///www.reportinghub.no/transform/npd/baalicensee> | ||
12 | + rdf:type owl:Ontology ; | ||
13 | + owl:imports <http://topbraid.org/tables> . | ||
14 | + | ||
15 | +baalicensee:BAALicensee | ||
16 | + rdf:type owl:Class ; | ||
17 | + rdfs:label "BAA Licensee"^^xsd:string ; | ||
18 | + tables:sheetIndex "0"^^xsd:int . | ||
19 | + | ||
20 | +baalicensee:baaLicenseeDateValidFrom | ||
21 | + rdf:type owl:DatatypeProperty ; | ||
22 | + rdfs:domain baalicensee:BAALicensee ; | ||
23 | + rdfs:label "baaLicenseeDateValidFrom" ; | ||
24 | + rdfs:range xsd:string ; | ||
25 | + tables:columnIndex "1"^^xsd:int . | ||
26 | + | ||
27 | +baalicensee:baaLicenseeDateValidTo | ||
28 | + rdf:type owl:DatatypeProperty ; | ||
29 | + rdfs:domain baalicensee:BAALicensee ; | ||
30 | + rdfs:label "baaLicenseeDateValidTo" ; | ||
31 | + rdfs:range xsd:string ; | ||
32 | + tables:columnIndex "2"^^xsd:int . | ||
33 | + | ||
34 | +baalicensee:baaLicenseeInterest | ||
35 | + rdf:type owl:DatatypeProperty ; | ||
36 | + rdfs:domain baalicensee:BAALicensee ; | ||
37 | + rdfs:label "baaLicenseeInterest" ; | ||
38 | + rdfs:range xsd:string ; | ||
39 | + tables:columnIndex "4"^^xsd:int . | ||
40 | + | ||
41 | +baalicensee:baaLicenseeSdfi | ||
42 | + rdf:type owl:DatatypeProperty ; | ||
43 | + rdfs:domain baalicensee:BAALicensee ; | ||
44 | + rdfs:label "baaLicenseeSdfi" ; | ||
45 | + rdfs:range xsd:string ; | ||
46 | + tables:columnIndex "5"^^xsd:int . | ||
47 | + | ||
48 | +baalicensee:baaName | ||
49 | + rdf:type owl:DatatypeProperty ; | ||
50 | + rdfs:domain baalicensee:BAALicensee ; | ||
51 | + rdfs:label "baaName"^^xsd:string ; | ||
52 | + rdfs:range xsd:string ; | ||
53 | + tables:columnIndex "0"^^xsd:int . | ||
54 | + | ||
55 | +baalicensee:cmpLongName | ||
56 | + rdf:type owl:DatatypeProperty ; | ||
57 | + rdfs:domain baalicensee:BAALicensee ; | ||
58 | + rdfs:label "cmpLongName" ; | ||
59 | + rdfs:range xsd:string ; | ||
60 | + tables:columnIndex "3"^^xsd:int . | ||
61 | + | ||
62 | +baalicensee:datesyncNPD | ||
63 | + rdf:type owl:DatatypeProperty ; | ||
64 | + rdfs:domain baalicensee:BAALicensee ; | ||
65 | + rdfs:label "DatesyncNPD" ; | ||
66 | + rdfs:range xsd:string ; | ||
67 | + tables:columnIndex "6"^^xsd:int . |
-
Please register or login to post a comment