Holger Knublauch

NPD ingestion progress

This diff could not be displayed because it is too large.
# baseURI: http://www.reportinghub.no/transform/spreadsheets2npd
# imports: http://topbraid.org/spin/spinmapl
# imports: http://www.reportinghub.no/examples/transform/npd/wbexp-2011-07-30
# imports: file:///www.reportinghub.no/transform/npd/company
# imports: file:///www.reportinghub.no/transform/npd/wbsha
# imports: file:///www.reportinghub.no/transform/npd/baa-2011-07-30
# imports: file:///www.reportinghub.no/transform/npd/field
# imports: file:///www.reportinghub.no/transform/npd/wbdev
# imports: http://www.reportinghub.no/1.1/schema/npd
# imports: http://www.reportinghub.no/transform/npd/field-2011-07-30
# imports: file:///www.reportinghub.no/transform/npd/field
# imports: http://www.reportinghub.no/spin/rh
# imports: file:///www.reportinghub.no/transform/npd/facilitymoveable-2011-07-30
# imports: file:///www.reportinghub.no/transform/npd/baa
# imports: file:///www.reportinghub.no/transform/npd/baalicensee
# imports: http://spinrdf.org/spin
# imports: file:///www.reportinghub.no/transform/npd/tufoperator
# imports: file:///www.reportinghub.no/transform/npd/discovery-2011-07-30
# imports: file:///www.reportinghub.no/transform/npd/wbdev-2011-07-30
# imports: file:///www.reportinghub.no/transform/npd/wbid-2011-07-30
# imports: http://www.reportinghub.no/examples/transform/npd/company-2011-07-30
# imports: file:///www.reportinghub.no/transform/npd/licensee-2011-07-30
# imports: file:///www.reportinghub.no/transform/npd/wbdev
# imports: http://www.reportinghub.no/examples/npdi
# imports: http://www.reportinghub.no/transform/npd/tufoperator-2011-07-30
# imports: file:///www.reportinghub.no/transform/npd/wbsha-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/baa
# imports: file:///www.reportinghub.no/transform/npd/facilityfixed
# imports: file:///www.reportinghub.no/transform/npd/discovery
# imports: file:///www.reportinghub.no/transform/npd/licence
# imports: file:///www.reportinghub.no/transform/npd/baalicensee-2011-07-30
# imports: file:///www.reportinghub.no/transform/npd/baalicensee
# imports: file:///www.reportinghub.no/transform/npd/wbid
# imports: file:///www.reportinghub.no/transform/npd/facilityfixed-2011-07-30
# imports: http://spinrdf.org/spin
# imports: file:///www.reportinghub.no/transform/npd/tufoperator
@prefix : <http://www.reportinghub.no/transform/spreadsheets2npd#> .
@prefix arg: <http://spinrdf.org/arg#> .
......@@ -64,104 +49,28 @@
@prefix wbsha-2011-07-30: <file:///www.reportinghub.no/transform/npd/wbsha-2011-07-30#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
<file:///www.reportinghub.no/examples/transform/npd/licence-2011-07-30.csv#Licence>
spinmap:rule
[ rdf:type spinmap:Mapping-1-1 ;
spinmap:context :License-License ;
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#prlStatus> ;
spinmap:targetPredicate1
<http://www.reportinghub.no/schema/npd#licenseStatus>
] ;
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:sourcePredicate1
<file:///www.reportinghub.no/examples/transform/npd/licence-2011-07-30.csv#prlDateGranted> ;
spinmap:targetPredicate1
<http://www.reportinghub.no/schema/npd#startDate>
] ;
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:sourcePredicate1
<file:///www.reportinghub.no/examples/transform/npd/licence-2011-07-30.csv#prlDateValidTo> ;
spinmap:targetPredicate1
<http://www.reportinghub.no/schema/npd#endDate>
] ;
spinmap:rule
[ rdf:type spinmap:Mapping-1-1 ;
spinmap:context :License-License ;
spinmap:expression spin:_arg1 ;
spinmap:sourcePredicate1
<file:///www.reportinghub.no/examples/transform/npd/licence-2011-07-30.csv#prlNpdidLicence> ;
spinmap:targetPredicate1
<http://www.reportinghub.no/schema/npd#id>
] ;
spinmap:rule
[ rdf:type spinmap:Mapping-0-1 ;
spinmap:context :License-License ;
spinmap:expression <http://www.reportinghub.no/schema/npd#Licence> ;
spinmap:targetPredicate1
rdf:type
] ;
spinmap:rule
[ rdf:type spinmap:Mapping-1-1 ;
spinmap:context :License-License ;
spinmap:expression spin:_arg1 ;
spinmap:sourcePredicate1
<file:///www.reportinghub.no/examples/transform/npd/licence-2011-07-30.csv#prlName> ;
spinmap:targetPredicate1
<http://www.reportinghub.no/schema/npd#name>
] ;
spinmap:rule
[ rdf:type spinmap:Mapping-1-1 ;
spinmap:context :License-License ;
spinmap:expression spin:_arg1 ;
spinmap:sourcePredicate1
<file:///www.reportinghub.no/examples/transform/npd/licence-2011-07-30.csv#prlLicensingActivityName> ;
spinmap:targetPredicate1
<http://www.reportinghub.no/schema/npd#licensingActivity>
] .
<file:///www.reportinghub.no/transform/npd/baa#BAA>
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#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 ;
......@@ -180,37 +89,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 ;
......@@ -219,12 +123,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 ;
......@@ -235,9 +139,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 ;
......@@ -248,9 +152,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 ;
......@@ -259,56 +163,58 @@
[ 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-1-1 ;
spinmap:context :Company-ParentCompany ;
spinmap:context :Company-Company ;
spinmap:expression spin:_arg1 ;
spinmap:sourcePredicate1
<file:///www.reportinghub.no/transform/npd/company#cmpGroup> ;
<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 ;
spinmap:context :Company-ParentCompany ;
spinmap:context :Company-Company ;
spinmap:expression spin:_arg1 ;
spinmap:sourcePredicate1
<file:///www.reportinghub.no/transform/npd/company#cmpGroup> ;
<file:///www.reportinghub.no/transform/npd/company#cmpShortName> ;
spinmap:targetPredicate1
<http://www.reportinghub.no/schema/npd#companyShortName>
] ;
spinmap:rule
[ rdf:type spinmap:Mapping-1-1 ;
spinmap:context :Company-Company ;
spinmap:expression
[ rdf:type rhspin:parentCompanyByName ;
arg:name spin:_arg1
] ;
spinmap:expression spin:_arg1 ;
spinmap:sourcePredicate1
<file:///www.reportinghub.no/transform/npd/company#cmpGroup> ;
<file:///www.reportinghub.no/transform/npd/company#cmpLongName> ;
spinmap:targetPredicate1
<http://www.reportinghub.no/schema/npd#parentCompany>
<http://www.reportinghub.no/schema/npd#name>
] ;
spinmap:rule
[ rdf:type spinmap:Mapping-0-1 ;
spinmap:context :Company-ParentCompany ;
spinmap:expression <http://www.reportinghub.no/schema/npd#ParentCompany> ;
spinmap:context :Company-Company ;
spinmap:expression <http://www.reportinghub.no/schema/npd#OperatingCompany> ;
spinmap:targetPredicate1
rdf:type
] ;
......@@ -323,37 +229,40 @@
] ;
spinmap:rule
[ rdf:type spinmap:Mapping-0-1 ;
spinmap:context :Company-Company ;
spinmap:expression <http://www.reportinghub.no/schema/npd#OperatingCompany> ;
spinmap:context :Company-ParentCompany ;
spinmap:expression <http://www.reportinghub.no/schema/npd#ParentCompany> ;
spinmap:targetPredicate1
rdf:type
] ;
spinmap:rule
[ rdf:type spinmap:Mapping-1-1 ;
spinmap:context :Company-Company ;
spinmap:expression spin:_arg1 ;
spinmap:expression
[ rdf:type rhspin:parentCompanyByName ;
arg:name spin:_arg1
] ;
spinmap:sourcePredicate1
<file:///www.reportinghub.no/transform/npd/company#cmpLongName> ;
<file:///www.reportinghub.no/transform/npd/company#cmpGroup> ;
spinmap:targetPredicate1
<http://www.reportinghub.no/schema/npd#name>
<http://www.reportinghub.no/schema/npd#parentCompany>
] ;
spinmap:rule
[ rdf:type spinmap:Mapping-1-1 ;
spinmap:context :Company-Company ;
spinmap:context :Company-ParentCompany ;
spinmap:expression spin:_arg1 ;
spinmap:sourcePredicate1
<file:///www.reportinghub.no/transform/npd/company#cmpShortName> ;
<file:///www.reportinghub.no/transform/npd/company#cmpGroup> ;
spinmap:targetPredicate1
<http://www.reportinghub.no/schema/npd#companyShortName>
] ;
spinmap:rule
[ rdf:type spinmap:Mapping-1-1 ;
spinmap:context :Company-Company ;
spinmap:context :Company-ParentCompany ;
spinmap:expression spin:_arg1 ;
spinmap:sourcePredicate1
<file:///www.reportinghub.no/transform/npd/company#cmpNpdidCompany> ;
<file:///www.reportinghub.no/transform/npd/company#cmpGroup> ;
spinmap:targetPredicate1
<http://www.reportinghub.no/schema/npd#id>
<http://www.reportinghub.no/schema/npd#name>
] .
<file:///www.reportinghub.no/transform/npd/discovery#Discovery>
......@@ -361,27 +270,25 @@
[ rdf:type spinmap:Mapping-1-1 ;
spinmap:context :Discovery-Discovery ;
spinmap:expression
[ rdf:type rhspin:fieldById ;
arg:id spin:_arg1
[ rdf:type rhspin:wellBoreByName ;
arg:wellBoreName spin:_arg1
] ;
spinmap:sourcePredicate1
<file:///www.reportinghub.no/transform/npd/discovery#fldNpdidField> ;
<file:///www.reportinghub.no/transform/npd/discovery#wlbName> ;
spinmap:targetPredicate1
<http://www.reportinghub.no/schema/npd#discoveryField>
<http://www.reportinghub.no/schema/npd#discoveryWellBore>
] ;
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#code> ;
spinmapl:type <http://www.reportinghub.no/schema/npd#HCType>
[ rdf:type rhspin:fieldById ;
arg:id spin:_arg1
] ;
spinmap:sourcePredicate1
<file:///www.reportinghub.no/transform/npd/discovery#dscHcType> ;
<file:///www.reportinghub.no/transform/npd/discovery#fldNpdidField> ;
spinmap:targetPredicate1
<http://www.reportinghub.no/schema/npd#discoveryHCType>
<http://www.reportinghub.no/schema/npd#discoveryField>
] ;
spinmap:rule
[ rdf:type spinmap:Mapping-1-1 ;
......@@ -390,26 +297,21 @@
[ 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#Owner>
] ;
spinmap:sourcePredicate1
<file:///www.reportinghub.no/transform/npd/discovery#cmpLongName2> ;
<file:///www.reportinghub.no/transform/npd/discovery#dscOwnerName> ;
spinmap:targetPredicate1
<http://www.reportinghub.no/schema/npd#discoveryOperator>
<http://www.reportinghub.no/schema/npd#discoveryOwner>
] ;
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#Owner>
] ;
spinmap:expression spin:_arg1 ;
spinmap:sourcePredicate1
<file:///www.reportinghub.no/transform/npd/discovery#dscOwnerName> ;
<file:///www.reportinghub.no/transform/npd/discovery#dscName> ;
spinmap:targetPredicate1
<http://www.reportinghub.no/schema/npd#discoveryOwner>
<http://www.reportinghub.no/schema/npd#name>
] ;
spinmap:rule
[ rdf:type spinmap:Mapping-1-1 ;
......@@ -418,12 +320,12 @@
[ 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>
spinmapl:type <http://www.reportinghub.no/schema/npd#HCType>
] ;
spinmap:sourcePredicate1
<file:///www.reportinghub.no/transform/npd/discovery#dscCurrentActivityStatus> ;
<file:///www.reportinghub.no/transform/npd/discovery#dscHcType> ;
spinmap:targetPredicate1
<http://www.reportinghub.no/schema/npd#discoveryCurrentActivityStatus>
<http://www.reportinghub.no/schema/npd#discoveryHCType>
] ;
spinmap:rule
[ rdf:type spinmap:Mapping-0-1 ;
......@@ -435,35 +337,42 @@
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 ;
spinmap:context :Discovery-Discovery ;
spinmap:expression
[ rdf:type xsd:integer ;
sp:arg1 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#Company>
] ;
spinmap:sourcePredicate1
<file:///www.reportinghub.no/transform/npd/discovery#dscDiscoveryYear> ;
<file:///www.reportinghub.no/transform/npd/discovery#cmpLongName2> ;
spinmap:targetPredicate1
<http://www.reportinghub.no/schema/npd#discoveryYear>
<http://www.reportinghub.no/schema/npd#discoveryOperator>
] ;
spinmap:rule
[ rdf:type spinmap:Mapping-1-1 ;
spinmap:context :Discovery-Discovery ;
spinmap:expression
[ rdf:type rhspin:wellBoreByName ;
arg:wellBoreName spin:_arg1
[ rdf:type xsd:integer ;
sp:arg1 spin:_arg1
] ;
spinmap:sourcePredicate1
<file:///www.reportinghub.no/transform/npd/discovery#wlbName> ;
<file:///www.reportinghub.no/transform/npd/discovery#dscDiscoveryYear> ;
spinmap:targetPredicate1
<http://www.reportinghub.no/schema/npd#discoveryWellBore>
<http://www.reportinghub.no/schema/npd#discoveryYear>
] ;
spinmap:rule
[ rdf:type spinmap:Mapping-1-1 ;
......@@ -493,44 +402,42 @@
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#code> ;
spinmapl:type <http://www.reportinghub.no/schema/npd#FixedFacilityPhase>
] ;
spinmap:expression spin:_arg1 ;
spinmap:sourcePredicate1
<file:///www.reportinghub.no/transform/npd/facilityfixed#fclPhase> ;
<file:///www.reportinghub.no/transform/npd/facilityfixed#fclKind> ;
spinmap:targetPredicate1
<http://www.reportinghub.no/schema/npd#fixedFacilityPhase>
<http://www.reportinghub.no/schema/npd#facilityKind>
] ;
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#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#fclName> ;
spinmap:targetPredicate1
<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#fclCurrentOperatorName> ;
<file:///www.reportinghub.no/transform/npd/facilityfixed#fclNpdidFacility> ;
spinmap:targetPredicate1
<http://www.reportinghub.no/schema/npd#currentOperator>
<http://www.reportinghub.no/schema/npd#id>
] ;
spinmap:rule
[ rdf:type spinmap:Mapping-1-1 ;
......@@ -552,45 +459,81 @@
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#fclNpdidFacility> ;
<file:///www.reportinghub.no/transform/npd/facilityfixed#fclCurrentOperatorName> ;
spinmap:targetPredicate1
<http://www.reportinghub.no/schema/npd#id>
<http://www.reportinghub.no/schema/npd#currentOperator>
] ;
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#id> ;
spinmapl:type <http://www.reportinghub.no/schema/npd#FixedFacilityParent>
] ;
spinmap:sourcePredicate1
<file:///www.reportinghub.no/transform/npd/facilityfixed#fclName> ;
<file:///www.reportinghub.no/transform/npd/facilityfixed#fclBelongsToS> ;
spinmap:targetPredicate1
<http://www.reportinghub.no/schema/npd#name>
<http://www.reportinghub.no/schema/npd#belongsTo>
] ;
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#code> ;
spinmapl:type <http://www.reportinghub.no/schema/npd#FixedFacilityPhase>
] ;
spinmap:sourcePredicate1
<file:///www.reportinghub.no/transform/npd/facilityfixed#fclStartupDate> ;
<file:///www.reportinghub.no/transform/npd/facilityfixed#fclPhase> ;
spinmap:targetPredicate1
<http://www.reportinghub.no/schema/npd#startDate>
<http://www.reportinghub.no/schema/npd#fixedFacilityPhase>
] .
<file:///www.reportinghub.no/transform/npd/facilitymoveable#FacilityMoveable>
spinmap:rule
[ rdf:type spinmap:Mapping-0-1 ;
spinmap:context :FacilityMoveable-MoveableFacility ;
spinmap:expression <http://www.reportinghub.no/schema/npd#MoveableFacility> ;
spinmap:targetPredicate1
rdf:type
] ;
spinmap:rule
[ rdf:type spinmap:Mapping-1-1 ;
spinmap:context :FacilityFixed-FixedFacility ;
spinmap:context :FacilityMoveable-MoveableFacility ;
spinmap:expression spin:_arg1 ;
spinmap:sourcePredicate1
<file:///www.reportinghub.no/transform/npd/facilityfixed#fclKind> ;
<file:///www.reportinghub.no/transform/npd/facilitymoveable#fclNpdidFacility> ;
spinmap:targetPredicate1
<http://www.reportinghub.no/schema/npd#id>
] ;
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#fclKind> ;
spinmap:targetPredicate1
<http://www.reportinghub.no/schema/npd#facilityKind>
] .
<file:///www.reportinghub.no/transform/npd/facilitymoveable#FacilityMoveable>
] ;
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> ;
spinmap:targetPredicate1
<http://www.reportinghub.no/schema/npd#name>
] ;
spinmap:rule
[ rdf:type spinmap:Mapping-1-1 ;
spinmap:context :FacilityMoveable-MoveableFacility ;
......@@ -604,56 +547,57 @@
<file:///www.reportinghub.no/transform/npd/facilitymoveable#fclCurrentRespCompanyName> ;
spinmap:targetPredicate1
<http://www.reportinghub.no/schema/npd#currentlyResponsibleCompany>
] .
<file:///www.reportinghub.no/transform/npd/field#Field>
spinmap:rule
[ rdf:type spinmap:Mapping-0-1 ;
spinmap:context :Field-Field ;
spinmap:expression <http://www.reportinghub.no/schema/npd#Field> ;
spinmap:targetPredicate1
rdf:type
] ;
spinmap:rule
[ rdf:type spinmap:Mapping-1-1 ;
spinmap:context :FacilityMoveable-MoveableFacility ;
spinmap:expression spin:_arg1 ;
spinmap:context :Field-Field ;
spinmap:expression
[ rdf:type rhspin:companyById ;
arg:id spin:_arg1
] ;
spinmap:sourcePredicate1
<file:///www.reportinghub.no/transform/npd/facilitymoveable#fclName> ;
<file:///www.reportinghub.no/transform/npd/field#cmpNpdidCompany> ;
spinmap:targetPredicate1
<http://www.reportinghub.no/schema/npd#name>
<http://www.reportinghub.no/schema/npd#fieldOperator>
] ;
spinmap:rule
[ rdf:type spinmap:Mapping-1-1 ;
spinmap:context :FacilityMoveable-MoveableFacility ;
spinmap:context :Field-Field ;
spinmap:expression spin:_arg1 ;
spinmap:sourcePredicate1
<file:///www.reportinghub.no/transform/npd/facilitymoveable#fclKind> ;
<file:///www.reportinghub.no/transform/npd/field#fldNpdidField> ;
spinmap:targetPredicate1
<http://www.reportinghub.no/schema/npd#facilityKind>
<http://www.reportinghub.no/schema/npd#id>
] ;
spinmap:rule
[ rdf:type spinmap:Mapping-1-1 ;
spinmap:context :FacilityMoveable-MoveableFacility ;
spinmap:context :Field-Field ;
spinmap:expression spin:_arg1 ;
spinmap:sourcePredicate1
<file:///www.reportinghub.no/transform/npd/facilitymoveable#fclNpdidFacility> ;
<file:///www.reportinghub.no/transform/npd/field#fldName> ;
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 :FacilityMoveable-MoveableFacility ;
spinmap:expression <http://www.reportinghub.no/schema/npd#MoveableFacility> ;
spinmap:targetPredicate1
rdf:type
] .
<file:///www.reportinghub.no/transform/npd/field#Field>
spinmap:rule
[ rdf:type spinmap:Mapping-1-1 ;
spinmap:context :Field-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>
[ rdf:type rhspin:wellBoreByName ;
arg:wellBoreName spin:_arg1
] ;
spinmap:sourcePredicate1
<file:///www.reportinghub.no/transform/npd/field#fldCurrentActivitySatus> ;
<file:///www.reportinghub.no/transform/npd/field#wlbName> ;
spinmap:targetPredicate1
<http://www.reportinghub.no/schema/npd#currentActivityStatus>
<http://www.reportinghub.no/schema/npd#fieldDiscoveryWellBore>
] ;
spinmap:rule
[ rdf:type spinmap:Mapping-1-1 ;
......@@ -673,84 +617,117 @@
[ rdf:type spinmap:Mapping-1-1 ;
spinmap:context :Field-Field ;
spinmap:expression
[ rdf:type rhspin:wellBoreByName ;
arg:wellBoreName 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#FieldActivityStatus>
] ;
spinmap:sourcePredicate1
<file:///www.reportinghub.no/transform/npd/field#wlbName> ;
<file:///www.reportinghub.no/transform/npd/field#fldCurrentActivitySatus> ;
spinmap:targetPredicate1
<http://www.reportinghub.no/schema/npd#fieldDiscoveryWellBore>
] ;
<http://www.reportinghub.no/schema/npd#currentActivityStatus>
] .
<file:///www.reportinghub.no/transform/npd/licence#Licence>
spinmap:rule
[ rdf:type spinmap:Mapping-1-1 ;
spinmap:context :Field-Field ;
spinmap:expression spin:_arg1 ;
spinmap:context :License-License ;
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/transform/npd/field#fldName> ;
<file:///www.reportinghub.no/transform/npd/licence#prlStatus> ;
spinmap:targetPredicate1
<http://www.reportinghub.no/schema/npd#name>
<http://www.reportinghub.no/schema/npd#licenseStatus>
] ;
spinmap:rule
[ rdf:type spinmap:Mapping-1-1 ;
spinmap:context :Field-Field ;
spinmap:expression spin:_arg1 ;
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/transform/npd/field#fldNpdidField> ;
<file:///www.reportinghub.no/transform/npd/licence#prlDateGranted> ;
spinmap:targetPredicate1
<http://www.reportinghub.no/schema/npd#id>
<http://www.reportinghub.no/schema/npd#startDate>
] ;
spinmap:rule
[ rdf:type spinmap:Mapping-1-1 ;
spinmap:context :Field-Field ;
spinmap:context :License-License ;
spinmap:expression
[ rdf:type rhspin:companyById ;
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/field#cmpNpdidCompany> ;
<file:///www.reportinghub.no/transform/npd/licence#prlDateValidTo> ;
spinmap:targetPredicate1
<http://www.reportinghub.no/schema/npd#fieldOperator>
<http://www.reportinghub.no/schema/npd#endDate>
] ;
spinmap:rule
[ rdf:type spinmap:Mapping-0-1 ;
spinmap:context :Field-Field ;
spinmap:expression <http://www.reportinghub.no/schema/npd#Field> ;
[ rdf:type spinmap:Mapping-1-1 ;
spinmap:context :License-License ;
spinmap:expression spin:_arg1 ;
spinmap:sourcePredicate1
<file:///www.reportinghub.no/transform/npd/licence#prlNpdidLicence> ;
spinmap:targetPredicate1
rdf:type
] .
<file:///www.reportinghub.no/transform/npd/licensee#Licensee>
<http://www.reportinghub.no/schema/npd#id>
] ;
spinmap:rule
[ rdf:type spinmap:Mapping-0-1 ;
spinmap:context :Licensee-ShareOfLicence ;
spinmap:expression <http://www.reportinghub.no/schema/npd#ShareOfLicence> ;
spinmap:context :License-License ;
spinmap:expression <http://www.reportinghub.no/schema/npd#Licence> ;
spinmap:targetPredicate1
rdf:type
] ;
spinmap:rule
[ rdf:type spinmap:Mapping-1-1 ;
spinmap:context :License-License ;
spinmap:expression spin:_arg1 ;
spinmap:sourcePredicate1
<file:///www.reportinghub.no/transform/npd/licence#prlName> ;
spinmap:targetPredicate1
<http://www.reportinghub.no/schema/npd#name>
] ;
spinmap:rule
[ rdf:type spinmap:Mapping-1-1 ;
spinmap:context :License-License ;
spinmap:expression spin:_arg1 ;
spinmap:sourcePredicate1
<file:///www.reportinghub.no/transform/npd/licence#prlLicensingActivityName> ;
spinmap:targetPredicate1
<http://www.reportinghub.no/schema/npd#licensingActivity>
] .
<file:///www.reportinghub.no/transform/npd/licensee#Licensee>
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 ;
......@@ -769,36 +746,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 ;
......@@ -810,11 +793,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>
......@@ -822,93 +807,91 @@
[ rdf:type spinmap:Mapping-1-1 ;
spinmap:context :WBDev-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>
[ rdf:type rhspin:licenceById ;
arg:id spin:_arg1
] ;
spinmap:sourcePredicate1
<file:///www.reportinghub.no/transform/npd/wbdev#wlbDrillingOperator> ;
<file:///www.reportinghub.no/transform/npd/wbdev#prlNpdidProductionLicence> ;
spinmap:targetPredicate1
<http://www.reportinghub.no/schema/npd#drillingOperator>
<http://www.reportinghub.no/schema/npd#drilledInProductionLicence>
] ;
spinmap:rule
[ rdf:type spinmap:Mapping-1-1 ;
spinmap:context :WBDev-Well ;
spinmap:context :WBDev-WellBore ;
spinmap:expression
[ rdf:type rhspin:fieldById ;
arg:id spin:_arg1
[ rdf:type rhspin:wellByName ;
arg:wellName spin:_arg1
] ;
spinmap:sourcePredicate1
<file:///www.reportinghub.no/transform/npd/wbdev#fldNpdidField> ;
<file:///www.reportinghub.no/transform/npd/wbdev#wlbWell> ;
spinmap:targetPredicate1
<http://www.reportinghub.no/schema/npd#wellPartOfField>
<http://www.reportinghub.no/schema/npd#partOfWell>
] ;
spinmap:rule
[ rdf:type spinmap:Mapping-1-1 ;
spinmap:context :WBDev-WellBore ;
spinmap:expression spin:_arg1 ;
spinmap:expression
[ rdf:type rhspin:facilityById ;
arg:id spin:_arg1
] ;
spinmap:sourcePredicate1
<file:///www.reportinghub.no/transform/npd/wbdev#wlbDrillPermit> ;
<file:///www.reportinghub.no/transform/npd/wbdev#fclNpdidFacilityDrilling> ;
spinmap:targetPredicate1
<http://www.reportinghub.no/schema/npd#wellBoreDrillPermit>
<http://www.reportinghub.no/schema/npd#drillingFacility>
] ;
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:targetPredicate1
rdf:type
spinmap:expression
[ rdf:type spif:parseDate ;
arg:pattern "dd.MM.yyyy"^^xsd:string ;
sp:arg1 spin:_arg1
] ;
spinmap:rule
[ rdf:type spinmap:Mapping-1-1 ;
spinmap:context :WBDev-Well ;
spinmap:expression spin:_arg1 ;
spinmap:sourcePredicate1
<file:///www.reportinghub.no/transform/npd/wbdev#wlbWell> ;
<file:///www.reportinghub.no/transform/npd/wbdev#wlbCompletionDate> ;
spinmap:targetPredicate1
<http://www.reportinghub.no/schema/npd#name>
<http://www.reportinghub.no/schema/npd#wellBoreCompletionDate>
] ;
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#wlbWellType> ;
<file:///www.reportinghub.no/transform/npd/wbdev#wlbNpdidWellbore> ;
spinmap:targetPredicate1
<http://www.reportinghub.no/schema/npd#wellBoreType>
<http://www.reportinghub.no/schema/npd#id>
] ;
spinmap:rule
[ rdf:type spinmap:Mapping-1-1 ;
spinmap:context :WBDev-WellBore ;
spinmap:expression
[ rdf:type rhspin:licenceById ;
arg:id spin:_arg1
] ;
spinmap:expression spin:_arg1 ;
spinmap:sourcePredicate1
<file:///www.reportinghub.no/transform/npd/wbdev#prlNpdidProductionLicence> ;
<file:///www.reportinghub.no/transform/npd/wbdev#wlbDrillPermit> ;
spinmap:targetPredicate1
<http://www.reportinghub.no/schema/npd#drilledInProductionLicence>
<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 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#wlbCompletionDate> ;
<file:///www.reportinghub.no/transform/npd/wbdev#wlbDrillingOperator> ;
spinmap:targetPredicate1
<http://www.reportinghub.no/schema/npd#wellBoreCompletionDate>
<http://www.reportinghub.no/schema/npd#drillingOperator>
] ;
spinmap:rule
[ rdf:type spinmap:Mapping-0-1 ;
[ rdf:type spinmap:Mapping-1-1 ;
spinmap:context :WBDev-Well ;
spinmap:expression <http://www.reportinghub.no/schema/npd#Well> ;
spinmap:expression spin:_arg1 ;
spinmap:sourcePredicate1
<file:///www.reportinghub.no/transform/npd/wbdev#wlbWell> ;
spinmap:targetPredicate1
rdf:type
<http://www.reportinghub.no/schema/npd#name>
] ;
spinmap:rule
[ rdf:type spinmap:Mapping-1-1 ;
......@@ -926,11 +909,16 @@
spinmap:rule
[ rdf:type spinmap:Mapping-1-1 ;
spinmap:context :WBDev-WellBore ;
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#WellBoreContent>
] ;
spinmap:sourcePredicate1
<file:///www.reportinghub.no/transform/npd/wbdev#wlbNpdidWellbore> ;
<file:///www.reportinghub.no/transform/npd/wbdev#wlbContent> ;
spinmap:targetPredicate1
<http://www.reportinghub.no/schema/npd#id>
<http://www.reportinghub.no/schema/npd#wellBoreContent>
] ;
spinmap:rule
[ rdf:type spinmap:Mapping-1-1 ;
......@@ -940,23 +928,46 @@
arg:id spin:_arg1
] ;
spinmap:sourcePredicate1
<file:///www.reportinghub.no/transform/npd/wbdev#fclNpdidFacilityDrilling> ;
<file:///www.reportinghub.no/transform/npd/wbdev#fclNpdidFacilityProducing> ;
spinmap:targetPredicate1
<http://www.reportinghub.no/schema/npd#drillingFacility>
<http://www.reportinghub.no/schema/npd#productionFacility>
] ;
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#wlbWellType> ;
spinmap:targetPredicate1
<http://www.reportinghub.no/schema/npd#wellBoreType>
] ;
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#wlbWellboreName> ;
spinmap:targetPredicate1
<http://www.reportinghub.no/schema/npd#name>
] ;
spinmap:rule
[ rdf:type spinmap:Mapping-1-1 ;
spinmap:context :WBDev-Well ;
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#WellBoreContent>
[ rdf:type rhspin:fieldById ;
arg:id spin:_arg1
] ;
spinmap:sourcePredicate1
<file:///www.reportinghub.no/transform/npd/wbdev#wlbContent> ;
<file:///www.reportinghub.no/transform/npd/wbdev#fldNpdidField> ;
spinmap:targetPredicate1
<http://www.reportinghub.no/schema/npd#wellBoreContent>
<http://www.reportinghub.no/schema/npd#wellPartOfField>
] ;
spinmap:rule
[ rdf:type spinmap:Mapping-1-1 ;
......@@ -973,50 +984,64 @@
<http://www.reportinghub.no/schema/npd#wellBorePurpose>
] ;
spinmap:rule
[ rdf:type spinmap:Mapping-1-1 ;
[ rdf:type spinmap:Mapping-0-1 ;
spinmap:context :WBDev-WellBore ;
spinmap:expression <http://www.reportinghub.no/schema/npd#WellBore> ;
spinmap:targetPredicate1
rdf:type
] .
<file:///www.reportinghub.no/transform/npd/wbexp#WBExp>
spinmap:rule
[ rdf:type spinmap:Mapping-1-1 ;
spinmap:context :WBExp-WellBore ;
spinmap:expression
[ rdf:type rhspin:wellByName ;
arg:wellName spin:_arg1
] ;
spinmap:sourcePredicate1
<file:///www.reportinghub.no/transform/npd/wbdev#wlbWell> ;
<file:///www.reportinghub.no/transform/npd/wbexp#wlbWell> ;
spinmap:targetPredicate1
<http://www.reportinghub.no/schema/npd#partOfWell>
] ;
spinmap:rule
[ rdf:type spinmap:Mapping-1-1 ;
spinmap:context :WBDev-WellBore ;
spinmap:context :WBExp-WellBore ;
spinmap:expression
[ rdf:type rhspin:facilityById ;
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#ExplorationWellBorePurpose>
] ;
spinmap:sourcePredicate1
<file:///www.reportinghub.no/transform/npd/wbdev#fclNpdidFacilityProducing> ;
<file:///www.reportinghub.no/transform/npd/wbexp#wlbPurpose> ;
spinmap:targetPredicate1
<http://www.reportinghub.no/schema/npd#productionFacility>
<http://www.reportinghub.no/schema/npd#wellBorePurpose>
] ;
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#wlbWellboreName> ;
spinmap:targetPredicate1
<http://www.reportinghub.no/schema/npd#name>
] .
<file:///www.reportinghub.no/transform/npd/wbexp#WBExp>
spinmap:rule
[ rdf:type spinmap:Mapping-0-1 ;
spinmap:context :WBExp-Well ;
spinmap:expression <http://www.reportinghub.no/schema/npd#Well> ;
spinmap:context :WBExp-WellBore ;
spinmap:expression <http://www.reportinghub.no/schema/npd#WellBore> ;
spinmap:targetPredicate1
rdf:type
] ;
spinmap:rule
[ rdf:type spinmap:Mapping-1-1 ;
spinmap:context :WBExp-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/wbexp#wlbDrillingOperator> ;
spinmap:targetPredicate1
<http://www.reportinghub.no/schema/npd#drillingOperator>
] ;
spinmap:rule
[ rdf:type spinmap:Mapping-1-1 ;
spinmap:context :WBExp-WellBore ;
spinmap:expression spin:_arg1 ;
spinmap:sourcePredicate1
<file:///www.reportinghub.no/transform/npd/wbexp#wlbWellType> ;
......@@ -1024,13 +1049,6 @@
<http://www.reportinghub.no/schema/npd#wellBoreType>
] ;
spinmap:rule
[ rdf:type spinmap:Mapping-0-1 ;
spinmap:context :WBExp-WellBore ;
spinmap:expression <http://www.reportinghub.no/schema/npd#WellBore> ;
spinmap:targetPredicate1
rdf:type
] ;
spinmap:rule
[ rdf:type spinmap:Mapping-1-1 ;
spinmap:context :WBExp-WellBore ;
spinmap:expression
......@@ -1039,30 +1057,18 @@
sp:arg1 spin:_arg1
] ;
spinmap:sourcePredicate1
<file:///www.reportinghub.no/transform/npd/wbexp#wlbCompletionDate> ;
<file:///www.reportinghub.no/transform/npd/wbexp#wlbEntryDate> ;
spinmap:targetPredicate1
<http://www.reportinghub.no/schema/npd#wellBoreCompletionDate>
<http://www.reportinghub.no/schema/npd#startDate>
] ;
spinmap:rule
[ rdf:type spinmap:Mapping-1-1 ;
spinmap:context :WBExp-WellBore ;
spinmap:expression spin:_arg1 ;
spinmap:sourcePredicate1
<file:///www.reportinghub.no/transform/npd/wbexp#wlbNpdidWellbore> ;
spinmap:targetPredicate1
<http://www.reportinghub.no/schema/npd#id>
] ;
spinmap:rule
[ rdf:type spinmap:Mapping-1-1 ;
spinmap:context :WBExp-Well ;
spinmap:expression
[ rdf:type rhspin:fieldById ;
arg:id spin:_arg1
] ;
spinmap:sourcePredicate1
<file:///www.reportinghub.no/transform/npd/wbexp#fldNpdidField> ;
<file:///www.reportinghub.no/transform/npd/wbexp#wlbDrillPermit> ;
spinmap:targetPredicate1
<http://www.reportinghub.no/schema/npd#wellPartOfField>
<http://www.reportinghub.no/schema/npd#wellBoreDrillPermit>
] ;
spinmap:rule
[ rdf:type spinmap:Mapping-1-1 ;
......@@ -1082,67 +1088,42 @@
sp:arg1 spin:_arg1
] ;
spinmap:sourcePredicate1
<file:///www.reportinghub.no/transform/npd/wbexp#wlbEntryDate> ;
spinmap:targetPredicate1
<http://www.reportinghub.no/schema/npd#startDate>
] ;
spinmap:rule
[ rdf:type spinmap:Mapping-1-1 ;
spinmap:context :WBExp-WellBore ;
spinmap:expression
[ rdf:type rhspin:facilityById ;
arg:id spin:_arg1
] ;
spinmap:sourcePredicate1
<file:///www.reportinghub.no/transform/npd/wbexp#fclNpdidFacilityDrilling> ;
<file:///www.reportinghub.no/transform/npd/wbexp#wlbCompletionDate> ;
spinmap:targetPredicate1
<http://www.reportinghub.no/schema/npd#drillingFacility>
<http://www.reportinghub.no/schema/npd#wellBoreCompletionDate>
] ;
spinmap:rule
[ rdf:type spinmap:Mapping-1-1 ;
spinmap:context :WBExp-Well ;
spinmap:expression spin:_arg1 ;
spinmap:sourcePredicate1
<file:///www.reportinghub.no/transform/npd/wbexp#wlbWell> ;
spinmap:targetPredicate1
<http://www.reportinghub.no/schema/npd#name>
] ;
spinmap:rule
[ rdf:type spinmap:Mapping-1-1 ;
spinmap:context :WBExp-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>
[ rdf:type rhspin:fieldById ;
arg:id spin:_arg1
] ;
spinmap:sourcePredicate1
<file:///www.reportinghub.no/transform/npd/wbexp#wlbDrillingOperator> ;
<file:///www.reportinghub.no/transform/npd/wbexp#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 :WBExp-WellBore ;
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#ExplorationWellBorePurpose>
[ rdf:type rhspin:facilityById ;
arg:id spin:_arg1
] ;
spinmap:sourcePredicate1
<file:///www.reportinghub.no/transform/npd/wbexp#wlbPurpose> ;
<file:///www.reportinghub.no/transform/npd/wbexp#fclNpdidFacilityDrilling> ;
spinmap:targetPredicate1
<http://www.reportinghub.no/schema/npd#wellBorePurpose>
<http://www.reportinghub.no/schema/npd#drillingFacility>
] ;
spinmap:rule
[ rdf:type spinmap:Mapping-1-1 ;
spinmap:context :WBExp-WellBore ;
spinmap:expression spin:_arg1 ;
spinmap:sourcePredicate1
<file:///www.reportinghub.no/transform/npd/wbexp#wlbDrillPermit> ;
<file:///www.reportinghub.no/transform/npd/wbexp#wlbNpdidWellbore> ;
spinmap:targetPredicate1
<http://www.reportinghub.no/schema/npd#wellBoreDrillPermit>
<http://www.reportinghub.no/schema/npd#id>
] ;
spinmap:rule
[ rdf:type spinmap:Mapping-1-1 ;
......@@ -1158,6 +1139,15 @@
] ;
spinmap:rule
[ rdf:type spinmap:Mapping-1-1 ;
spinmap:context :WBExp-Well ;
spinmap:expression spin:_arg1 ;
spinmap:sourcePredicate1
<file:///www.reportinghub.no/transform/npd/wbexp#wlbWell> ;
spinmap:targetPredicate1
<http://www.reportinghub.no/schema/npd#name>
] ;
spinmap:rule
[ rdf:type spinmap:Mapping-1-1 ;
spinmap:context :WBExp-WellBore ;
spinmap:expression
[ rdf:type spinmapl:resourceWithValue ;
......@@ -1171,48 +1161,36 @@
<http://www.reportinghub.no/schema/npd#wellBoreContent>
] ;
spinmap:rule
[ rdf:type spinmap:Mapping-1-1 ;
spinmap:context :WBExp-WellBore ;
spinmap:expression
[ rdf:type rhspin:wellByName ;
arg:wellName spin:_arg1
] ;
spinmap:sourcePredicate1
<file:///www.reportinghub.no/transform/npd/wbexp#wlbWell> ;
[ rdf:type spinmap:Mapping-0-1 ;
spinmap:context :WBExp-Well ;
spinmap:expression <http://www.reportinghub.no/schema/npd#Well> ;
spinmap:targetPredicate1
<http://www.reportinghub.no/schema/npd#partOfWell>
rdf:type
] .
<file:///www.reportinghub.no/transform/npd/wbid#WBId>
spinmap:rule
[ rdf:type spinmap:Mapping-1-1 ;
spinmap:context :WBId-WellBore ;
spinmap:expression
[ rdf:type rhspin:wellByName ;
arg:wellName spin:_arg1
] ;
spinmap:sourcePredicate1
<file:///www.reportinghub.no/transform/npd/wbid#wlbWell> ;
[ rdf:type spinmap:Mapping-0-1 ;
spinmap:context :WBId-Well ;
spinmap:expression <http://www.reportinghub.no/schema/npd#Well> ;
spinmap:targetPredicate1
<http://www.reportinghub.no/schema/npd#partOfWell>
rdf:type
] ;
spinmap:rule
[ rdf:type spinmap:Mapping-1-1 ;
spinmap:context :WBId-WellBore ;
spinmap:context :WBId-Well ;
spinmap:expression spin:_arg1 ;
spinmap:sourcePredicate1
<file:///www.reportinghub.no/transform/npd/wbid#wlbWellboreName> ;
<file:///www.reportinghub.no/transform/npd/wbid#wlbWell> ;
spinmap:targetPredicate1
<http://www.reportinghub.no/schema/npd#name>
] ;
spinmap:rule
[ rdf:type spinmap:Mapping-1-1 ;
[ rdf:type spinmap:Mapping-0-1 ;
spinmap:context :WBId-WellBore ;
spinmap:expression spin:_arg1 ;
spinmap:sourcePredicate1
<file:///www.reportinghub.no/transform/npd/wbid#wlbWellType> ;
spinmap:expression <http://www.reportinghub.no/schema/npd#WellBore> ;
spinmap:targetPredicate1
<http://www.reportinghub.no/schema/npd#wellBoreType>
rdf:type
] ;
spinmap:rule
[ rdf:type spinmap:Mapping-1-1 ;
......@@ -1224,38 +1202,58 @@
<http://www.reportinghub.no/schema/npd#id>
] ;
spinmap:rule
[ rdf:type spinmap:Mapping-0-1 ;
[ rdf:type spinmap:Mapping-1-1 ;
spinmap:context :WBId-WellBore ;
spinmap:expression <http://www.reportinghub.no/schema/npd#WellBore> ;
spinmap:expression spin:_arg1 ;
spinmap:sourcePredicate1
<file:///www.reportinghub.no/transform/npd/wbid#wlbWellType> ;
spinmap:targetPredicate1
rdf:type
<http://www.reportinghub.no/schema/npd#wellBoreType>
] ;
spinmap:rule
[ rdf:type spinmap:Mapping-1-1 ;
spinmap:context :WBId-Well ;
spinmap:context :WBId-WellBore ;
spinmap:expression spin:_arg1 ;
spinmap:sourcePredicate1
<file:///www.reportinghub.no/transform/npd/wbid#wlbWell> ;
<file:///www.reportinghub.no/transform/npd/wbid#wlbWellboreName> ;
spinmap:targetPredicate1
<http://www.reportinghub.no/schema/npd#name>
] ;
spinmap:rule
[ rdf:type spinmap:Mapping-0-1 ;
spinmap:context :WBId-Well ;
spinmap:expression <http://www.reportinghub.no/schema/npd#Well> ;
[ rdf:type spinmap:Mapping-1-1 ;
spinmap:context :WBId-WellBore ;
spinmap:expression
[ rdf:type rhspin:wellByName ;
arg:wellName spin:_arg1
] ;
spinmap:sourcePredicate1
<file:///www.reportinghub.no/transform/npd/wbid#wlbWell> ;
spinmap:targetPredicate1
rdf:type
<http://www.reportinghub.no/schema/npd#partOfWell>
] .
<file:///www.reportinghub.no/transform/npd/wbsha#WBSha>
spinmap:rule
[ rdf:type spinmap:Mapping-1-1 ;
spinmap:context :WBSha-WellBore ;
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/wbsha#wlbCompletionDate> ;
spinmap:targetPredicate1
<http://www.reportinghub.no/schema/npd#wellBoreCompletionDate>
] ;
spinmap:rule
[ rdf:type spinmap:Mapping-1-1 ;
spinmap:context :WBSha-WellBore ;
spinmap:expression spin:_arg1 ;
spinmap:sourcePredicate1
<file:///www.reportinghub.no/transform/npd/wbsha#wlbNpdidWellbore> ;
<file:///www.reportinghub.no/transform/npd/wbsha#wlbWellboreName> ;
spinmap:targetPredicate1
<http://www.reportinghub.no/schema/npd#id>
<http://www.reportinghub.no/schema/npd#name>
] ;
spinmap:rule
[ rdf:type spinmap:Mapping-0-1 ;
......@@ -1275,37 +1273,15 @@
] ;
spinmap:rule
[ rdf:type spinmap:Mapping-1-1 ;
spinmap:context :WBSha-Well ;
spinmap:expression spin:_arg1 ;
spinmap:sourcePredicate1
<file:///www.reportinghub.no/transform/npd/wbsha#wlbWell> ;
spinmap:targetPredicate1
<http://www.reportinghub.no/schema/npd#name>
] ;
spinmap:rule
[ rdf:type spinmap:Mapping-1-1 ;
spinmap:context :WBSha-WellBore ;
spinmap:expression
[ rdf:type rhspin:wellByName ;
arg:wellName spin:_arg1
] ;
spinmap:sourcePredicate1
<file:///www.reportinghub.no/transform/npd/wbsha#wlbWell> ;
spinmap:targetPredicate1
<http://www.reportinghub.no/schema/npd#partOfWell>
] ;
spinmap:rule
[ rdf:type spinmap:Mapping-1-1 ;
spinmap:context :WBSha-WellBore ;
spinmap:expression
[ rdf:type spif:parseDate ;
arg:pattern "dd.MM.yyyy"^^xsd:string ;
sp:arg1 spin:_arg1
[ rdf:type rhspin:licenceById ;
arg:id spin:_arg1
] ;
spinmap:sourcePredicate1
<file:///www.reportinghub.no/transform/npd/wbsha#wlbCompletionDate> ;
<file:///www.reportinghub.no/transform/npd/wbsha#wlbProductionLicence> ;
spinmap:targetPredicate1
<http://www.reportinghub.no/schema/npd#wellBoreCompletionDate>
<http://www.reportinghub.no/schema/npd#drilledInProductionLicence>
] ;
spinmap:rule
[ rdf:type spinmap:Mapping-0-1 ;
......@@ -1330,10 +1306,10 @@
] ;
spinmap:rule
[ rdf:type spinmap:Mapping-1-1 ;
spinmap:context :WBSha-WellBore ;
spinmap:context :WBSha-Well ;
spinmap:expression spin:_arg1 ;
spinmap:sourcePredicate1
<file:///www.reportinghub.no/transform/npd/wbsha#wlbWellboreName> ;
<file:///www.reportinghub.no/transform/npd/wbsha#wlbWell> ;
spinmap:targetPredicate1
<http://www.reportinghub.no/schema/npd#name>
] ;
......@@ -1341,26 +1317,35 @@
[ rdf:type spinmap:Mapping-1-1 ;
spinmap:context :WBSha-WellBore ;
spinmap:expression
[ rdf:type spif:parseDate ;
arg:pattern "dd.MM.yyyy"^^xsd:string ;
sp:arg1 spin:_arg1
[ rdf:type rhspin:wellByName ;
arg:wellName spin:_arg1
] ;
spinmap:sourcePredicate1
<file:///www.reportinghub.no/transform/npd/wbsha#wlbEntryDate> ;
<file:///www.reportinghub.no/transform/npd/wbsha#wlbWell> ;
spinmap:targetPredicate1
<http://www.reportinghub.no/schema/npd#startDate>
<http://www.reportinghub.no/schema/npd#partOfWell>
] ;
spinmap:rule
[ rdf:type spinmap:Mapping-1-1 ;
spinmap:context :WBSha-WellBore ;
spinmap:expression spin:_arg1 ;
spinmap:sourcePredicate1
<file:///www.reportinghub.no/transform/npd/wbsha#wlbNpdidWellbore> ;
spinmap:targetPredicate1
<http://www.reportinghub.no/schema/npd#id>
] ;
spinmap:rule
[ rdf:type spinmap:Mapping-1-1 ;
spinmap:context :WBSha-WellBore ;
spinmap:expression
[ rdf:type rhspin:licenceById ;
arg:id spin:_arg1
[ rdf:type spif:parseDate ;
arg:pattern "dd.MM.yyyy"^^xsd:string ;
sp:arg1 spin:_arg1
] ;
spinmap:sourcePredicate1
<file:///www.reportinghub.no/transform/npd/wbsha#wlbProductionLicence> ;
<file:///www.reportinghub.no/transform/npd/wbsha#wlbEntryDate> ;
spinmap:targetPredicate1
<http://www.reportinghub.no/schema/npd#drilledInProductionLicence>
<http://www.reportinghub.no/schema/npd#startDate>
] .
arg:well
......@@ -1387,7 +1372,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/wbsha-2011-07-30> , <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/wbid> , <file:///www.reportinghub.no/transform/npd/wbexp> , <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> , <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/wbsha> , <http://www.reportinghub.no/examples/transform/npd/wbexp-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> , <http://www.reportinghub.no/examples/npdi> , <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/wbid-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/wbexp> , <file:///www.reportinghub.no/transform/npd/wbid> , <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/baalicensee> , <http://topbraid.org/spin/spinmapl> , <file:///www.reportinghub.no/transform/npd/wbsha> , <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> , <file:///www.reportinghub.no/transform/npd/facilitymoveable> , <file:///www.reportinghub.no/transform/npd/wbdev> , <file:///www.reportinghub.no/transform/npd/company> , <http://spinrdf.org/spin> ;
owl:versionInfo "0.1.0"^^xsd:string .
:BAA-BusinessArrangementArea
......@@ -1468,7 +1453,7 @@ arg:wellName
:License-License
rdf:type spinmap:Context ;
spinmap:sourceClass <file:///www.reportinghub.no/examples/transform/npd/licence-2011-07-30.csv#Licence> ;
spinmap:sourceClass <file:///www.reportinghub.no/transform/npd/licence#Licence> ;
spinmap:target
[ rdf:type :buildLicenceURI ;
spinmap:source spinmap:_source
......@@ -1777,7 +1762,7 @@ arg:wellName
arg:id [ rdf:type spl:object ;
sp:arg1 [ sp:varName "source"^^xsd:string
] ;
sp:arg2 <file:///www.reportinghub.no/examples/transform/npd/licence-2011-07-30.csv#prlNpdidLicence>
sp:arg2 <file:///www.reportinghub.no/transform/npd/licence#prlNpdidLicence>
]
]) ;
sp:where ()
......@@ -1926,29 +1911,29 @@ arg:wellName
sp:where ()
] .
_: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 .
......
......@@ -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/licence
# imports: http://topbraid.org/tables
@prefix licence: <file:///www.reportinghub.no/examples/transform/npd/licence-2011-07-30.csv#> .
@prefix licence: <file:///www.reportinghub.no/transform/npd/licence#> .
@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/licence>
rdf:type owl:Ontology ;
owl:imports <http://topbraid.org/tables> .
licence:Licence
rdf:type owl:Class ;
rdfs:label "Licence"^^xsd:string ;
......@@ -75,7 +79,3 @@ licence:prlStatus
rdfs:label "prlStatus" ;
rdfs:range xsd:string ;
tables:columnIndex "2"^^xsd:int .
<file:///www.reportinghub.no/transform/npd/licence>
rdf:type owl:Ontology ;
owl:imports <http://topbraid.org/tables> .
......
# baseURI: file:///www.reportinghub.no/transform/wellbore-npdid-overview
# imports: http://topbraid.org/tables
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix tables: <http://topbraid.org/tables#> .
@prefix wbid: <file:///www.reportinghub.no/transform/wellbore-npdid-overview#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
<file:///www.reportinghub.no/transform/wellbore-npdid-overview>
rdf:type owl:Ontology ;
owl:imports <http://topbraid.org/tables> .
wbid:WBID
rdf:type owl:Class ;
rdfs:label "wellbore-npdid-overview"^^xsd:string ;
tables:sheetIndex "0"^^xsd:int .
wbid:datesyncNPD
rdf:type owl:DatatypeProperty ;
rdfs:domain wbid:WBID ;
rdfs:label "datesyncNPD" ;
rdfs:range xsd:string ;
tables:columnIndex "4"^^xsd:int .
wbid:wlbNpdidWellbore
rdf:type owl:DatatypeProperty ;
rdfs:domain wbid:WBID ;
rdfs:label "wlbNpdidWellbore" ;
rdfs:range xsd:string ;
tables:columnIndex "1"^^xsd:int .
wbid:wlbWell
rdf:type owl:DatatypeProperty ;
rdfs:domain wbid:WBID ;
rdfs:label "wlbWell" ;
rdfs:range xsd:string ;
tables:columnIndex "2"^^xsd:int .
wbid:wlbWellType
rdf:type owl:DatatypeProperty ;
rdfs:domain wbid:WBID ;
rdfs:label "wlbWellType" ;
rdfs:range xsd:string ;
tables:columnIndex "3"^^xsd:int .
wbid:wlbWellboreName
rdf:type owl:DatatypeProperty ;
rdfs:domain wbid:WBID ;
rdfs:label "ÔªøwlbWellboreName" ;
rdfs:range xsd:string ;
tables:columnIndex "0"^^xsd:int .