David Price

Added bits for NPD RDL

...@@ -4,6 +4,7 @@ ...@@ -4,6 +4,7 @@
4 # imports: http://www.reportinghub.no/ep/schema/1.0/organization 4 # imports: http://www.reportinghub.no/ep/schema/1.0/organization
5 # imports: http://www.reportinghub.no/ep/schema/1.0/well 5 # imports: http://www.reportinghub.no/ep/schema/1.0/well
6 6
7 +@prefix ep-core: <http://www.reportinghub.no/ep/schema/core#> .
7 @prefix facility: <http://www.reportinghub.no/ep/schema/1.0/facility#> . 8 @prefix facility: <http://www.reportinghub.no/ep/schema/1.0/facility#> .
8 @prefix npd: <http://www.reportinghub.no/np/schema/npd#> . 9 @prefix npd: <http://www.reportinghub.no/np/schema/npd#> .
9 @prefix organization: <http://www.reportinghub.no/ep/schema/1.0/organization#> . 10 @prefix organization: <http://www.reportinghub.no/ep/schema/1.0/organization#> .
...@@ -23,22 +24,22 @@ ...@@ -23,22 +24,22 @@
23 rdfs:subClassOf 24 rdfs:subClassOf
24 [ rdf:type owl:Restriction ; 25 [ rdf:type owl:Restriction ;
25 owl:minCardinality "0"^^xsd:nonNegativeInteger ; 26 owl:minCardinality "0"^^xsd:nonNegativeInteger ;
26 - owl:onProperty npd:fieldOwner 27 + owl:onProperty npd:currentActivityStatus
27 ] ; 28 ] ;
28 rdfs:subClassOf 29 rdfs:subClassOf
29 [ rdf:type owl:Restriction ; 30 [ rdf:type owl:Restriction ;
30 owl:minCardinality "0"^^xsd:nonNegativeInteger ; 31 owl:minCardinality "0"^^xsd:nonNegativeInteger ;
31 - owl:onProperty npd:fieldOperator 32 + owl:onProperty npd:fieldDiscoveryWellBore
32 ] ; 33 ] ;
33 rdfs:subClassOf 34 rdfs:subClassOf
34 [ rdf:type owl:Restriction ; 35 [ rdf:type owl:Restriction ;
35 owl:minCardinality "0"^^xsd:nonNegativeInteger ; 36 owl:minCardinality "0"^^xsd:nonNegativeInteger ;
36 - owl:onProperty npd:currentActivityStatus 37 + owl:onProperty npd:fieldOperator
37 ] ; 38 ] ;
38 rdfs:subClassOf 39 rdfs:subClassOf
39 [ rdf:type owl:Restriction ; 40 [ rdf:type owl:Restriction ;
40 owl:minCardinality "0"^^xsd:nonNegativeInteger ; 41 owl:minCardinality "0"^^xsd:nonNegativeInteger ;
41 - owl:onProperty npd:fieldDiscoveryWellBore 42 + owl:onProperty npd:fieldOwner
42 ] . 43 ] .
43 44
44 <http://www.reportinghub.no/ep/schema/facility#TemporalPartOfAField> 45 <http://www.reportinghub.no/ep/schema/facility#TemporalPartOfAField>
...@@ -61,7 +62,10 @@ ...@@ -61,7 +62,10 @@
61 npd:BusinessArrangementArea 62 npd:BusinessArrangementArea
62 rdf:type owl:Class ; 63 rdf:type owl:Class ;
63 rdfs:comment "A business arrangement area in this context is an area which is a result of unitisations, sliding scale rules or other business arrangements which have altered the terms of the original production licence."^^xsd:string ; 64 rdfs:comment "A business arrangement area in this context is an area which is a result of unitisations, sliding scale rules or other business arrangements which have altered the terms of the original production licence."^^xsd:string ;
64 - rdfs:subClassOf <http://www.reportinghub.no/ep/schema/core#PhysicalThing> , npd:NPDIndividual , npd:Owner . 65 + rdfs:label "business arrangement area"^^xsd:string ;
66 + rdfs:subClassOf ep-core:PhysicalThing , npd:NPDIndividual , npd:Owner ;
67 + ep-core:seeReferenceData
68 + "http://posccaesar.org/rdl/RDS431663463"^^xsd:string .
65 69
66 npd:DWBP_Injection 70 npd:DWBP_Injection
67 rdf:type npd:DevelopmentWellBorePurpose ; 71 rdf:type npd:DevelopmentWellBorePurpose ;
...@@ -87,6 +91,7 @@ npd:DevelopmentWellBorePurpose ...@@ -87,6 +91,7 @@ npd:DevelopmentWellBorePurpose
87 npd:Discovery 91 npd:Discovery
88 rdf:type owl:Class ; 92 rdf:type owl:Class ;
89 rdfs:comment "A discovery is a petroleum deposit or several petroleum deposits collectively, which have been discovered in the same well, in which through testing, sampling or logging there has been established a probability of the existence of mobile petroleum (includes both commercial and technical discovery)."^^xsd:string ; 93 rdfs:comment "A discovery is a petroleum deposit or several petroleum deposits collectively, which have been discovered in the same well, in which through testing, sampling or logging there has been established a probability of the existence of mobile petroleum (includes both commercial and technical discovery)."^^xsd:string ;
94 + rdfs:label "discovery"^^xsd:string ;
90 rdfs:subClassOf npd:NPDIndividual . 95 rdfs:subClassOf npd:NPDIndividual .
91 96
92 npd:EWBP_Appraisal 97 npd:EWBP_Appraisal
...@@ -122,6 +127,8 @@ npd:ExplorationWellBorePurpose ...@@ -122,6 +127,8 @@ npd:ExplorationWellBorePurpose
122 127
123 npd:FixedFacilityParent 128 npd:FixedFacilityParent
124 rdf:type owl:Class ; 129 rdf:type owl:Class ;
130 + rdfs:comment "the parent facility of a fixed facility"^^xsd:string ;
131 + rdfs:label "fixed facility parent"^^xsd:string ;
125 rdfs:subClassOf npd:NPDIndividual . 132 rdfs:subClassOf npd:NPDIndividual .
126 133
127 npd:HCT_Gas 134 npd:HCT_Gas
...@@ -167,10 +174,14 @@ npd:LS_Inactive ...@@ -167,10 +174,14 @@ npd:LS_Inactive
167 npd:Licence 174 npd:Licence
168 rdf:type owl:Class ; 175 rdf:type owl:Class ;
169 rdfs:comment "Production licences are granted by the Ministry of Petroleum and Energy. Transfer of a production licence or participating interest in a production licence must be approved by the ministry."^^xsd:string ; 176 rdfs:comment "Production licences are granted by the Ministry of Petroleum and Energy. Transfer of a production licence or participating interest in a production licence must be approved by the ministry."^^xsd:string ;
170 - rdfs:subClassOf <http://www.reportinghub.no/ep/schema/core#PhysicalThing> , npd:NPDIndividual , npd:Owner . 177 + rdfs:label "license"^^xsd:string ;
178 + rdfs:subClassOf ep-core:PhysicalThing , npd:NPDIndividual , npd:Owner ;
179 + ep-core:seeReferenceData
180 + "http://posccaesar.org/rdl/RDS43166345139"^^xsd:string .
171 181
172 npd:LicenceStatus 182 npd:LicenceStatus
173 rdf:type owl:Class ; 183 rdf:type owl:Class ;
184 + rdfs:comment "the activation status of a license"^^xsd:string ;
174 rdfs:label "Licence status"^^xsd:string ; 185 rdfs:label "Licence status"^^xsd:string ;
175 rdfs:subClassOf npd:Enumeration ; 186 rdfs:subClassOf npd:Enumeration ;
176 owl:oneOf (npd:LS_Active npd:LS_Inactive) . 187 owl:oneOf (npd:LS_Active npd:LS_Inactive) .
...@@ -192,66 +203,88 @@ npd:MNA_NorwegianSea ...@@ -192,66 +203,88 @@ npd:MNA_NorwegianSea
192 203
193 npd:MainNCSArea 204 npd:MainNCSArea
194 rdf:type owl:Class ; 205 rdf:type owl:Class ;
206 + rdfs:comment "the main Norwegian Continental Shelf Area"^^xsd:string ;
195 rdfs:label "Main NCS Area"^^xsd:string ; 207 rdfs:label "Main NCS Area"^^xsd:string ;
196 rdfs:subClassOf npd:Enumeration ; 208 rdfs:subClassOf npd:Enumeration ;
197 owl:oneOf (npd:MNA_NorthSea npd:MNA_NorwegianSea npd:MNA_BarentsSea) . 209 owl:oneOf (npd:MNA_NorthSea npd:MNA_NorwegianSea npd:MNA_BarentsSea) .
198 210
199 npd:NPDIndividual 211 npd:NPDIndividual
200 rdf:type owl:Class ; 212 rdf:type owl:Class ;
213 + rdfs:comment "an individual that is a member of an NPD-related class"^^xsd:string ;
214 + rdfs:label "NPD individual"^^xsd:string ;
201 rdfs:subClassOf npd:Individual . 215 rdfs:subClassOf npd:Individual .
202 216
203 npd:OperatingCompany 217 npd:OperatingCompany
204 rdf:type owl:Class ; 218 rdf:type owl:Class ;
219 + rdfs:comment "a company operating a facility"^^xsd:string ;
220 + rdfs:label "operating company"^^xsd:string ;
205 rdfs:subClassOf <http://www.reportinghub.no/ep/schema/organization#Company> , npd:NPDIndividual . 221 rdfs:subClassOf <http://www.reportinghub.no/ep/schema/organization#Company> , npd:NPDIndividual .
206 222
207 npd:Owner 223 npd:Owner
208 rdf:type owl:Class ; 224 rdf:type owl:Class ;
209 - rdfs:comment "Supertype of BAA and License - i.e. anything that can own a Field"^^xsd:string ; 225 + rdfs:comment "a BAA or License that can own a Field"^^xsd:string ;
226 + rdfs:label "owner"^^xsd:string ;
210 rdfs:subClassOf npd:Individual . 227 rdfs:subClassOf npd:Individual .
211 228
212 npd:ParcellBAA 229 npd:ParcellBAA
213 rdf:type owl:Class ; 230 rdf:type owl:Class ;
231 + rdfs:comment "a BAA based on a parcel"^^xsd:string ;
232 + rdfs:label "parcel BAA"^^xsd:string ;
214 rdfs:subClassOf npd:BusinessArrangementArea . 233 rdfs:subClassOf npd:BusinessArrangementArea .
215 234
216 npd:ParentCompany 235 npd:ParentCompany
217 rdf:type owl:Class ; 236 rdf:type owl:Class ;
237 + rdfs:comment "a company that is the parent of another company"^^xsd:string ;
238 + rdfs:label "parent company"^^xsd:string ;
218 rdfs:subClassOf <http://www.reportinghub.no/ep/schema/organization#Company> . 239 rdfs:subClassOf <http://www.reportinghub.no/ep/schema/organization#Company> .
219 240
220 npd:SeismicAreaBAA 241 npd:SeismicAreaBAA
221 rdf:type owl:Class ; 242 rdf:type owl:Class ;
243 + rdfs:comment "a BAA that is a seismic area"^^xsd:string ;
244 + rdfs:label "seismic area BAA"^^xsd:string ;
222 rdfs:subClassOf npd:BusinessArrangementArea . 245 rdfs:subClassOf npd:BusinessArrangementArea .
223 246
224 npd:Share 247 npd:Share
225 rdf:type owl:Class ; 248 rdf:type owl:Class ;
226 - rdfs:comment "A company's share in something - e.g. a BAA or a License"^^xsd:string ; 249 + rdfs:comment "a company's share in something "^^xsd:string ;
227 - rdfs:subClassOf <http://www.reportinghub.no/ep/schema/core#PhysicalThing> . 250 + rdfs:label "share"^^xsd:string ;
251 + rdfs:subClassOf ep-core:PhysicalThing .
228 252
229 npd:ShareOfBAA 253 npd:ShareOfBAA
230 rdf:type owl:Class ; 254 rdf:type owl:Class ;
255 + rdfs:comment "a share of the ownership of a BAA"^^xsd:string ;
256 + rdfs:label "share of BAA"^^xsd:string ;
231 rdfs:subClassOf npd:Share . 257 rdfs:subClassOf npd:Share .
232 258
233 npd:ShareOfLicence 259 npd:ShareOfLicence
234 rdf:type owl:Class ; 260 rdf:type owl:Class ;
235 - rdfs:comment "A class that relates a Company to a Licence it has been granted."^^xsd:string ; 261 + rdfs:comment "a share of the ownership of a license"^^xsd:string ;
262 + rdfs:label "share of license"^^xsd:string ;
236 rdfs:subClassOf npd:Share . 263 rdfs:subClassOf npd:Share .
237 264
238 npd:SlidingScaleBAA 265 npd:SlidingScaleBAA
239 rdf:type owl:Class ; 266 rdf:type owl:Class ;
267 + rdfs:comment "a BAA that is based on a sliding scale"^^xsd:string ;
268 + rdfs:label "sliding scale BAA"^^xsd:string ;
240 rdfs:subClassOf npd:BusinessArrangementArea . 269 rdfs:subClassOf npd:BusinessArrangementArea .
241 270
242 npd:TUF 271 npd:TUF
243 rdf:type owl:Class ; 272 rdf:type owl:Class ;
244 - rdfs:comment "TUF is an abbreviation for \"Transportation and Utilization Facilities\"."^^xsd:string ; 273 + rdfs:comment "a transportation and utilization facility"^^xsd:string ;
274 + rdfs:label "TUF"^^xsd:string ;
245 rdfs:subClassOf <http://www.reportinghub.no/ep/schema/facility#Facility> , npd:FixedFacilityParent . 275 rdfs:subClassOf <http://www.reportinghub.no/ep/schema/facility#Facility> , npd:FixedFacilityParent .
246 276
247 npd:TUFPart 277 npd:TUFPart
248 rdf:type owl:Class ; 278 rdf:type owl:Class ;
249 rdfs:comment "A part of a TUF"^^xsd:string ; 279 rdfs:comment "A part of a TUF"^^xsd:string ;
280 + rdfs:label "TUF part"^^xsd:string ;
250 rdfs:subClassOf npd:FixedFacilityParent . 281 rdfs:subClassOf npd:FixedFacilityParent .
251 282
252 npd:UnitizedBAA 283 npd:UnitizedBAA
253 rdf:type owl:Class ; 284 rdf:type owl:Class ;
254 - rdfs:subClassOf npd:BusinessArrangementArea . 285 + rdfs:subClassOf npd:BusinessArrangementArea ;
286 + ep-core:seeReferenceData
287 + "http://posccaesar.org/rdl/RDS4316634639"^^xsd:string .
255 288
256 npd:WBC_CO2 289 npd:WBC_CO2
257 rdf:type npd:WellBoreContent ; 290 rdf:type npd:WellBoreContent ;
...@@ -305,12 +338,14 @@ npd:WBC_Water-Gas ...@@ -305,12 +338,14 @@ npd:WBC_Water-Gas
305 338
306 npd:WellBoreContent 339 npd:WellBoreContent
307 rdf:type owl:Class ; 340 rdf:type owl:Class ;
341 + rdfs:comment "the content of a well bore"^^xsd:string ;
308 rdfs:label "Well bore content"^^xsd:string ; 342 rdfs:label "Well bore content"^^xsd:string ;
309 rdfs:subClassOf npd:Enumeration ; 343 rdfs:subClassOf npd:Enumeration ;
310 owl:oneOf (npd:WBC_Water-Gas npd:WBC_Water npd:WBC_Gas npd:WBC_Gas-Condensate npd:WBC_NotAvailable npd:WBC_Cuttings npd:WBC_Oil npd:WBC_NotApplicable npd:WBC_Oil-Gas npd:WBC_CO2) . 344 owl:oneOf (npd:WBC_Water-Gas npd:WBC_Water npd:WBC_Gas npd:WBC_Gas-Condensate npd:WBC_NotAvailable npd:WBC_Cuttings npd:WBC_Oil npd:WBC_NotApplicable npd:WBC_Oil-Gas npd:WBC_CO2) .
311 345
312 npd:WellBorePurpose 346 npd:WellBorePurpose
313 rdf:type owl:Class ; 347 rdf:type owl:Class ;
348 + rdfs:comment "the purpose of a wellbore"^^xsd:string ;
314 rdfs:label "Well bore purpose"^^xsd:string ; 349 rdfs:label "Well bore purpose"^^xsd:string ;
315 rdfs:subClassOf npd:Enumeration . 350 rdfs:subClassOf npd:Enumeration .
316 351
...@@ -424,7 +459,7 @@ npd:drillingOperator ...@@ -424,7 +459,7 @@ npd:drillingOperator
424 npd:endDate 459 npd:endDate
425 rdf:type owl:DatatypeProperty ; 460 rdf:type owl:DatatypeProperty ;
426 rdfs:comment "The date at which an individual ceases to exist"^^xsd:string ; 461 rdfs:comment "The date at which an individual ceases to exist"^^xsd:string ;
427 - rdfs:domain <http://www.reportinghub.no/ep/schema/core#PhysicalThing> ; 462 + rdfs:domain ep-core:PhysicalThing ;
428 rdfs:range xsd:date . 463 rdfs:range xsd:date .
429 464
430 npd:facilityFunctions 465 npd:facilityFunctions
...@@ -537,7 +572,7 @@ npd:shareHolder ...@@ -537,7 +572,7 @@ npd:shareHolder
537 npd:startDate 572 npd:startDate
538 rdf:type owl:DatatypeProperty ; 573 rdf:type owl:DatatypeProperty ;
539 rdfs:comment "The date at which an individual comes into existance"^^xsd:string ; 574 rdfs:comment "The date at which an individual comes into existance"^^xsd:string ;
540 - rdfs:domain <http://www.reportinghub.no/ep/schema/core#PhysicalThing> ; 575 + rdfs:domain ep-core:PhysicalThing ;
541 rdfs:range xsd:date . 576 rdfs:range xsd:date .
542 577
543 npd:wellBoreCompletionDate 578 npd:wellBoreCompletionDate
......
1 +# baseURI: http://www.reportinghub.no/refdata/npdfacts
2 +# imports: http://spinrdf.org/spin
3 +# imports: http://www.reportinghub.no/np/schema/1.0/npd
4 +# imports: http://www.reportinghub.no/refdata/RDL_ERHFoundationRD
5 +
6 +@prefix RDL_ERHFoundationRD: <http://www.reportinghub.no/refdata/RDL_ERHFoundationRD#> .
7 +@prefix npdfacts: <http://www.reportinghub.no/refdata/npdfacts#> .
8 +@prefix owl: <http://www.w3.org/2002/07/owl#> .
9 +@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
10 +@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
11 +@prefix sp: <http://spinrdf.org/sp#> .
12 +@prefix spin: <http://spinrdf.org/spin#> .
13 +@prefix spl: <http://spinrdf.org/spl#> .
14 +@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
15 +
16 +<http://www.reportinghub.no/refdata/npdfacts>
17 + rdf:type owl:Ontology ;
18 + owl:imports <http://spinrdf.org/spin> , <http://www.reportinghub.no/np/schema/1.0/npd> , <http://www.reportinghub.no/refdata/RDL_ERHFoundationRD> ;
19 + owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
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 +SELECT DISTINCT ?class
2 +WHERE {
3 + ?class a owl:ObjectProperty .
4 + FILTER ( afn:namespace(?class) = "http://www.reportinghub.no/np/schema/npd#" )
5 +}
6 +
7 +SELECT DISTINCT ?class ?superclass
8 +WHERE {
9 + ?fact a ?class .
10 + FILTER ( afn:namespace(?fact) = "http://www.reportinghub.no/np/data/npd/" )
11 + ?class rdfs:subClassOf* ?superclass .
12 +}
13 +
14 +SELECT DISTINCT ?property
15 +WHERE {
16 + ?fact a ?class .
17 + FILTER ( afn:namespace(?fact) = "http://www.reportinghub.no/np/data/npd/" )
18 + ?fact ?property ?value .
19 +}
...\ No newline at end of file ...\ No newline at end of file