Holger Knublauch

Converted datatypes properties to enumerated object properties

......@@ -17,20 +17,151 @@
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:TemporalIndividual , npd:NpdIndividual , npd:Owner .
rdfs:subClassOf npd:Owner , npd:NpdIndividual , npd:TemporalIndividual .
npd:Company
rdf:type owl:Class ;
rdfs:subClassOf npd:NpdIndividual .
npd:DAS_DecidedByTheLicensees
rdf:type npd:DiscoveryActivityStatus ;
rdfs:label "decided by the licensees"@en ;
npd:code "DECIDED BY THE LICENSEES"^^xsd:string .
npd:DAS_DevelopmentIsNotVeryLikely
rdf:type npd:DiscoveryActivityStatus ;
rdfs:label "development is not very likely"@en ;
npd:code "DEVELOPMENT IS NOT VERY LIKELY"^^xsd:string .
npd:DAS_DevelopmentLikelyButNotClarified
rdf:type npd:DiscoveryActivityStatus ;
rdfs:label "development likely but not clarified"@en ;
npd:code "DEVELOPMENT LIKELY BUT NOT CLARIFIED"^^xsd:string .
npd:DAS_IncludedInOtherDiscovery
rdf:type npd:DiscoveryActivityStatus ;
rdfs:label "included in other discovery"@en ;
npd:code "INCLUDED IN OTHER DISCOVERY"^^xsd:string .
npd:DAS_NewDiscoveriesNotEvaluated
rdf:type npd:DiscoveryActivityStatus ;
rdfs:label "new discoveries, not evaluated"@en ;
npd:code "NEW DISCOVERIES, NOT EVALUATED"^^xsd:string .
npd:DAS_PDOApproved
rdf:type npd:DiscoveryActivityStatus ;
rdfs:label "PDO approved"@en ;
npd:code "PDO APPROVED"^^xsd:string .
npd:DAS_PlanningPhase
rdf:type npd:DiscoveryActivityStatus ;
rdfs:label "planning phase"@en ;
npd:code "PLANNING PHASE"^^xsd:string .
npd:DAS_Producing
rdf:type npd:DiscoveryActivityStatus ;
rdfs:label "producing"@en ;
npd:code "PRODUCING"^^xsd:string .
npd:DAS_ShutDown
rdf:type npd:DiscoveryActivityStatus ;
rdfs:label "shut down"@en ;
npd:code "SHUT DOWN"^^xsd:string .
npd:DAS_Unknown
rdf:type npd:DiscoveryActivityStatus ;
rdfs:label "unknown"@en ;
npd:code "?"^^xsd:string .
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:DiscoveryActivityStatus
rdf:type owl:Class ;
rdfs:label "Discovery activity status"^^xsd:string ;
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: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:FAS_PDOApproved
rdf:type npd:FieldActivityStatus ;
rdfs:label "PDO approved"@en ;
npd:code "PDO APPROVED"^^xsd:string .
npd:FAS_Producing
rdf:type npd:FieldActivityStatus ;
rdfs:label "producing"@en ;
npd:code "PRODUCING"^^xsd:string .
npd:FAS_ShutDown
rdf:type npd:FieldActivityStatus ;
rdfs:label "shut down"@en ;
npd:code "SHUT DOWN"^^xsd:string .
npd:FFP_Decommissioned
rdf:type npd:FixedFacilityPhase ;
rdfs:label "decommissioned"@en ;
npd:code "DECOMMISSIONED"^^xsd:string .
npd:FFP_DisposalCompleted
rdf:type npd:FixedFacilityPhase ;
rdfs:label "disposal completed"@en ;
npd:code "DISPOSAL COMPLETED"^^xsd:string .
npd:FFP_Fabrication
rdf:type npd:FixedFacilityPhase ;
rdfs:label "fabrication"@en ;
npd:code "FABRICATION"^^xsd:string .
npd:FFP_Future
rdf:type npd:FixedFacilityPhase ;
rdfs:label "future"@en ;
npd:code "FUTURE"^^xsd:string .
npd:FFP_InService
rdf:type npd:FixedFacilityPhase ;
rdfs:label "in service"@en ;
npd:code "IN SERVICE"^^xsd:string .
npd:FFP_Installation
rdf:type npd:FixedFacilityPhase ;
rdfs:label "installation"@en ;
npd:code "INSTALLATION"^^xsd:string .
npd:FFP_PartlyRemoved
rdf:type npd:FixedFacilityPhase ;
rdfs:label "partly removed"@en ;
npd:code "PARTLY REMOVED"^^xsd:string .
npd:FFP_Removal
rdf:type npd:FixedFacilityPhase ;
rdfs:label "removal"@en ;
npd:code "REMOVAL"^^xsd:string .
npd:FFP_Removed
rdf:type npd:FixedFacilityPhase ;
rdfs:label "removed"@en ;
npd:code "REMOVED"^^xsd:string .
npd:FFP_ShutDown
rdf:type npd:FixedFacilityPhase ;
rdfs:label "shut down"@en ;
npd:code "SHUT DOWN"^^xsd:string .
npd:Facility
rdf:type owl:Class ;
rdfs:subClassOf npd:TemporalIndividual , npd:NpdIndividual .
rdfs:subClassOf npd:NpdIndividual , npd:TemporalIndividual .
npd:Field
rdf:type owl:Class ;
......@@ -41,6 +172,12 @@ A field may have several Wells, however this information is not presented direct
NOTE: Wells do not have NPDIDs"""^^xsd:string ;
rdfs:subClassOf npd:FixedFacilityParent .
npd:FieldActivityStatus
rdf:type owl:Class ;
rdfs:label "Field activity status"^^xsd:string ;
rdfs:subClassOf npd:Enumeration ;
owl:oneOf (npd:FAS_PDOApproved npd:FAS_Producing npd:FAS_ShutDown) .
npd:FieldPart
rdf:type owl:Class ;
rdfs:comment "A part of a Field"^^xsd:string ;
......@@ -55,14 +192,83 @@ npd:FixedFacilityParent
rdf:type owl:Class ;
rdfs:subClassOf npd:NpdIndividual .
npd:FixedFacilityPhase
rdf:type owl:Class ;
rdfs:label "Fixed facility phase"^^xsd:string ;
rdfs:subClassOf npd:Enumeration ;
owl:oneOf (npd:FFP_Fabrication npd:FFP_PartlyRemoved npd:FFP_DisposalCompleted npd:FFP_ShutDown npd:FFP_Decommissioned npd:FFP_Removal npd:FFP_Removed npd:FFP_Installation npd:FFP_InService npd:FFP_Future) .
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:LicenseStatus ;
rdfs:label "active"@en ;
npd:code "ACTIVE"^^xsd:string .
npd:LS_Inactive
rdf:type npd:LicenseStatus ;
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 , npd:NpdIndividual , npd:TemporalIndividual .
rdfs:subClassOf npd:TemporalIndividual , npd:NpdIndividual , npd:Owner .
npd:LicenseStatus
rdf:type owl:Class ;
rdfs:label "License 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:MoveableFacility
rdf:type owl:Class ;
......@@ -139,6 +345,71 @@ 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: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 ;
......@@ -146,7 +417,19 @@ npd:Well
npd:WellBore
rdf:type owl:Class ;
rdfs:subClassOf npd:TemporalIndividual , npd:NpdIndividual .
rdfs:subClassOf npd:NpdIndividual , npd:TemporalIndividual .
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 ;
owl:oneOf (npd:WBP_Injection npd:WBP_Observation npd:WBP_Production) .
npd:baaShared
rdf:type owl:ObjectProperty ;
......@@ -158,6 +441,11 @@ npd:belongsTo
rdfs:domain npd: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 npd:Company ;
......@@ -165,9 +453,9 @@ npd:companyShortName
rdfs:subPropertyOf rdfs:label .
npd:currentActivityStatus
rdf:type owl:DatatypeProperty ;
rdf:type owl:ObjectProperty ;
rdfs:domain npd:Field ;
rdfs:range xsd:string .
rdfs:range npd:FieldActivityStatus .
npd:currentOperator
rdf:type owl:ObjectProperty ;
......@@ -182,9 +470,9 @@ npd:currentlyResponsibleCompany
rdfs:range npd:Company .
npd:discoveryCurrentActivityStatus
rdf:type owl:DatatypeProperty ;
rdf:type owl:ObjectProperty ;
rdfs:domain npd:Discovery ;
rdfs:range xsd:string .
rdfs:range npd:DiscoveryActivityStatus .
npd:discoveryField
rdf:type owl:ObjectProperty ;
......@@ -193,14 +481,14 @@ npd:discoveryField
rdfs:range npd:Field .
npd:discoveryHCType
rdf:type owl:DatatypeProperty ;
rdf:type owl:ObjectProperty ;
rdfs:domain npd:Discovery ;
rdfs:range xsd:string .
rdfs:range npd:HCType .
npd:discoveryMainNcsArea
rdf:type owl:DatatypeProperty ;
rdf:type owl:ObjectProperty ;
rdfs:domain npd:Discovery ;
rdfs:range xsd:string .
rdfs:range npd:MainNCSArea .
npd:discoveryOperator
rdf:type owl:ObjectProperty ;
......@@ -273,15 +561,10 @@ npd:fieldOwner
rdfs:range npd:Owner .
npd:fixedFacilityPhase
rdf:type owl:DatatypeProperty ;
rdf:type owl:ObjectProperty ;
rdfs:comment "corresponds to Phase field in fixed facility tables"^^xsd:string ;
rdfs:domain npd:FixedFacility ;
rdfs:range xsd:string .
npd:hasParentCompany
rdf:type owl:ObjectProperty ;
rdfs:domain npd:OperatingCompany ;
rdfs:range npd:ParentCompany .
rdfs:range npd:FixedFacilityPhase .
npd:id
rdf:type owl:DatatypeProperty ;
......@@ -294,10 +577,10 @@ npd:licenceShared
rdfs:range npd:Licence .
npd:licenseStatus
rdf:type owl:DatatypeProperty ;
rdf:type owl:ObjectProperty ;
rdfs:comment "corresponds to the Status field in the License table"^^xsd:string ;
rdfs:domain npd:Licence ;
rdfs:range xsd:string .
rdfs:range npd:LicenseStatus .
npd:licensingActivity
rdf:type owl:DatatypeProperty ;
......@@ -311,6 +594,11 @@ npd:name
rdfs:range xsd:string ;
rdfs:subPropertyOf rdfs:label .
npd:parentCompany
rdf:type owl:ObjectProperty ;
rdfs:domain npd:OperatingCompany ;
rdfs:range npd:ParentCompany .
npd:partOfField
rdf:type owl:ObjectProperty ;
rdfs:domain npd:FieldPart ;
......@@ -356,10 +644,10 @@ npd:wellBoreCompletionDate
rdfs:range xsd:date .
npd:wellBoreContent
rdf:type owl:DatatypeProperty ;
rdf:type owl:ObjectProperty ;
rdfs:comment "Corresponds to Content field in WellBore tables"^^xsd:string ;
rdfs:domain npd:WellBore ;
rdfs:range xsd:string .
rdfs:range npd:WellBoreContent .
npd:wellBoreDrillPermit
rdf:type owl:DatatypeProperty ;
......@@ -368,10 +656,10 @@ npd:wellBoreDrillPermit
rdfs:range xsd:string .
npd:wellBorePurpose
rdf:type owl:DatatypeProperty ;
rdf:type owl:ObjectProperty ;
rdfs:comment "Corresponds to Purpose field in WellBore tables"^^xsd:string ;
rdfs:domain npd:WellBore ;
rdfs:range xsd:string .
rdfs:range npd:WellBorePurpose .
npd:wellBoreType
rdf:type owl:DatatypeProperty ;
......
......@@ -18,7 +18,6 @@
# imports: file:///www.reportinghub.no/transform/npd/wbdev
# imports: http://www.reportinghub.no/transform/npd/tufoperator-2011-07-30
# imports: file:///www.reportinghub.no/transform/npd/facilitymoveable
# imports: file:///www.reportinghub.no/transform/npd/wbexp
# imports: file:///www.reportinghub.no/transform/npd/license-2011-07-30
# imports: file:///www.reportinghub.no/transform/npd/licensee
# imports: file:///www.reportinghub.no/transform/npd/facilityfixed
......@@ -58,37 +57,29 @@
<file:///www.reportinghub.no/examples/transform/npd/licence-2011-07-30.csv#Licence>
spinmap:rule
[ rdf:type spinmap:Mapping-0-1 ;
[ rdf:type spinmap:Mapping-1-1 ;
spinmap:context :License-License ;
spinmap:expression <http://www.reportinghub.no/schema/npd#Licence> ;
spinmap:expression spin:_arg1 ;
spinmap:sourcePredicate1
<file:///www.reportinghub.no/examples/transform/npd/licence-2011-07-30.csv#prlLicensingActivityName> ;
spinmap:targetPredicate1
rdf:type
<http://www.reportinghub.no/schema/npd#licensingActivity>
] ;
spinmap:rule
[ rdf:type spinmap:Mapping-1-1 ;
spinmap:context :License-License ;
spinmap:expression
[ rdf:type spif:parseDate ;
arg:pattern "dd.MM.yyyy" ;
sp:arg1 spin:_arg1
] ;
spinmap:expression spin:_arg1 ;
spinmap:sourcePredicate1
<file:///www.reportinghub.no/examples/transform/npd/licence-2011-07-30.csv#prlDateGranted> ;
<file:///www.reportinghub.no/examples/transform/npd/licence-2011-07-30.csv#prlName> ;
spinmap:targetPredicate1
<http://www.reportinghub.no/schema/npd#startDate>
<http://www.reportinghub.no/schema/npd#name>
] ;
spinmap:rule
[ rdf:type spinmap:Mapping-1-1 ;
[ rdf:type spinmap:Mapping-0-1 ;
spinmap:context :License-License ;
spinmap:expression
[ rdf:type spif:parseDate ;
arg:pattern "dd.MM.yyyy" ;
sp:arg1 spin:_arg1
] ;
spinmap:sourcePredicate1
<file:///www.reportinghub.no/examples/transform/npd/licence-2011-07-30.csv#prlDateValidTo> ;
spinmap:expression <http://www.reportinghub.no/schema/npd#Licence> ;
spinmap:targetPredicate1
<http://www.reportinghub.no/schema/npd#endDate>
rdf:type
] ;
spinmap:rule
[ rdf:type spinmap:Mapping-1-1 ;
......@@ -102,29 +93,42 @@
spinmap:rule
[ rdf:type spinmap:Mapping-1-1 ;
spinmap:context :License-License ;
spinmap:expression spin:_arg1 ;
spinmap:expression
[ rdf:type spif:parseDate ;
arg:pattern "dd.MM.yyyy" ;
sp:arg1 spin:_arg1
] ;
spinmap:sourcePredicate1
<file:///www.reportinghub.no/examples/transform/npd/licence-2011-07-30.csv#prlStatus> ;
<file:///www.reportinghub.no/examples/transform/npd/licence-2011-07-30.csv#prlDateValidTo> ;
spinmap:targetPredicate1
<http://www.reportinghub.no/schema/npd#licenseStatus>
<http://www.reportinghub.no/schema/npd#endDate>
] ;
spinmap:rule
[ rdf:type spinmap:Mapping-1-1 ;
spinmap:context :License-License ;
spinmap:expression spin:_arg1 ;
spinmap:expression
[ rdf:type spif:parseDate ;
arg:pattern "dd.MM.yyyy" ;
sp:arg1 spin:_arg1
] ;
spinmap:sourcePredicate1
<file:///www.reportinghub.no/examples/transform/npd/licence-2011-07-30.csv#prlName> ;
<file:///www.reportinghub.no/examples/transform/npd/licence-2011-07-30.csv#prlDateGranted> ;
spinmap:targetPredicate1
<http://www.reportinghub.no/schema/npd#name>
<http://www.reportinghub.no/schema/npd#startDate>
] ;
spinmap:rule
[ rdf:type spinmap:Mapping-1-1 ;
spinmap:context :License-License ;
spinmap:expression spin:_arg1 ;
spinmap:expression
[ rdf:type spinmapl:resourceWithValue ;
sp:arg1 spin:_arg1 ;
spinmapl:predicate <http://www.reportinghub.no/schema/npd#code> ;
spinmapl:type <http://www.reportinghub.no/schema/npd#LicenseStatus>
] ;
spinmap:sourcePredicate1
<file:///www.reportinghub.no/examples/transform/npd/licence-2011-07-30.csv#prlLicensingActivityName> ;
<file:///www.reportinghub.no/examples/transform/npd/licence-2011-07-30.csv#prlStatus> ;
spinmap:targetPredicate1
<http://www.reportinghub.no/schema/npd#licensingActivity>
<http://www.reportinghub.no/schema/npd#licenseStatus>
] .
<file:///www.reportinghub.no/transform/npd/baa#BAA>
......@@ -133,22 +137,22 @@
spinmap:context :BAA-BusinessArrangementArea ;
spinmap:expression spin:_arg1 ;
spinmap:sourcePredicate1
<file:///www.reportinghub.no/transform/npd/baa#baaName> ;
<file:///www.reportinghub.no/transform/npd/baa#baaNpdidBsnsArrArea> ;
spinmap:targetPredicate1
<http://www.reportinghub.no/schema/npd#name>
<http://www.reportinghub.no/schema/npd#id>
] ;
spinmap:rule
[ rdf:type spinmap:Mapping-1-1 ;
spinmap:context :BAA-BusinessArrangementArea ;
spinmap:expression
[ rdf:type spif:parseDate ;
arg:pattern "dd.MM.yyyy" ;
sp:arg1 spin:_arg1
[ rdf:type spinmapl:resourceWithValue ;
sp:arg1 spin:_arg1 ;
spinmapl:predicate :baaKind
] ;
spinmap:sourcePredicate1
<file:///www.reportinghub.no/transform/npd/baa#baaDateValidTo> ;
<file:///www.reportinghub.no/transform/npd/baa#baaKind> ;
spinmap:targetPredicate1
<http://www.reportinghub.no/schema/npd#endDate>
rdf:type
] ;
spinmap:rule
[ rdf:type spinmap:Mapping-1-1 ;
......@@ -167,37 +171,32 @@
[ rdf:type spinmap:Mapping-1-1 ;
spinmap:context :BAA-BusinessArrangementArea ;
spinmap:expression
[ rdf:type spinmapl:resourceWithValue ;
sp:arg1 spin:_arg1 ;
spinmapl:predicate :baaKind
[ rdf:type spif:parseDate ;
arg:pattern "dd.MM.yyyy" ;
sp:arg1 spin:_arg1
] ;
spinmap:sourcePredicate1
<file:///www.reportinghub.no/transform/npd/baa#baaKind> ;
<file:///www.reportinghub.no/transform/npd/baa#baaDateValidTo> ;
spinmap:targetPredicate1
rdf:type
<http://www.reportinghub.no/schema/npd#endDate>
] ;
spinmap:rule
[ rdf:type spinmap:Mapping-1-1 ;
spinmap:context :BAA-BusinessArrangementArea ;
spinmap:expression spin:_arg1 ;
spinmap:sourcePredicate1
<file:///www.reportinghub.no/transform/npd/baa#baaNpdidBsnsArrArea> ;
<file:///www.reportinghub.no/transform/npd/baa#baaName> ;
spinmap:targetPredicate1
<http://www.reportinghub.no/schema/npd#id>
<http://www.reportinghub.no/schema/npd#name>
] .
<file:///www.reportinghub.no/transform/npd/baalicensee#BAALicensee>
spinmap:rule
[ rdf:type spinmap:Mapping-1-1 ;
[ rdf:type spinmap:Mapping-0-1 ;
spinmap:context :BAALicensee-ShareOfBAA ;
spinmap:expression
[ rdf:type xsd:float ;
sp:arg1 spin:_arg1
] ;
spinmap:sourcePredicate1
<file:///www.reportinghub.no/transform/npd/baalicensee#baaLicenseeInterest> ;
spinmap:expression <http://www.reportinghub.no/schema/npd#ShareOfBAA> ;
spinmap:targetPredicate1
<http://www.reportinghub.no/schema/npd#percentageOfShare>
rdf:type
] ;
spinmap:rule
[ rdf:type spinmap:Mapping-1-1 ;
......@@ -206,12 +205,12 @@
[ rdf:type spinmapl:resourceWithValue ;
sp:arg1 spin:_arg1 ;
spinmapl:predicate <http://www.reportinghub.no/schema/npd#name> ;
spinmapl:type <http://www.reportinghub.no/schema/npd#Company>
spinmapl:type <http://www.reportinghub.no/schema/npd#BusinessArrangementArea>
] ;
spinmap:sourcePredicate1
<file:///www.reportinghub.no/transform/npd/baalicensee#cmpLongName> ;
<file:///www.reportinghub.no/transform/npd/baalicensee#baaName> ;
spinmap:targetPredicate1
<http://www.reportinghub.no/schema/npd#shareHolder>
<http://www.reportinghub.no/schema/npd#baaShared>
] ;
spinmap:rule
[ rdf:type spinmap:Mapping-1-1 ;
......@@ -222,9 +221,9 @@
sp:arg1 spin:_arg1
] ;
spinmap:sourcePredicate1
<file:///www.reportinghub.no/transform/npd/baalicensee#baaLicenseeDateValidTo> ;
<file:///www.reportinghub.no/transform/npd/baalicensee#baaLicenseeDateValidFrom> ;
spinmap:targetPredicate1
<http://www.reportinghub.no/schema/npd#endDate>
<http://www.reportinghub.no/schema/npd#startDate>
] ;
spinmap:rule
[ rdf:type spinmap:Mapping-1-1 ;
......@@ -235,9 +234,9 @@
sp:arg1 spin:_arg1
] ;
spinmap:sourcePredicate1
<file:///www.reportinghub.no/transform/npd/baalicensee#baaLicenseeDateValidFrom> ;
<file:///www.reportinghub.no/transform/npd/baalicensee#baaLicenseeDateValidTo> ;
spinmap:targetPredicate1
<http://www.reportinghub.no/schema/npd#startDate>
<http://www.reportinghub.no/schema/npd#endDate>
] ;
spinmap:rule
[ rdf:type spinmap:Mapping-1-1 ;
......@@ -246,37 +245,35 @@
[ rdf:type spinmapl:resourceWithValue ;
sp:arg1 spin:_arg1 ;
spinmapl:predicate <http://www.reportinghub.no/schema/npd#name> ;
spinmapl:type <http://www.reportinghub.no/schema/npd#BusinessArrangementArea>
spinmapl:type <http://www.reportinghub.no/schema/npd#Company>
] ;
spinmap:sourcePredicate1
<file:///www.reportinghub.no/transform/npd/baalicensee#baaName> ;
<file:///www.reportinghub.no/transform/npd/baalicensee#cmpLongName> ;
spinmap:targetPredicate1
<http://www.reportinghub.no/schema/npd#baaShared>
<http://www.reportinghub.no/schema/npd#shareHolder>
] ;
spinmap:rule
[ rdf:type spinmap:Mapping-0-1 ;
[ rdf:type spinmap:Mapping-1-1 ;
spinmap:context :BAALicensee-ShareOfBAA ;
spinmap:expression <http://www.reportinghub.no/schema/npd#ShareOfBAA> ;
spinmap:expression
[ rdf:type xsd:float ;
sp:arg1 spin:_arg1
] ;
spinmap:sourcePredicate1
<file:///www.reportinghub.no/transform/npd/baalicensee#baaLicenseeInterest> ;
spinmap:targetPredicate1
rdf:type
<http://www.reportinghub.no/schema/npd#percentageOfShare>
] .
<file:///www.reportinghub.no/transform/npd/company#Company>
spinmap:rule
[ rdf:type spinmap:Mapping-0-1 ;
spinmap:context :Company-Company ;
spinmap:expression <http://www.reportinghub.no/schema/npd#Company> ;
spinmap:targetPredicate1
rdf:type
] ;
spinmap:rule
[ rdf:type spinmap:Mapping-1-1 ;
spinmap:context :Company-Company ;
spinmap:expression spin:_arg1 ;
spinmap:sourcePredicate1
<file:///www.reportinghub.no/transform/npd/company#cmpLongName> ;
<file:///www.reportinghub.no/transform/npd/company#cmpNpdidCompany> ;
spinmap:targetPredicate1
<http://www.reportinghub.no/schema/npd#name>
<http://www.reportinghub.no/schema/npd#id>
] ;
spinmap:rule
[ rdf:type spinmap:Mapping-1-1 ;
......@@ -292,29 +289,39 @@
spinmap:context :Company-Company ;
spinmap:expression spin:_arg1 ;
spinmap:sourcePredicate1
<file:///www.reportinghub.no/transform/npd/company#cmpNpdidCompany> ;
<file:///www.reportinghub.no/transform/npd/company#cmpLongName> ;
spinmap:targetPredicate1
<http://www.reportinghub.no/schema/npd#id>
<http://www.reportinghub.no/schema/npd#name>
] ;
spinmap:rule
[ rdf:type spinmap:Mapping-0-1 ;
spinmap:context :Company-Company ;
spinmap:expression <http://www.reportinghub.no/schema/npd#Company> ;
spinmap:targetPredicate1
rdf:type
] .
<file:///www.reportinghub.no/transform/npd/discovery#Discovery>
spinmap:rule
[ rdf:type spinmap:Mapping-1-1 ;
spinmap:context :Discovery-Discovery ;
spinmap:expression spin:_arg1 ;
spinmap:expression
[ rdf:type spinmapl:resourceWithValue ;
sp:arg1 spin:_arg1 ;
spinmapl:predicate <http://www.reportinghub.no/schema/npd#name> ;
spinmapl:type <http://www.reportinghub.no/schema/npd#Company>
] ;
spinmap:sourcePredicate1
<file:///www.reportinghub.no/transform/npd/discovery#nmaName> ;
<file:///www.reportinghub.no/transform/npd/discovery#cmpLongName2> ;
spinmap:targetPredicate1
<http://www.reportinghub.no/schema/npd#discoveryMainNcsArea>
<http://www.reportinghub.no/schema/npd#discoveryOperator>
] ;
spinmap:rule
[ rdf:type spinmap:Mapping-1-1 ;
[ rdf:type spinmap:Mapping-0-1 ;
spinmap:context :Discovery-Discovery ;
spinmap:expression spin:_arg1 ;
spinmap:sourcePredicate1
<file:///www.reportinghub.no/transform/npd/discovery#dscCurrentActivityStatus> ;
spinmap:expression <http://www.reportinghub.no/schema/npd#Discovery> ;
spinmap:targetPredicate1
<http://www.reportinghub.no/schema/npd#discoveryCurrentActivityStatus>
rdf:type
] ;
spinmap:rule
[ rdf:type spinmap:Mapping-1-1 ;
......@@ -322,20 +329,25 @@
spinmap:expression
[ rdf:type spinmapl:resourceWithValue ;
sp:arg1 spin:_arg1 ;
spinmapl:predicate <http://www.reportinghub.no/schema/npd#name> ;
spinmapl:type <http://www.reportinghub.no/schema/npd#Owner>
spinmapl:predicate <http://www.reportinghub.no/schema/npd#code> ;
spinmapl:type <http://www.reportinghub.no/schema/npd#MainNCSArea>
] ;
spinmap:sourcePredicate1
<file:///www.reportinghub.no/transform/npd/discovery#dscOwnerName> ;
<file:///www.reportinghub.no/transform/npd/discovery#nmaName> ;
spinmap:targetPredicate1
<http://www.reportinghub.no/schema/npd#discoveryOwner>
<http://www.reportinghub.no/schema/npd#discoveryMainNcsArea>
] ;
spinmap:rule
[ rdf:type spinmap:Mapping-0-1 ;
[ rdf:type spinmap:Mapping-1-1 ;
spinmap:context :Discovery-Discovery ;
spinmap:expression <http://www.reportinghub.no/schema/npd#Discovery> ;
spinmap:expression
[ rdf:type rhspin:fieldById ;
arg:id spin:_arg1
] ;
spinmap:sourcePredicate1
<file:///www.reportinghub.no/transform/npd/discovery#fldNpdidField> ;
spinmap:targetPredicate1
rdf:type
<http://www.reportinghub.no/schema/npd#discoveryField>
] ;
spinmap:rule
[ rdf:type spinmap:Mapping-1-1 ;
......@@ -352,25 +364,25 @@
spinmap:rule
[ rdf:type spinmap:Mapping-1-1 ;
spinmap:context :Discovery-Discovery ;
spinmap:expression
[ rdf:type spinmapl:resourceWithValue ;
sp:arg1 spin:_arg1 ;
spinmapl:predicate <http://www.reportinghub.no/schema/npd#name> ;
spinmapl:type <http://www.reportinghub.no/schema/npd#Company>
] ;
spinmap:expression spin:_arg1 ;
spinmap:sourcePredicate1
<file:///www.reportinghub.no/transform/npd/discovery#cmpLongName2> ;
<file:///www.reportinghub.no/transform/npd/discovery#dscNpdidDiscovery> ;
spinmap:targetPredicate1
<http://www.reportinghub.no/schema/npd#discoveryOperator>
<http://www.reportinghub.no/schema/npd#id>
] ;
spinmap:rule
[ rdf:type spinmap:Mapping-1-1 ;
spinmap:context :Discovery-Discovery ;
spinmap:expression spin:_arg1 ;
spinmap:expression
[ rdf:type spinmapl:resourceWithValue ;
sp:arg1 spin:_arg1 ;
spinmapl:predicate <http://www.reportinghub.no/schema/npd#code> ;
spinmapl:type <http://www.reportinghub.no/schema/npd#DiscoveryActivityStatus>
] ;
spinmap:sourcePredicate1
<file:///www.reportinghub.no/transform/npd/discovery#dscName> ;
<file:///www.reportinghub.no/transform/npd/discovery#dscCurrentActivityStatus> ;
spinmap:targetPredicate1
<http://www.reportinghub.no/schema/npd#name>
<http://www.reportinghub.no/schema/npd#discoveryCurrentActivityStatus>
] ;
spinmap:rule
[ rdf:type spinmap:Mapping-1-1 ;
......@@ -387,7 +399,12 @@
spinmap:rule
[ rdf:type spinmap:Mapping-1-1 ;
spinmap:context :Discovery-Discovery ;
spinmap:expression spin:_arg1 ;
spinmap:expression
[ rdf:type spinmapl:resourceWithValue ;
sp:arg1 spin:_arg1 ;
spinmapl:predicate <http://www.reportinghub.no/schema/npd#code> ;
spinmapl:type <http://www.reportinghub.no/schema/npd#HCType>
] ;
spinmap:sourcePredicate1
<file:///www.reportinghub.no/transform/npd/discovery#dscHcType> ;
spinmap:targetPredicate1
......@@ -397,22 +414,24 @@
[ rdf:type spinmap:Mapping-1-1 ;
spinmap:context :Discovery-Discovery ;
spinmap:expression
[ rdf:type rhspin:fieldById ;
arg:id spin:_arg1
[ rdf:type spinmapl:resourceWithValue ;
sp:arg1 spin:_arg1 ;
spinmapl:predicate <http://www.reportinghub.no/schema/npd#name> ;
spinmapl:type <http://www.reportinghub.no/schema/npd#Owner>
] ;
spinmap:sourcePredicate1
<file:///www.reportinghub.no/transform/npd/discovery#fldNpdidField> ;
<file:///www.reportinghub.no/transform/npd/discovery#dscOwnerName> ;
spinmap:targetPredicate1
<http://www.reportinghub.no/schema/npd#discoveryField>
<http://www.reportinghub.no/schema/npd#discoveryOwner>
] ;
spinmap:rule
[ rdf:type spinmap:Mapping-1-1 ;
spinmap:context :Discovery-Discovery ;
spinmap:expression spin:_arg1 ;
spinmap:sourcePredicate1
<file:///www.reportinghub.no/transform/npd/discovery#dscNpdidDiscovery> ;
<file:///www.reportinghub.no/transform/npd/discovery#dscName> ;
spinmap:targetPredicate1
<http://www.reportinghub.no/schema/npd#id>
<http://www.reportinghub.no/schema/npd#name>
] .
<file:///www.reportinghub.no/transform/npd/facilityfixed#FacilityFixed>
......@@ -429,29 +448,32 @@
[ rdf:type spinmap:Mapping-1-1 ;
spinmap:context :FacilityFixed-FixedFacility ;
spinmap:expression
[ rdf:type spinmapl:resourceWithValue ;
sp:arg1 spin:_arg1 ;
spinmapl:predicate <http://www.reportinghub.no/schema/npd#id> ;
spinmapl:type <http://www.reportinghub.no/schema/npd#FixedFacilityParent>
[ rdf:type spif:parseDate ;
arg:pattern "dd.MM.yyyy" ;
sp:arg1 spin:_arg1
] ;
spinmap:sourcePredicate1
<file:///www.reportinghub.no/transform/npd/facilityfixed#fclBelongsToS> ;
<file:///www.reportinghub.no/transform/npd/facilityfixed#fclStartupDate> ;
spinmap:targetPredicate1
<http://www.reportinghub.no/schema/npd#belongsTo>
<http://www.reportinghub.no/schema/npd#startDate>
] ;
spinmap:rule
[ rdf:type spinmap:Mapping-1-1 ;
spinmap:context :FacilityFixed-FixedFacility ;
spinmap:expression
[ rdf:type spinmapl:resourceWithValue ;
sp:arg1 spin:_arg1 ;
spinmapl:predicate <http://www.reportinghub.no/schema/npd#name> ;
spinmapl:type <http://www.reportinghub.no/schema/npd#Company>
] ;
spinmap:expression spin:_arg1 ;
spinmap:sourcePredicate1
<file:///www.reportinghub.no/transform/npd/facilityfixed#fclCurrentOperatorName> ;
<file:///www.reportinghub.no/transform/npd/facilityfixed#fclName> ;
spinmap:targetPredicate1
<http://www.reportinghub.no/schema/npd#currentOperator>
<http://www.reportinghub.no/schema/npd#name>
] ;
spinmap:rule
[ rdf:type spinmap:Mapping-1-1 ;
spinmap:context :FacilityFixed-FixedFacility ;
spinmap:expression spin:_arg1 ;
spinmap:sourcePredicate1
<file:///www.reportinghub.no/transform/npd/facilityfixed#fclNpdidFacility> ;
spinmap:targetPredicate1
<http://www.reportinghub.no/schema/npd#id>
] ;
spinmap:rule
[ rdf:type spinmap:Mapping-1-1 ;
......@@ -473,38 +495,40 @@
spinmap:rule
[ rdf:type spinmap:Mapping-1-1 ;
spinmap:context :FacilityFixed-FixedFacility ;
spinmap:expression spin:_arg1 ;
spinmap:sourcePredicate1
<file:///www.reportinghub.no/transform/npd/facilityfixed#fclNpdidFacility> ;
spinmap:targetPredicate1
<http://www.reportinghub.no/schema/npd#id>
] ;
spinmap:rule
[ rdf:type spinmap:Mapping-1-1 ;
spinmap:context :FacilityFixed-FixedFacility ;
spinmap:expression spin:_arg1 ;
spinmap:expression
[ rdf:type spinmapl:resourceWithValue ;
sp:arg1 spin:_arg1 ;
spinmapl:predicate <http://www.reportinghub.no/schema/npd#name> ;
spinmapl:type <http://www.reportinghub.no/schema/npd#Company>
] ;
spinmap:sourcePredicate1
<file:///www.reportinghub.no/transform/npd/facilityfixed#fclName> ;
<file:///www.reportinghub.no/transform/npd/facilityfixed#fclCurrentOperatorName> ;
spinmap:targetPredicate1
<http://www.reportinghub.no/schema/npd#name>
<http://www.reportinghub.no/schema/npd#currentOperator>
] ;
spinmap:rule
[ rdf:type spinmap:Mapping-1-1 ;
spinmap:context :FacilityFixed-FixedFacility ;
spinmap:expression
[ rdf:type spif:parseDate ;
arg:pattern "dd.MM.yyyy" ;
sp:arg1 spin:_arg1
[ rdf:type spinmapl:resourceWithValue ;
sp:arg1 spin:_arg1 ;
spinmapl:predicate <http://www.reportinghub.no/schema/npd#id> ;
spinmapl:type <http://www.reportinghub.no/schema/npd#FixedFacilityParent>
] ;
spinmap:sourcePredicate1
<file:///www.reportinghub.no/transform/npd/facilityfixed#fclStartupDate> ;
<file:///www.reportinghub.no/transform/npd/facilityfixed#fclBelongsToS> ;
spinmap:targetPredicate1
<http://www.reportinghub.no/schema/npd#startDate>
<http://www.reportinghub.no/schema/npd#belongsTo>
] ;
spinmap:rule
[ rdf:type spinmap:Mapping-1-1 ;
spinmap:context :FacilityFixed-FixedFacility ;
spinmap:expression spin:_arg1 ;
spinmap:expression
[ rdf:type spinmapl:resourceWithValue ;
sp:arg1 spin:_arg1 ;
spinmapl:predicate <http://www.reportinghub.no/schema/npd#code> ;
spinmapl:type <http://www.reportinghub.no/schema/npd#FixedFacilityPhase>
] ;
spinmap:sourcePredicate1
<file:///www.reportinghub.no/transform/npd/facilityfixed#fclPhase> ;
spinmap:targetPredicate1
......@@ -513,27 +537,20 @@
<file:///www.reportinghub.no/transform/npd/facilitymoveable#FacilityMoveable>
spinmap:rule
[ rdf:type spinmap:Mapping-1-1 ;
[ rdf:type spinmap:Mapping-0-1 ;
spinmap:context :FacilityMoveable-MoveableFacility ;
spinmap:expression
[ rdf:type spinmapl:resourceWithValue ;
sp:arg1 spin:_arg1 ;
spinmapl:predicate <http://www.reportinghub.no/schema/npd#name> ;
spinmapl:type <http://www.reportinghub.no/schema/npd#Company>
] ;
spinmap:sourcePredicate1
<file:///www.reportinghub.no/transform/npd/facilitymoveable#fclCurrentRespCompanyName> ;
spinmap:expression <http://www.reportinghub.no/schema/npd#MoveableFacility> ;
spinmap:targetPredicate1
<http://www.reportinghub.no/schema/npd#currentlyResponsibleCompany>
rdf:type
] ;
spinmap:rule
[ rdf:type spinmap:Mapping-1-1 ;
spinmap:context :FacilityMoveable-MoveableFacility ;
spinmap:expression spin:_arg1 ;
spinmap:sourcePredicate1
<file:///www.reportinghub.no/transform/npd/facilitymoveable#fclName> ;
<file:///www.reportinghub.no/transform/npd/facilitymoveable#fclNpdidFacility> ;
spinmap:targetPredicate1
<http://www.reportinghub.no/schema/npd#name>
<http://www.reportinghub.no/schema/npd#id>
] ;
spinmap:rule
[ rdf:type spinmap:Mapping-1-1 ;
......@@ -549,53 +566,53 @@
spinmap:context :FacilityMoveable-MoveableFacility ;
spinmap:expression spin:_arg1 ;
spinmap:sourcePredicate1
<file:///www.reportinghub.no/transform/npd/facilitymoveable#fclNpdidFacility> ;
<file:///www.reportinghub.no/transform/npd/facilitymoveable#fclName> ;
spinmap:targetPredicate1
<http://www.reportinghub.no/schema/npd#id>
<http://www.reportinghub.no/schema/npd#name>
] ;
spinmap:rule
[ rdf:type spinmap:Mapping-0-1 ;
[ rdf:type spinmap:Mapping-1-1 ;
spinmap:context :FacilityMoveable-MoveableFacility ;
spinmap:expression <http://www.reportinghub.no/schema/npd#MoveableFacility> ;
spinmap:expression
[ rdf:type spinmapl:resourceWithValue ;
sp:arg1 spin:_arg1 ;
spinmapl:predicate <http://www.reportinghub.no/schema/npd#name> ;
spinmapl:type <http://www.reportinghub.no/schema/npd#Company>
] ;
spinmap:sourcePredicate1
<file:///www.reportinghub.no/transform/npd/facilitymoveable#fclCurrentRespCompanyName> ;
spinmap:targetPredicate1
rdf:type
<http://www.reportinghub.no/schema/npd#currentlyResponsibleCompany>
] .
<file:///www.reportinghub.no/transform/npd/field#Field>
spinmap:rule
[ rdf:type spinmap:Mapping-1-1 ;
[ rdf:type spinmap:Mapping-0-1 ;
spinmap:context :Field-Field ;
spinmap:expression
[ rdf:type spinmapl:resourceWithValue ;
sp:arg1 spin:_arg1 ;
spinmapl:predicate <http://www.reportinghub.no/schema/npd#id> ;
spinmapl:type <http://www.reportinghub.no/schema/npd#Owner>
] ;
spinmap:sourcePredicate1
<file:///www.reportinghub.no/transform/npd/field#fldNpdidOwner> ;
spinmap:expression <http://www.reportinghub.no/schema/npd#Field> ;
spinmap:targetPredicate1
<http://www.reportinghub.no/schema/npd#fieldOwner>
rdf:type
] ;
spinmap:rule
[ rdf:type spinmap:Mapping-1-1 ;
spinmap:context :Field-Field ;
spinmap:expression spin:_arg1 ;
spinmap:expression
[ rdf:type rhspin:companyById ;
arg:id spin:_arg1
] ;
spinmap:sourcePredicate1
<file:///www.reportinghub.no/transform/npd/field#fldCurrentActivitySatus> ;
<file:///www.reportinghub.no/transform/npd/field#cmpNpdidCompany> ;
spinmap:targetPredicate1
<http://www.reportinghub.no/schema/npd#currentActivityStatus>
<http://www.reportinghub.no/schema/npd#fieldOperator>
] ;
spinmap:rule
[ rdf:type spinmap:Mapping-1-1 ;
spinmap:context :Field-Field ;
spinmap:expression
[ rdf:type rhspin:wellBoreByName ;
arg:wellBoreName spin:_arg1
] ;
spinmap:context :Field-Field ;
spinmap:expression spin:_arg1 ;
spinmap:sourcePredicate1
<file:///www.reportinghub.no/transform/npd/field#wlbName> ;
<file:///www.reportinghub.no/transform/npd/field#fldNpdidField> ;
spinmap:targetPredicate1
<http://www.reportinghub.no/schema/npd#fieldDiscoveryWellBore>
<http://www.reportinghub.no/schema/npd#id>
] ;
spinmap:rule
[ rdf:type spinmap:Mapping-1-1 ;
......@@ -609,64 +626,68 @@
spinmap:rule
[ rdf:type spinmap:Mapping-1-1 ;
spinmap:context :Field-Field ;
spinmap:expression spin:_arg1 ;
spinmap:expression
[ rdf:type rhspin:wellBoreByName ;
arg:wellBoreName spin:_arg1
] ;
spinmap:sourcePredicate1
<file:///www.reportinghub.no/transform/npd/field#fldNpdidField> ;
<file:///www.reportinghub.no/transform/npd/field#wlbName> ;
spinmap:targetPredicate1
<http://www.reportinghub.no/schema/npd#id>
<http://www.reportinghub.no/schema/npd#fieldDiscoveryWellBore>
] ;
spinmap:rule
[ rdf:type spinmap:Mapping-1-1 ;
spinmap:context :Field-Field ;
spinmap:expression
[ rdf:type rhspin:companyById ;
arg:id spin:_arg1
[ rdf:type spinmapl:resourceWithValue ;
sp:arg1 spin:_arg1 ;
spinmapl:predicate <http://www.reportinghub.no/schema/npd#id> ;
spinmapl:type <http://www.reportinghub.no/schema/npd#Owner>
] ;
spinmap:sourcePredicate1
<file:///www.reportinghub.no/transform/npd/field#cmpNpdidCompany> ;
<file:///www.reportinghub.no/transform/npd/field#fldNpdidOwner> ;
spinmap:targetPredicate1
<http://www.reportinghub.no/schema/npd#fieldOperator>
<http://www.reportinghub.no/schema/npd#fieldOwner>
] ;
spinmap:rule
[ rdf:type spinmap:Mapping-0-1 ;
[ rdf:type spinmap:Mapping-1-1 ;
spinmap:context :Field-Field ;
spinmap:expression <http://www.reportinghub.no/schema/npd#Field> ;
spinmap:expression
[ rdf:type spinmapl:resourceWithValue ;
sp:arg1 spin:_arg1 ;
spinmapl:predicate <http://www.reportinghub.no/schema/npd#code> ;
spinmapl:type <http://www.reportinghub.no/schema/npd#FieldActivityStatus>
] ;
spinmap:sourcePredicate1
<file:///www.reportinghub.no/transform/npd/field#fldCurrentActivitySatus> ;
spinmap:targetPredicate1
rdf:type
<http://www.reportinghub.no/schema/npd#currentActivityStatus>
] .
<file:///www.reportinghub.no/transform/npd/licensee#Licensee>
spinmap:rule
[ rdf:type spinmap:Mapping-0-1 ;
spinmap:context :Licensee-ShareOfLicence ;
spinmap:expression <http://www.reportinghub.no/schema/npd#ShareOfLicence> ;
spinmap:targetPredicate1
rdf:type
] ;
spinmap:rule
[ rdf:type spinmap:Mapping-1-1 ;
spinmap:context :Licensee-ShareOfLicence ;
spinmap:expression
[ rdf:type spif:parseDate ;
arg:pattern "dd.MM.yyyy" ;
sp:arg1 spin:_arg1
[ rdf:type rhspin:licenceById ;
arg:id spin:_arg1
] ;
spinmap:sourcePredicate1
<file:///www.reportinghub.no/transform/npd/licensee#prlLicenseeDateValidFrom> ;
<file:///www.reportinghub.no/transform/npd/licensee#prlNpdidLicence> ;
spinmap:targetPredicate1
<http://www.reportinghub.no/schema/npd#startDate>
<http://www.reportinghub.no/schema/npd#licenceShared>
] ;
spinmap:rule
[ rdf:type spinmap:Mapping-1-1 ;
spinmap:context :Licensee-ShareOfLicence ;
spinmap:expression
[ rdf:type rhspin:companyById ;
arg:id spin:_arg1
[ rdf:type xsd:float ;
sp:arg1 spin:_arg1
] ;
spinmap:sourcePredicate1
<file:///www.reportinghub.no/transform/npd/licensee#cmpNpdidCompany> ;
<file:///www.reportinghub.no/transform/npd/licensee#prlLicenseeInterest> ;
spinmap:targetPredicate1
<http://www.reportinghub.no/schema/npd#shareHolder>
<http://www.reportinghub.no/schema/npd#percentageOfShare>
] ;
spinmap:rule
[ rdf:type spinmap:Mapping-1-1 ;
......@@ -685,36 +706,42 @@
[ rdf:type spinmap:Mapping-1-1 ;
spinmap:context :Licensee-ShareOfLicence ;
spinmap:expression
[ rdf:type xsd:float ;
sp:arg1 spin:_arg1
[ rdf:type rhspin:companyById ;
arg:id spin:_arg1
] ;
spinmap:sourcePredicate1
<file:///www.reportinghub.no/transform/npd/licensee#prlLicenseeInterest> ;
<file:///www.reportinghub.no/transform/npd/licensee#cmpNpdidCompany> ;
spinmap:targetPredicate1
<http://www.reportinghub.no/schema/npd#percentageOfShare>
<http://www.reportinghub.no/schema/npd#shareHolder>
] ;
spinmap:rule
[ rdf:type spinmap:Mapping-1-1 ;
spinmap:context :Licensee-ShareOfLicence ;
spinmap:expression
[ rdf:type rhspin:licenceById ;
arg:id spin:_arg1
[ rdf:type spif:parseDate ;
arg:pattern "dd.MM.yyyy" ;
sp:arg1 spin:_arg1
] ;
spinmap:sourcePredicate1
<file:///www.reportinghub.no/transform/npd/licensee#prlNpdidLicence> ;
<file:///www.reportinghub.no/transform/npd/licensee#prlLicenseeDateValidFrom> ;
spinmap:targetPredicate1
<http://www.reportinghub.no/schema/npd#licenceShared>
<http://www.reportinghub.no/schema/npd#startDate>
] ;
spinmap:rule
[ rdf:type spinmap:Mapping-0-1 ;
spinmap:context :Licensee-ShareOfLicence ;
spinmap:expression <http://www.reportinghub.no/schema/npd#ShareOfLicence> ;
spinmap:targetPredicate1
rdf:type
] .
<file:///www.reportinghub.no/transform/npd/tufoperator#TUFOperator>
spinmap:rule
[ rdf:type spinmap:Mapping-1-1 ;
[ rdf:type spinmap:Mapping-0-1 ;
spinmap:context :TUFOperator-TUF ;
spinmap:expression spin:_arg1 ;
spinmap:sourcePredicate1
<file:///www.reportinghub.no/transform/npd/tufoperator#tufName> ;
spinmap:expression <http://www.reportinghub.no/schema/npd#TUF> ;
spinmap:targetPredicate1
<http://www.reportinghub.no/schema/npd#name>
rdf:type
] ;
spinmap:rule
[ rdf:type spinmap:Mapping-1-1 ;
......@@ -726,11 +753,13 @@
<http://www.reportinghub.no/schema/npd#id>
] ;
spinmap:rule
[ rdf:type spinmap:Mapping-0-1 ;
[ rdf:type spinmap:Mapping-1-1 ;
spinmap:context :TUFOperator-TUF ;
spinmap:expression <http://www.reportinghub.no/schema/npd#TUF> ;
spinmap:expression spin:_arg1 ;
spinmap:sourcePredicate1
<file:///www.reportinghub.no/transform/npd/tufoperator#tufName> ;
spinmap:targetPredicate1
rdf:type
<http://www.reportinghub.no/schema/npd#name>
] .
<file:///www.reportinghub.no/transform/npd/wbdev#WBDev>
......@@ -739,52 +768,55 @@
spinmap:context :WBDev-WellBore ;
spinmap:expression spin:_arg1 ;
spinmap:sourcePredicate1
<file:///www.reportinghub.no/transform/npd/wbdev#wlbContent> ;
<file:///www.reportinghub.no/transform/npd/wbdev#wlbDrillPermit> ;
spinmap:targetPredicate1
<http://www.reportinghub.no/schema/npd#wellBoreContent>
<http://www.reportinghub.no/schema/npd#wellBoreDrillPermit>
] ;
spinmap:rule
[ rdf:type spinmap:Mapping-1-1 ;
spinmap:context :WBDev-WellBore ;
spinmap:expression
[ rdf:type spif:parseDate ;
arg:pattern "dd.MM.yyyy"^^xsd:string ;
sp:arg1 spin:_arg1
[ rdf:type rhspin:facilityById ;
arg:id spin:_arg1
] ;
spinmap:sourcePredicate1
<file:///www.reportinghub.no/transform/npd/wbdev#wlbEntryDate> ;
<file:///www.reportinghub.no/transform/npd/wbdev#fclNpdidFacilityProducing> ;
spinmap:targetPredicate1
<http://www.reportinghub.no/schema/npd#startDate>
<http://www.reportinghub.no/schema/npd#productionFacility>
] ;
spinmap:rule
[ rdf:type spinmap:Mapping-1-1 ;
spinmap:context :WBDev-WellBore ;
spinmap:expression spin:_arg1 ;
spinmap:expression
[ rdf:type spif:parseDate ;
arg:pattern "dd.MM.yyyy"^^xsd:string ;
sp:arg1 spin:_arg1
] ;
spinmap:sourcePredicate1
<file:///www.reportinghub.no/transform/npd/wbdev#wlbWellboreName> ;
<file:///www.reportinghub.no/transform/npd/wbdev#wlbEntryDate> ;
spinmap:targetPredicate1
<http://www.reportinghub.no/schema/npd#name>
<http://www.reportinghub.no/schema/npd#startDate>
] ;
spinmap:rule
[ rdf:type spinmap:Mapping-1-1 ;
spinmap:context :WBDev-WellBore ;
spinmap:context :WBDev-Well ;
spinmap:expression spin:_arg1 ;
spinmap:sourcePredicate1
<file:///www.reportinghub.no/transform/npd/wbdev#wlbWellType> ;
<file:///www.reportinghub.no/transform/npd/wbdev#wlbWell> ;
spinmap:targetPredicate1
<http://www.reportinghub.no/schema/npd#wellBoreType>
<http://www.reportinghub.no/schema/npd#name>
] ;
spinmap:rule
[ rdf:type spinmap:Mapping-1-1 ;
spinmap:context :WBDev-WellBore ;
spinmap:expression
[ rdf:type rhspin:facilityById ;
[ rdf:type rhspin:licenceById ;
arg:id spin:_arg1
] ;
spinmap:sourcePredicate1
<file:///www.reportinghub.no/transform/npd/wbdev#fclNpdidFacilityProducing> ;
<file:///www.reportinghub.no/transform/npd/wbdev#prlNpdidProductionLicence> ;
spinmap:targetPredicate1
<http://www.reportinghub.no/schema/npd#productionFacility>
<http://www.reportinghub.no/schema/npd#drilledInProductionLicence>
] ;
spinmap:rule
[ rdf:type spinmap:Mapping-1-1 ;
......@@ -811,44 +843,64 @@
<http://www.reportinghub.no/schema/npd#drillingFacility>
] ;
spinmap:rule
[ rdf:type spinmap:Mapping-0-1 ;
spinmap:context :WBDev-WellBore ;
spinmap:expression <http://www.reportinghub.no/schema/npd#WellBore> ;
spinmap:targetPredicate1
rdf:type
] ;
spinmap:rule
[ rdf:type spinmap:Mapping-1-1 ;
spinmap:context :WBDev-WellBore ;
spinmap:expression
[ rdf:type rhspin:licenceById ;
arg:id spin:_arg1
[ rdf:type spinmapl:resourceWithValue ;
sp:arg1 spin:_arg1 ;
spinmapl:predicate <http://www.reportinghub.no/schema/npd#code> ;
spinmapl:type <http://www.reportinghub.no/schema/npd#WellBoreContent>
] ;
spinmap:sourcePredicate1
<file:///www.reportinghub.no/transform/npd/wbdev#prlNpdidProductionLicence> ;
<file:///www.reportinghub.no/transform/npd/wbdev#wlbContent> ;
spinmap:targetPredicate1
<http://www.reportinghub.no/schema/npd#drilledInProductionLicence>
<http://www.reportinghub.no/schema/npd#wellBoreContent>
] ;
spinmap:rule
[ rdf:type spinmap:Mapping-1-1 ;
spinmap:context :WBDev-Well ;
spinmap:expression
[ rdf:type rhspin:fieldById ;
arg:id spin:_arg1
] ;
spinmap:context :WBDev-WellBore ;
spinmap:expression spin:_arg1 ;
spinmap:sourcePredicate1
<file:///www.reportinghub.no/transform/npd/wbdev#fldNpdidField> ;
<file:///www.reportinghub.no/transform/npd/wbdev#wlbNpdidWellbore> ;
spinmap:targetPredicate1
<http://www.reportinghub.no/schema/npd#wellPartOfField>
<http://www.reportinghub.no/schema/npd#id>
] ;
spinmap:rule
[ rdf:type spinmap:Mapping-0-1 ;
[ rdf:type spinmap:Mapping-1-1 ;
spinmap:context :WBDev-WellBore ;
spinmap:expression <http://www.reportinghub.no/schema/npd#WellBore> ;
spinmap:expression
[ rdf:type spinmapl:resourceWithValue ;
sp:arg1 spin:_arg1 ;
spinmapl:predicate <http://www.reportinghub.no/schema/npd#name> ;
spinmapl:type <http://www.reportinghub.no/schema/npd#Company>
] ;
spinmap:sourcePredicate1
<file:///www.reportinghub.no/transform/npd/wbdev#wlbDrillingOperator> ;
spinmap:targetPredicate1
rdf:type
<http://www.reportinghub.no/schema/npd#drillingOperator>
] ;
spinmap:rule
[ rdf:type spinmap:Mapping-1-1 ;
spinmap:context :WBDev-WellBore ;
spinmap:expression spin:_arg1 ;
spinmap:sourcePredicate1
<file:///www.reportinghub.no/transform/npd/wbdev#wlbDrillPermit> ;
<file:///www.reportinghub.no/transform/npd/wbdev#wlbWellboreName> ;
spinmap:targetPredicate1
<http://www.reportinghub.no/schema/npd#wellBoreDrillPermit>
<http://www.reportinghub.no/schema/npd#name>
] ;
spinmap:rule
[ rdf:type spinmap:Mapping-0-1 ;
spinmap:context :WBDev-Well ;
spinmap:expression <http://www.reportinghub.no/schema/npd#Well> ;
spinmap:targetPredicate1
rdf:type
] ;
spinmap:rule
[ rdf:type spinmap:Mapping-1-1 ;
......@@ -864,52 +916,39 @@
<http://www.reportinghub.no/schema/npd#wellBoreCompletionDate>
] ;
spinmap:rule
[ rdf:type spinmap:Mapping-0-1 ;
spinmap:context :WBDev-Well ;
spinmap:expression <http://www.reportinghub.no/schema/npd#Well> ;
spinmap:targetPredicate1
rdf:type
] ;
spinmap:rule
[ rdf:type spinmap:Mapping-1-1 ;
spinmap:context :WBDev-WellBore ;
spinmap:expression spin:_arg1 ;
spinmap:sourcePredicate1
<file:///www.reportinghub.no/transform/npd/wbdev#wlbPurpose> ;
<file:///www.reportinghub.no/transform/npd/wbdev#wlbWellType> ;
spinmap:targetPredicate1
<http://www.reportinghub.no/schema/npd#wellBorePurpose>
<http://www.reportinghub.no/schema/npd#wellBoreType>
] ;
spinmap:rule
[ rdf:type spinmap:Mapping-1-1 ;
spinmap:context :WBDev-WellBore ;
spinmap:context :WBDev-Well ;
spinmap:expression
[ rdf:type spinmapl:resourceWithValue ;
sp:arg1 spin:_arg1 ;
spinmapl:predicate <http://www.reportinghub.no/schema/npd#name> ;
spinmapl:type <http://www.reportinghub.no/schema/npd#Company>
[ rdf:type rhspin:fieldById ;
arg:id spin:_arg1
] ;
spinmap:sourcePredicate1
<file:///www.reportinghub.no/transform/npd/wbdev#wlbDrillingOperator> ;
<file:///www.reportinghub.no/transform/npd/wbdev#fldNpdidField> ;
spinmap:targetPredicate1
<http://www.reportinghub.no/schema/npd#drillingOperator>
<http://www.reportinghub.no/schema/npd#wellPartOfField>
] ;
spinmap:rule
[ rdf:type spinmap:Mapping-1-1 ;
spinmap:context :WBDev-WellBore ;
spinmap:expression spin:_arg1 ;
spinmap:sourcePredicate1
<file:///www.reportinghub.no/transform/npd/wbdev#wlbNpdidWellbore> ;
spinmap:targetPredicate1
<http://www.reportinghub.no/schema/npd#id>
] ;
spinmap:rule
[ rdf:type spinmap:Mapping-1-1 ;
spinmap:context :WBDev-Well ;
spinmap:expression spin:_arg1 ;
spinmap:expression
[ rdf:type spinmapl:resourceWithValue ;
sp:arg1 spin:_arg1 ;
spinmapl:predicate <http://www.reportinghub.no/schema/npd#code> ;
spinmapl:type <http://www.reportinghub.no/schema/npd#WellBorePurpose>
] ;
spinmap:sourcePredicate1
<file:///www.reportinghub.no/transform/npd/wbdev#wlbWell> ;
<file:///www.reportinghub.no/transform/npd/wbdev#wlbPurpose> ;
spinmap:targetPredicate1
<http://www.reportinghub.no/schema/npd#name>
<http://www.reportinghub.no/schema/npd#wellBorePurpose>
] .
arg:well
......@@ -936,7 +975,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/licensee> , <file:///www.reportinghub.no/transform/npd/tufoperator> , <file:///www.reportinghub.no/transform/npd/facilitymoveable-2011-07-30> , <http://www.reportinghub.no/transform/npd/tufoperator-2011-07-30> , <file:///www.reportinghub.no/transform/npd/licensee-2011-07-30> , <file:///www.reportinghub.no/transform/npd/wbexp> , <http://www.reportinghub.no/transform/npd/field-2011-07-30> , <file:///www.reportinghub.no/transform/npd/discovery> , <http://www.reportinghub.no/1.1/schema/npd> , <file:///www.reportinghub.no/transform/npd/field> , <file:///www.reportinghub.no/transform/npd/discovery-2011-07-30> , <http://topbraid.org/spin/spinmapl> , <file:///www.reportinghub.no/transform/npd/baalicensee> , <file:///www.reportinghub.no/transform/npd/facilityfixed-2011-07-30> , <file:///www.reportinghub.no/transform/npd/licence> , <file:///www.reportinghub.no/transform/npd/facilityfixed> , <http://www.reportinghub.no/spin/rh> , <file:///www.reportinghub.no/transform/npd/baa> , <http://www.reportinghub.no/examples/transform/npd/company-2011-07-30> , <file:///www.reportinghub.no/transform/npd/facilitymoveable> , <file:///www.reportinghub.no/transform/npd/baalicensee-2011-07-30> , <file:///www.reportinghub.no/transform/npd/license-2011-07-30> , <file:///www.reportinghub.no/transform/npd/wbdev> , <file:///www.reportinghub.no/transform/npd/wbdev-2011-07-30> , <file:///www.reportinghub.no/transform/npd/company> , <http://spinrdf.org/spin> , <file:///www.reportinghub.no/transform/npd/baa-2011-07-30> ;
owl:imports <file:///www.reportinghub.no/transform/npd/licensee> , <file:///www.reportinghub.no/transform/npd/tufoperator> , <file:///www.reportinghub.no/transform/npd/facilitymoveable-2011-07-30> , <http://www.reportinghub.no/transform/npd/tufoperator-2011-07-30> , <file:///www.reportinghub.no/transform/npd/licensee-2011-07-30> , <http://www.reportinghub.no/transform/npd/field-2011-07-30> , <file:///www.reportinghub.no/transform/npd/discovery> , <http://www.reportinghub.no/1.1/schema/npd> , <file:///www.reportinghub.no/transform/npd/field> , <file:///www.reportinghub.no/transform/npd/discovery-2011-07-30> , <file:///www.reportinghub.no/transform/npd/facilityfixed-2011-07-30> , <file:///www.reportinghub.no/transform/npd/baalicensee> , <http://topbraid.org/spin/spinmapl> , <file:///www.reportinghub.no/transform/npd/licence> , <file:///www.reportinghub.no/transform/npd/facilityfixed> , <http://www.reportinghub.no/spin/rh> , <http://www.reportinghub.no/examples/transform/npd/company-2011-07-30> , <file:///www.reportinghub.no/transform/npd/baa> , <file:///www.reportinghub.no/transform/npd/facilitymoveable> , <file:///www.reportinghub.no/transform/npd/baalicensee-2011-07-30> , <file:///www.reportinghub.no/transform/npd/license-2011-07-30> , <file:///www.reportinghub.no/transform/npd/wbdev> , <file:///www.reportinghub.no/transform/npd/company> , <file:///www.reportinghub.no/transform/npd/wbdev-2011-07-30> , <http://spinrdf.org/spin> , <file:///www.reportinghub.no/transform/npd/baa-2011-07-30> ;
owl:versionInfo "0.1.0"^^xsd:string .
:BAA-BusinessArrangementArea
......@@ -1285,29 +1324,29 @@ arg:wellName
] ;
spin:returnType rdfs:Resource .
_:b12
sp:varName "source"^^xsd:string .
_:b11
sp:varName "startDate"^^xsd:string .
_:b1 sp:varName "companyId"^^xsd:string .
_:b10
sp:varName "licenceId"^^xsd:string .
_:b2 sp:varName "baaId"^^xsd:string .
_:b9 sp:varName "companyId"^^xsd:string .
_:b3 sp:varName "startDate"^^xsd:string .
_:b8 sp:varName "baa"^^xsd:string .
_:b4 sp:varName "source"^^xsd:string .
_:b7 sp:varName "baaName"^^xsd:string .
_:b5 sp:varName "companyName"^^xsd:string .
_:b6 sp:varName "company"^^xsd:string .
_:b5 sp:varName "companyName"^^xsd:string .
_:b7 sp:varName "baaName"^^xsd:string .
_:b4 sp:varName "source"^^xsd:string .
_:b8 sp:varName "baa"^^xsd:string .
_:b3 sp:varName "startDate"^^xsd:string .
_:b9 sp:varName "companyId"^^xsd:string .
_:b2 sp:varName "baaId"^^xsd:string .
_:b10
sp:varName "licenceId"^^xsd:string .
_:b1 sp:varName "companyId"^^xsd:string .
_:b11
sp:varName "startDate"^^xsd:string .
_:b12
sp:varName "source"^^xsd:string .
......