Holger Knublauch

NPD mapping bug fix

......@@ -55,22 +55,22 @@
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>
] ;
spinmap:rule
[ 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 ;
......@@ -89,32 +89,37 @@
[ 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 ;
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>
] .
<file:///www.reportinghub.no/transform/npd/baalicensee#BAALicensee>
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>
] ;
spinmap:rule
[ rdf:type spinmap:Mapping-1-1 ;
......@@ -123,12 +128,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#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-1-1 ;
......@@ -139,9 +144,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 ;
......@@ -152,9 +157,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 ;
......@@ -163,58 +168,56 @@
[ 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 ;
[ 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
] .
<file:///www.reportinghub.no/transform/npd/company#Company>
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>
] ;
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: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-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
] ;
......@@ -229,40 +232,37 @@
] ;
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
] ;
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-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-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>
] .
<file:///www.reportinghub.no/transform/npd/discovery#Discovery>
......@@ -270,25 +270,36 @@
[ rdf:type spinmap:Mapping-1-1 ;
spinmap:context :Discovery-Discovery ;
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#name> ;
spinmapl:type <http://www.reportinghub.no/schema/npd#Owner>
] ;
spinmap:sourcePredicate1
<file:///www.reportinghub.no/transform/npd/discovery#wlbName> ;
<file:///www.reportinghub.no/transform/npd/discovery#dscOwnerName> ;
spinmap:targetPredicate1
<http://www.reportinghub.no/schema/npd#discoveryWellBore>
<http://www.reportinghub.no/schema/npd#discoveryOwner>
] ;
spinmap:rule
[ rdf:type spinmap:Mapping-0-1 ;
spinmap:context :Discovery-Discovery ;
spinmap:expression <http://www.reportinghub.no/schema/npd#Discovery> ;
spinmap:targetPredicate1
rdf:type
] ;
spinmap:rule
[ 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#code> ;
spinmapl:type <http://www.reportinghub.no/schema/npd#MainNCSArea>
] ;
spinmap:sourcePredicate1
<file:///www.reportinghub.no/transform/npd/discovery#fldNpdidField> ;
<file:///www.reportinghub.no/transform/npd/discovery#nmaName> ;
spinmap:targetPredicate1
<http://www.reportinghub.no/schema/npd#discoveryField>
<http://www.reportinghub.no/schema/npd#discoveryMainNcsArea>
] ;
spinmap:rule
[ rdf:type spinmap:Mapping-1-1 ;
......@@ -297,42 +308,48 @@
[ 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:type <http://www.reportinghub.no/schema/npd#Company>
] ;
spinmap:sourcePredicate1
<file:///www.reportinghub.no/transform/npd/discovery#dscOwnerName> ;
<file:///www.reportinghub.no/transform/npd/discovery#cmpLongName2> ;
spinmap:targetPredicate1
<http://www.reportinghub.no/schema/npd#discoveryOwner>
<http://www.reportinghub.no/schema/npd#discoveryOperator>
] ;
spinmap:rule
[ rdf:type spinmap:Mapping-1-1 ;
spinmap:context :Discovery-Discovery ;
spinmap:expression spin:_arg1 ;
spinmap:expression
[ rdf:type rhspin:fieldById ;
arg:id spin:_arg1
] ;
spinmap:sourcePredicate1
<file:///www.reportinghub.no/transform/npd/discovery#dscName> ;
<file:///www.reportinghub.no/transform/npd/discovery#fldNpdidField> ;
spinmap:targetPredicate1
<http://www.reportinghub.no/schema/npd#name>
<http://www.reportinghub.no/schema/npd#discoveryField>
] ;
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 xsd:integer ;
sp:arg1 spin:_arg1
] ;
spinmap:sourcePredicate1
<file:///www.reportinghub.no/transform/npd/discovery#dscHcType> ;
<file:///www.reportinghub.no/transform/npd/discovery#dscDiscoveryYear> ;
spinmap:targetPredicate1
<http://www.reportinghub.no/schema/npd#discoveryHCType>
<http://www.reportinghub.no/schema/npd#discoveryYear>
] ;
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:wellBoreByName ;
arg:wellBoreName spin:_arg1
] ;
spinmap:sourcePredicate1
<file:///www.reportinghub.no/transform/npd/discovery#wlbName> ;
spinmap:targetPredicate1
rdf:type
<http://www.reportinghub.no/schema/npd#discoveryWellBore>
] ;
spinmap:rule
[ rdf:type spinmap:Mapping-1-1 ;
......@@ -354,25 +371,13 @@
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#cmpLongName2> ;
spinmap:targetPredicate1
<http://www.reportinghub.no/schema/npd#discoveryOperator>
] ;
spinmap:rule
[ rdf:type spinmap:Mapping-1-1 ;
spinmap:context :Discovery-Discovery ;
spinmap:expression
[ rdf:type xsd:integer ;
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#dscDiscoveryYear> ;
<file:///www.reportinghub.no/transform/npd/discovery#dscHcType> ;
spinmap:targetPredicate1
<http://www.reportinghub.no/schema/npd#discoveryYear>
<http://www.reportinghub.no/schema/npd#discoveryHCType>
] ;
spinmap:rule
[ rdf:type spinmap:Mapping-1-1 ;
......@@ -386,58 +391,55 @@
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#MainNCSArea>
] ;
spinmap:expression spin:_arg1 ;
spinmap:sourcePredicate1
<file:///www.reportinghub.no/transform/npd/discovery#nmaName> ;
<file:///www.reportinghub.no/transform/npd/discovery#dscName> ;
spinmap:targetPredicate1
<http://www.reportinghub.no/schema/npd#discoveryMainNcsArea>
<http://www.reportinghub.no/schema/npd#name>
] .
<file:///www.reportinghub.no/transform/npd/facilityfixed#FacilityFixed>
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#fclKind> ;
spinmap:targetPredicate1
<http://www.reportinghub.no/schema/npd#facilityKind>
] ;
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>
] ;
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 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 ;
......@@ -459,62 +461,67 @@
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#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 ;
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>
] ;
spinmap:expression spin:_arg1 ;
spinmap:sourcePredicate1
<file:///www.reportinghub.no/transform/npd/facilityfixed#fclBelongsToS> ;
<file:///www.reportinghub.no/transform/npd/facilityfixed#fclName> ;
spinmap:targetPredicate1
<http://www.reportinghub.no/schema/npd#belongsTo>
<http://www.reportinghub.no/schema/npd#name>
] ;
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>
[ rdf:type spif:parseDate ;
arg:pattern "dd.MM.yyyy" ;
sp:arg1 spin:_arg1
] ;
spinmap:sourcePredicate1
<file:///www.reportinghub.no/transform/npd/facilityfixed#fclPhase> ;
<file:///www.reportinghub.no/transform/npd/facilityfixed#fclStartupDate> ;
spinmap:targetPredicate1
<http://www.reportinghub.no/schema/npd#fixedFacilityPhase>
<http://www.reportinghub.no/schema/npd#startDate>
] ;
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#fclKind> ;
spinmap:targetPredicate1
<http://www.reportinghub.no/schema/npd#facilityKind>
] .
<file:///www.reportinghub.no/transform/npd/facilitymoveable#FacilityMoveable>
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>
] ;
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#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-1-1 ;
......@@ -530,53 +537,58 @@
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 ;
[ 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
] .
<file:///www.reportinghub.no/transform/npd/field#Field>
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>
] ;
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-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 ;
......@@ -590,84 +602,57 @@
spinmap:rule
[ rdf:type spinmap:Mapping-1-1 ;
spinmap:context :Field-Field ;
spinmap:expression
[ rdf:type rhspin:wellBoreByName ;
arg:wellBoreName spin:_arg1
] ;
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 ;
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>
[ rdf:type rhspin:companyById ;
arg:id spin:_arg1
] ;
spinmap:sourcePredicate1
<file:///www.reportinghub.no/transform/npd/field#fldNpdidOwner> ;
<file:///www.reportinghub.no/transform/npd/field#cmpNpdidCompany> ;
spinmap:targetPredicate1
<http://www.reportinghub.no/schema/npd#fieldOwner>
<http://www.reportinghub.no/schema/npd#fieldOperator>
] ;
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#code> ;
spinmapl:type <http://www.reportinghub.no/schema/npd#FieldActivityStatus>
] ;
spinmap:sourcePredicate1
<file:///www.reportinghub.no/transform/npd/field#fldCurrentActivitySatus> ;
spinmap:expression <http://www.reportinghub.no/schema/npd#Field> ;
spinmap:targetPredicate1
<http://www.reportinghub.no/schema/npd#currentActivityStatus>
rdf:type
] .
<file:///www.reportinghub.no/transform/npd/licence#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:expression spin:_arg1 ;
spinmap:sourcePredicate1
<file:///www.reportinghub.no/transform/npd/licence#prlStatus> ;
<file:///www.reportinghub.no/transform/npd/licence#prlLicensingActivityName> ;
spinmap:targetPredicate1
<http://www.reportinghub.no/schema/npd#licenseStatus>
<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/transform/npd/licence#prlDateGranted> ;
<file:///www.reportinghub.no/transform/npd/licence#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/transform/npd/licence#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 ;
......@@ -679,55 +664,78 @@
<http://www.reportinghub.no/schema/npd#id>
] ;
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
[ rdf:type spif:parseDate ;
arg:pattern "dd.MM.yyyy" ;
sp:arg1 spin:_arg1
] ;
spinmap:sourcePredicate1
<file:///www.reportinghub.no/transform/npd/licence#prlDateValidTo> ;
spinmap:targetPredicate1
rdf:type
<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/transform/npd/licence#prlName> ;
<file:///www.reportinghub.no/transform/npd/licence#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/transform/npd/licence#prlLicensingActivityName> ;
<file:///www.reportinghub.no/transform/npd/licence#prlStatus> ;
spinmap:targetPredicate1
<http://www.reportinghub.no/schema/npd#licensingActivity>
<http://www.reportinghub.no/schema/npd#licenseStatus>
] .
<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 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-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 ;
......@@ -746,42 +754,36 @@
[ 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 ;
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> ;
spinmap:targetPredicate1
<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> ;
<file:///www.reportinghub.no/transform/npd/licensee#prlNpdidLicence> ;
spinmap:targetPredicate1
rdf:type
<http://www.reportinghub.no/schema/npd#licenceShared>
] .
<file:///www.reportinghub.no/transform/npd/tufoperator#TUFOperator>
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>
] ;
spinmap:rule
[ rdf:type spinmap:Mapping-1-1 ;
......@@ -793,13 +795,11 @@
<http://www.reportinghub.no/schema/npd#id>
] ;
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
] .
<file:///www.reportinghub.no/transform/npd/wbdev#WBDev>
......@@ -807,37 +807,25 @@
[ rdf:type spinmap:Mapping-1-1 ;
spinmap:context :WBDev-WellBore ;
spinmap:expression
[ rdf:type rhspin:licenceById ;
[ rdf:type rhspin:facilityById ;
arg:id spin:_arg1
] ;
spinmap:sourcePredicate1
<file:///www.reportinghub.no/transform/npd/wbdev#prlNpdidProductionLicence> ;
spinmap:targetPredicate1
<http://www.reportinghub.no/schema/npd#drilledInProductionLicence>
] ;
spinmap:rule
[ rdf:type spinmap:Mapping-1-1 ;
spinmap:context :WBDev-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/wbdev#fclNpdidFacilityProducing> ;
spinmap:targetPredicate1
<http://www.reportinghub.no/schema/npd#partOfWell>
<http://www.reportinghub.no/schema/npd#productionFacility>
] ;
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#fclNpdidFacilityDrilling> ;
<file:///www.reportinghub.no/transform/npd/wbdev#prlNpdidProductionLicence> ;
spinmap:targetPredicate1
<http://www.reportinghub.no/schema/npd#drillingFacility>
<http://www.reportinghub.no/schema/npd#drilledInProductionLicence>
] ;
spinmap:rule
[ rdf:type spinmap:Mapping-1-1 ;
......@@ -857,18 +845,9 @@
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-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-1-1 ;
......@@ -885,6 +864,22 @@
<http://www.reportinghub.no/schema/npd#drillingOperator>
] ;
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#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 ;
......@@ -908,17 +903,15 @@
] ;
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#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 ;
......@@ -928,23 +921,14 @@
arg:id spin:_arg1
] ;
spinmap:sourcePredicate1
<file:///www.reportinghub.no/transform/npd/wbdev#fclNpdidFacilityProducing> ;
spinmap:targetPredicate1
<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> ;
<file:///www.reportinghub.no/transform/npd/wbdev#fclNpdidFacilityDrilling> ;
spinmap:targetPredicate1
<http://www.reportinghub.no/schema/npd#wellBoreType>
<http://www.reportinghub.no/schema/npd#drillingFacility>
] ;
spinmap:rule
[ rdf:type spinmap:Mapping-0-1 ;
spinmap:context :WBDev-Well ;
spinmap:expression <http://www.reportinghub.no/schema/npd#Well> ;
spinmap:context :WBDev-WellBore ;
spinmap:expression <http://www.reportinghub.no/schema/npd#WellBore> ;
spinmap:targetPredicate1
rdf:type
] ;
......@@ -953,21 +937,23 @@
spinmap:context :WBDev-WellBore ;
spinmap:expression spin:_arg1 ;
spinmap:sourcePredicate1
<file:///www.reportinghub.no/transform/npd/wbdev#wlbWellboreName> ;
<file:///www.reportinghub.no/transform/npd/wbdev#wlbDrillPermit> ;
spinmap:targetPredicate1
<http://www.reportinghub.no/schema/npd#name>
<http://www.reportinghub.no/schema/npd#wellBoreDrillPermit>
] ;
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 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#fldNpdidField> ;
<file:///www.reportinghub.no/transform/npd/wbdev#wlbContent> ;
spinmap:targetPredicate1
<http://www.reportinghub.no/schema/npd#wellPartOfField>
<http://www.reportinghub.no/schema/npd#wellBoreContent>
] ;
spinmap:rule
[ rdf:type spinmap:Mapping-1-1 ;
......@@ -984,26 +970,28 @@
<http://www.reportinghub.no/schema/npd#wellBorePurpose>
] ;
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 spin:_arg1 ;
spinmap:sourcePredicate1
<file:///www.reportinghub.no/transform/npd/wbdev#wlbWellType> ;
spinmap:targetPredicate1
rdf:type
] .
<file:///www.reportinghub.no/transform/npd/wbexp#WBExp>
<http://www.reportinghub.no/schema/npd#wellBoreType>
] ;
spinmap:rule
[ rdf:type spinmap:Mapping-1-1 ;
spinmap:context :WBExp-WellBore ;
spinmap:context :WBDev-WellBore ;
spinmap:expression
[ rdf:type rhspin:wellByName ;
arg:wellName spin:_arg1
] ;
spinmap:sourcePredicate1
<file:///www.reportinghub.no/transform/npd/wbexp#wlbWell> ;
<file:///www.reportinghub.no/transform/npd/wbdev#wlbWell> ;
spinmap:targetPredicate1
<http://www.reportinghub.no/schema/npd#partOfWell>
] ;
] .
<file:///www.reportinghub.no/transform/npd/wbexp#WBExp>
spinmap:rule
[ rdf:type spinmap:Mapping-1-1 ;
spinmap:context :WBExp-WellBore ;
......@@ -1011,42 +999,52 @@
[ 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>
spinmapl:type <http://www.reportinghub.no/schema/npd#WellBoreContent>
] ;
spinmap:sourcePredicate1
<file:///www.reportinghub.no/transform/npd/wbexp#wlbPurpose> ;
<file:///www.reportinghub.no/transform/npd/wbexp#wlbContent> ;
spinmap:targetPredicate1
<http://www.reportinghub.no/schema/npd#wellBorePurpose>
<http://www.reportinghub.no/schema/npd#wellBoreContent>
] ;
spinmap:rule
[ rdf:type spinmap:Mapping-0-1 ;
spinmap:context :WBExp-WellBore ;
spinmap:expression <http://www.reportinghub.no/schema/npd#WellBore> ;
spinmap:context :WBExp-Well ;
spinmap:expression <http://www.reportinghub.no/schema/npd#Well> ;
spinmap:targetPredicate1
rdf:type
] ;
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> ;
spinmap:targetPredicate1
<http://www.reportinghub.no/schema/npd#wellBoreDrillPermit>
] ;
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:facilityById ;
arg:id spin:_arg1
] ;
spinmap:sourcePredicate1
<file:///www.reportinghub.no/transform/npd/wbexp#wlbDrillingOperator> ;
<file:///www.reportinghub.no/transform/npd/wbexp#fclNpdidFacilityDrilling> ;
spinmap:targetPredicate1
<http://www.reportinghub.no/schema/npd#drillingOperator>
<http://www.reportinghub.no/schema/npd#drillingFacility>
] ;
spinmap:rule
[ rdf:type spinmap:Mapping-1-1 ;
spinmap:context :WBExp-WellBore ;
spinmap:expression spin:_arg1 ;
spinmap:expression
[ rdf:type rhspin:wellByName ;
arg:wellName spin:_arg1
] ;
spinmap:sourcePredicate1
<file:///www.reportinghub.no/transform/npd/wbexp#wlbWellType> ;
<file:///www.reportinghub.no/transform/npd/wbexp#wlbWell> ;
spinmap:targetPredicate1
<http://www.reportinghub.no/schema/npd#wellBoreType>
<http://www.reportinghub.no/schema/npd#partOfWell>
] ;
spinmap:rule
[ rdf:type spinmap:Mapping-1-1 ;
......@@ -1057,64 +1055,69 @@
sp:arg1 spin:_arg1
] ;
spinmap:sourcePredicate1
<file:///www.reportinghub.no/transform/npd/wbexp#wlbEntryDate> ;
<file:///www.reportinghub.no/transform/npd/wbexp#wlbCompletionDate> ;
spinmap:targetPredicate1
<http://www.reportinghub.no/schema/npd#startDate>
<http://www.reportinghub.no/schema/npd#wellBoreCompletionDate>
] ;
spinmap:rule
[ rdf:type spinmap:Mapping-1-1 ;
spinmap:context :WBExp-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#ExplorationWellBorePurpose>
] ;
spinmap:sourcePredicate1
<file:///www.reportinghub.no/transform/npd/wbexp#wlbDrillPermit> ;
<file:///www.reportinghub.no/transform/npd/wbexp#wlbPurpose> ;
spinmap:targetPredicate1
<http://www.reportinghub.no/schema/npd#wellBoreDrillPermit>
<http://www.reportinghub.no/schema/npd#wellBorePurpose>
] ;
spinmap:rule
[ rdf:type spinmap:Mapping-1-1 ;
spinmap:context :WBExp-WellBore ;
spinmap:context :WBExp-Well ;
spinmap:expression spin:_arg1 ;
spinmap:sourcePredicate1
<file:///www.reportinghub.no/transform/npd/wbexp#wlbWellboreName> ;
<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:context :WBExp-Well ;
spinmap:expression
[ rdf:type spif:parseDate ;
arg:pattern "dd.MM.yyyy"^^xsd:string ;
sp:arg1 spin:_arg1
[ rdf:type rhspin:fieldById ;
arg:id spin:_arg1
] ;
spinmap:sourcePredicate1
<file:///www.reportinghub.no/transform/npd/wbexp#wlbCompletionDate> ;
<file:///www.reportinghub.no/transform/npd/wbexp#fldNpdidField> ;
spinmap:targetPredicate1
<http://www.reportinghub.no/schema/npd#wellBoreCompletionDate>
<http://www.reportinghub.no/schema/npd#wellPartOfField>
] ;
spinmap:rule
[ rdf:type spinmap:Mapping-1-1 ;
spinmap:context :WBExp-Well ;
spinmap:context :WBExp-WellBore ;
spinmap:expression
[ rdf:type rhspin:fieldById ;
[ rdf:type rhspin:licenceById ;
arg:id spin:_arg1
] ;
spinmap:sourcePredicate1
<file:///www.reportinghub.no/transform/npd/wbexp#fldNpdidField> ;
<file:///www.reportinghub.no/transform/npd/wbexp#prlNpdidProductionLicence> ;
spinmap:targetPredicate1
<http://www.reportinghub.no/schema/npd#wellPartOfField>
<http://www.reportinghub.no/schema/npd#drilledInProductionLicence>
] ;
spinmap:rule
[ rdf:type spinmap:Mapping-1-1 ;
spinmap:context :WBExp-WellBore ;
spinmap:expression
[ rdf:type rhspin:facilityById ;
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/wbexp#fclNpdidFacilityDrilling> ;
<file:///www.reportinghub.no/transform/npd/wbexp#wlbEntryDate> ;
spinmap:targetPredicate1
<http://www.reportinghub.no/schema/npd#drillingFacility>
<http://www.reportinghub.no/schema/npd#startDate>
] ;
spinmap:rule
[ rdf:type spinmap:Mapping-1-1 ;
......@@ -1129,68 +1132,72 @@
[ rdf:type spinmap:Mapping-1-1 ;
spinmap:context :WBExp-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#name> ;
spinmapl:type <http://www.reportinghub.no/schema/npd#Company>
] ;
spinmap:sourcePredicate1
<file:///www.reportinghub.no/transform/npd/wbexp#prlNpdidProductionLicence> ;
<file:///www.reportinghub.no/transform/npd/wbexp#wlbDrillingOperator> ;
spinmap:targetPredicate1
<http://www.reportinghub.no/schema/npd#drilledInProductionLicence>
<http://www.reportinghub.no/schema/npd#drillingOperator>
] ;
spinmap:rule
[ rdf:type spinmap:Mapping-1-1 ;
spinmap:context :WBExp-Well ;
spinmap:context :WBExp-WellBore ;
spinmap:expression spin:_arg1 ;
spinmap:sourcePredicate1
<file:///www.reportinghub.no/transform/npd/wbexp#wlbWell> ;
<file:///www.reportinghub.no/transform/npd/wbexp#wlbWellboreName> ;
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 :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#WellBoreContent>
] ;
spinmap:sourcePredicate1
<file:///www.reportinghub.no/transform/npd/wbexp#wlbContent> ;
spinmap:expression <http://www.reportinghub.no/schema/npd#WellBore> ;
spinmap:targetPredicate1
<http://www.reportinghub.no/schema/npd#wellBoreContent>
rdf:type
] ;
spinmap:rule
[ rdf:type spinmap:Mapping-0-1 ;
spinmap:context :WBExp-Well ;
spinmap:expression <http://www.reportinghub.no/schema/npd#Well> ;
[ rdf:type spinmap:Mapping-1-1 ;
spinmap:context :WBExp-WellBore ;
spinmap:expression spin:_arg1 ;
spinmap:sourcePredicate1
<file:///www.reportinghub.no/transform/npd/wbexp#wlbWellType> ;
spinmap:targetPredicate1
rdf:type
<http://www.reportinghub.no/schema/npd#wellBoreType>
] .
<file:///www.reportinghub.no/transform/npd/wbid#WBId>
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>
] ;
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 ;
[ 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 ;
......@@ -1202,34 +1209,27 @@
<http://www.reportinghub.no/schema/npd#id>
] ;
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 ;
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 ;
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
] .
<file:///www.reportinghub.no/transform/npd/wbsha#WBSha>
......@@ -1237,14 +1237,13 @@
[ 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#wlbCompletionDate> ;
<file:///www.reportinghub.no/transform/npd/wbsha#wlbWell> ;
spinmap:targetPredicate1
<http://www.reportinghub.no/schema/npd#wellBoreCompletionDate>
<http://www.reportinghub.no/schema/npd#partOfWell>
] ;
spinmap:rule
[ rdf:type spinmap:Mapping-1-1 ;
......@@ -1265,30 +1264,16 @@
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#wlbDrillPermit> ;
spinmap:targetPredicate1
<http://www.reportinghub.no/schema/npd#wellBoreDrillPermit>
] ;
spinmap:rule
[ rdf:type spinmap:Mapping-1-1 ;
spinmap:context :WBSha-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#name> ;
spinmapl:type <http://www.reportinghub.no/schema/npd#Company>
] ;
spinmap:sourcePredicate1
<file:///www.reportinghub.no/transform/npd/wbsha#wlbProductionLicence> ;
spinmap:targetPredicate1
<http://www.reportinghub.no/schema/npd#drilledInProductionLicence>
] ;
spinmap:rule
[ rdf:type spinmap:Mapping-0-1 ;
spinmap:context :WBSha-Well ;
spinmap:expression <http://www.reportinghub.no/schema/npd#Well> ;
<file:///www.reportinghub.no/transform/npd/wbsha#wlbDrillingOperator> ;
spinmap:targetPredicate1
rdf:type
<http://www.reportinghub.no/schema/npd#drillingOperator>
] ;
spinmap:rule
[ rdf:type spinmap:Mapping-1-1 ;
......@@ -1297,12 +1282,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#Licence>
] ;
spinmap:sourcePredicate1
<file:///www.reportinghub.no/transform/npd/wbsha#wlbDrillingOperator> ;
<file:///www.reportinghub.no/transform/npd/wbsha#wlbProductionLicence> ;
spinmap:targetPredicate1
<http://www.reportinghub.no/schema/npd#drillingOperator>
<http://www.reportinghub.no/schema/npd#drilledInProductionLicence>
] ;
spinmap:rule
[ rdf:type spinmap:Mapping-1-1 ;
......@@ -1316,23 +1301,31 @@
spinmap:rule
[ rdf:type spinmap:Mapping-1-1 ;
spinmap:context :WBSha-WellBore ;
spinmap:expression
[ rdf:type rhspin:wellByName ;
arg:wellName spin:_arg1
] ;
spinmap:expression spin:_arg1 ;
spinmap:sourcePredicate1
<file:///www.reportinghub.no/transform/npd/wbsha#wlbWell> ;
<file:///www.reportinghub.no/transform/npd/wbsha#wlbDrillPermit> ;
spinmap:targetPredicate1
<http://www.reportinghub.no/schema/npd#partOfWell>
<http://www.reportinghub.no/schema/npd#wellBoreDrillPermit>
] ;
spinmap:rule
[ rdf:type spinmap:Mapping-0-1 ;
spinmap:context :WBSha-Well ;
spinmap:expression <http://www.reportinghub.no/schema/npd#Well> ;
spinmap:targetPredicate1
rdf:type
] ;
spinmap:rule
[ rdf:type spinmap:Mapping-1-1 ;
spinmap:context :WBSha-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/wbsha#wlbNpdidWellbore> ;
<file:///www.reportinghub.no/transform/npd/wbsha#wlbCompletionDate> ;
spinmap:targetPredicate1
<http://www.reportinghub.no/schema/npd#id>
<http://www.reportinghub.no/schema/npd#wellBoreCompletionDate>
] ;
spinmap:rule
[ rdf:type spinmap:Mapping-1-1 ;
......@@ -1346,6 +1339,15 @@
<file:///www.reportinghub.no/transform/npd/wbsha#wlbEntryDate> ;
spinmap:targetPredicate1
<http://www.reportinghub.no/schema/npd#startDate>
] ;
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>
] .
arg:well
......
......@@ -12,11 +12,11 @@
[] rdf:type inference:Configuration ;
composite:child
[ rdf:type <http://spinrdf.org/spin#TopSPIN> ;
composite:index "0"^^xsd:int
composite:index "1"^^xsd:int
] ;
composite:child
[ rdf:type <http://spinrdf.org/spin#TopSPIN> ;
composite:index "1"^^xsd:int
composite:index "0"^^xsd:int
] ;
inference:completeMode
"true"^^xsd:boolean ;
......