Holger Knublauch

Added npd:licenceOperator and mapping to fill it, changed upload

constraints
......@@ -92,15 +92,27 @@
sp:arg1 [ sp:varName "company"^^xsd:string
]
]
] [ rdf:type sp:NotExists ;
sp:elements ([ sp:object
[ sp:varName "wellBore"^^xsd:string
] ;
sp:predicate rhspin:companyHasLicenceForWellBore ;
sp:subject
[ sp:varName "company"^^xsd:string
]
])
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type rhspin:licenceForWellBore ;
arg:wellBore
[ sp:varName "wellBore"^^xsd:string
]
] ;
sp:variable
[ sp:varName "licence"^^xsd:string
]
] [ rdf:type sp:Filter ;
sp:expression
[ rdf:type sp:not ;
sp:arg1 [ rdf:type rhspin:npdTripleExists ;
sp:arg1 [ sp:varName "licence"^^xsd:string
] ;
sp:arg2 <http://www.reportinghub.no/np/schema/npd#licenceOperator> ;
sp:arg3 [ sp:varName "company"^^xsd:string
]
]
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type sp:coalesce ;
......@@ -112,7 +124,20 @@
sp:arg2 "Unknown well bore"
] ;
sp:variable
[ sp:varName "displayName"^^xsd:string
[ sp:varName "wellBoreName"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type sp:coalesce ;
sp:arg1 [ rdf:type rhspin:npdName ;
arg:resource
[ sp:varName "licence"^^xsd:string
]
] ;
sp:arg2 "Unknown licence"
] ;
sp:variable
[ sp:varName "licenceName"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
......@@ -120,8 +145,11 @@
sp:arg1 "Your company (" ;
sp:arg2 [ sp:varName "companyName"^^xsd:string
] ;
sp:arg3 ") does not hold a licence for well bore " ;
sp:arg4 [ sp:varName "displayName"^^xsd:string
sp:arg3 ") is not the operator of licence " ;
sp:arg4 [ sp:varName "licenceName"^^xsd:string
] ;
sp:arg5 " for well bore " ;
sp:arg6 [ sp:varName "wellBoreName"^^xsd:string
]
] ;
sp:variable
......
This diff could not be displayed because it is too large.
# baseURI: http://www.reportinghub.no/np/schema/1.0/npd
# imports: http://www.reportinghub.no/ep/schema/1.0/core
# imports: http://www.reportinghub.no/ep/schema/1.0/facility
# imports: http://www.reportinghub.no/ep/schema/1.0/organization
# imports: http://www.reportinghub.no/ep/schema/1.0/well
@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#> .
@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 rdl: <http://rds.posccaesar.org/2008/06/OWL/RDL#> .
@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/ep/schema/facility#Facility>
rdfs:subClassOf npd:NPDIndividual .
<http://www.reportinghub.no/ep/schema/facility#Field>
rdfs:subClassOf
[ rdf:type owl:Restriction ;
owl:minCardinality "0"^^xsd:nonNegativeInteger ;
owl:onProperty npd:fieldDiscoveryWellBore
] ;
rdfs:subClassOf
[ rdf:type owl:Restriction ;
owl:minCardinality "0"^^xsd:nonNegativeInteger ;
owl:onProperty npd:currentActivityStatus
] ;
rdfs:subClassOf
[ rdf:type owl:Restriction ;
owl:minCardinality "0"^^xsd:nonNegativeInteger ;
owl:onProperty npd:fieldOperator
] ;
rdfs:subClassOf
[ rdf:type owl:Restriction ;
owl:minCardinality "0"^^xsd:nonNegativeInteger ;
owl:onProperty npd:fieldOwner
] .
<http://www.reportinghub.no/ep/schema/facility#TemporalPartOfAField>
rdfs:subClassOf npd:FixedFacilityParent .
<http://www.reportinghub.no/ep/schema/organization#Company>
rdfs:subClassOf npd:Individual .
<http://www.reportinghub.no/ep/schema/well#Well>
rdfs:subClassOf npd:Individual .
<http://www.reportinghub.no/ep/schema/well#WellBore>
rdfs:subClassOf npd:NPDIndividual .
<http://www.reportinghub.no/np/schema/1.0/npd>
rdf:type owl:Ontology ;
owl:imports <http://www.reportinghub.no/ep/schema/1.0/organization> , <http://www.reportinghub.no/ep/schema/1.0/facility> , <http://www.reportinghub.no/ep/schema/1.0/core> , <http://www.reportinghub.no/ep/schema/1.0/well> ;
owl:versionInfo "0.1.0"^^xsd:string .
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 , <http://www.reportinghub.no/ep/schema/core#PhysicalThing> , npd:NPDIndividual .
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 ;
rdfs:subClassOf npd:NPDIndividual .
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 ;
rdfs:subClassOf owl:Thing ;
rdfs:subClassOf
[ rdf:type owl:Restriction ;
owl:cardinality "1"^^xsd:nonNegativeInteger ;
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:FixedFacilityParent
rdf:type owl:Class ;
rdfs:subClassOf npd:NPDIndividual .
npd:HCT_Gas
rdf:type npd:HCType ;
rdfs:label "gas"@en ;
npd:code "GAS"^^xsd:string .
npd:HCT_Gas-Condensate
rdf:type npd:HCType ;
rdfs:label "gas/condensate"@en ;
npd:code "GAS/CONDENSATE"^^xsd:string .
npd:HCT_Oil
rdf:type npd:HCType ;
rdfs:label "oil"@en ;
npd:code "OIL"^^xsd:string .
npd:HCT_Oil-Gas
rdf:type npd:HCType ;
rdfs:label "oil/gas"@en ;
npd:code "OIL/GAS"^^xsd:string .
npd:HCType
rdf:type owl:Class ;
rdfs:label "HCType"^^xsd:string ;
rdfs:subClassOf npd:Enumeration ;
owl:oneOf (npd:HCT_Gas-Condensate npd:HCT_Oil-Gas npd:HCT_Gas npd:HCT_Oil) .
npd:Individual
rdf:type owl:Class ;
rdfs:subClassOf owl:Thing .
npd:LS_Active
rdf:type npd:LicenceStatus ;
rdfs:label "active"@en ;
npd:code "ACTIVE"^^xsd:string .
npd:LS_Inactive
rdf:type npd:LicenceStatus ;
rdfs:label "inactive"@en ;
npd:code "INACTIVE"^^xsd:string .
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:Owner , <http://www.reportinghub.no/ep/schema/core#PhysicalThing> , npd:NPDIndividual .
npd:LicenceStatus
rdf:type owl:Class ;
rdfs:label "Licence status"^^xsd:string ;
rdfs:subClassOf npd:Enumeration ;
owl:oneOf (npd:LS_Active npd:LS_Inactive) .
npd:MNA_BarentsSea
rdf:type npd:MainNCSArea ;
rdfs:label "Barents sea"@en ;
npd:code "Barents sea"^^xsd:string .
npd:MNA_NorthSea
rdf:type npd:MainNCSArea ;
rdfs:label "North sea"@en ;
npd:code "North sea"^^xsd:string .
npd:MNA_NorwegianSea
rdf:type npd:MainNCSArea ;
rdfs:label "Norwegian sea"@en ;
npd:code "Norwegian sea"^^xsd:string .
npd:MainNCSArea
rdf:type owl:Class ;
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:subClassOf npd:Individual .
npd:OperatingCompany
rdf:type owl:Class ;
rdfs:subClassOf npd:NPDIndividual , <http://www.reportinghub.no/ep/schema/organization#Company> .
npd:Owner
rdf:type owl:Class ;
rdfs:comment "Supertype of BAA and License - i.e. anything that can own a Field"^^xsd:string ;
rdfs:subClassOf npd:Individual .
npd:ParcellBAA
rdf:type owl:Class ;
rdfs:subClassOf npd:BusinessArrangementArea .
npd:ParentCompany
rdf:type owl:Class ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/organization#Company> .
npd:SeismicAreaBAA
rdf:type owl:Class ;
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> .
npd:ShareOfBAA
rdf:type owl:Class ;
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:subClassOf npd:Share .
npd:SlidingScaleBAA
rdf:type owl:Class ;
rdfs:subClassOf npd:BusinessArrangementArea .
npd:TUF
rdf:type owl:Class ;
rdfs:comment "TUF is an abbreviation for \"Transportation and Utilization Facilities\"."^^xsd:string ;
rdfs:subClassOf npd:FixedFacilityParent , <http://www.reportinghub.no/ep/schema/facility#Facility> .
npd:TUFPart
rdf:type owl:Class ;
rdfs:comment "A part of a TUF"^^xsd:string ;
rdfs:subClassOf npd:FixedFacilityParent .
npd:UnitizedBAA
rdf:type owl:Class ;
rdfs:subClassOf npd:BusinessArrangementArea .
npd:WBC_CO2
rdf:type npd:WellBoreContent ;
rdfs:label "CO2"@en ;
npd:code "CO2"^^xsd:string .
npd:WBC_Cuttings
rdf:type npd:WellBoreContent ;
rdfs:label "cuttings"@en ;
npd:code "CUTTINGS"^^xsd:string .
npd:WBC_Gas
rdf:type npd:WellBoreContent ;
rdfs:label "gas"@en ;
npd:code "GAS"^^xsd:string .
npd:WBC_Gas-Condensate
rdf:type npd:WellBoreContent ;
rdfs:label "gas/condensate"@en ;
npd:code "GAS/CONDENSATE"^^xsd:string .
npd:WBC_NotApplicable
rdf:type npd:WellBoreContent ;
rdfs:label "not applicable"@en ;
npd:code "NOT APPLICABLE"^^xsd:string .
npd:WBC_NotAvailable
rdf:type npd:WellBoreContent ;
rdfs:label "not available"@en ;
npd:code "NOT AVAILABLE"^^xsd:string .
npd:WBC_Oil
rdf:type npd:WellBoreContent ;
rdfs:label "oil"@en ;
npd:code "OIL"^^xsd:string .
npd:WBC_Oil-Gas
rdf:type npd:WellBoreContent ;
rdfs:label "oil/gas"@en ;
npd:code "OIL/GAS"^^xsd:string .
npd:WBC_Water
rdf:type npd:WellBoreContent ;
rdfs:label "water"@en ;
npd:code "WATER"^^xsd:string .
npd:WBC_Water-Gas
rdf:type npd:WellBoreContent ;
rdfs:label "water/gas"@en ;
npd:code "WATER/GAS"^^xsd:string .
npd:WellBoreContent
rdf:type owl:Class ;
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:label "Well bore purpose"^^xsd:string ;
rdfs:subClassOf npd:Enumeration .
npd:baaShared
rdf:type owl:ObjectProperty ;
rdfs:domain npd:ShareOfBAA ;
rdfs:range npd:BusinessArrangementArea .
npd:belongsTo
rdf:type owl:ObjectProperty ;
rdfs:domain <http://www.reportinghub.no/ep/schema/facility#FixedFacility> ;
rdfs:range npd:FixedFacilityParent .
npd:code
rdf:type owl:DatatypeProperty ;
rdfs:comment "Identifier of enumerated resources (control vocabularies). Can be used to match against string values in databases etc."^^xsd:string ;
rdfs:label "code"^^xsd:string .
npd:companyShortName
rdf:type owl:DatatypeProperty ;
rdfs:domain <http://www.reportinghub.no/ep/schema/organization#Company> ;
rdfs:range xsd:string ;
rdfs:subPropertyOf rdfs:label .
npd:currentActivityStatus
rdf:type owl:DatatypeProperty ;
rdfs:domain <http://www.reportinghub.no/ep/schema/facility#Field> ;
rdfs:range xsd:string .
npd:currentOperator
rdf:type owl:ObjectProperty ;
rdfs:comment "Corresponds to Current Operator field in fixed facility tables"^^xsd:string ;
rdfs:domain <http://www.reportinghub.no/ep/schema/facility#FixedFacility> ;
rdfs:range <http://www.reportinghub.no/ep/schema/organization#Company> .
npd:currentlyResponsibleCompany
rdf:type owl:ObjectProperty ;
rdfs:comment "Corresponds to Currently Reponsible Company field in moveable facility tables"^^xsd:string ;
rdfs:domain <http://www.reportinghub.no/ep/schema/facility#MoveableFacility> ;
rdfs:range <http://www.reportinghub.no/ep/schema/organization#Company> .
npd:discoveryCurrentActivityStatus
rdf:type owl:DatatypeProperty ;
rdfs:domain npd:Discovery ;
rdfs:range xsd:string .
npd:discoveryField
rdf:type owl:ObjectProperty ;
rdfs:comment "Corresponds to Field NPDID field in NPD Discovery table (overview)"^^xsd:string ;
rdfs:domain npd:Discovery ;
rdfs:range <http://www.reportinghub.no/ep/schema/facility#Field> .
npd:discoveryHCType
rdf:type owl:ObjectProperty ;
rdfs:domain npd:Discovery ;
rdfs:range npd:HCType .
npd:discoveryMainNcsArea
rdf:type owl:ObjectProperty ;
rdfs:domain npd:Discovery ;
rdfs:range npd:MainNCSArea .
npd:discoveryOperator
rdf:type owl:ObjectProperty ;
rdfs:comment "Corresponds to Operator field in NPD Discovery table (overview)"^^xsd:string ;
rdfs:domain npd:Discovery ;
rdfs:range <http://www.reportinghub.no/ep/schema/organization#Company> .
npd:discoveryOwner
rdf:type owl:ObjectProperty ;
rdfs:comment "Corresponds to Owner field in NPD Discovery table (see also Owner Kind)"^^xsd:string ;
rdfs:domain npd:Discovery ;
rdfs:range npd:Owner .
npd:discoveryWellBore
rdf:type owl:ObjectProperty ;
rdfs:comment "Corresponds to Discovery Wellbore NPDID in the Discovery table (overview)"^^xsd:string ;
rdfs:domain npd:Discovery ;
rdfs:range <http://www.reportinghub.no/ep/schema/well#WellBore> .
npd:discoveryYear
rdf:type owl:DatatypeProperty ;
rdfs:domain npd:Discovery ;
rdfs:range xsd:integer .
npd:drilledInProductionLicence
rdf:type owl:ObjectProperty ;
rdfs:comment "Corresponds to Drilled in Production Licence field in WellBore tables"^^xsd:string ;
rdfs:domain <http://www.reportinghub.no/ep/schema/well#WellBore> ;
rdfs:range npd:Licence .
npd:drillingFacility
rdf:type owl:ObjectProperty ;
rdfs:comment "Corresponds to Drilled in Production License field in WellBore tables"^^xsd:string ;
rdfs:domain <http://www.reportinghub.no/ep/schema/well#WellBore> ;
rdfs:range <http://www.reportinghub.no/ep/schema/facility#Facility> .
npd:drillingOperator
rdf:type owl:ObjectProperty ;
rdfs:comment "Corresponds to Drilling Operator field in WellBore tables"^^xsd:string ;
rdfs:domain <http://www.reportinghub.no/ep/schema/well#WellBore> ;
rdfs:range <http://www.reportinghub.no/ep/schema/organization#Company> .
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:range xsd:date .
npd:facilityFunctions
rdf:type owl:DatatypeProperty ;
rdfs:comment "corresponds to Functions field in both the fixed and moveable facility tables"^^xsd:string ;
rdfs:domain <http://www.reportinghub.no/ep/schema/facility#Facility> ;
rdfs:range xsd:string .
npd:facilityKind
rdf:type owl:DatatypeProperty ;
rdfs:comment "corresponds to Kind field in both the fixed and moveable facility tables"^^xsd:string ;
rdfs:domain <http://www.reportinghub.no/ep/schema/facility#Facility> ;
rdfs:range xsd:string .
npd:fieldDiscoveryWellBore
rdf:type owl:ObjectProperty ;
rdfs:comment "Corresponds to Discovery Wellbore NPDID in the Field table "^^xsd:string ;
rdfs:domain <http://www.reportinghub.no/ep/schema/facility#Field> ;
rdfs:range <http://www.reportinghub.no/ep/schema/well#WellBore> .
npd:fieldOperator
rdf:type owl:ObjectProperty ;
rdfs:domain <http://www.reportinghub.no/ep/schema/facility#Field> ;
rdfs:range <http://www.reportinghub.no/ep/schema/organization#Company> .
npd:fieldOwner
rdf:type owl:ObjectProperty ;
rdfs:comment "The owner column in the NPD Field table may correspond to a BAA or a License, as indicated by the Owner Kind column"^^xsd:string ;
rdfs:domain <http://www.reportinghub.no/ep/schema/facility#Field> ;
rdfs:range npd:Owner .
npd:fixedFacilityPhase
rdf:type owl:DatatypeProperty ;
rdfs:comment "corresponds to Phase field in fixed facility tables"^^xsd:string ;
rdfs:domain <http://www.reportinghub.no/ep/schema/facility#FixedFacility> ;
rdfs:range xsd:string .
npd:id
rdf:type owl:DatatypeProperty ;
rdfs:domain npd:NPDIndividual ;
rdfs:range xsd:string .
npd:licenceShared
rdf:type owl:ObjectProperty ;
rdfs:domain npd:ShareOfLicence ;
rdfs:range npd:Licence .
npd:licenceStatus
rdf:type owl:ObjectProperty ;
rdfs:comment "corresponds to the Status field in the License table"^^xsd:string ;
rdfs:domain npd:Licence ;
rdfs:range npd:LicenceStatus .
npd:licensingActivity
rdf:type owl:DatatypeProperty ;
rdfs:comment "corresponds to the licensing activity field in the License table"^^xsd:string ;
rdfs:domain npd:Licence ;
rdfs:range xsd:string .
npd:name
rdf:type owl:DatatypeProperty ;
rdfs:domain npd:Individual ;
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 ;
rdfs:range npd:ParentCompany .
npd:partOfTUF
rdf:type owl:ObjectProperty ;
rdfs:domain npd:TUFPart ;
rdfs:range npd:TUF .
npd:partOfWell
rdf:type owl:ObjectProperty ;
rdfs:domain <http://www.reportinghub.no/ep/schema/well#WellBore> ;
rdfs:range <http://www.reportinghub.no/ep/schema/well#Well> .
npd:percentageOfShare
rdf:type owl:DatatypeProperty ;
rdfs:domain npd:Share ;
rdfs:range xsd:float .
npd:productionFacility
rdf:type owl:ObjectProperty ;
rdfs:comment "Corresponds to Production Facility field in WellBore tables"^^xsd:string ;
rdfs:domain <http://www.reportinghub.no/ep/schema/well#WellBore> ;
rdfs:range <http://www.reportinghub.no/ep/schema/facility#Facility> .
npd:shareHolder
rdf:type owl:ObjectProperty ;
rdfs:comment "Equivalent to AwardedTo field in License table"^^xsd:string ;
rdfs:domain npd:Share ;
rdfs:range <http://www.reportinghub.no/ep/schema/organization#Company> .
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:range xsd:date .
npd:wellBoreCompletionDate
rdf:type owl:DatatypeProperty ;
rdfs:comment "Corresponds to Completion Date field in WellBore tables"^^xsd:string ;
rdfs:domain <http://www.reportinghub.no/ep/schema/well#WellBore> ;
rdfs:range xsd:date ;
rdfs:subPropertyOf npd:endDate .
npd:wellBoreContent
rdf:type owl:ObjectProperty ;
rdfs:comment "Corresponds to Content field in WellBore tables"^^xsd:string ;
rdfs:domain <http://www.reportinghub.no/ep/schema/well#WellBore> ;
rdfs:range npd:WellBoreContent .
npd:wellBoreDrillPermit
rdf:type owl:DatatypeProperty ;
rdfs:comment "Corresponds to Drill Permit field in WellBore tables"^^xsd:string ;
rdfs:domain <http://www.reportinghub.no/ep/schema/well#WellBore> ;
rdfs:range xsd:string .
npd:wellBorePurpose
rdf:type owl:ObjectProperty ;
rdfs:comment "Corresponds to Purpose field in WellBore tables"^^xsd:string ;
rdfs:domain <http://www.reportinghub.no/ep/schema/well#WellBore> ;
rdfs:range npd:WellBorePurpose .
npd:wellBoreType
rdf:type owl:DatatypeProperty ;
rdfs:comment "Corresponds to Type field in WellBore tables"^^xsd:string ;
rdfs:domain <http://www.reportinghub.no/ep/schema/well#WellBore> ;
rdfs:range xsd:string .
npd:wellPartOfField
rdf:type owl:ObjectProperty ;
rdfs:comment "A field may have several Wells, however this information is not presented directly in the NPD data. Each Well usually has one (occasionally more than one) WellBore, and so in order to ascertain what field the Well is in, we have to infer it from the related WellBore table. Unfortunately, the Field column is not always populated, so sometimes the Field can only be inferred from the License, which usually corresponds to a Field."^^xsd:string ;
rdfs:domain <http://www.reportinghub.no/ep/schema/well#Well> ;
rdfs:range <http://www.reportinghub.no/ep/schema/facility#Field> .
npd:wellboreOwner
rdf:type owl:ObjectProperty ;
rdfs:comment "Corresponds to Owner field in WellBore tables - see also Owner Kind"^^xsd:string ;
rdfs:domain <http://www.reportinghub.no/ep/schema/well#WellBore> ;
rdfs:range npd:Owner .
# baseURI: http://www.reportinghub.no/np/schema/1.0/npd
# imports: http://www.reportinghub.no/ep/schema/1.0/core
# imports: http://www.reportinghub.no/ep/schema/1.0/facility
# imports: http://www.reportinghub.no/ep/schema/1.0/organization
# imports: http://www.reportinghub.no/ep/schema/1.0/well
@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#> .
@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 rdl: <http://rds.posccaesar.org/2008/06/OWL/RDL#> .
@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/ep/schema/facility#Facility>
rdfs:subClassOf npd:NPDIndividual .
<http://www.reportinghub.no/ep/schema/facility#Field>
rdfs:subClassOf
[ rdf:type owl:Restriction ;
owl:minCardinality "0"^^xsd:nonNegativeInteger ;
owl:onProperty npd:fieldOwner
] ;
rdfs:subClassOf
[ rdf:type owl:Restriction ;
owl:minCardinality "0"^^xsd:nonNegativeInteger ;
owl:onProperty npd:fieldOperator
] ;
rdfs:subClassOf
[ rdf:type owl:Restriction ;
owl:minCardinality "0"^^xsd:nonNegativeInteger ;
owl:onProperty npd:currentActivityStatus
] ;
rdfs:subClassOf
[ rdf:type owl:Restriction ;
owl:minCardinality "0"^^xsd:nonNegativeInteger ;
owl:onProperty npd:fieldDiscoveryWellBore
] .
<http://www.reportinghub.no/ep/schema/facility#TemporalPartOfAField>
rdfs:subClassOf npd:FixedFacilityParent .
<http://www.reportinghub.no/ep/schema/organization#Company>
rdfs:subClassOf npd:Individual .
<http://www.reportinghub.no/ep/schema/well#Well>
rdfs:subClassOf npd:Individual .
<http://www.reportinghub.no/ep/schema/well#WellBore>
rdfs:subClassOf npd:NPDIndividual .
<http://www.reportinghub.no/np/schema/1.0/npd>
rdf:type owl:Ontology ;
owl:imports <http://www.reportinghub.no/ep/schema/1.0/core> , <http://www.reportinghub.no/ep/schema/1.0/facility> , <http://www.reportinghub.no/ep/schema/1.0/organization> , <http://www.reportinghub.no/ep/schema/1.0/well> ;
owl:versionInfo "0.1.0"^^xsd:string .
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 .
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 ;
rdfs:subClassOf npd:NPDIndividual .
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 ;
rdfs:subClassOf owl:Thing ;
rdfs:subClassOf
[ rdf:type owl:Restriction ;
owl:cardinality "1"^^xsd:nonNegativeInteger ;
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:FixedFacilityParent
rdf:type owl:Class ;
rdfs:subClassOf npd:NPDIndividual .
npd:HCT_Gas
rdf:type npd:HCType ;
rdfs:label "gas"@en ;
npd:code "GAS"^^xsd:string .
npd:HCT_Gas-Condensate
rdf:type npd:HCType ;
rdfs:label "gas/condensate"@en ;
npd:code "GAS/CONDENSATE"^^xsd:string .
npd:HCT_Oil
rdf:type npd:HCType ;
rdfs:label "oil"@en ;
npd:code "OIL"^^xsd:string .
npd:HCT_Oil-Gas
rdf:type npd:HCType ;
rdfs:label "oil/gas"@en ;
npd:code "OIL/GAS"^^xsd:string .
npd:HCType
rdf:type owl:Class ;
rdfs:label "HCType"^^xsd:string ;
rdfs:subClassOf npd:Enumeration ;
owl:oneOf (npd:HCT_Gas-Condensate npd:HCT_Oil-Gas npd:HCT_Gas npd:HCT_Oil) .
npd:Individual
rdf:type owl:Class ;
rdfs:subClassOf owl:Thing .
npd:LS_Active
rdf:type npd:LicenceStatus ;
rdfs:label "active"@en ;
npd:code "ACTIVE"^^xsd:string .
npd:LS_Inactive
rdf:type npd:LicenceStatus ;
rdfs:label "inactive"@en ;
npd:code "INACTIVE"^^xsd:string .
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 .
npd:LicenceStatus
rdf:type owl:Class ;
rdfs:label "Licence status"^^xsd:string ;
rdfs:subClassOf npd:Enumeration ;
owl:oneOf (npd:LS_Active npd:LS_Inactive) .
npd:MNA_BarentsSea
rdf:type npd:MainNCSArea ;
rdfs:label "Barents sea"@en ;
npd:code "Barents sea"^^xsd:string .
npd:MNA_NorthSea
rdf:type npd:MainNCSArea ;
rdfs:label "North sea"@en ;
npd:code "North sea"^^xsd:string .
npd:MNA_NorwegianSea
rdf:type npd:MainNCSArea ;
rdfs:label "Norwegian sea"@en ;
npd:code "Norwegian sea"^^xsd:string .
npd:MainNCSArea
rdf:type owl:Class ;
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:subClassOf npd:Individual .
npd:OperatingCompany
rdf:type owl:Class ;
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:subClassOf npd:Individual .
npd:ParcellBAA
rdf:type owl:Class ;
rdfs:subClassOf npd:BusinessArrangementArea .
npd:ParentCompany
rdf:type owl:Class ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/organization#Company> .
npd:SeismicAreaBAA
rdf:type owl:Class ;
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> .
npd:ShareOfBAA
rdf:type owl:Class ;
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:subClassOf npd:Share .
npd:SlidingScaleBAA
rdf:type owl:Class ;
rdfs:subClassOf npd:BusinessArrangementArea .
npd:TUF
rdf:type owl:Class ;
rdfs:comment "TUF is an abbreviation for \"Transportation and Utilization Facilities\"."^^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:subClassOf npd:FixedFacilityParent .
npd:UnitizedBAA
rdf:type owl:Class ;
rdfs:subClassOf npd:BusinessArrangementArea .
npd:WBC_CO2
rdf:type npd:WellBoreContent ;
rdfs:label "CO2"@en ;
npd:code "CO2"^^xsd:string .
npd:WBC_Cuttings
rdf:type npd:WellBoreContent ;
rdfs:label "cuttings"@en ;
npd:code "CUTTINGS"^^xsd:string .
npd:WBC_Gas
rdf:type npd:WellBoreContent ;
rdfs:label "gas"@en ;
npd:code "GAS"^^xsd:string .
npd:WBC_Gas-Condensate
rdf:type npd:WellBoreContent ;
rdfs:label "gas/condensate"@en ;
npd:code "GAS/CONDENSATE"^^xsd:string .
npd:WBC_NotApplicable
rdf:type npd:WellBoreContent ;
rdfs:label "not applicable"@en ;
npd:code "NOT APPLICABLE"^^xsd:string .
npd:WBC_NotAvailable
rdf:type npd:WellBoreContent ;
rdfs:label "not available"@en ;
npd:code "NOT AVAILABLE"^^xsd:string .
npd:WBC_Oil
rdf:type npd:WellBoreContent ;
rdfs:label "oil"@en ;
npd:code "OIL"^^xsd:string .
npd:WBC_Oil-Gas
rdf:type npd:WellBoreContent ;
rdfs:label "oil/gas"@en ;
npd:code "OIL/GAS"^^xsd:string .
npd:WBC_Water
rdf:type npd:WellBoreContent ;
rdfs:label "water"@en ;
npd:code "WATER"^^xsd:string .
npd:WBC_Water-Gas
rdf:type npd:WellBoreContent ;
rdfs:label "water/gas"@en ;
npd:code "WATER/GAS"^^xsd:string .
npd:WellBoreContent
rdf:type owl:Class ;
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:label "Well bore purpose"^^xsd:string ;
rdfs:subClassOf npd:Enumeration .
npd:baaShared
rdf:type owl:ObjectProperty ;
rdfs:domain npd:ShareOfBAA ;
rdfs:range npd:BusinessArrangementArea .
npd:belongsTo
rdf:type owl:ObjectProperty ;
rdfs:domain <http://www.reportinghub.no/ep/schema/facility#FixedFacility> ;
rdfs:range npd:FixedFacilityParent .
npd:code
rdf:type owl:DatatypeProperty ;
rdfs:comment "Identifier of enumerated resources (control vocabularies). Can be used to match against string values in databases etc."^^xsd:string ;
rdfs:label "code"^^xsd:string .
npd:companyShortName
rdf:type owl:DatatypeProperty ;
rdfs:domain <http://www.reportinghub.no/ep/schema/organization#Company> ;
rdfs:range xsd:string ;
rdfs:subPropertyOf rdfs:label .
npd:currentActivityStatus
rdf:type owl:DatatypeProperty ;
rdfs:domain <http://www.reportinghub.no/ep/schema/facility#Field> ;
rdfs:range xsd:string .
npd:currentOperator
rdf:type owl:ObjectProperty ;
rdfs:comment "Corresponds to Current Operator field in fixed facility tables"^^xsd:string ;
rdfs:domain <http://www.reportinghub.no/ep/schema/facility#FixedFacility> ;
rdfs:range <http://www.reportinghub.no/ep/schema/organization#Company> .
npd:currentlyResponsibleCompany
rdf:type owl:ObjectProperty ;
rdfs:comment "Corresponds to Currently Reponsible Company field in moveable facility tables"^^xsd:string ;
rdfs:domain <http://www.reportinghub.no/ep/schema/facility#MoveableFacility> ;
rdfs:range <http://www.reportinghub.no/ep/schema/organization#Company> .
npd:discoveryCurrentActivityStatus
rdf:type owl:DatatypeProperty ;
rdfs:domain npd:Discovery ;
rdfs:range xsd:string .
npd:discoveryField
rdf:type owl:ObjectProperty ;
rdfs:comment "Corresponds to Field NPDID field in NPD Discovery table (overview)"^^xsd:string ;
rdfs:domain npd:Discovery ;
rdfs:range <http://www.reportinghub.no/ep/schema/facility#Field> .
npd:discoveryHCType
rdf:type owl:ObjectProperty ;
rdfs:domain npd:Discovery ;
rdfs:range npd:HCType .
npd:discoveryMainNcsArea
rdf:type owl:ObjectProperty ;
rdfs:domain npd:Discovery ;
rdfs:range npd:MainNCSArea .
npd:discoveryOperator
rdf:type owl:ObjectProperty ;
rdfs:comment "Corresponds to Operator field in NPD Discovery table (overview)"^^xsd:string ;
rdfs:domain npd:Discovery ;
rdfs:range <http://www.reportinghub.no/ep/schema/organization#Company> .
npd:discoveryOwner
rdf:type owl:ObjectProperty ;
rdfs:comment "Corresponds to Owner field in NPD Discovery table (see also Owner Kind)"^^xsd:string ;
rdfs:domain npd:Discovery ;
rdfs:range npd:Owner .
npd:discoveryWellBore
rdf:type owl:ObjectProperty ;
rdfs:comment "Corresponds to Discovery Wellbore NPDID in the Discovery table (overview)"^^xsd:string ;
rdfs:domain npd:Discovery ;
rdfs:range <http://www.reportinghub.no/ep/schema/well#WellBore> .
npd:discoveryYear
rdf:type owl:DatatypeProperty ;
rdfs:domain npd:Discovery ;
rdfs:range xsd:integer .
npd:drilledInProductionLicence
rdf:type owl:ObjectProperty ;
rdfs:comment "Corresponds to Drilled in Production Licence field in WellBore tables"^^xsd:string ;
rdfs:domain <http://www.reportinghub.no/ep/schema/well#WellBore> ;
rdfs:range npd:Licence .
npd:drillingFacility
rdf:type owl:ObjectProperty ;
rdfs:comment "Corresponds to Drilled in Production License field in WellBore tables"^^xsd:string ;
rdfs:domain <http://www.reportinghub.no/ep/schema/well#WellBore> ;
rdfs:range <http://www.reportinghub.no/ep/schema/facility#Facility> .
npd:drillingOperator
rdf:type owl:ObjectProperty ;
rdfs:comment "Corresponds to Drilling Operator field in WellBore tables"^^xsd:string ;
rdfs:domain <http://www.reportinghub.no/ep/schema/well#WellBore> ;
rdfs:range <http://www.reportinghub.no/ep/schema/organization#Company> .
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:range xsd:date .
npd:facilityFunctions
rdf:type owl:DatatypeProperty ;
rdfs:comment "corresponds to Functions field in both the fixed and moveable facility tables"^^xsd:string ;
rdfs:domain <http://www.reportinghub.no/ep/schema/facility#Facility> ;
rdfs:range xsd:string .
npd:facilityKind
rdf:type owl:DatatypeProperty ;
rdfs:comment "corresponds to Kind field in both the fixed and moveable facility tables"^^xsd:string ;
rdfs:domain <http://www.reportinghub.no/ep/schema/facility#Facility> ;
rdfs:range xsd:string .
npd:fieldDiscoveryWellBore
rdf:type owl:ObjectProperty ;
rdfs:comment "Corresponds to Discovery Wellbore NPDID in the Field table "^^xsd:string ;
rdfs:domain <http://www.reportinghub.no/ep/schema/facility#Field> ;
rdfs:range <http://www.reportinghub.no/ep/schema/well#WellBore> .
npd:fieldOperator
rdf:type owl:ObjectProperty ;
rdfs:domain <http://www.reportinghub.no/ep/schema/facility#Field> ;
rdfs:range <http://www.reportinghub.no/ep/schema/organization#Company> .
npd:fieldOwner
rdf:type owl:ObjectProperty ;
rdfs:comment "The owner column in the NPD Field table may correspond to a BAA or a License, as indicated by the Owner Kind column"^^xsd:string ;
rdfs:domain <http://www.reportinghub.no/ep/schema/facility#Field> ;
rdfs:range npd:Owner .
npd:fixedFacilityPhase
rdf:type owl:DatatypeProperty ;
rdfs:comment "corresponds to Phase field in fixed facility tables"^^xsd:string ;
rdfs:domain <http://www.reportinghub.no/ep/schema/facility#FixedFacility> ;
rdfs:range xsd:string .
npd:id
rdf:type owl:DatatypeProperty ;
rdfs:domain npd:NPDIndividual ;
rdfs:range xsd:string .
npd:licenceOperator
rdf:type owl:ObjectProperty ;
rdfs:domain npd:Licence ;
rdfs:label "licence operator"^^xsd:string ;
rdfs:range npd:OperatingCompany .
npd:licenceShared
rdf:type owl:ObjectProperty ;
rdfs:domain npd:ShareOfLicence ;
rdfs:range npd:Licence .
npd:licenceStatus
rdf:type owl:ObjectProperty ;
rdfs:comment "corresponds to the Status field in the License table"^^xsd:string ;
rdfs:domain npd:Licence ;
rdfs:range npd:LicenceStatus .
npd:licensingActivity
rdf:type owl:DatatypeProperty ;
rdfs:comment "corresponds to the licensing activity field in the License table"^^xsd:string ;
rdfs:domain npd:Licence ;
rdfs:range xsd:string .
npd:name
rdf:type owl:DatatypeProperty ;
rdfs:domain npd:Individual ;
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 ;
rdfs:range npd:ParentCompany .
npd:partOfTUF
rdf:type owl:ObjectProperty ;
rdfs:domain npd:TUFPart ;
rdfs:range npd:TUF .
npd:partOfWell
rdf:type owl:ObjectProperty ;
rdfs:domain <http://www.reportinghub.no/ep/schema/well#WellBore> ;
rdfs:range <http://www.reportinghub.no/ep/schema/well#Well> .
npd:percentageOfShare
rdf:type owl:DatatypeProperty ;
rdfs:domain npd:Share ;
rdfs:range xsd:float .
npd:productionFacility
rdf:type owl:ObjectProperty ;
rdfs:comment "Corresponds to Production Facility field in WellBore tables"^^xsd:string ;
rdfs:domain <http://www.reportinghub.no/ep/schema/well#WellBore> ;
rdfs:range <http://www.reportinghub.no/ep/schema/facility#Facility> .
npd:shareHolder
rdf:type owl:ObjectProperty ;
rdfs:comment "Equivalent to AwardedTo field in License table"^^xsd:string ;
rdfs:domain npd:Share ;
rdfs:range <http://www.reportinghub.no/ep/schema/organization#Company> .
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:range xsd:date .
npd:wellBoreCompletionDate
rdf:type owl:DatatypeProperty ;
rdfs:comment "Corresponds to Completion Date field in WellBore tables"^^xsd:string ;
rdfs:domain <http://www.reportinghub.no/ep/schema/well#WellBore> ;
rdfs:range xsd:date ;
rdfs:subPropertyOf npd:endDate .
npd:wellBoreContent
rdf:type owl:ObjectProperty ;
rdfs:comment "Corresponds to Content field in WellBore tables"^^xsd:string ;
rdfs:domain <http://www.reportinghub.no/ep/schema/well#WellBore> ;
rdfs:range npd:WellBoreContent .
npd:wellBoreDrillPermit
rdf:type owl:DatatypeProperty ;
rdfs:comment "Corresponds to Drill Permit field in WellBore tables"^^xsd:string ;
rdfs:domain <http://www.reportinghub.no/ep/schema/well#WellBore> ;
rdfs:range xsd:string .
npd:wellBorePurpose
rdf:type owl:ObjectProperty ;
rdfs:comment "Corresponds to Purpose field in WellBore tables"^^xsd:string ;
rdfs:domain <http://www.reportinghub.no/ep/schema/well#WellBore> ;
rdfs:range npd:WellBorePurpose .
npd:wellBoreType
rdf:type owl:DatatypeProperty ;
rdfs:comment "Corresponds to Type field in WellBore tables"^^xsd:string ;
rdfs:domain <http://www.reportinghub.no/ep/schema/well#WellBore> ;
rdfs:range xsd:string .
npd:wellPartOfField
rdf:type owl:ObjectProperty ;
rdfs:comment "A field may have several Wells, however this information is not presented directly in the NPD data. Each Well usually has one (occasionally more than one) WellBore, and so in order to ascertain what field the Well is in, we have to infer it from the related WellBore table. Unfortunately, the Field column is not always populated, so sometimes the Field can only be inferred from the License, which usually corresponds to a Field."^^xsd:string ;
rdfs:domain <http://www.reportinghub.no/ep/schema/well#Well> ;
rdfs:range <http://www.reportinghub.no/ep/schema/facility#Field> .
npd:wellboreOwner
rdf:type owl:ObjectProperty ;
rdfs:comment "Corresponds to Owner field in WellBore tables - see also Owner Kind"^^xsd:string ;
rdfs:domain <http://www.reportinghub.no/ep/schema/well#WellBore> ;
rdfs:range npd:Owner .
......
......@@ -7,6 +7,7 @@
# imports: file:///www.reportinghub.no/transform/npd/facilitymoveable
# imports: file:///www.reportinghub.no/transform/npd/field
# imports: file:///www.reportinghub.no/transform/npd/licence
# imports: file:///www.reportinghub.no/transform/npd/licenceop
# imports: file:///www.reportinghub.no/transform/npd/licensee
# imports: file:///www.reportinghub.no/transform/npd/tufoperator
# imports: file:///www.reportinghub.no/transform/npd/wbdev
......@@ -24,8 +25,8 @@
@prefix : <http://www.reportinghub.no/transform/spreadsheets2npd#> .
@prefix arg: <http://spinrdf.org/arg#> .
@prefix baa-2011-07-30: <file:///www.reportinghub.no/transform/npd/baa-2011-07-30#> .
@prefix fn: <http://www.w3.org/2005/xpath-functions#> .
@prefix licenceop: <file:///www.reportinghub.no/transform/npd/licenceop#> .
@prefix npdi: <http://www.reportinghub.no/np/data/npd/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
......@@ -651,6 +652,60 @@
<http://www.reportinghub.no/np/schema/npd#licensingActivity>
] .
licenceop:LicenceOp
spinmap:rule
[ rdf:type spinmap:Mapping-0-1 ;
spinmap:context :LicenceOp-Licence ;
spinmap:expression <http://www.reportinghub.no/np/schema/npd#Licence> ;
spinmap:targetPredicate1
rdf:type
] ;
spinmap:rule
[ rdf:type sp:Construct ;
sp:templates ([ sp:object
[ sp:varName "operator"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/np/schema/npd#licenceOperator> ;
sp:subject
[ sp:varName "target"^^xsd:string
]
]) ;
sp:where ([ rdf:type sp:Filter ;
sp:expression
[ rdf:type sp:notExists ;
sp:elements ([ sp:object
[ sp:varName "dateTo"^^xsd:string
] ;
sp:predicate licenceop:prlOperDateValidTo ;
sp:subject spin:_this
])
]
] [ sp:object
[ sp:varName "companyId"^^xsd:string
] ;
sp:predicate licenceop:cmpNpdidCompany ;
sp:subject spin:_this
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type rhspin:companyById ;
arg:id [ sp:varName "companyId"^^xsd:string
]
] ;
sp:variable
[ sp:varName "operator"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type spinmap:targetResource ;
sp:arg1 spin:_this ;
spinmap:context :LicenceOp-Licence
] ;
sp:variable
[ sp:varName "target"^^xsd:string
]
])
] .
<file:///www.reportinghub.no/transform/npd/licensee#Licensee>
spinmap:rule
[ rdf:type spinmap:Mapping-1-1 ;
......@@ -1339,7 +1394,7 @@ arg:wellName
<http://www.reportinghub.no/transform/spreadsheets2npd>
rdf:type owl:Ontology ;
rdfs:comment "Takes spreadsheets imported from the NPD fact pages and maps them into the NPD ontology."^^xsd:string ;
owl:imports <file:///www.reportinghub.no/transform/npd/baa> , <file:///www.reportinghub.no/transform/npd/baalicensee> , <file:///www.reportinghub.no/transform/npd/company> , <file:///www.reportinghub.no/transform/npd/discovery> , <file:///www.reportinghub.no/transform/npd/facilityfixed> , <file:///www.reportinghub.no/transform/npd/facilitymoveable> , <file:///www.reportinghub.no/transform/npd/field> , <file:///www.reportinghub.no/transform/npd/licence> , <file:///www.reportinghub.no/transform/npd/licensee> , <file:///www.reportinghub.no/transform/npd/tufoperator> , <file:///www.reportinghub.no/transform/npd/wbdev> , <file:///www.reportinghub.no/transform/npd/wbexp> , <file:///www.reportinghub.no/transform/npd/wbid> , <file:///www.reportinghub.no/transform/npd/wbsha> , <http://spinrdf.org/spin> , <http://topbraid.org/spin/spinmapl> , <http://www.reportinghub.no/ep/schema/1.0/core> , <http://www.reportinghub.no/ep/schema/1.0/facility> , <http://www.reportinghub.no/ep/schema/1.0/organization> , <http://www.reportinghub.no/ep/schema/1.0/well> , <http://www.reportinghub.no/np/schema/1.0/npd> , <http://www.reportinghub.no/spin/rh> ;
owl:imports <file:///www.reportinghub.no/transform/npd/baa> , <file:///www.reportinghub.no/transform/npd/baalicensee> , <file:///www.reportinghub.no/transform/npd/company> , <file:///www.reportinghub.no/transform/npd/discovery> , <file:///www.reportinghub.no/transform/npd/facilityfixed> , <file:///www.reportinghub.no/transform/npd/facilitymoveable> , <file:///www.reportinghub.no/transform/npd/field> , <file:///www.reportinghub.no/transform/npd/licence> , <file:///www.reportinghub.no/transform/npd/licenceop> , <file:///www.reportinghub.no/transform/npd/licensee> , <file:///www.reportinghub.no/transform/npd/tufoperator> , <file:///www.reportinghub.no/transform/npd/wbdev> , <file:///www.reportinghub.no/transform/npd/wbexp> , <file:///www.reportinghub.no/transform/npd/wbid> , <file:///www.reportinghub.no/transform/npd/wbsha> , <http://spinrdf.org/spin> , <http://topbraid.org/spin/spinmapl> , <http://www.reportinghub.no/ep/schema/1.0/core> , <http://www.reportinghub.no/ep/schema/1.0/facility> , <http://www.reportinghub.no/ep/schema/1.0/organization> , <http://www.reportinghub.no/ep/schema/1.0/well> , <http://www.reportinghub.no/np/schema/1.0/npd> , <http://www.reportinghub.no/spin/rh> ;
owl:versionInfo "0.1.0"^^xsd:string .
:BAA-BusinessArrangementArea
......@@ -1418,6 +1473,15 @@ arg:wellName
] ;
spinmap:targetClass <http://www.reportinghub.no/ep/schema/facility#Field> .
:LicenceOp-Licence
rdf:type spinmap:Context ;
spinmap:sourceClass licenceop:LicenceOp ;
spinmap:target
[ rdf:type :buildLicenceOpURI ;
spinmap:source spinmap:_source
] ;
spinmap:targetClass <http://www.reportinghub.no/np/schema/npd#Licence> .
:License-License
rdf:type spinmap:Context ;
spinmap:sourceClass <file:///www.reportinghub.no/transform/npd/licence#Licence> ;
......@@ -1716,6 +1780,22 @@ arg:wellName
] ;
spin:returnType rdfs:Resource .
:buildLicenceOpURI
rdf:type spinmap:TargetFunction ;
rdfs:label "build licence op URI"^^xsd:string ;
rdfs:subClassOf spinmap:TargetFunctions ;
spin:body
[ rdf:type sp:Select ;
sp:resultVariables ([ rdf:type rhspin:licenceById ;
arg:id [ rdf:type spl:object ;
sp:arg1 [ sp:varName "source"^^xsd:string
] ;
sp:arg2 licenceop:prlNpdidLicence
]
]) ;
sp:where ()
] .
:buildLicenceURI
rdf:type spinmap:TargetFunction ;
rdfs:label "build licence URI"^^xsd:string ;
......
......@@ -12,11 +12,11 @@
[] rdf:type inference:Configuration ;
composite:child
[ rdf:type <http://spinrdf.org/spin#TopSPIN> ;
composite:index "1"^^xsd:int
composite:index "0"^^xsd:int
] ;
composite:child
[ rdf:type <http://spinrdf.org/spin#TopSPIN> ;
composite:index "0"^^xsd:int
composite:index "1"^^xsd:int
] ;
inference:completeMode
"true"^^xsd:boolean ;
......
# baseURI: file:///www.reportinghub.no/transform/npd/licenceop
# imports: http://topbraid.org/tables
@prefix licenceop: <file:///www.reportinghub.no/transform/npd/licenceop#> .
@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 xsd: <http://www.w3.org/2001/XMLSchema#> .
<file:///www.reportinghub.no/transform/npd/licenceop>
rdf:type owl:Ontology ;
owl:imports <http://topbraid.org/tables> .
licenceop:LicenceOp
rdf:type owl:Class ;
rdfs:label "licenceop" ;
tables:sheetIndex "0"^^xsd:int .
licenceop:cmpLongName
rdf:type owl:DatatypeProperty ;
rdfs:domain licenceop:LicenceOp ;
rdfs:label "cmpLongName" ;
rdfs:range xsd:string ;
tables:columnIndex "3"^^xsd:int .
licenceop:cmpNpdidCompany
rdf:type owl:DatatypeProperty ;
rdfs:domain licenceop:LicenceOp ;
rdfs:label "cmpNpdidCompany" ;
rdfs:range xsd:string ;
tables:columnIndex "5"^^xsd:int .
licenceop:datesyncNPD
rdf:type owl:DatatypeProperty ;
rdfs:domain licenceop:LicenceOp ;
rdfs:label "DatesyncNPD" ;
rdfs:range xsd:string ;
tables:columnIndex "6"^^xsd:int .
licenceop:prlName
rdf:type owl:DatatypeProperty ;
rdfs:domain licenceop:LicenceOp ;
rdfs:label "ÔªøprlName" ;
rdfs:range xsd:string ;
tables:columnIndex "0"^^xsd:int .
licenceop:prlNpdidLicence
rdf:type owl:DatatypeProperty ;
rdfs:domain licenceop:LicenceOp ;
rdfs:label "prlNpdidLicence" ;
rdfs:range xsd:string ;
tables:columnIndex "4"^^xsd:int .
licenceop:prlOperDateValidFrom
rdf:type owl:DatatypeProperty ;
rdfs:domain licenceop:LicenceOp ;
rdfs:label "prlOperDateValidFrom" ;
rdfs:range xsd:string ;
tables:columnIndex "1"^^xsd:int .
licenceop:prlOperDateValidTo
rdf:type owl:DatatypeProperty ;
rdfs:domain licenceop:LicenceOp ;
rdfs:label "prlOperDateValidTo" ;
rdfs:range xsd:string ;
tables:columnIndex "2"^^xsd:int .