Toggle navigation
Toggle navigation
This project
Loading...
Sign in
data.posccaesar.org
/
npd
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Graphs
Issues
1
Merge Requests
0
Wiki
Network
Create a new issue
Commits
Issue Boards
Authored by
Holger Knublauch
2011-08-02 17:30:35 +1000
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
ca607ab3d5a0918ad1c82138cdb4edd7c34ec754
ca607ab3
1 parent
4cb2bf81
NPD mapping bug fix
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
447 additions
and
445 deletions
www.reportinghub.no/transform/TRANSFORM_SPREADSHEETS-to-NPD.ttl
www.reportinghub.no/transform/TRANSFORM_SPREADSHEETS-to-NPD.ttl.tbc
www.reportinghub.no/transform/TRANSFORM_SPREADSHEETS-to-NPD.ttl
View file @
ca607ab
...
...
@@ -55,22 +55,22 @@
spinmap:
context
:
BAA-BusinessArrangementArea
;
spinmap:
expression
spin:
_arg1
;
spinmap:
sourcePredicate1
<file:///www.reportinghub.no/transform/npd/baa#baaN
pdidBsnsArrArea
>
;
<file:///www.reportinghub.no/transform/npd/baa#baaN
ame
>
;
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
spi
nmapl:
resourceWithValu
e
;
sp:
arg1
spin:
_arg1
;
sp
inmapl:
predicate
:
baaKind
[
rdf:
type
spi
f:
parseDat
e
;
arg:
pattern
"dd.MM.yyyy"
;
sp
:
arg1
spin:
_arg1
]
;
spinmap:
sourcePredicate1
<file:///www.reportinghub.no/transform/npd/baa#baa
Kind
>
;
<file:///www.reportinghub.no/transform/npd/baa#baa
DateValidTo
>
;
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
spi
f:
parseDat
e
;
arg:
pattern
"dd.MM.yyyy"
;
sp
:
arg1
spin:
_arg1
[
rdf:
type
spi
nmapl:
resourceWithValu
e
;
sp:
arg1
spin:
_arg1
;
sp
inmapl:
predicate
:
baaKind
]
;
spinmap:
sourcePredicate1
<file:///www.reportinghub.no/transform/npd/baa#baa
DateValidTo
>
;
<file:///www.reportinghub.no/transform/npd/baa#baa
Kind
>
;
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#baaN
ame
>
;
<file:///www.reportinghub.no/transform/npd/baa#baaN
pdidBsnsArrArea
>
;
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#
baa
Name>
;
<file:///www.reportinghub.no/transform/npd/baalicensee#
cmpLong
Name>
;
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#baaLicenseeDateValid
From
>
;
<file:///www.reportinghub.no/transform/npd/baalicensee#baaLicenseeDateValid
To
>
;
spinmap:
targetPredicate1
<http://www.reportinghub.no/schema/npd#
start
Date>
<http://www.reportinghub.no/schema/npd#
end
Date>
]
;
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#baaLicenseeDateValid
To
>
;
<file:///www.reportinghub.no/transform/npd/baalicensee#baaLicenseeDateValid
From
>
;
spinmap:
targetPredicate1
<http://www.reportinghub.no/schema/npd#
end
Date>
<http://www.reportinghub.no/schema/npd#
start
Date>
]
;
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#
cmpLong
Name>
;
<file:///www.reportinghub.no/transform/npd/baalicensee#
baa
Name>
;
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-
Parent
Company
;
spinmap:
expression
spin:
_arg1
;
spinmap:
sourcePredicate1
<file:///www.reportinghub.no/transform/npd/company#cmp
NpdidCompany
>
;
<file:///www.reportinghub.no/transform/npd/company#cmp
Group
>
;
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-
Parent
Company
;
spinmap:
expression
spin:
_arg1
;
spinmap:
sourcePredicate1
<file:///www.reportinghub.no/transform/npd/company#cmp
ShortName
>
;
<file:///www.reportinghub.no/transform/npd/company#cmp
Group
>
;
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#cmp
LongName
>
;
<file:///www.reportinghub.no/transform/npd/company#cmp
Group
>
;
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#
Operating
Company>
;
spinmap:
context
:
Company-
Parent
Company
;
spinmap:
expression
<http://www.reportinghub.no/schema/npd#
Parent
Company>
;
spinmap:
targetPredicate1
rdf:
type
]
;
...
...
@@ -229,40 +232,37 @@
]
;
spinmap:
rule
[
rdf:
type
spinmap:
Mapping-0-1
;
spinmap:
context
:
Company-
Parent
Company
;
spinmap:
expression
<http://www.reportinghub.no/schema/npd#
Parent
Company>
;
spinmap:
context
:
Company-Company
;
spinmap:
expression
<http://www.reportinghub.no/schema/npd#
Operating
Company>
;
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#cmp
Group
>
;
<file:///www.reportinghub.no/transform/npd/company#cmp
LongName
>
;
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-
Parent
Company
;
spinmap:
context
:
Company-Company
;
spinmap:
expression
spin:
_arg1
;
spinmap:
sourcePredicate1
<file:///www.reportinghub.no/transform/npd/company#cmp
Group
>
;
<file:///www.reportinghub.no/transform/npd/company#cmp
ShortName
>
;
spinmap:
targetPredicate1
<http://www.reportinghub.no/schema/npd#companyShortName>
]
;
spinmap:
rule
[
rdf:
type
spinmap:
Mapping-1-1
;
spinmap:
context
:
Company-
Parent
Company
;
spinmap:
context
:
Company-Company
;
spinmap:
expression
spin:
_arg1
;
spinmap:
sourcePredicate1
<file:///www.reportinghub.no/transform/npd/company#cmp
Group
>
;
<file:///www.reportinghub.no/transform/npd/company#cmp
NpdidCompany
>
;
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#
wlb
Name>
;
<file:///www.reportinghub.no/transform/npd/discovery#
dscOwner
Name>
;
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#discovery
Field
>
<http://www.reportinghub.no/schema/npd#discovery
MainNcsArea
>
]
;
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#discoveryO
wne
r>
<http://www.reportinghub.no/schema/npd#discoveryO
perato
r>
]
;
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#dsc
HcType
>
;
<file:///www.reportinghub.no/transform/npd/discovery#dsc
DiscoveryYear
>
;
spinmap:
targetPredicate1
<http://www.reportinghub.no/schema/npd#discovery
HCType
>
<http://www.reportinghub.no/schema/npd#discovery
Year
>
]
;
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#dsc
DiscoveryYear
>
;
<file:///www.reportinghub.no/transform/npd/discovery#dsc
HcType
>
;
spinmap:
targetPredicate1
<http://www.reportinghub.no/schema/npd#discovery
Year
>
<http://www.reportinghub.no/schema/npd#discovery
HCType
>
]
;
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#
nma
Name>
;
<file:///www.reportinghub.no/transform/npd/discovery#
dsc
Name>
;
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#fcl
StartupDat
e>
;
<file:///www.reportinghub.no/transform/npd/facilityfixed#fcl
Phas
e>
;
spinmap:
targetPredicate1
<http://www.reportinghub.no/schema/npd#
startDat
e>
<http://www.reportinghub.no/schema/npd#
fixedFacilityPhas
e>
]
;
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#fcl
Name
>
;
<file:///www.reportinghub.no/transform/npd/facilityfixed#fcl
BelongsToS
>
;
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#fcl
NpdidFacility
>
;
<file:///www.reportinghub.no/transform/npd/facilityfixed#fcl
CurrentOperatorName
>
;
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#fcl
CurrentOperatorName
>
;
<file:///www.reportinghub.no/transform/npd/facilityfixed#fcl
NpdidFacility
>
;
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#fcl
BelongsToS
>
;
<file:///www.reportinghub.no/transform/npd/facilityfixed#fcl
Name
>
;
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#fcl
Phas
e>
;
<file:///www.reportinghub.no/transform/npd/facilityfixed#fcl
StartupDat
e>
;
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#fclN
pdidFacility
>
;
<file:///www.reportinghub.no/transform/npd/facilitymoveable#fclN
ame
>
;
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#fclN
ame
>
;
<file:///www.reportinghub.no/transform/npd/facilitymoveable#fclN
pdidFacility
>
;
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#fieldO
perato
r>
<http://www.reportinghub.no/schema/npd#fieldO
wne
r>
]
;
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#fieldO
wne
r>
<http://www.reportinghub.no/schema/npd#fieldO
perato
r>
]
;
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#prl
Status
>
;
<file:///www.reportinghub.no/transform/npd/licence#prl
LicensingActivityName
>
;
spinmap:
targetPredicate1
<http://www.reportinghub.no/schema/npd#licens
eStatus
>
<http://www.reportinghub.no/schema/npd#licens
ingActivity
>
]
;
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#prl
DateGranted
>
;
<file:///www.reportinghub.no/transform/npd/licence#prl
Name
>
;
spinmap:
targetPredicate1
<http://www.reportinghub.no/schema/npd#
startDat
e>
<http://www.reportinghub.no/schema/npd#
nam
e>
]
;
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#prl
Name
>
;
<file:///www.reportinghub.no/transform/npd/licence#prl
DateGranted
>
;
spinmap:
targetPredicate1
<http://www.reportinghub.no/schema/npd#
nam
e>
<http://www.reportinghub.no/schema/npd#
startDat
e>
]
;
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#prl
LicensingActivityName
>
;
<file:///www.reportinghub.no/transform/npd/licence#prl
Status
>
;
spinmap:
targetPredicate1
<http://www.reportinghub.no/schema/npd#licens
ingActivity
>
<http://www.reportinghub.no/schema/npd#licens
eStatus
>
]
.
<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#prl
NpdidLicence
>
;
<file:///www.reportinghub.no/transform/npd/licensee#prl
LicenseeDateValidFrom
>
;
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:
licence
ById
;
[
rdf:
type
rhspin:
facility
ById
;
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#p
artOfWell
>
<http://www.reportinghub.no/schema/npd#p
roductionFacility
>
]
;
spinmap:
rule
[
rdf:
type
spinmap:
Mapping-1-1
;
spinmap:
context
:
WBDev-WellBore
;
spinmap:
expression
[
rdf:
type
rhspin:
facility
ById
;
[
rdf:
type
rhspin:
licence
ById
;
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#drill
ingFacility
>
<http://www.reportinghub.no/schema/npd#drill
edInProductionLicence
>
]
;
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-Well
Bore
;
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#well
BoreContent
>
<http://www.reportinghub.no/schema/npd#well
PartOfField
>
]
;
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-Well
Bore
;
spinmap:
expression
<http://www.reportinghub.no/schema/npd#Well
Bore
>
;
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#wlb
WellboreName
>
;
<file:///www.reportinghub.no/transform/npd/wbdev#wlb
DrillPermit
>
;
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-Well
Bore
;
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#well
PartOfField
>
<http://www.reportinghub.no/schema/npd#well
BoreContent
>
]
;
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
:
WB
Exp
-WellBore
;
spinmap:
context
:
WB
Dev
-WellBore
;
spinmap:
expression
[
rdf:
type
rhspin:
wellByName
;
arg:
wellName
spin:
_arg1
]
;
spinmap:
sourcePredicate1
<file:///www.reportinghub.no/transform/npd/wb
exp
#wlbWell>
;
<file:///www.reportinghub.no/transform/npd/wb
dev
#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#wlb
Purpose
>
;
<file:///www.reportinghub.no/transform/npd/wbexp#wlb
Content
>
;
spinmap:
targetPredicate1
<http://www.reportinghub.no/schema/npd#wellBore
Purpose
>
<http://www.reportinghub.no/schema/npd#wellBore
Content
>
]
;
spinmap:
rule
[
rdf:
type
spinmap:
Mapping-0-1
;
spinmap:
context
:
WBExp-Well
Bore
;
spinmap:
expression
<http://www.reportinghub.no/schema/npd#Well
Bore
>
;
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#drilling
Operator
>
<http://www.reportinghub.no/schema/npd#drilling
Facility
>
]
;
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#wlbWell
Type
>
;
<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#wlb
Entry
Date>
;
<file:///www.reportinghub.no/transform/npd/wbexp#wlb
Completion
Date>
;
spinmap:
targetPredicate1
<http://www.reportinghub.no/schema/npd#
start
Date>
<http://www.reportinghub.no/schema/npd#
wellBoreCompletion
Date>
]
;
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#wlb
DrillPermit
>
;
<file:///www.reportinghub.no/transform/npd/wbexp#wlb
Purpose
>
;
spinmap:
targetPredicate1
<http://www.reportinghub.no/schema/npd#wellBore
DrillPermit
>
<http://www.reportinghub.no/schema/npd#wellBore
Purpose
>
]
;
spinmap:
rule
[
rdf:
type
spinmap:
Mapping-1-1
;
spinmap:
context
:
WBExp-Well
Bore
;
spinmap:
context
:
WBExp-Well
;
spinmap:
expression
spin:
_arg1
;
spinmap:
sourcePredicate1
<file:///www.reportinghub.no/transform/npd/wbexp#wlbWell
boreName
>
;
<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-Well
Bore
;
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#well
BoreCompletionDate
>
<http://www.reportinghub.no/schema/npd#well
PartOfField
>
]
;
spinmap:
rule
[
rdf:
type
spinmap:
Mapping-1-1
;
spinmap:
context
:
WBExp-Well
;
spinmap:
context
:
WBExp-Well
Bore
;
spinmap:
expression
[
rdf:
type
rhspin:
field
ById
;
[
rdf:
type
rhspin:
licence
ById
;
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#drill
edInProductionLicence
>
<http://www.reportinghub.no/schema/npd#drill
ingOperator
>
]
;
spinmap:
rule
[
rdf:
type
spinmap:
Mapping-1-1
;
spinmap:
context
:
WBExp-Well
;
spinmap:
context
:
WBExp-Well
Bore
;
spinmap:
expression
spin:
_arg1
;
spinmap:
sourcePredicate1
<file:///www.reportinghub.no/transform/npd/wbexp#wlbWell>
;
<file:///www.reportinghub.no/transform/npd/wbexp#wlbWell
boreName
>
;
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-Well
Bore
;
spinmap:
expression
spin:
_arg1
;
spinmap:
sourcePredicate1
<file:///www.reportinghub.no/transform/npd/wbid#wlbWell>
;
<file:///www.reportinghub.no/transform/npd/wbid#wlbWell
boreName
>
;
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-Well
Bore
;
spinmap:
context
:
WBId-Well
;
spinmap:
expression
spin:
_arg1
;
spinmap:
sourcePredicate1
<file:///www.reportinghub.no/transform/npd/wbid#wlbWell
boreName
>
;
<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#wlb
CompletionDate
>
;
<file:///www.reportinghub.no/transform/npd/wbsha#wlb
Well
>
;
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#wlb
DrillingOperator
>
;
<file:///www.reportinghub.no/transform/npd/wbsha#wlb
ProductionLicence
>
;
spinmap:
targetPredicate1
<http://www.reportinghub.no/schema/npd#drill
ingOperator
>
<http://www.reportinghub.no/schema/npd#drill
edInProductionLicence
>
]
;
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#wlb
Well
>
;
<file:///www.reportinghub.no/transform/npd/wbsha#wlb
DrillPermit
>
;
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#wlb
NpdidWellbor
e>
;
<file:///www.reportinghub.no/transform/npd/wbsha#wlb
CompletionDat
e>
;
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
...
...
www.reportinghub.no/transform/TRANSFORM_SPREADSHEETS-to-NPD.ttl.tbc
View file @
ca607ab
...
...
@@ -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
;
...
...
Please
register
or
login
to post a comment