David Price

Added bits for NPD RDL

......@@ -4,6 +4,7 @@
# imports: http://www.reportinghub.no/ep/schema/1.0/organization
# imports: http://www.reportinghub.no/ep/schema/1.0/well
@prefix ep-core: <http://www.reportinghub.no/ep/schema/core#> .
@prefix facility: <http://www.reportinghub.no/ep/schema/1.0/facility#> .
@prefix npd: <http://www.reportinghub.no/np/schema/npd#> .
@prefix organization: <http://www.reportinghub.no/ep/schema/1.0/organization#> .
......@@ -23,22 +24,22 @@
rdfs:subClassOf
[ rdf:type owl:Restriction ;
owl:minCardinality "0"^^xsd:nonNegativeInteger ;
owl:onProperty npd:fieldOwner
owl:onProperty npd:currentActivityStatus
] ;
rdfs:subClassOf
[ rdf:type owl:Restriction ;
owl:minCardinality "0"^^xsd:nonNegativeInteger ;
owl:onProperty npd:fieldOperator
owl:onProperty npd:fieldDiscoveryWellBore
] ;
rdfs:subClassOf
[ rdf:type owl:Restriction ;
owl:minCardinality "0"^^xsd:nonNegativeInteger ;
owl:onProperty npd:currentActivityStatus
owl:onProperty npd:fieldOperator
] ;
rdfs:subClassOf
[ rdf:type owl:Restriction ;
owl:minCardinality "0"^^xsd:nonNegativeInteger ;
owl:onProperty npd:fieldDiscoveryWellBore
owl:onProperty npd:fieldOwner
] .
<http://www.reportinghub.no/ep/schema/facility#TemporalPartOfAField>
......@@ -61,7 +62,10 @@
npd:BusinessArrangementArea
rdf:type owl:Class ;
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 ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/core#PhysicalThing> , npd:NPDIndividual , npd:Owner .
rdfs:label "business arrangement area"^^xsd:string ;
rdfs:subClassOf ep-core:PhysicalThing , npd:NPDIndividual , npd:Owner ;
ep-core:seeReferenceData
"http://posccaesar.org/rdl/RDS431663463"^^xsd:string .
npd:DWBP_Injection
rdf:type npd:DevelopmentWellBorePurpose ;
......@@ -87,6 +91,7 @@ npd:DevelopmentWellBorePurpose
npd:Discovery
rdf:type owl:Class ;
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 ;
rdfs:label "discovery"^^xsd:string ;
rdfs:subClassOf npd:NPDIndividual .
npd:EWBP_Appraisal
......@@ -122,6 +127,8 @@ npd:ExplorationWellBorePurpose
npd:FixedFacilityParent
rdf:type owl:Class ;
rdfs:comment "the parent facility of a fixed facility"^^xsd:string ;
rdfs:label "fixed facility parent"^^xsd:string ;
rdfs:subClassOf npd:NPDIndividual .
npd:HCT_Gas
......@@ -167,10 +174,14 @@ npd:LS_Inactive
npd:Licence
rdf:type owl:Class ;
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 ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/core#PhysicalThing> , npd:NPDIndividual , npd:Owner .
rdfs:label "license"^^xsd:string ;
rdfs:subClassOf ep-core:PhysicalThing , npd:NPDIndividual , npd:Owner ;
ep-core:seeReferenceData
"http://posccaesar.org/rdl/RDS43166345139"^^xsd:string .
npd:LicenceStatus
rdf:type owl:Class ;
rdfs:comment "the activation status of a license"^^xsd:string ;
rdfs:label "Licence status"^^xsd:string ;
rdfs:subClassOf npd:Enumeration ;
owl:oneOf (npd:LS_Active npd:LS_Inactive) .
......@@ -192,66 +203,88 @@ npd:MNA_NorwegianSea
npd:MainNCSArea
rdf:type owl:Class ;
rdfs:comment "the main Norwegian Continental Shelf Area"^^xsd:string ;
rdfs:label "Main NCS Area"^^xsd:string ;
rdfs:subClassOf npd:Enumeration ;
owl:oneOf (npd:MNA_NorthSea npd:MNA_NorwegianSea npd:MNA_BarentsSea) .
npd:NPDIndividual
rdf:type owl:Class ;
rdfs:comment "an individual that is a member of an NPD-related class"^^xsd:string ;
rdfs:label "NPD individual"^^xsd:string ;
rdfs:subClassOf npd:Individual .
npd:OperatingCompany
rdf:type owl:Class ;
rdfs:comment "a company operating a facility"^^xsd:string ;
rdfs:label "operating company"^^xsd:string ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/organization#Company> , npd:NPDIndividual .
npd:Owner
rdf:type owl:Class ;
rdfs:comment "Supertype of BAA and License - i.e. anything that can own a Field"^^xsd:string ;
rdfs:comment "a BAA or License that can own a Field"^^xsd:string ;
rdfs:label "owner"^^xsd:string ;
rdfs:subClassOf npd:Individual .
npd:ParcellBAA
rdf:type owl:Class ;
rdfs:comment "a BAA based on a parcel"^^xsd:string ;
rdfs:label "parcel BAA"^^xsd:string ;
rdfs:subClassOf npd:BusinessArrangementArea .
npd:ParentCompany
rdf:type owl:Class ;
rdfs:comment "a company that is the parent of another company"^^xsd:string ;
rdfs:label "parent company"^^xsd:string ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/organization#Company> .
npd:SeismicAreaBAA
rdf:type owl:Class ;
rdfs:comment "a BAA that is a seismic area"^^xsd:string ;
rdfs:label "seismic area BAA"^^xsd:string ;
rdfs:subClassOf npd:BusinessArrangementArea .
npd:Share
rdf:type owl:Class ;
rdfs:comment "A company's share in something - e.g. a BAA or a License"^^xsd:string ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/core#PhysicalThing> .
rdfs:comment "a company's share in something "^^xsd:string ;
rdfs:label "share"^^xsd:string ;
rdfs:subClassOf ep-core:PhysicalThing .
npd:ShareOfBAA
rdf:type owl:Class ;
rdfs:comment "a share of the ownership of a BAA"^^xsd:string ;
rdfs:label "share of BAA"^^xsd:string ;
rdfs:subClassOf npd:Share .
npd:ShareOfLicence
rdf:type owl:Class ;
rdfs:comment "A class that relates a Company to a Licence it has been granted."^^xsd:string ;
rdfs:comment "a share of the ownership of a license"^^xsd:string ;
rdfs:label "share of license"^^xsd:string ;
rdfs:subClassOf npd:Share .
npd:SlidingScaleBAA
rdf:type owl:Class ;
rdfs:comment "a BAA that is based on a sliding scale"^^xsd:string ;
rdfs:label "sliding scale BAA"^^xsd:string ;
rdfs:subClassOf npd:BusinessArrangementArea .
npd:TUF
rdf:type owl:Class ;
rdfs:comment "TUF is an abbreviation for \"Transportation and Utilization Facilities\"."^^xsd:string ;
rdfs:comment "a transportation and utilization facility"^^xsd:string ;
rdfs:label "TUF"^^xsd:string ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/facility#Facility> , npd:FixedFacilityParent .
npd:TUFPart
rdf:type owl:Class ;
rdfs:comment "A part of a TUF"^^xsd:string ;
rdfs:label "TUF part"^^xsd:string ;
rdfs:subClassOf npd:FixedFacilityParent .
npd:UnitizedBAA
rdf:type owl:Class ;
rdfs:subClassOf npd:BusinessArrangementArea .
rdfs:subClassOf npd:BusinessArrangementArea ;
ep-core:seeReferenceData
"http://posccaesar.org/rdl/RDS4316634639"^^xsd:string .
npd:WBC_CO2
rdf:type npd:WellBoreContent ;
......@@ -305,12 +338,14 @@ npd:WBC_Water-Gas
npd:WellBoreContent
rdf:type owl:Class ;
rdfs:comment "the content of a well bore"^^xsd:string ;
rdfs:label "Well bore content"^^xsd:string ;
rdfs:subClassOf npd:Enumeration ;
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) .
npd:WellBorePurpose
rdf:type owl:Class ;
rdfs:comment "the purpose of a wellbore"^^xsd:string ;
rdfs:label "Well bore purpose"^^xsd:string ;
rdfs:subClassOf npd:Enumeration .
......@@ -424,7 +459,7 @@ npd:drillingOperator
npd:endDate
rdf:type owl:DatatypeProperty ;
rdfs:comment "The date at which an individual ceases to exist"^^xsd:string ;
rdfs:domain <http://www.reportinghub.no/ep/schema/core#PhysicalThing> ;
rdfs:domain ep-core:PhysicalThing ;
rdfs:range xsd:date .
npd:facilityFunctions
......@@ -537,7 +572,7 @@ npd:shareHolder
npd:startDate
rdf:type owl:DatatypeProperty ;
rdfs:comment "The date at which an individual comes into existance"^^xsd:string ;
rdfs:domain <http://www.reportinghub.no/ep/schema/core#PhysicalThing> ;
rdfs:domain ep-core:PhysicalThing ;
rdfs:range xsd:date .
npd:wellBoreCompletionDate
......
# baseURI: http://www.reportinghub.no/refdata/npdfacts
# imports: http://spinrdf.org/spin
# imports: http://www.reportinghub.no/np/schema/1.0/npd
# imports: http://www.reportinghub.no/refdata/RDL_ERHFoundationRD
@prefix RDL_ERHFoundationRD: <http://www.reportinghub.no/refdata/RDL_ERHFoundationRD#> .
@prefix npdfacts: <http://www.reportinghub.no/refdata/npdfacts#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix sp: <http://spinrdf.org/sp#> .
@prefix spin: <http://spinrdf.org/spin#> .
@prefix spl: <http://spinrdf.org/spl#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
<http://www.reportinghub.no/refdata/npdfacts>
rdf:type owl:Ontology ;
owl:imports <http://spinrdf.org/spin> , <http://www.reportinghub.no/np/schema/1.0/npd> , <http://www.reportinghub.no/refdata/RDL_ERHFoundationRD> ;
owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
# baseURI: null
@prefix composite: <http://www.topbraid.org/2007/05/composite.owl#> .
@prefix forms: <http://www.topbraid.org/2007/01/forms.owl#> .
@prefix inference: <http://www.topbraid.org/2007/06/inference.owl#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix visual: <http://topbraid.org/visual#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
[] rdf:type inference:Configuration ;
composite:child
[ rdf:type <http://spinrdf.org/spin#TopSPIN> ;
composite:index "0"^^xsd:int
] .
SELECT DISTINCT ?class
WHERE {
?class a owl:ObjectProperty .
FILTER ( afn:namespace(?class) = "http://www.reportinghub.no/np/schema/npd#" )
}
SELECT DISTINCT ?class ?superclass
WHERE {
?fact a ?class .
FILTER ( afn:namespace(?fact) = "http://www.reportinghub.no/np/data/npd/" )
?class rdfs:subClassOf* ?superclass .
}
SELECT DISTINCT ?property
WHERE {
?fact a ?class .
FILTER ( afn:namespace(?fact) = "http://www.reportinghub.no/np/data/npd/" )
?fact ?property ?value .
}
\ No newline at end of file