Holger Knublauch

NPD import progress (exploration, shallow and Id well bores)

This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
......@@ -17,11 +17,11 @@
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 npd:Owner , npd:NpdIndividual , npd:TemporalIndividual .
rdfs:subClassOf npd:TemporalIndividual , npd:NpdIndividual , npd:Owner .
npd:Company
rdf:type owl:Class ;
rdfs:subClassOf npd:NpdIndividual .
rdfs:subClassOf npd:Individual .
npd:DAS_DecidedByTheLicensees
rdf:type npd:DiscoveryActivityStatus ;
......@@ -73,6 +73,27 @@ npd:DAS_Unknown
rdfs:label "unknown"@en ;
npd:code "?"^^xsd:string .
npd:DWBP_Injection
rdf:type npd:DevelopmentWellBorePurpose ;
rdfs:label "injection"@en ;
npd:code "INJECTION"^^xsd:string .
npd:DWBP_Observation
rdf:type npd:DevelopmentWellBorePurpose ;
rdfs:label "observation"@en ;
npd:code "OBSERVATION"^^xsd:string .
npd:DWBP_Production
rdf:type npd:DevelopmentWellBorePurpose ;
rdfs:label "production"@en ;
npd:code "PRODUCTION"^^xsd:string .
npd:DevelopmentWellBorePurpose
rdf:type owl:Class ;
rdfs:label "Development well bore purpose"^^xsd:string ;
rdfs:subClassOf npd:WellBorePurpose ;
owl:oneOf (npd:DWBP_Injection npd:DWBP_Observation npd:DWBP_Production) .
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 ;
......@@ -84,6 +105,21 @@ npd:DiscoveryActivityStatus
rdfs:subClassOf npd:Enumeration ;
owl:oneOf (npd:DAS_Unknown npd:DAS_PlanningPhase npd:DAS_IncludedInOtherDiscovery npd:DAS_PDOApproved npd:DAS_ShutDown npd:DAS_DevelopmentLikelyButNotClarified npd:DAS_DecidedByTheLicensees npd:DAS_DevelopmentIsNotVeryLikely npd:DAS_NewDiscoveriesNotEvaluated npd:DAS_Producing) .
npd:EWBP_Appraisal
rdf:type npd:ExplorationWellBorePurpose ;
rdfs:label "appraisal"@en ;
npd:code "APPRAISAL"^^xsd:string .
npd:EWBP_Wildcat
rdf:type npd:ExplorationWellBorePurpose ;
rdfs:label "wildcat"@en ;
npd:code "WILDCAT"^^xsd:string .
npd:EWBP_Wildcat-Appraisal
rdf:type npd:ExplorationWellBorePurpose ;
rdfs:label "wildcat & appraisal"@en ;
npd:code "WILDCAT&APPRAISAL"^^xsd:string .
npd:Enumeration
rdf:type owl:Class ;
rdfs:label "Enumeration"^^xsd:string ;
......@@ -94,6 +130,12 @@ npd:Enumeration
owl:onProperty npd:code
] .
npd:ExplorationWellBorePurpose
rdf:type owl:Class ;
rdfs:label "Exploration well bore purpose"^^xsd:string ;
rdfs:subClassOf npd:WellBorePurpose ;
owl:oneOf (npd:EWBP_Appraisal npd:EWBP_Wildcat-Appraisal npd:EWBP_Wildcat) .
npd:FAS_PDOApproved
rdf:type npd:FieldActivityStatus ;
rdfs:label "PDO approved"@en ;
......@@ -161,7 +203,7 @@ npd:FFP_ShutDown
npd:Facility
rdf:type owl:Class ;
rdfs:subClassOf npd:NpdIndividual , npd:TemporalIndividual .
rdfs:subClassOf npd:TemporalIndividual , npd:NpdIndividual .
npd:Field
rdf:type owl:Class ;
......@@ -241,7 +283,7 @@ 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 npd:TemporalIndividual , npd:NpdIndividual , npd:Owner .
rdfs:subClassOf npd:Owner , npd:NpdIndividual , npd:TemporalIndividual .
npd:LicenseStatus
rdf:type owl:Class ;
......@@ -281,7 +323,7 @@ npd:NpdIndividual
npd:OperatingCompany
rdf:type owl:Class ;
rdfs:subClassOf npd:Company .
rdfs:subClassOf npd:NpdIndividual , npd:Company .
npd:Owner
rdf:type owl:Class ;
......@@ -395,21 +437,6 @@ npd:WBC_Water-Gas
rdfs:label "water/gas"@en ;
npd:code "WATER/GAS"^^xsd:string .
npd:WBP_Injection
rdf:type npd:WellBorePurpose ;
rdfs:label "injection"@en ;
npd:code "INJECTION"^^xsd:string .
npd:WBP_Observation
rdf:type npd:WellBorePurpose ;
rdfs:label "observation"@en ;
npd:code "OBSERVATION"^^xsd:string .
npd:WBP_Production
rdf:type npd:WellBorePurpose ;
rdfs:label "production"@en ;
npd:code "PRODUCTION"^^xsd:string .
npd:Well
rdf:type owl:Class ;
rdfs:comment "Wells are referred to by name in the NPD datasheets, but there is not specific dataset for them, nor do they have NPDIDs. It is assumed that Wells may have more than one WellBore, but usually only have one. Wells belong to Fields, it would seem, but again the data is patchy."^^xsd:string ;
......@@ -417,7 +444,7 @@ npd:Well
npd:WellBore
rdf:type owl:Class ;
rdfs:subClassOf npd:NpdIndividual , npd:TemporalIndividual .
rdfs:subClassOf npd:TemporalIndividual , npd:NpdIndividual .
npd:WellBoreContent
rdf:type owl:Class ;
......@@ -428,8 +455,7 @@ npd:WellBoreContent
npd:WellBorePurpose
rdf:type owl:Class ;
rdfs:label "Well bore purpose"^^xsd:string ;
rdfs:subClassOf npd:Enumeration ;
owl:oneOf (npd:WBP_Injection npd:WBP_Observation npd:WBP_Production) .
rdfs:subClassOf npd:Enumeration .
npd:baaShared
rdf:type owl:ObjectProperty ;
......@@ -594,6 +620,12 @@ npd:name
rdfs:range xsd:string ;
rdfs:subPropertyOf rdfs:label .
npd:organisationNumber
rdf:type owl:DatatypeProperty ;
rdfs:domain npd:OperatingCompany ;
rdfs:label "organisation number"^^xsd:string ;
rdfs:range xsd:string .
npd:parentCompany
rdf:type owl:ObjectProperty ;
rdfs:domain npd:OperatingCompany ;
......@@ -641,7 +673,8 @@ npd:wellBoreCompletionDate
rdf:type owl:DatatypeProperty ;
rdfs:comment "Corresponds to Completion Date field in WellBore tables"^^xsd:string ;
rdfs:domain npd:WellBore ;
rdfs:range xsd:date .
rdfs:range xsd:date ;
rdfs:subPropertyOf npd:endDate .
npd:wellBoreContent
rdf:type owl:ObjectProperty ;
......
# baseURI: http://www.reportinghub.no/spin/rh
# imports: http://topbraid.org/spin/spinmapl
# imports: http://www.reportinghub.no/1.1,1/schema/ddr
# imports: http://spinrdf.org/spin
# imports: http://www.reportinghub.no/1.1/schema/npd
# imports: http://spinrdf.org/spin
@prefix fn: <http://www.w3.org/2005/xpath-functions#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
......@@ -20,6 +19,11 @@
rdfs:label "id"^^xsd:string ;
rdfs:subPropertyOf sp:arg .
<http://spinrdf.org/arg#name>
rdf:type rdf:Property ;
rdfs:label "name"^^xsd:string ;
rdfs:subPropertyOf sp:arg .
<http://spinrdf.org/arg#well>
rdf:type rdf:Property ;
rdfs:label "well"^^xsd:string ;
......@@ -38,7 +42,7 @@
<http://www.reportinghub.no/spin/rh>
rdf:type owl:Ontology ;
rdfs:comment "A collection of SPIN functions and templates to support working with the ReportingHub schemas."^^xsd:string ;
owl:imports <http://www.reportinghub.no/1.1/schema/npd> , <http://www.reportinghub.no/1.1,1/schema/ddr> , <http://spinrdf.org/spin> , <http://topbraid.org/spin/spinmapl> ;
owl:imports <http://topbraid.org/spin/spinmapl> , <http://spinrdf.org/spin> , <http://www.reportinghub.no/1.1/schema/npd> ;
owl:versionInfo "0.1.0"^^xsd:string .
rhspin:GetWellBoresOfWell
......@@ -203,6 +207,34 @@ rhspin:licenceById
] ;
spin:returnType <http://www.reportinghub.no/schema/npd#Licence> .
rhspin:parentCompanyByName
rdf:type spin:Function ;
rdfs:comment "Gets the URI resource of a parent company based on its NPD name."^^xsd:string ;
rdfs:label "parent company by name"^^xsd:string ;
rdfs:subClassOf spl:URIFunctions ;
spin:body
[ rdf:type sp:Select ;
sp:resultVariables ([ rdf:type sp:iri ;
sp:arg1 [ rdf:type fn:concat ;
sp:arg1 "https://www.reportinghub.no/data/npd/ParentCompany-" ;
sp:arg2 [ rdf:type spif:replaceAll ;
sp:arg1 [ sp:varName "name"^^xsd:string
] ;
sp:arg2 " " ;
sp:arg3 "_"
]
]
]) ;
sp:where ()
] ;
spin:constraint
[ rdf:type spl:Argument ;
rdfs:comment "The NPD name of the parent company to get the URI of."^^xsd:string ;
spl:predicate <http://spinrdf.org/arg#name> ;
spl:valueType xsd:string
] ;
spin:returnType <http://www.reportinghub.no/schema/npd#WellBore> .
rhspin:tufById
rdf:type spin:Function ;
rdfs:label "tuf by id"^^xsd:string ;
......@@ -258,7 +290,7 @@ rhspin:wellBoreByName
] ;
spin:constraint
[ rdf:type spl:Argument ;
rdfs:comment "The NPD ID of the well bore to get the URI of."^^xsd:string ;
rdfs:comment "The NPD name of the well bore to get the URI of."^^xsd:string ;
spl:predicate <http://spinrdf.org/arg#wellBoreName> ;
spl:valueType xsd:string
] ;
......
......@@ -12,7 +12,13 @@
[] rdf:type inference:Configuration ;
composite:child
[ rdf:type <http://spinrdf.org/spin#TopSPIN> ;
composite:index "1"^^xsd:int
] ;
composite:child
[ rdf:type <http://spinrdf.org/spin#TopSPIN> ;
composite:index "0"^^xsd:int
] ;
inference:completeMode
"true"^^xsd:boolean ;
inference:inferredMode
"true"^^xsd:boolean .
......
This diff could not be displayed because it is too large.
# baseURI: file:///www.reportinghub.no/transform/npd/wbsha
# imports: http://topbraid.org/tables
@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 tables: <http://topbraid.org/tables#> .
@prefix wbsha: <file:///www.reportinghub.no/transform/npd/wbsha#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
<file:///www.reportinghub.no/transform/npd/wbsha>
rdf:type owl:Ontology ;
owl:imports <http://topbraid.org/tables> .
wbsha:WBSha
rdf:type owl:Class ;
rdfs:label "wbsha-2011-07-30" ;
tables:sheetIndex "0"^^xsd:int .
wbsha:datesyncNPD
rdf:type owl:DatatypeProperty ;
rdfs:domain wbsha:WBSha ;
rdfs:label "datesyncNPD" ;
rdfs:range xsd:string ;
tables:columnIndex "34"^^xsd:int .
wbsha:wlbCompletionDate
rdf:type owl:DatatypeProperty ;
rdfs:domain wbsha:WBSha ;
rdfs:label "wlbCompletionDate" ;
rdfs:range xsd:string ;
tables:columnIndex "6"^^xsd:int .
wbsha:wlbCompletionYear
rdf:type owl:DatatypeProperty ;
rdfs:domain wbsha:WBSha ;
rdfs:label "wlbCompletionYear" ;
rdfs:range xsd:string ;
tables:columnIndex "12"^^xsd:int .
wbsha:wlbDrillPermit
rdf:type owl:DatatypeProperty ;
rdfs:domain wbsha:WBSha ;
rdfs:label "wlbDrillPermit" ;
rdfs:range xsd:string ;
tables:columnIndex "7"^^xsd:int .
wbsha:wlbDrillingOperator
rdf:type owl:DatatypeProperty ;
rdfs:domain wbsha:WBSha ;
rdfs:label "wlbDrillingOperator" ;
rdfs:range xsd:string ;
tables:columnIndex "3"^^xsd:int .
wbsha:wlbEntryDate
rdf:type owl:DatatypeProperty ;
rdfs:domain wbsha:WBSha ;
rdfs:label "wlbEntryDate" ;
rdfs:range xsd:string ;
tables:columnIndex "5"^^xsd:int .
wbsha:wlbEntryYear
rdf:type owl:DatatypeProperty ;
rdfs:domain wbsha:WBSha ;
rdfs:label "wlbEntryYear" ;
rdfs:range xsd:string ;
tables:columnIndex "11"^^xsd:int .
wbsha:wlbEwCode
rdf:type owl:DatatypeProperty ;
rdfs:domain wbsha:WBSha ;
rdfs:label "wlbEwCode" ;
rdfs:range xsd:string ;
tables:columnIndex "22"^^xsd:int .
wbsha:wlbEwDeg
rdf:type owl:DatatypeProperty ;
rdfs:domain wbsha:WBSha ;
rdfs:label "wlbEwDeg" ;
rdfs:range xsd:string ;
tables:columnIndex "19"^^xsd:int .
wbsha:wlbEwDesDeg
rdf:type owl:DatatypeProperty ;
rdfs:domain wbsha:WBSha ;
rdfs:label "wlbEwDesDeg" ;
rdfs:range xsd:string ;
tables:columnIndex "24"^^xsd:int .
wbsha:wlbEwMin
rdf:type owl:DatatypeProperty ;
rdfs:domain wbsha:WBSha ;
rdfs:label "wlbEwMin" ;
rdfs:range xsd:string ;
tables:columnIndex "20"^^xsd:int .
wbsha:wlbEwSec
rdf:type owl:DatatypeProperty ;
rdfs:domain wbsha:WBSha ;
rdfs:label "wlbEwSec" ;
rdfs:range xsd:string ;
tables:columnIndex "21"^^xsd:int .
wbsha:wlbEwUtm
rdf:type owl:DatatypeProperty ;
rdfs:domain wbsha:WBSha ;
rdfs:label "wlbEwUtm" ;
rdfs:range xsd:string ;
tables:columnIndex "26"^^xsd:int .
wbsha:wlbGeodeticDatum
rdf:type owl:DatatypeProperty ;
rdfs:domain wbsha:WBSha ;
rdfs:label "wlbGeodeticDatum" ;
rdfs:range xsd:string ;
tables:columnIndex "14"^^xsd:int .
wbsha:wlbMainArea
rdf:type owl:DatatypeProperty ;
rdfs:domain wbsha:WBSha ;
rdfs:label "wlbMainArea" ;
rdfs:range xsd:string ;
tables:columnIndex "10"^^xsd:int .
wbsha:wlbNamePart1
rdf:type owl:DatatypeProperty ;
rdfs:domain wbsha:WBSha ;
rdfs:label "wlbNamePart1" ;
rdfs:range xsd:string ;
tables:columnIndex "28"^^xsd:int .
wbsha:wlbNamePart2
rdf:type owl:DatatypeProperty ;
rdfs:domain wbsha:WBSha ;
rdfs:label "wlbNamePart2" ;
rdfs:range xsd:string ;
tables:columnIndex "29"^^xsd:int .
wbsha:wlbNamePart3
rdf:type owl:DatatypeProperty ;
rdfs:domain wbsha:WBSha ;
rdfs:label "wlbNamePart3" ;
rdfs:range xsd:string ;
tables:columnIndex "30"^^xsd:int .
wbsha:wlbNamePart4
rdf:type owl:DatatypeProperty ;
rdfs:domain wbsha:WBSha ;
rdfs:label "wlbNamePart4" ;
rdfs:range xsd:string ;
tables:columnIndex "31"^^xsd:int .
wbsha:wlbNamePart5
rdf:type owl:DatatypeProperty ;
rdfs:domain wbsha:WBSha ;
rdfs:label "wlbNamePart5" ;
rdfs:range xsd:string ;
tables:columnIndex "32"^^xsd:int .
wbsha:wlbNamePart6
rdf:type owl:DatatypeProperty ;
rdfs:domain wbsha:WBSha ;
rdfs:label "wlbNamePart6" ;
rdfs:range xsd:string ;
tables:columnIndex "33"^^xsd:int .
wbsha:wlbNpdidWellbore
rdf:type owl:DatatypeProperty ;
rdfs:domain wbsha:WBSha ;
rdfs:label "wlbNpdidWellbore" ;
rdfs:range xsd:string ;
tables:columnIndex "1"^^xsd:int .
wbsha:wlbNsCode
rdf:type owl:DatatypeProperty ;
rdfs:domain wbsha:WBSha ;
rdfs:label "wlbNsCode" ;
rdfs:range xsd:string ;
tables:columnIndex "18"^^xsd:int .
wbsha:wlbNsDecDeg
rdf:type owl:DatatypeProperty ;
rdfs:domain wbsha:WBSha ;
rdfs:label "wlbNsDecDeg" ;
rdfs:range xsd:string ;
tables:columnIndex "23"^^xsd:int .
wbsha:wlbNsDeg
rdf:type owl:DatatypeProperty ;
rdfs:domain wbsha:WBSha ;
rdfs:label "wlbNsDeg" ;
rdfs:range xsd:string ;
tables:columnIndex "15"^^xsd:int .
wbsha:wlbNsMin
rdf:type owl:DatatypeProperty ;
rdfs:domain wbsha:WBSha ;
rdfs:label "wlbNsMin" ;
rdfs:range xsd:string ;
tables:columnIndex "16"^^xsd:int .
wbsha:wlbNsSec
rdf:type owl:DatatypeProperty ;
rdfs:domain wbsha:WBSha ;
rdfs:label "wlbNsSec" ;
rdfs:range xsd:string ;
tables:columnIndex "17"^^xsd:int .
wbsha:wlbNsUtm
rdf:type owl:DatatypeProperty ;
rdfs:domain wbsha:WBSha ;
rdfs:label "wlbNsUtm" ;
rdfs:range xsd:string ;
tables:columnIndex "25"^^xsd:int .
wbsha:wlbProductionLicence
rdf:type owl:DatatypeProperty ;
rdfs:domain wbsha:WBSha ;
rdfs:label "wlbProductionLicence" ;
rdfs:range xsd:string ;
tables:columnIndex "4"^^xsd:int .
wbsha:wlbSeismicLocation
rdf:type owl:DatatypeProperty ;
rdfs:domain wbsha:WBSha ;
rdfs:label "wlbSeismicLocation" ;
rdfs:range xsd:string ;
tables:columnIndex "13"^^xsd:int .
wbsha:wlbTotalDepth
rdf:type owl:DatatypeProperty ;
rdfs:domain wbsha:WBSha ;
rdfs:label "wlbTotalDepth" ;
rdfs:range xsd:string ;
tables:columnIndex "8"^^xsd:int .
wbsha:wlbUtmZone
rdf:type owl:DatatypeProperty ;
rdfs:domain wbsha:WBSha ;
rdfs:label "wlbUtmZone" ;
rdfs:range xsd:string ;
tables:columnIndex "27"^^xsd:int .
wbsha:wlbWaterDepth
rdf:type owl:DatatypeProperty ;
rdfs:domain wbsha:WBSha ;
rdfs:label "wlbWaterDepth" ;
rdfs:range xsd:string ;
tables:columnIndex "9"^^xsd:int .
wbsha:wlbWell
rdf:type owl:DatatypeProperty ;
rdfs:domain wbsha:WBSha ;
rdfs:label "wlbWell" ;
rdfs:range xsd:string ;
tables:columnIndex "2"^^xsd:int .
wbsha:wlbWellboreName
rdf:type owl:DatatypeProperty ;
rdfs:domain wbsha:WBSha ;
rdfs:label "wlbWellboreName"^^xsd:string ;
rdfs:range xsd:string ;
tables:columnIndex "0"^^xsd:int .