David Price

Start real work on ERH Facts

1 +# baseURI: http://www.reportinghub.no/ep/transform/1.0/npd-facts-simplified
2 +# imports: http://spinrdf.org/spin
3 +# imports: http://www.reportinghub.no/erhf/schema/1.0/erh-facts
4 +# imports: http://www.reportinghub.no/np/schema/1.0/npd
5 +
6 +@prefix npd-facts-simplified: <http://www.reportinghub.no/ep/transform/1.0/npd-facts-simplified#> .
7 +@prefix owl: <http://www.w3.org/2002/07/owl#> .
8 +@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
9 +@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
10 +@prefix sp: <http://spinrdf.org/sp#> .
11 +@prefix spin: <http://spinrdf.org/spin#> .
12 +@prefix spl: <http://spinrdf.org/spl#> .
13 +@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
14 +
15 +<http://www.reportinghub.no/erhf/schema/erh-facts#Company>
16 + spin:rule
17 + [ rdf:type sp:Construct ;
18 + rdfs:comment "1002 Construct Company"^^xsd:string ;
19 + sp:templates ([ sp:object <http://www.reportinghub.no/erhf/schema/erh-facts#Company> ;
20 + sp:predicate rdf:type ;
21 + sp:subject spin:_this
22 + ] [ sp:object
23 + [ sp:varName "name"^^xsd:string
24 + ] ;
25 + sp:predicate <http://www.reportinghub.no/erhf/schema/erh-facts#npdname> ;
26 + sp:subject spin:_this
27 + ] [ sp:object
28 + [ sp:varName "id"^^xsd:string
29 + ] ;
30 + sp:predicate <http://www.reportinghub.no/erhf/schema/erh-facts#npdid> ;
31 + sp:subject spin:_this
32 + ]) ;
33 + sp:where ([ sp:object <http://www.reportinghub.no/np/schema/npd#OperatingCompany> ;
34 + sp:predicate rdf:type ;
35 + sp:subject spin:_this
36 + ] [ rdf:type sp:Optional ;
37 + sp:elements ([ sp:object
38 + [ sp:varName "id"^^xsd:string
39 + ] ;
40 + sp:predicate <http://www.reportinghub.no/np/schema/npd#id> ;
41 + sp:subject spin:_this
42 + ])
43 + ] [ rdf:type sp:Optional ;
44 + sp:elements ([ sp:object
45 + [ sp:varName "name"^^xsd:string
46 + ] ;
47 + sp:predicate <http://www.reportinghub.no/np/schema/npd#name> ;
48 + sp:subject spin:_this
49 + ])
50 + ])
51 + ] .
52 +
53 +<http://www.reportinghub.no/ep/schema/facility#Facility>
54 + spin:rule
55 + [ rdf:type sp:Construct ;
56 + rdfs:comment "1006 Construct Facility"^^xsd:string ;
57 + sp:templates ([ sp:object <http://www.reportinghub.no/erhf/schema/erh-facts#Facility> ;
58 + sp:predicate rdf:type ;
59 + sp:subject spin:_this
60 + ] [ sp:object
61 + [ sp:varName "name"^^xsd:string
62 + ] ;
63 + sp:predicate <http://www.reportinghub.no/erhf/schema/erh-facts#npdname> ;
64 + sp:subject spin:_this
65 + ] [ sp:object
66 + [ sp:varName "id"^^xsd:string
67 + ] ;
68 + sp:predicate <http://www.reportinghub.no/erhf/schema/erh-facts#npdid> ;
69 + sp:subject spin:_this
70 + ]) ;
71 + sp:where ([ sp:object <http://www.reportinghub.no/ep/schema/facility#Facility> ;
72 + sp:predicate rdf:type ;
73 + sp:subject spin:_this
74 + ] [ rdf:type sp:Optional ;
75 + sp:elements ([ sp:object
76 + [ sp:varName "id"^^xsd:string
77 + ] ;
78 + sp:predicate <http://www.reportinghub.no/np/schema/npd#id> ;
79 + sp:subject spin:_this
80 + ])
81 + ] [ rdf:type sp:Optional ;
82 + sp:elements ([ sp:object
83 + [ sp:varName "name"^^xsd:string
84 + ] ;
85 + sp:predicate <http://www.reportinghub.no/np/schema/npd#name> ;
86 + sp:subject spin:_this
87 + ])
88 + ])
89 + ] ;
90 + spin:rule
91 + [ rdf:type sp:Construct ;
92 + rdfs:comment "2003 Construct Facility Operator Relation"^^xsd:string ;
93 + sp:templates ([ sp:object
94 + [ sp:varName "company"^^xsd:string
95 + ] ;
96 + sp:predicate <http://www.reportinghub.no/erhf/schema/erh-facts#operatingCompany> ;
97 + sp:subject spin:_this
98 + ]) ;
99 + sp:where ([ sp:object <http://www.reportinghub.no/ep/schema/facility#Facility> ;
100 + sp:predicate rdf:type ;
101 + sp:subject spin:_this
102 + ] [ rdf:type sp:Optional ;
103 + sp:elements ([ sp:object
104 + [ sp:varName "owner"^^xsd:string
105 + ] ;
106 + sp:predicate <http://www.reportinghub.no/np/schema/npd#currentOperator> ;
107 + sp:subject spin:_this
108 + ])
109 + ])
110 + ] .
111 +
112 +<http://www.reportinghub.no/ep/schema/facility#Field>
113 + spin:rule
114 + [ rdf:type sp:Construct ;
115 + rdfs:comment "1003 Construct Field"^^xsd:string ;
116 + sp:templates ([ sp:object <http://www.reportinghub.no/erhf/schema/erh-facts#Field> ;
117 + sp:predicate rdf:type ;
118 + sp:subject spin:_this
119 + ] [ sp:object
120 + [ sp:varName "name"^^xsd:string
121 + ] ;
122 + sp:predicate <http://www.reportinghub.no/erhf/schema/erh-facts#npdname> ;
123 + sp:subject spin:_this
124 + ] [ sp:object
125 + [ sp:varName "id"^^xsd:string
126 + ] ;
127 + sp:predicate <http://www.reportinghub.no/erhf/schema/erh-facts#npdid> ;
128 + sp:subject spin:_this
129 + ] [ sp:object
130 + [ sp:varName "status"^^xsd:string
131 + ] ;
132 + sp:predicate <http://www.reportinghub.no/erhf/schema/erh-facts#currentActivityStatus> ;
133 + sp:subject spin:_this
134 + ]) ;
135 + sp:where ([ sp:object <http://www.reportinghub.no/ep/schema/facility#Field> ;
136 + sp:predicate rdf:type ;
137 + sp:subject spin:_this
138 + ] [ rdf:type sp:Optional ;
139 + sp:elements ([ sp:object
140 + [ sp:varName "id"^^xsd:string
141 + ] ;
142 + sp:predicate <http://www.reportinghub.no/np/schema/npd#id> ;
143 + sp:subject spin:_this
144 + ])
145 + ] [ rdf:type sp:Optional ;
146 + sp:elements ([ sp:object
147 + [ sp:varName "name"^^xsd:string
148 + ] ;
149 + sp:predicate <http://www.reportinghub.no/np/schema/npd#name> ;
150 + sp:subject spin:_this
151 + ])
152 + ] [ rdf:type sp:Optional ;
153 + sp:elements ([ sp:object
154 + [ sp:varName "status"^^xsd:string
155 + ] ;
156 + sp:predicate <http://www.reportinghub.no/np/schema/npd#currentActivityStatus> ;
157 + sp:subject spin:_this
158 + ])
159 + ])
160 + ] ;
161 + spin:rule
162 + [ rdf:type sp:Construct ;
163 + rdfs:comment "2000 Construct Field Operator Relation"^^xsd:string ;
164 + sp:templates ([ sp:object
165 + [ sp:varName "operator"^^xsd:string
166 + ] ;
167 + sp:predicate <http://www.reportinghub.no/erhf/schema/erh-facts#operatingCompany> ;
168 + sp:subject spin:_this
169 + ]) ;
170 + sp:where ([ sp:object <http://www.reportinghub.no/ep/schema/facility#Field> ;
171 + sp:predicate rdf:type ;
172 + sp:subject spin:_this
173 + ] [ rdf:type sp:Optional ;
174 + sp:elements ([ sp:object
175 + [ sp:varName "operator"^^xsd:string
176 + ] ;
177 + sp:predicate <http://www.reportinghub.no/np/schema/npd#fieldOperator> ;
178 + sp:subject spin:_this
179 + ])
180 + ])
181 + ] .
182 +
183 +<http://www.reportinghub.no/ep/schema/well#Well>
184 + spin:rule
185 + [ rdf:type sp:Construct ;
186 + rdfs:comment "1005 Construct Well"^^xsd:string ;
187 + sp:templates ([ sp:object <http://www.reportinghub.no/erhf/schema/erh-facts#Well> ;
188 + sp:predicate rdf:type ;
189 + sp:subject spin:_this
190 + ] [ sp:object
191 + [ sp:varName "name"^^xsd:string
192 + ] ;
193 + sp:predicate <http://www.reportinghub.no/erhf/schema/erh-facts#npdname> ;
194 + sp:subject spin:_this
195 + ] [ sp:object
196 + [ sp:varName "id"^^xsd:string
197 + ] ;
198 + sp:predicate <http://www.reportinghub.no/erhf/schema/erh-facts#npdid> ;
199 + sp:subject spin:_this
200 + ]) ;
201 + sp:where ([ sp:object <http://www.reportinghub.no/ep/schema/well#Well> ;
202 + sp:predicate rdf:type ;
203 + sp:subject spin:_this
204 + ] [ rdf:type sp:Optional ;
205 + sp:elements ([ sp:object
206 + [ sp:varName "id"^^xsd:string
207 + ] ;
208 + sp:predicate <http://www.reportinghub.no/np/schema/npd#id> ;
209 + sp:subject spin:_this
210 + ])
211 + ] [ rdf:type sp:Optional ;
212 + sp:elements ([ sp:object
213 + [ sp:varName "name"^^xsd:string
214 + ] ;
215 + sp:predicate <http://www.reportinghub.no/np/schema/npd#name> ;
216 + sp:subject spin:_this
217 + ])
218 + ])
219 + ] ;
220 + spin:rule
221 + [ rdf:type sp:Construct ;
222 + rdfs:comment "2002 Construct Well Part Of Field Relation"^^xsd:string ;
223 + sp:templates ([ sp:object
224 + [ sp:varName "field"^^xsd:string
225 + ] ;
226 + sp:predicate <http://www.reportinghub.no/erhf/schema/erh-facts#wellPartOfField> ;
227 + sp:subject spin:_this
228 + ]) ;
229 + sp:where ([ sp:object <http://www.reportinghub.no/ep/schema/well#Well> ;
230 + sp:predicate rdf:type ;
231 + sp:subject spin:_this
232 + ] [ rdf:type sp:Optional ;
233 + sp:elements ([ sp:object
234 + [ sp:varName "field"^^xsd:string
235 + ] ;
236 + sp:predicate <http://www.reportinghub.no/np/schema/npd#wellPartOfField> ;
237 + sp:subject spin:_this
238 + ])
239 + ])
240 + ] .
241 +
242 +<http://www.reportinghub.no/ep/schema/well#WellBore>
243 + spin:rule
244 + [ rdf:type sp:Construct ;
245 + rdfs:comment "1004 Construct Wellbore"^^xsd:string ;
246 + sp:templates ([ sp:object <http://www.reportinghub.no/erhf/schema/erh-facts#Wellbore> ;
247 + sp:predicate rdf:type ;
248 + sp:subject spin:_this
249 + ] [ sp:object
250 + [ sp:varName "name"^^xsd:string
251 + ] ;
252 + sp:predicate <http://www.reportinghub.no/erhf/schema/erh-facts#npdname> ;
253 + sp:subject spin:_this
254 + ] [ sp:object
255 + [ sp:varName "id"^^xsd:string
256 + ] ;
257 + sp:predicate <http://www.reportinghub.no/erhf/schema/erh-facts#npdid> ;
258 + sp:subject spin:_this
259 + ]) ;
260 + sp:where ([ sp:object <http://www.reportinghub.no/ep/schema/well#WellBore> ;
261 + sp:predicate rdf:type ;
262 + sp:subject spin:_this
263 + ] [ rdf:type sp:Optional ;
264 + sp:elements ([ sp:object
265 + [ sp:varName "id"^^xsd:string
266 + ] ;
267 + sp:predicate <http://www.reportinghub.no/np/schema/npd#id> ;
268 + sp:subject spin:_this
269 + ])
270 + ] [ rdf:type sp:Optional ;
271 + sp:elements ([ sp:object
272 + [ sp:varName "name"^^xsd:string
273 + ] ;
274 + sp:predicate <http://www.reportinghub.no/np/schema/npd#name> ;
275 + sp:subject spin:_this
276 + ])
277 + ])
278 + ] ;
279 + spin:rule
280 + [ rdf:type sp:Construct ;
281 + rdfs:comment "2001 Construct Wellbore Part Of Well and Drilled In Relations"^^xsd:string ;
282 + sp:templates ([ sp:object
283 + [ sp:varName "field"^^xsd:string
284 + ] ;
285 + sp:predicate <http://www.reportinghub.no/erhf/schema/erh-facts#wellborePartOfWell> ;
286 + sp:subject spin:_this
287 + ] [ sp:object
288 + [ sp:varName "pl"^^xsd:string
289 + ] ;
290 + sp:predicate <http://www.reportinghub.no/erhf/schema/erh-facts#drilledInProductionLicence> ;
291 + sp:subject spin:_this
292 + ]) ;
293 + sp:where ([ sp:object <http://www.reportinghub.no/ep/schema/well#Well> ;
294 + sp:predicate rdf:type ;
295 + sp:subject spin:_this
296 + ] [ rdf:type sp:Optional ;
297 + sp:elements ([ sp:object
298 + [ sp:varName "field"^^xsd:string
299 + ] ;
300 + sp:predicate <http://www.reportinghub.no/np/schema/npd#partOfWell> ;
301 + sp:subject spin:_this
302 + ])
303 + ] [ rdf:type sp:Optional ;
304 + sp:elements ([ sp:object
305 + [ sp:varName "pl"^^xsd:string
306 + ] ;
307 + sp:predicate <http://www.reportinghub.no/np/schema/npd#drilledInProductionLicence> ;
308 + sp:subject spin:_this
309 + ])
310 + ])
311 + ] .
312 +
313 +<http://www.reportinghub.no/ep/transform/1.0/npd-facts-simplified>
314 + rdf:type owl:Ontology ;
315 + owl:imports <http://spinrdf.org/spin> , <http://www.reportinghub.no/ep/schema/1.0/erh-facts-simplified> , <http://www.reportinghub.no/np/schema/1.0/npd> ;
316 + owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
317 +
318 +<http://www.reportinghub.no/np/schema/npd#BusinessArrangementArea>
319 + spin:rule
320 + [ rdf:type sp:Construct ;
321 + rdfs:comment "1000 Construct BAA"^^xsd:string ;
322 + sp:templates ([ sp:object <http://www.reportinghub.no/erhf/schema/erh-facts#BAA> ;
323 + sp:predicate rdf:type ;
324 + sp:subject spin:_this
325 + ] [ sp:object
326 + [ sp:varName "name"^^xsd:string
327 + ] ;
328 + sp:predicate <http://www.reportinghub.no/erhf/schema/erh-facts#npdname> ;
329 + sp:subject spin:_this
330 + ] [ sp:object
331 + [ sp:varName "id"^^xsd:string
332 + ] ;
333 + sp:predicate <http://www.reportinghub.no/erhf/schema/erh-facts#npdid> ;
334 + sp:subject spin:_this
335 + ]) ;
336 + sp:where ([ sp:object <http://www.reportinghub.no/np/schema/npd#BusinessArrangementArea> ;
337 + sp:predicate rdf:type ;
338 + sp:subject spin:_this
339 + ] [ rdf:type sp:Optional ;
340 + sp:elements ([ sp:object
341 + [ sp:varName "id"^^xsd:string
342 + ] ;
343 + sp:predicate <http://www.reportinghub.no/np/schema/npd#id> ;
344 + sp:subject spin:_this
345 + ])
346 + ] [ rdf:type sp:Optional ;
347 + sp:elements ([ sp:object
348 + [ sp:varName "name"^^xsd:string
349 + ] ;
350 + sp:predicate <http://www.reportinghub.no/np/schema/npd#name> ;
351 + sp:subject spin:_this
352 + ])
353 + ])
354 + ] .
355 +
356 +<http://www.reportinghub.no/np/schema/npd#Licence>
357 + spin:rule
358 + [ rdf:type sp:Construct ;
359 + rdfs:comment "1001 Construct Licence"^^xsd:string ;
360 + sp:templates ([ sp:object <http://www.reportinghub.no/erhf/schema/erh-facts#Licence> ;
361 + sp:predicate rdf:type ;
362 + sp:subject spin:_this
363 + ] [ sp:object
364 + [ sp:varName "name"^^xsd:string
365 + ] ;
366 + sp:predicate <http://www.reportinghub.no/erhf/schema/erh-facts#npdname> ;
367 + sp:subject spin:_this
368 + ] [ sp:object
369 + [ sp:varName "id"^^xsd:string
370 + ] ;
371 + sp:predicate <http://www.reportinghub.no/erhf/schema/erh-facts#npdid> ;
372 + sp:subject spin:_this
373 + ]) ;
374 + sp:where ([ sp:object <http://www.reportinghub.no/np/schema/npd#Licence> ;
375 + sp:predicate rdf:type ;
376 + sp:subject spin:_this
377 + ] [ rdf:type sp:Optional ;
378 + sp:elements ([ sp:object
379 + [ sp:varName "id"^^xsd:string
380 + ] ;
381 + sp:predicate <http://www.reportinghub.no/np/schema/npd#id> ;
382 + sp:subject spin:_this
383 + ])
384 + ] [ rdf:type sp:Optional ;
385 + sp:elements ([ sp:object
386 + [ sp:varName "name"^^xsd:string
387 + ] ;
388 + sp:predicate <http://www.reportinghub.no/np/schema/npd#name> ;
389 + sp:subject spin:_this
390 + ])
391 + ])
392 + ] .
1 +# baseURI: null
2 +
3 +@prefix composite: <http://www.topbraid.org/2007/05/composite.owl#> .
4 +@prefix forms: <http://www.topbraid.org/2007/01/forms.owl#> .
5 +@prefix inference: <http://www.topbraid.org/2007/06/inference.owl#> .
6 +@prefix owl: <http://www.w3.org/2002/07/owl#> .
7 +@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
8 +@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
9 +@prefix visual: <http://topbraid.org/visual#> .
10 +@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
11 +
12 +[] rdf:type inference:Configuration ;
13 + composite:child
14 + [ rdf:type <http://spinrdf.org/spin#TopSPIN> ;
15 + composite:index "0"^^xsd:int
16 + ] .
1 +# baseURI: http://www.reportinghub.no/erhf/data/npd/facts
2 +# imports: http://www.reportinghub.no/erhf/schema/1.0/erh-facts
3 +
4 +@prefix facts: <http://www.reportinghub.no/erhf/data/npd/facts#> .
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 xsd: <http://www.w3.org/2001/XMLSchema#> .
9 +
10 +<http://www.reportinghub.no/erhf/data/npd/facts>
11 + rdf:type owl:Ontology ;
12 + owl:imports <http://www.reportinghub.no/erhf/schema/1.0/erh-facts> ;
13 + owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
1 +# baseURI: http://www.reportinghub.no/erhf/schema/1.0/erh-facts
2 +
3 +@prefix erhf: <http://www.reportinghub.no/erhf/schema/erh-facts#> .
4 +@prefix owl: <http://www.w3.org/2002/07/owl#> .
5 +@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
6 +@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
7 +@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
8 +
9 +<http://www.reportinghub.no/erhf/schema/1.0/erh-facts>
10 + rdf:type owl:Ontology ;
11 + owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
12 +
13 +erhf:AliasNameInField
14 + rdf:type owl:Class ;
15 + rdfs:label "Alias name in Field"^^xsd:string ;
16 + rdfs:subClassOf owl:Thing ;
17 + rdfs:subClassOf
18 + [ rdf:type owl:Restriction ;
19 + owl:cardinality "1"^^xsd:nonNegativeInteger ;
20 + owl:onProperty erhf:contextField
21 + ] ;
22 + rdfs:subClassOf
23 + [ rdf:type owl:Restriction ;
24 + owl:cardinality "1"^^xsd:nonNegativeInteger ;
25 + owl:onProperty erhf:erhname
26 + ] .
27 +
28 +erhf:AllocatedFlow
29 + rdf:type erhf:ProductionFlowDefinitionType , owl:Class ;
30 + rdfs:subClassOf erhf:Flow .
31 +
32 +erhf:BAA
33 + rdf:type owl:Class ;
34 + rdfs:subClassOf erhf:Owner .
35 +
36 +erhf:BudgetFlow
37 + rdf:type erhf:ProductionFlowDefinitionType , owl:Class ;
38 + rdfs:subClassOf erhf:Flow .
39 +
40 +erhf:Company
41 + rdf:type owl:Class ;
42 + rdfs:subClassOf owl:Thing ;
43 + rdfs:subClassOf
44 + [ rdf:type owl:Restriction ;
45 + owl:minCardinality "0"^^xsd:nonNegativeInteger ;
46 + owl:onProperty erhf:nameInField
47 + ] ;
48 + rdfs:subClassOf
49 + [ rdf:type owl:Restriction ;
50 + owl:cardinality "1"^^xsd:nonNegativeInteger ;
51 + owl:onProperty erhf:npdid
52 + ] ;
53 + rdfs:subClassOf
54 + [ rdf:type owl:Restriction ;
55 + owl:cardinality "1"^^xsd:nonNegativeInteger ;
56 + owl:onProperty erhf:npdname
57 + ] .
58 +
59 +erhf:ConstraintFlow
60 + rdf:type erhf:ProductionFlowDefinitionType , owl:Class ;
61 + rdfs:subClassOf erhf:Flow .
62 +
63 +erhf:ConstraintFlow-fixed
64 + rdf:type erhf:ProductionFlowDefinitionSubType , owl:Class ;
65 + rdfs:subClassOf erhf:ConstraintFlow .
66 +
67 +erhf:ConstraintFlow-maximum
68 + rdf:type erhf:ProductionFlowDefinitionSubType , owl:Class ;
69 + rdfs:subClassOf erhf:ConstraintFlow .
70 +
71 +erhf:ConstraintFlow-minimum
72 + rdf:type erhf:ProductionFlowDefinitionSubType , owl:Class ;
73 + rdfs:subClassOf erhf:ConstraintFlow .
74 +
75 +erhf:Consume
76 + rdf:type erhf:ProductionFlowDefinitionType , owl:Class ;
77 + rdfs:subClassOf erhf:Flow .
78 +
79 +erhf:Consume-HPflare
80 + rdf:type erhf:ProductionFlowDefinitionType , owl:Class ;
81 + rdfs:subClassOf erhf:Consume-flare .
82 +
83 +erhf:Consume-LPflare
84 + rdf:type erhf:ProductionFlowDefinitionType , owl:Class ;
85 + rdfs:subClassOf erhf:Consume-flare .
86 +
87 +erhf:Consume-blackstart
88 + rdf:type erhf:ProductionFlowDefinitionType , owl:Class ;
89 + rdfs:subClassOf erhf:Consume .
90 +
91 +erhf:Consume-compressor
92 + rdf:type erhf:ProductionFlowDefinitionType , owl:Class ;
93 + rdfs:subClassOf erhf:Consume .
94 +
95 +erhf:Consume-emitted
96 + rdf:type erhf:ProductionFlowDefinitionType , owl:Class ;
97 + rdfs:subClassOf erhf:Consume .
98 +
99 +erhf:Consume-flare
100 + rdf:type erhf:ProductionFlowDefinitionType , owl:Class ;
101 + rdfs:subClassOf erhf:Consume .
102 +
103 +erhf:Consume-fuel
104 + rdf:type erhf:ProductionFlowDefinitionType , owl:Class ;
105 + rdfs:subClassOf erhf:Consume .
106 +
107 +erhf:Consume-noncompressor
108 + rdf:type erhf:ProductionFlowDefinitionType , owl:Class ;
109 + rdfs:subClassOf erhf:Consume .
110 +
111 +erhf:Consume-venting
112 + rdf:type erhf:ProductionFlowDefinitionType , owl:Class ;
113 + rdfs:subClassOf erhf:Consume .
114 +
115 +erhf:DerivedFlow
116 + rdf:type erhf:ProductionFlowDefinitionType , owl:Class ;
117 + rdfs:subClassOf erhf:Flow .
118 +
119 +erhf:DerivedFlow-difference
120 + rdf:type erhf:ProductionFlowDefinitionSubType , owl:Class ;
121 + rdfs:subClassOf erhf:DerivedFlow .
122 +
123 +erhf:DifferenceFlow
124 + rdf:type erhf:ProductionFlowDefinitionType , owl:Class ;
125 + rdfs:subClassOf erhf:Flow .
126 +
127 +erhf:EstimatedFlow
128 + rdf:type erhf:ProductionFlowDefinitionType , owl:Class ;
129 + rdfs:subClassOf erhf:Flow .
130 +
131 +erhf:Export
132 + rdf:type erhf:ProductionFlowDefinitionType , owl:Class ;
133 + rdfs:subClassOf erhf:Flow .
134 +
135 +erhf:Export-nominated
136 + rdf:type erhf:ProductionFlowDefinitionType , owl:Class ;
137 + rdfs:subClassOf erhf:Export .
138 +
139 +erhf:Export-requested
140 + rdf:type erhf:ProductionFlowDefinitionType , owl:Class ;
141 + rdfs:subClassOf erhf:Export .
142 +
143 +erhf:Export-shortfall
144 + rdf:type erhf:ProductionFlowDefinitionType , owl:Class ;
145 + rdfs:subClassOf erhf:Export .
146 +
147 +erhf:Facility
148 + rdf:type owl:Class ;
149 + rdfs:subClassOf owl:Thing ;
150 + rdfs:subClassOf
151 + [ rdf:type owl:Restriction ;
152 + owl:minCardinality "0"^^xsd:nonNegativeInteger ;
153 + owl:onProperty erhf:nameInField
154 + ] ;
155 + rdfs:subClassOf
156 + [ rdf:type owl:Restriction ;
157 + owl:cardinality "1"^^xsd:nonNegativeInteger ;
158 + owl:onProperty erhf:npdname
159 + ] .
160 +
161 +erhf:Field
162 + rdf:type owl:Class ;
163 + rdfs:subClassOf owl:Thing ;
164 + rdfs:subClassOf
165 + [ rdf:type owl:Restriction ;
166 + owl:maxCardinality "1"^^xsd:nonNegativeInteger ;
167 + owl:onProperty erhf:currentActivityStatus
168 + ] ;
169 + rdfs:subClassOf
170 + [ rdf:type owl:Restriction ;
171 + owl:minCardinality "0"^^xsd:nonNegativeInteger ;
172 + owl:onProperty erhf:nameInField
173 + ] ;
174 + rdfs:subClassOf
175 + [ rdf:type owl:Restriction ;
176 + owl:cardinality "1"^^xsd:nonNegativeInteger ;
177 + owl:onProperty erhf:npdid
178 + ] ;
179 + rdfs:subClassOf
180 + [ rdf:type owl:Restriction ;
181 + owl:cardinality "1"^^xsd:nonNegativeInteger ;
182 + owl:onProperty erhf:npdname
183 + ] ;
184 + rdfs:subClassOf
185 + [ rdf:type owl:Restriction ;
186 + owl:cardinality "1"^^xsd:nonNegativeInteger ;
187 + owl:onProperty erhf:operatingCompany
188 + ] .
189 +
190 +erhf:FixedFacility
191 + rdf:type owl:Class ;
192 + rdfs:label "Fixed Facility"^^xsd:string ;
193 + rdfs:subClassOf erhf:Facility ;
194 + rdfs:subClassOf
195 + [ rdf:type owl:Restriction ;
196 + owl:cardinality "1"^^xsd:nonNegativeInteger ;
197 + owl:onProperty erhf:npdid
198 + ] ;
199 + rdfs:subClassOf
200 + [ rdf:type owl:Restriction ;
201 + owl:maxCardinality "1"^^xsd:nonNegativeInteger ;
202 + owl:onProperty erhf:operatingCompany
203 + ] .
204 +
205 +erhf:Flow
206 + rdf:type owl:Class ;
207 + rdfs:subClassOf owl:Thing ;
208 + rdfs:subClassOf
209 + [ rdf:type owl:Restriction ;
210 + owl:minCardinality "1"^^xsd:nonNegativeInteger ;
211 + owl:onProperty erhf:erhname
212 + ] .
213 +
214 +erhf:ForecastFlow
215 + rdf:type erhf:ProductionFlowDefinitionType , owl:Class ;
216 + rdfs:subClassOf erhf:Flow .
217 +
218 +erhf:ForecastFlow-declineCurve
219 + rdf:type erhf:ProductionFlowDefinitionSubType , owl:Class ;
220 + rdfs:subClassOf erhf:ForecastFlow .
221 +
222 +erhf:ForecastFlow-standard
223 + rdf:type erhf:ProductionFlowDefinitionSubType , owl:Class ;
224 + rdfs:subClassOf erhf:ForecastFlow .
225 +
226 +erhf:Gaslift
227 + rdf:type erhf:ProductionFlowDefinitionType , owl:Class ;
228 + rdfs:subClassOf erhf:Flow .
229 +
230 +erhf:HydrocarbonAccounting
231 + rdf:type erhf:ProductionFlowDefinitionType , owl:Class ;
232 + rdfs:subClassOf erhf:Flow .
233 +
234 +erhf:Import
235 + rdf:type erhf:ProductionFlowDefinitionType , owl:Class ;
236 + rdfs:subClassOf erhf:Flow .
237 +
238 +erhf:Injection
239 + rdf:type erhf:ProductionFlowDefinitionType , owl:Class ;
240 + rdfs:subClassOf erhf:Flow .
241 +
242 +erhf:Licence
243 + rdf:type owl:Class ;
244 + rdfs:subClassOf erhf:Owner .
245 +
246 +erhf:MassAdjustedFlow
247 + rdf:type erhf:ProductionFlowDefinitionType , owl:Class ;
248 + rdfs:subClassOf erhf:Flow .
249 +
250 +erhf:MeasuredFlow
251 + rdf:type erhf:ProductionFlowDefinitionType , owl:Class ;
252 + rdfs:subClassOf erhf:Flow .
253 +
254 +erhf:MeasuredFlow-fiscal
255 + rdf:type erhf:ProductionFlowDefinitionSubType , owl:Class ;
256 + rdfs:subClassOf erhf:MeasuredFlow .
257 +
258 +erhf:MeasuredFlow-raw
259 + rdf:type erhf:ProductionFlowDefinitionSubType , owl:Class ;
260 + rdfs:subClassOf erhf:MeasuredFlow .
261 +
262 +erhf:MeasuredFlow-recalibrated
263 + rdf:type erhf:ProductionFlowDefinitionSubType , owl:Class ;
264 + rdfs:subClassOf erhf:MeasuredFlow .
265 +
266 +erhf:MeteredFlowFiscal
267 + rdf:type erhf:ProductionFlowDefinitionType , owl:Class ;
268 + rdfs:subClassOf erhf:Flow .
269 +
270 +erhf:MoveableFacility
271 + rdf:type owl:Class ;
272 + rdfs:label "Moveable Facility"^^xsd:string ;
273 + rdfs:subClassOf erhf:Facility ;
274 + rdfs:subClassOf
275 + [ rdf:type owl:Restriction ;
276 + owl:cardinality "1"^^xsd:nonNegativeInteger ;
277 + owl:onProperty erhf:npdid
278 + ] ;
279 + rdfs:subClassOf
280 + [ rdf:type owl:Restriction ;
281 + owl:maxCardinality "1"^^xsd:nonNegativeInteger ;
282 + owl:onProperty erhf:responsibleCompany
283 + ] .
284 +
285 +erhf:NominatedFlow
286 + rdf:type erhf:ProductionFlowDefinitionType , owl:Class ;
287 + rdfs:subClassOf erhf:Flow .
288 +
289 +erhf:Overboard
290 + rdf:type erhf:ProductionFlowDefinitionType , owl:Class ;
291 + rdfs:subClassOf erhf:Flow .
292 +
293 +erhf:Owner
294 + rdf:type owl:Class ;
295 + rdfs:subClassOf owl:Thing ;
296 + rdfs:subClassOf
297 + [ rdf:type owl:Restriction ;
298 + owl:cardinality "1"^^xsd:nonNegativeInteger ;
299 + owl:onProperty erhf:npdid
300 + ] ;
301 + rdfs:subClassOf
302 + [ rdf:type owl:Restriction ;
303 + owl:cardinality "1"^^xsd:nonNegativeInteger ;
304 + owl:onProperty erhf:npdname
305 + ] .
306 +
307 +erhf:PotentialFlow
308 + rdf:type erhf:ProductionFlowDefinitionType , owl:Class ;
309 + rdfs:subClassOf erhf:Flow .
310 +
311 +erhf:ProcessedFlow
312 + rdf:type erhf:ProductionFlowDefinitionType , owl:Class ;
313 + rdfs:subClassOf erhf:Flow .
314 +
315 +erhf:Production
316 + rdf:type erhf:ProductionFlowDefinitionType , owl:Class ;
317 + rdfs:subClassOf erhf:Flow .
318 +
319 +erhf:ProductionFlowDefinitionSubType
320 + rdf:type owl:Class ;
321 + rdfs:subClassOf owl:Thing .
322 +
323 +erhf:ProductionFlowDefinitionType
324 + rdf:type owl:Class ;
325 + rdfs:subClassOf owl:Thing .
326 +
327 +erhf:ProductionTestFlowLineFlow
328 + rdf:type erhf:ProductionFlowDefinitionType , owl:Class ;
329 + rdfs:subClassOf erhf:Flow .
330 +
331 +erhf:ProductionTestGasLiftFlow
332 + rdf:type erhf:ProductionFlowDefinitionType , owl:Class ;
333 + rdfs:subClassOf erhf:Flow .
334 +
335 +erhf:ProductionTestSeparatorFlow
336 + rdf:type erhf:ProductionFlowDefinitionType , owl:Class ;
337 + rdfs:subClassOf erhf:Flow .
338 +
339 +erhf:ProductionTestWellHeadFlow
340 + rdf:type erhf:ProductionFlowDefinitionType , owl:Class ;
341 + rdfs:subClassOf erhf:Flow .
342 +
343 +erhf:QuotaFlow
344 + rdf:type erhf:ProductionFlowDefinitionType , owl:Class ;
345 + rdfs:subClassOf erhf:Flow .
346 +
347 +erhf:RecommendedFlow
348 + rdf:type erhf:ProductionFlowDefinitionType , owl:Class ;
349 + rdfs:subClassOf erhf:Flow .
350 +
351 +erhf:Sale
352 + rdf:type erhf:ProductionFlowDefinitionType , owl:Class ;
353 + rdfs:subClassOf erhf:Flow .
354 +
355 +erhf:SaleableFlow
356 + rdf:type erhf:ProductionFlowDefinitionType , owl:Class ;
357 + rdfs:subClassOf erhf:Flow .
358 +
359 +erhf:SimulatedFlow
360 + rdf:type erhf:ProductionFlowDefinitionType , owl:Class ;
361 + rdfs:subClassOf erhf:Flow .
362 +
363 +erhf:Storage
364 + rdf:type erhf:ProductionFlowDefinitionType , owl:Class ;
365 + rdfs:subClassOf erhf:Flow .
366 +
367 +erhf:TargetFlow
368 + rdf:type erhf:ProductionFlowDefinitionType , owl:Class ;
369 + rdfs:subClassOf erhf:Flow .
370 +
371 +erhf:TariffBasisFlow
372 + rdf:type erhf:ProductionFlowDefinitionType , owl:Class ;
373 + rdfs:subClassOf erhf:Flow .
374 +
375 +erhf:TransportationUtilizationFacility
376 + rdf:type owl:Class ;
377 + rdfs:label "TUF"^^xsd:string ;
378 + rdfs:subClassOf erhf:Facility ;
379 + rdfs:subClassOf
380 + [ rdf:type owl:Restriction ;
381 + owl:cardinality "1"^^xsd:nonNegativeInteger ;
382 + owl:onProperty erhf:npdid
383 + ] .
384 +
385 +erhf:ValueAdjustedFlow
386 + rdf:type erhf:ProductionFlowDefinitionType , owl:Class ;
387 + rdfs:subClassOf erhf:Flow .
388 +
389 +erhf:Well
390 + rdf:type owl:Class ;
391 + rdfs:subClassOf erhf:Facility .
392 +
393 +erhf:Wellbore
394 + rdf:type owl:Class ;
395 + rdfs:subClassOf erhf:Facility ;
396 + rdfs:subClassOf
397 + [ rdf:type owl:Restriction ;
398 + owl:cardinality "1"^^xsd:nonNegativeInteger ;
399 + owl:onProperty erhf:npdid
400 + ] .
401 +
402 +erhf:WholeLifeProductFlow
403 + rdf:type erhf:ProductionFlowDefinitionType , owl:Class ;
404 + rdfs:subClassOf erhf:Flow .
405 +
406 +erhf:WholeLifeProductionFlow
407 + rdf:type erhf:ProductionFlowDefinitionType , owl:Class ;
408 + rdfs:subClassOf erhf:Flow .
409 +
410 +erhf:belongsTo
411 + rdf:type owl:ObjectProperty ;
412 + rdfs:label "belongs to"^^xsd:string .
413 +
414 +erhf:contextField
415 + rdf:type owl:ObjectProperty ;
416 + rdfs:label "context field"^^xsd:string ;
417 + rdfs:range erhf:Field .
418 +
419 +erhf:currentActivityStatus
420 + rdf:type owl:DatatypeProperty ;
421 + rdfs:domain erhf:Field ;
422 + rdfs:label "field activity status"^^xsd:string ;
423 + rdfs:range xsd:string .
424 +
425 +erhf:drilledInProductionLicence
426 + rdf:type owl:ObjectProperty ;
427 + rdfs:domain erhf:Wellbore ;
428 + rdfs:label "drilled in PL"^^xsd:string ;
429 + rdfs:range erhf:Licence .
430 +
431 +erhf:erhname
432 + rdf:type owl:DatatypeProperty ;
433 + rdfs:label "ERH name"^^xsd:string ;
434 + rdfs:range xsd:string .
435 +
436 +erhf:flowPartOfField
437 + rdf:type owl:ObjectProperty ;
438 + rdfs:domain erhf:Flow ;
439 + rdfs:label "flow part of field"^^xsd:string ;
440 + rdfs:range erhf:Field .
441 +
442 +erhf:nameInField
443 + rdf:type owl:ObjectProperty ;
444 + rdfs:label "name in field"^^xsd:string ;
445 + rdfs:range erhf:AliasNameInField .
446 +
447 +erhf:npdid
448 + rdf:type owl:DatatypeProperty ;
449 + rdfs:label "NPD ID"^^xsd:string ;
450 + rdfs:range xsd:string .
451 +
452 +erhf:npdname
453 + rdf:type owl:DatatypeProperty ;
454 + rdfs:label "NPD Name"^^xsd:string ;
455 + rdfs:range xsd:string .
456 +
457 +erhf:operatingCompany
458 + rdf:type owl:ObjectProperty ;
459 + rdfs:domain
460 + [ rdf:type owl:Class ;
461 + owl:unionOf (erhf:Field erhf:FixedFacility)
462 + ] ;
463 + rdfs:label "operating company"^^xsd:string ;
464 + rdfs:range erhf:Company .
465 +
466 +erhf:owner
467 + rdf:type owl:ObjectProperty ;
468 + rdfs:domain erhf:Field ;
469 + rdfs:label "owner PL or BAA"^^xsd:string ;
470 + rdfs:range erhf:Owner .
471 +
472 +erhf:responsibleCompany
473 + rdf:type owl:ObjectProperty ;
474 + rdfs:domain erhf:MoveableFacility ;
475 + rdfs:label "responsible company"^^xsd:string ;
476 + rdfs:range erhf:Company .
477 +
478 +erhf:shareholder
479 + rdf:type owl:ObjectProperty ;
480 + rdfs:domain erhf:Owner ;
481 + rdfs:label "shareholder"^^xsd:string ;
482 + rdfs:range erhf:Company .
483 +
484 +erhf:wellPartOfField
485 + rdf:type owl:ObjectProperty ;
486 + rdfs:domain erhf:Well ;
487 + rdfs:label "well part of field"^^xsd:string ;
488 + rdfs:range erhf:Field .
489 +
490 +erhf:wellborePartOfWell
491 + rdf:type owl:ObjectProperty ;
492 + rdfs:domain erhf:Wellbore ;
493 + rdfs:label "wellbore part of well"^^xsd:string ;
494 + rdfs:range erhf:Well .
1 +# baseURI: http://www.reportinghub.no/erhf/transform/npdfacts-erhf-skos
2 +# imports: http://spinrdf.org/spin
3 +# imports: http://www.reportinghub.no/erhf/transform/npdfacts-erhf
4 +# imports: http://www.w3.org/2004/02/skos/core
5 +
6 +@prefix npdfacts-erhf-skos: <http://www.reportinghub.no/erhf/transform/npdfacts-erhf-skos#> .
7 +@prefix owl: <http://www.w3.org/2002/07/owl#> .
8 +@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
9 +@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
10 +@prefix sp: <http://spinrdf.org/sp#> .
11 +@prefix spin: <http://spinrdf.org/spin#> .
12 +@prefix spl: <http://spinrdf.org/spl#> .
13 +@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
14 +
15 +<http://www.reportinghub.no/ep/schema/facility#Facility>
16 + spin:rule
17 + [ rdf:type sp:Construct ;
18 + sp:templates ([ sp:object <http://www.w3.org/2004/02/skos/core#Concept> ;
19 + sp:predicate rdf:type ;
20 + sp:subject spin:_this
21 + ] [ sp:object <http://www.reportinghub.no/erhf/data/npd/facts-scheme> ;
22 + sp:predicate <http://www.w3.org/2004/02/skos/core#inScheme> ;
23 + sp:subject spin:_this
24 + ]) ;
25 + sp:where ([ sp:object
26 + [ sp:varName "npdid"^^xsd:string
27 + ] ;
28 + sp:predicate <http://www.reportinghub.no/np/schema/npd#id> ;
29 + sp:subject spin:_this
30 + ])
31 + ] .
32 +
33 +<http://www.reportinghub.no/ep/schema/facility#Field>
34 + spin:rule
35 + [ rdf:type sp:Construct ;
36 + sp:templates ([ sp:object <http://www.w3.org/2004/02/skos/core#Concept> ;
37 + sp:predicate rdf:type ;
38 + sp:subject spin:_this
39 + ] [ sp:object <http://www.reportinghub.no/erhf/data/npd/facts-scheme> ;
40 + sp:predicate <http://www.w3.org/2004/02/skos/core#inScheme> ;
41 + sp:subject spin:_this
42 + ]) ;
43 + sp:where ([ sp:object
44 + [ sp:varName "npdid"^^xsd:string
45 + ] ;
46 + sp:predicate <http://www.reportinghub.no/np/schema/npd#id> ;
47 + sp:subject spin:_this
48 + ])
49 + ] .
50 +
51 +<http://www.reportinghub.no/ep/schema/well#Well>
52 + spin:rule
53 + [ rdf:type sp:Construct ;
54 + sp:templates ([ sp:object <http://www.w3.org/2004/02/skos/core#Concept> ;
55 + sp:predicate rdf:type ;
56 + sp:subject spin:_this
57 + ] [ sp:object <http://www.reportinghub.no/erhf/data/npd/facts-scheme> ;
58 + sp:predicate <http://www.w3.org/2004/02/skos/core#inScheme> ;
59 + sp:subject spin:_this
60 + ]) ;
61 + sp:where ([ sp:object
62 + [ sp:varName "npdid"^^xsd:string
63 + ] ;
64 + sp:predicate <http://www.reportinghub.no/np/schema/npd#id> ;
65 + sp:subject spin:_this
66 + ])
67 + ] .
68 +
69 +<http://www.reportinghub.no/erhf/transform/npdfacts-erhf-skos>
70 + rdf:type owl:Ontology ;
71 + owl:imports <http://spinrdf.org/spin> , <http://www.reportinghub.no/erhf/transform/npdfacts-erhf> , <http://www.w3.org/2004/02/skos/core> ;
72 + owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
73 +
74 +<http://www.reportinghub.no/np/schema/npd#BusinessArrangementArea>
75 + spin:rule
76 + [ rdf:type sp:Construct ;
77 + sp:templates ([ sp:object <http://www.w3.org/2004/02/skos/core#Concept> ;
78 + sp:predicate rdf:type ;
79 + sp:subject spin:_this
80 + ] [ sp:object <http://www.reportinghub.no/erhf/data/npd/facts-scheme> ;
81 + sp:predicate <http://www.w3.org/2004/02/skos/core#inScheme> ;
82 + sp:subject spin:_this
83 + ]) ;
84 + sp:where ([ sp:object
85 + [ sp:varName "npdid"^^xsd:string
86 + ] ;
87 + sp:predicate <http://www.reportinghub.no/np/schema/npd#id> ;
88 + sp:subject spin:_this
89 + ])
90 + ] .
91 +
92 +<http://www.reportinghub.no/np/schema/npd#Licence>
93 + spin:rule
94 + [ rdf:type sp:Construct ;
95 + sp:templates ([ sp:object <http://www.w3.org/2004/02/skos/core#Concept> ;
96 + sp:predicate rdf:type ;
97 + sp:subject spin:_this
98 + ] [ sp:object <http://www.reportinghub.no/erhf/data/npd/facts-scheme> ;
99 + sp:predicate <http://www.w3.org/2004/02/skos/core#inScheme> ;
100 + sp:subject spin:_this
101 + ]) ;
102 + sp:where ([ sp:object
103 + [ sp:varName "npdid"^^xsd:string
104 + ] ;
105 + sp:predicate <http://www.reportinghub.no/np/schema/npd#id> ;
106 + sp:subject spin:_this
107 + ])
108 + ] .
109 +
110 +<http://www.reportinghub.no/np/schema/npd#OperatingCompany>
111 + spin:rule
112 + [ rdf:type sp:Construct ;
113 + sp:templates ([ sp:object <http://www.w3.org/2004/02/skos/core#Concept> ;
114 + sp:predicate rdf:type ;
115 + sp:subject spin:_this
116 + ] [ sp:object <http://www.reportinghub.no/erhf/data/npd/facts-scheme> ;
117 + sp:predicate <http://www.w3.org/2004/02/skos/core#inScheme> ;
118 + sp:subject spin:_this
119 + ]) ;
120 + sp:where ([ sp:object
121 + [ sp:varName "npdid"^^xsd:string
122 + ] ;
123 + sp:predicate <http://www.reportinghub.no/np/schema/npd#id> ;
124 + sp:subject spin:_this
125 + ])
126 + ] .
1 +# baseURI: null
2 +
3 +@prefix composite: <http://www.topbraid.org/2007/05/composite.owl#> .
4 +@prefix forms: <http://www.topbraid.org/2007/01/forms.owl#> .
5 +@prefix inference: <http://www.topbraid.org/2007/06/inference.owl#> .
6 +@prefix owl: <http://www.w3.org/2002/07/owl#> .
7 +@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
8 +@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
9 +@prefix visual: <http://topbraid.org/visual#> .
10 +@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
11 +
12 +[] rdf:type inference:Configuration ;
13 + composite:child
14 + [ rdf:type <http://spinrdf.org/spin#TopSPIN> ;
15 + composite:index "0"^^xsd:int
16 + ] .
1 +# baseURI: http://www.reportinghub.no/erhf/transform/npdfacts-erhf
2 +# imports: http://spinrdf.org/spin
3 +# imports: http://www.reportinghub.no/erhf/schema/1.0/erh-facts
4 +# imports: http://www.reportinghub.no/np/schema/1.0/npd
5 +
6 +@prefix npdfacts-erhf: <http://www.reportinghub.no/erhf/transform/npdfacts-erhf#> .
7 +@prefix owl: <http://www.w3.org/2002/07/owl#> .
8 +@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
9 +@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
10 +@prefix sp: <http://spinrdf.org/sp#> .
11 +@prefix spin: <http://spinrdf.org/spin#> .
12 +@prefix spl: <http://spinrdf.org/spl#> .
13 +@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
14 +
15 +<http://www.reportinghub.no/ep/schema/facility#Facility>
16 + spin:rule
17 + [ rdf:type sp:Construct ;
18 + sp:templates ([ sp:object <http://www.reportinghub.no/erhf/schema/erh-facts#Facility> ;
19 + sp:predicate rdf:type ;
20 + sp:subject spin:_this
21 + ] [ sp:object
22 + [ sp:varName "npdid"^^xsd:string
23 + ] ;
24 + sp:predicate <http://www.reportinghub.no/erhf/schema/erh-facts#npdid> ;
25 + sp:subject spin:_this
26 + ] [ sp:object
27 + [ sp:varName "npdname"^^xsd:string
28 + ] ;
29 + sp:predicate <http://www.reportinghub.no/erhf/schema/erh-facts#npdname> ;
30 + sp:subject spin:_this
31 + ]) ;
32 + sp:where ([ sp:object
33 + [ sp:varName "npdid"^^xsd:string
34 + ] ;
35 + sp:predicate <http://www.reportinghub.no/np/schema/npd#id> ;
36 + sp:subject spin:_this
37 + ] [ sp:object
38 + [ sp:varName "npdname"^^xsd:string
39 + ] ;
40 + sp:predicate <http://www.reportinghub.no/np/schema/npd#name> ;
41 + sp:subject spin:_this
42 + ])
43 + ] .
44 +
45 +<http://www.reportinghub.no/ep/schema/facility#Field>
46 + spin:rule
47 + [ rdf:type sp:Construct ;
48 + sp:templates ([ sp:object <http://www.reportinghub.no/erhf/schema/erh-facts#Field> ;
49 + sp:predicate rdf:type ;
50 + sp:subject spin:_this
51 + ] [ sp:object
52 + [ sp:varName "npdid"^^xsd:string
53 + ] ;
54 + sp:predicate <http://www.reportinghub.no/erhf/schema/erh-facts#npdid> ;
55 + sp:subject spin:_this
56 + ] [ sp:object
57 + [ sp:varName "npdname"^^xsd:string
58 + ] ;
59 + sp:predicate <http://www.reportinghub.no/erhf/schema/erh-facts#npdname> ;
60 + sp:subject spin:_this
61 + ]) ;
62 + sp:where ([ sp:object
63 + [ sp:varName "npdid"^^xsd:string
64 + ] ;
65 + sp:predicate <http://www.reportinghub.no/np/schema/npd#id> ;
66 + sp:subject spin:_this
67 + ] [ sp:object
68 + [ sp:varName "npdname"^^xsd:string
69 + ] ;
70 + sp:predicate <http://www.reportinghub.no/np/schema/npd#name> ;
71 + sp:subject spin:_this
72 + ])
73 + ] .
74 +
75 +<http://www.reportinghub.no/ep/schema/well#Well>
76 + spin:rule
77 + [ rdf:type sp:Construct ;
78 + sp:templates ([ sp:object <http://www.reportinghub.no/erhf/schema/erh-facts#Well> ;
79 + sp:predicate rdf:type ;
80 + sp:subject spin:_this
81 + ] [ sp:object
82 + [ sp:varName "npdname"^^xsd:string
83 + ] ;
84 + sp:predicate <http://www.reportinghub.no/erhf/schema/erh-facts#npdname> ;
85 + sp:subject spin:_this
86 + ]) ;
87 + sp:where ([ sp:object
88 + [ sp:varName "npdname"^^xsd:string
89 + ] ;
90 + sp:predicate <http://www.reportinghub.no/np/schema/npd#name> ;
91 + sp:subject spin:_this
92 + ])
93 + ] .
94 +
95 +<http://www.reportinghub.no/ep/schema/well#WellBore>
96 + spin:rule
97 + [ rdf:type sp:Construct ;
98 + sp:templates ([ sp:object <http://www.reportinghub.no/erhf/schema/erh-facts#Wellbore> ;
99 + sp:predicate rdf:type ;
100 + sp:subject spin:_this
101 + ] [ sp:object
102 + [ sp:varName "npdid"^^xsd:string
103 + ] ;
104 + sp:predicate <http://www.reportinghub.no/erhf/schema/erh-facts#npdid> ;
105 + sp:subject spin:_this
106 + ] [ sp:object
107 + [ sp:varName "npdname"^^xsd:string
108 + ] ;
109 + sp:predicate <http://www.reportinghub.no/erhf/schema/erh-facts#npdname> ;
110 + sp:subject spin:_this
111 + ]) ;
112 + sp:where ([ sp:object
113 + [ sp:varName "npdid"^^xsd:string
114 + ] ;
115 + sp:predicate <http://www.reportinghub.no/np/schema/npd#id> ;
116 + sp:subject spin:_this
117 + ] [ sp:object
118 + [ sp:varName "npdname"^^xsd:string
119 + ] ;
120 + sp:predicate <http://www.reportinghub.no/np/schema/npd#name> ;
121 + sp:subject spin:_this
122 + ])
123 + ] .
124 +
125 +<http://www.reportinghub.no/erhf/transform/npdfacts-erhf>
126 + rdf:type owl:Ontology ;
127 + owl:imports <http://spinrdf.org/spin> , <http://www.reportinghub.no/erhf/schema/1.0/erh-facts> , <http://www.reportinghub.no/np/schema/1.0/npd> ;
128 + owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
129 +
130 +<http://www.reportinghub.no/np/schema/npd#BusinessArrangementArea>
131 + spin:rule
132 + [ rdf:type sp:Construct ;
133 + sp:templates ([ sp:object <http://www.reportinghub.no/erhf/schema/erh-facts#BAA> ;
134 + sp:predicate rdf:type ;
135 + sp:subject spin:_this
136 + ] [ sp:object
137 + [ sp:varName "npdid"^^xsd:string
138 + ] ;
139 + sp:predicate <http://www.reportinghub.no/erhf/schema/erh-facts#npdid> ;
140 + sp:subject spin:_this
141 + ] [ sp:object
142 + [ sp:varName "npdname"^^xsd:string
143 + ] ;
144 + sp:predicate <http://www.reportinghub.no/erhf/schema/erh-facts#npdname> ;
145 + sp:subject spin:_this
146 + ]) ;
147 + sp:where ([ sp:object
148 + [ sp:varName "npdid"^^xsd:string
149 + ] ;
150 + sp:predicate <http://www.reportinghub.no/np/schema/npd#id> ;
151 + sp:subject spin:_this
152 + ] [ sp:object
153 + [ sp:varName "npdname"^^xsd:string
154 + ] ;
155 + sp:predicate <http://www.reportinghub.no/np/schema/npd#name> ;
156 + sp:subject spin:_this
157 + ])
158 + ] .
159 +
160 +<http://www.reportinghub.no/np/schema/npd#Licence>
161 + spin:rule
162 + [ rdf:type sp:Construct ;
163 + sp:templates ([ sp:object <http://www.reportinghub.no/erhf/schema/erh-facts#Licence> ;
164 + sp:predicate rdf:type ;
165 + sp:subject spin:_this
166 + ] [ sp:object
167 + [ sp:varName "npdid"^^xsd:string
168 + ] ;
169 + sp:predicate <http://www.reportinghub.no/erhf/schema/erh-facts#npdid> ;
170 + sp:subject spin:_this
171 + ] [ sp:object
172 + [ sp:varName "npdname"^^xsd:string
173 + ] ;
174 + sp:predicate <http://www.reportinghub.no/erhf/schema/erh-facts#npdname> ;
175 + sp:subject spin:_this
176 + ]) ;
177 + sp:where ([ sp:object
178 + [ sp:varName "npdid"^^xsd:string
179 + ] ;
180 + sp:predicate <http://www.reportinghub.no/np/schema/npd#id> ;
181 + sp:subject spin:_this
182 + ] [ sp:object
183 + [ sp:varName "npdname"^^xsd:string
184 + ] ;
185 + sp:predicate <http://www.reportinghub.no/np/schema/npd#name> ;
186 + sp:subject spin:_this
187 + ])
188 + ] .
189 +
190 +<http://www.reportinghub.no/np/schema/npd#OperatingCompany>
191 + spin:rule
192 + [ rdf:type sp:Construct ;
193 + sp:templates ([ sp:object <http://www.reportinghub.no/erhf/schema/erh-facts#Company> ;
194 + sp:predicate rdf:type ;
195 + sp:subject spin:_this
196 + ] [ sp:object
197 + [ sp:varName "npdid"^^xsd:string
198 + ] ;
199 + sp:predicate <http://www.reportinghub.no/erhf/schema/erh-facts#npdid> ;
200 + sp:subject spin:_this
201 + ] [ sp:object
202 + [ sp:varName "npdname"^^xsd:string
203 + ] ;
204 + sp:predicate <http://www.reportinghub.no/erhf/schema/erh-facts#npdname> ;
205 + sp:subject spin:_this
206 + ]) ;
207 + sp:where ([ sp:object
208 + [ sp:varName "npdid"^^xsd:string
209 + ] ;
210 + sp:predicate <http://www.reportinghub.no/np/schema/npd#id> ;
211 + sp:subject spin:_this
212 + ] [ sp:object
213 + [ sp:varName "npdname"^^xsd:string
214 + ] ;
215 + sp:predicate <http://www.reportinghub.no/np/schema/npd#name> ;
216 + sp:subject spin:_this
217 + ])
218 + ] .
1 +# baseURI: null
2 +
3 +@prefix composite: <http://www.topbraid.org/2007/05/composite.owl#> .
4 +@prefix forms: <http://www.topbraid.org/2007/01/forms.owl#> .
5 +@prefix inference: <http://www.topbraid.org/2007/06/inference.owl#> .
6 +@prefix owl: <http://www.w3.org/2002/07/owl#> .
7 +@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
8 +@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
9 +@prefix visual: <http://topbraid.org/visual#> .
10 +@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
11 +
12 +[] rdf:type inference:Configuration ;
13 + composite:child
14 + [ rdf:type <http://spinrdf.org/spin#TopSPIN> ;
15 + composite:index "0"^^xsd:int
16 + ] .
This diff could not be displayed because it is too large.