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 16:15:23 +1000
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
4cb2bf817e567a2daddfc5c8f1a1a2306fb118ec
4cb2bf81
1 parent
8042f6a6
NPD ingestion progress
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
518 additions
and
586 deletions
www.reportinghub.no/examples/transform/npd/license-2011-07-30.ttl
www.reportinghub.no/transform/TRANSFORM_SPREADSHEETS-to-NPD.ttl
www.reportinghub.no/transform/TRANSFORM_SPREADSHEETS-to-NPD.ttl.tbc
www.reportinghub.no/transform/npd/licence.ttl
www.reportinghub.no/transform/npd/wellbore-npdid-overview.ttl
www.reportinghub.no/examples/transform/npd/license-2011-07-30.ttl
View file @
4cb2bf8
This diff could not be displayed because it is too large.
www.reportinghub.no/transform/TRANSFORM_SPREADSHEETS-to-NPD.ttl
View file @
4cb2bf8
# baseURI: http://www.reportinghub.no/transform/spreadsheets2npd
# imports: http://topbraid.org/spin/spinmapl
# imports: http://www.reportinghub.no/examples/transform/npd/wbexp-2011-07-30
# imports: file:///www.reportinghub.no/transform/npd/company
# imports: file:///www.reportinghub.no/transform/npd/wbsha
# imports: file:///www.reportinghub.no/transform/npd/baa-2011-07-30
# imports: file:///www.reportinghub.no/transform/npd/field
# imports: file:///www.reportinghub.no/transform/npd/wbdev
# imports: http://www.reportinghub.no/1.1/schema/npd
# imports:
http://www.reportinghub.no/transform/npd/field-2011-07-30
# imports:
file:///www.reportinghub.no/transform/npd/field
# imports: http://www.reportinghub.no/spin/rh
# imports: file:///www.reportinghub.no/transform/npd/facilitymoveable-2011-07-30
# imports: file:///www.reportinghub.no/transform/npd/baa
# imports: file:///www.reportinghub.no/transform/npd/baalicensee
# imports: http://spinrdf.org/spin
# imports: file:///www.reportinghub.no/transform/npd/tufoperator
# imports: file:///www.reportinghub.no/transform/npd/discovery-2011-07-30
# imports: file:///www.reportinghub.no/transform/npd/wbdev-2011-07-30
# imports: file:///www.reportinghub.no/transform/npd/wbid-2011-07-30
# imports: http://www.reportinghub.no/examples/transform/npd/company-2011-07-30
# imports: file:///www.reportinghub.no/transform/npd/licensee-2011-07-30
# imports: file:///www.reportinghub.no/transform/npd/wbdev
# imports: http://www.reportinghub.no/examples/npdi
# imports: http://www.reportinghub.no/transform/npd/tufoperator-2011-07-30
# imports: file:///www.reportinghub.no/transform/npd/wbsha-2011-07-30
# imports: file:///www.reportinghub.no/transform/npd/facilitymoveable
# imports: file:///www.reportinghub.no/transform/npd/wbexp
# imports: file:///www.reportinghub.no/transform/npd/license-2011-07-30
# imports: file:///www.reportinghub.no/transform/npd/licensee
# imports: file:///www.reportinghub.no/transform/npd/baa
# imports: file:///www.reportinghub.no/transform/npd/facilityfixed
# imports: file:///www.reportinghub.no/transform/npd/discovery
# imports: file:///www.reportinghub.no/transform/npd/licence
# imports: file:///www.reportinghub.no/transform/npd/baalicensee
-2011-07-30
# imports: file:///www.reportinghub.no/transform/npd/baalicensee
# imports: file:///www.reportinghub.no/transform/npd/wbid
# imports: file:///www.reportinghub.no/transform/npd/facilityfixed-2011-07-30
# imports: http://spinrdf.org/spin
# imports: file:///www.reportinghub.no/transform/npd/tufoperator
@prefix
:
<http://www.reportinghub.no/transform/spreadsheets2npd#>
.
@prefix
arg:
<http://spinrdf.org/arg#>
.
...
...
@@ -64,104 +49,28 @@
@prefix
wbsha-2011-07-30:
<file:///www.reportinghub.no/transform/npd/wbsha-2011-07-30#>
.
@prefix
xsd:
<http://www.w3.org/2001/XMLSchema#>
.
<file:///www.reportinghub.no/examples/transform/npd/licence-2011-07-30.csv#Licence>
spinmap:
rule
[
rdf:
type
spinmap:
Mapping-1-1
;
spinmap:
context
:
License-License
;
spinmap:
expression
[
rdf:
type
spinmapl:
resourceWithValue
;
sp:
arg1
spin:
_arg1
;
spinmapl:
predicate
<http://www.reportinghub.no/schema/npd#code>
;
spinmapl:
type
<http://www.reportinghub.no/schema/npd#LicenseStatus>
]
;
spinmap:
sourcePredicate1
<file:///www.reportinghub.no/examples/transform/npd/licence-2011-07-30.csv#prlStatus>
;
spinmap:
targetPredicate1
<http://www.reportinghub.no/schema/npd#licenseStatus>
]
;
spinmap:
rule
[
rdf:
type
spinmap:
Mapping-1-1
;
spinmap:
context
:
License-License
;
spinmap:
expression
[
rdf:
type
spif:
parseDate
;
arg:
pattern
"dd.MM.yyyy"
;
sp:
arg1
spin:
_arg1
]
;
spinmap:
sourcePredicate1
<file:///www.reportinghub.no/examples/transform/npd/licence-2011-07-30.csv#prlDateGranted>
;
spinmap:
targetPredicate1
<http://www.reportinghub.no/schema/npd#startDate>
]
;
spinmap:
rule
[
rdf:
type
spinmap:
Mapping-1-1
;
spinmap:
context
:
License-License
;
spinmap:
expression
[
rdf:
type
spif:
parseDate
;
arg:
pattern
"dd.MM.yyyy"
;
sp:
arg1
spin:
_arg1
]
;
spinmap:
sourcePredicate1
<file:///www.reportinghub.no/examples/transform/npd/licence-2011-07-30.csv#prlDateValidTo>
;
spinmap:
targetPredicate1
<http://www.reportinghub.no/schema/npd#endDate>
]
;
spinmap:
rule
[
rdf:
type
spinmap:
Mapping-1-1
;
spinmap:
context
:
License-License
;
spinmap:
expression
spin:
_arg1
;
spinmap:
sourcePredicate1
<file:///www.reportinghub.no/examples/transform/npd/licence-2011-07-30.csv#prlNpdidLicence>
;
spinmap:
targetPredicate1
<http://www.reportinghub.no/schema/npd#id>
]
;
spinmap:
rule
[
rdf:
type
spinmap:
Mapping-0-1
;
spinmap:
context
:
License-License
;
spinmap:
expression
<http://www.reportinghub.no/schema/npd#Licence>
;
spinmap:
targetPredicate1
rdf:
type
]
;
spinmap:
rule
[
rdf:
type
spinmap:
Mapping-1-1
;
spinmap:
context
:
License-License
;
spinmap:
expression
spin:
_arg1
;
spinmap:
sourcePredicate1
<file:///www.reportinghub.no/examples/transform/npd/licence-2011-07-30.csv#prlName>
;
spinmap:
targetPredicate1
<http://www.reportinghub.no/schema/npd#name>
]
;
spinmap:
rule
[
rdf:
type
spinmap:
Mapping-1-1
;
spinmap:
context
:
License-License
;
spinmap:
expression
spin:
_arg1
;
spinmap:
sourcePredicate1
<file:///www.reportinghub.no/examples/transform/npd/licence-2011-07-30.csv#prlLicensingActivityName>
;
spinmap:
targetPredicate1
<http://www.reportinghub.no/schema/npd#licensingActivity>
]
.
<file:///www.reportinghub.no/transform/npd/baa#BAA>
spinmap:
rule
[
rdf:
type
spinmap:
Mapping-1-1
;
spinmap:
context
:
BAA-BusinessArrangementArea
;
spinmap:
expression
spin:
_arg1
;
spinmap:
sourcePredicate1
<file:///www.reportinghub.no/transform/npd/baa#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
>
]
;
spinmap:
rule
[
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
;
...
...
@@ -180,37 +89,32 @@
[
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
;
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
>
]
.
<file:///www.reportinghub.no/transform/npd/baalicensee#BAALicensee>
spinmap:
rule
[
rdf:
type
spinmap:
Mapping-
1
-1
;
[
rdf:
type
spinmap:
Mapping-
0
-1
;
spinmap:
context
:
BAALicensee-ShareOfBAA
;
spinmap:
expression
[
rdf:
type
xsd:
float
;
sp:
arg1
spin:
_arg1
]
;
spinmap:
sourcePredicate1
<file:///www.reportinghub.no/transform/npd/baalicensee#baaLicenseeInterest>
;
spinmap:
expression
<http://www.reportinghub.no/schema/npd#ShareOfBAA>
;
spinmap:
targetPredicate1
<http://www.reportinghub.no/schema/npd#percentageOfShare>
rdf:
type
]
;
spinmap:
rule
[
rdf:
type
spinmap:
Mapping-1-1
;
...
...
@@ -219,12 +123,12 @@
[
rdf:
type
spinmapl:
resourceWithValue
;
sp:
arg1
spin:
_arg1
;
spinmapl:
predicate
<http://www.reportinghub.no/schema/npd#name>
;
spinmapl:
type
<http://www.reportinghub.no/schema/npd#
Company
>
spinmapl:
type
<http://www.reportinghub.no/schema/npd#
BusinessArrangementArea
>
]
;
spinmap:
sourcePredicate1
<file:///www.reportinghub.no/transform/npd/baalicensee#
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
;
...
...
@@ -235,9 +139,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
;
...
...
@@ -248,9 +152,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
;
...
...
@@ -259,56 +163,58 @@
[
rdf:
type
spinmapl:
resourceWithValue
;
sp:
arg1
spin:
_arg1
;
spinmapl:
predicate
<http://www.reportinghub.no/schema/npd#name>
;
spinmapl:
type
<http://www.reportinghub.no/schema/npd#
BusinessArrangementArea
>
spinmapl:
type
<http://www.reportinghub.no/schema/npd#
Company
>
]
;
spinmap:
sourcePredicate1
<file:///www.reportinghub.no/transform/npd/baalicensee#
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-
0
-1
;
[
rdf:
type
spinmap:
Mapping-
1
-1
;
spinmap:
context
:
BAALicensee-ShareOfBAA
;
spinmap:
expression
<http://www.reportinghub.no/schema/npd#ShareOfBAA>
;
spinmap:
expression
[
rdf:
type
xsd:
float
;
sp:
arg1
spin:
_arg1
]
;
spinmap:
sourcePredicate1
<file:///www.reportinghub.no/transform/npd/baalicensee#baaLicenseeInterest>
;
spinmap:
targetPredicate1
rdf:
type
<http://www.reportinghub.no/schema/npd#percentageOfShare>
]
.
<file:///www.reportinghub.no/transform/npd/company#Company>
spinmap:
rule
[
rdf:
type
spinmap:
Mapping-1-1
;
spinmap:
context
:
Company-
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
>
]
;
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-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-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
]
;
...
...
@@ -323,37 +229,40 @@
]
;
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
]
;
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-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:
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
>
]
.
<file:///www.reportinghub.no/transform/npd/discovery#Discovery>
...
...
@@ -361,27 +270,25 @@
[
rdf:
type
spinmap:
Mapping-1-1
;
spinmap:
context
:
Discovery-Discovery
;
spinmap:
expression
[
rdf:
type
rhspin:
fieldById
;
arg:
id
spin:
_arg1
[
rdf:
type
rhspin:
wellBoreByName
;
arg:
wellBoreName
spin:
_arg1
]
;
spinmap:
sourcePredicate1
<file:///www.reportinghub.no/transform/npd/discovery#
fldNpdidField
>
;
<file:///www.reportinghub.no/transform/npd/discovery#
wlbName
>
;
spinmap:
targetPredicate1
<http://www.reportinghub.no/schema/npd#discovery
Field
>
<http://www.reportinghub.no/schema/npd#discovery
WellBore
>
]
;
spinmap:
rule
[
rdf:
type
spinmap:
Mapping-1-1
;
spinmap:
context
:
Discovery-Discovery
;
spinmap:
expression
[
rdf:
type
spinmapl:
resourceWithValue
;
sp:
arg1
spin:
_arg1
;
spinmapl:
predicate
<http://www.reportinghub.no/schema/npd#code>
;
spinmapl:
type
<http://www.reportinghub.no/schema/npd#HCType>
[
rdf:
type
rhspin:
fieldById
;
arg:
id
spin:
_arg1
]
;
spinmap:
sourcePredicate1
<file:///www.reportinghub.no/transform/npd/discovery#
dscHcType
>
;
<file:///www.reportinghub.no/transform/npd/discovery#
fldNpdidField
>
;
spinmap:
targetPredicate1
<http://www.reportinghub.no/schema/npd#discovery
HCType
>
<http://www.reportinghub.no/schema/npd#discovery
Field
>
]
;
spinmap:
rule
[
rdf:
type
spinmap:
Mapping-1-1
;
...
...
@@ -390,26 +297,21 @@
[
rdf:
type
spinmapl:
resourceWithValue
;
sp:
arg1
spin:
_arg1
;
spinmapl:
predicate
<http://www.reportinghub.no/schema/npd#name>
;
spinmapl:
type
<http://www.reportinghub.no/schema/npd#
Company
>
spinmapl:
type
<http://www.reportinghub.no/schema/npd#
Owner
>
]
;
spinmap:
sourcePredicate1
<file:///www.reportinghub.no/transform/npd/discovery#
cmpLongName2
>
;
<file:///www.reportinghub.no/transform/npd/discovery#
dscOwnerName
>
;
spinmap:
targetPredicate1
<http://www.reportinghub.no/schema/npd#discoveryO
perato
r>
<http://www.reportinghub.no/schema/npd#discoveryO
wne
r>
]
;
spinmap:
rule
[
rdf:
type
spinmap:
Mapping-1-1
;
spinmap:
context
:
Discovery-Discovery
;
spinmap:
expression
[
rdf:
type
spinmapl:
resourceWithValue
;
sp:
arg1
spin:
_arg1
;
spinmapl:
predicate
<http://www.reportinghub.no/schema/npd#name>
;
spinmapl:
type
<http://www.reportinghub.no/schema/npd#Owner>
]
;
spinmap:
expression
spin:
_arg1
;
spinmap:
sourcePredicate1
<file:///www.reportinghub.no/transform/npd/discovery#dsc
Owner
Name>
;
<file:///www.reportinghub.no/transform/npd/discovery#dscName>
;
spinmap:
targetPredicate1
<http://www.reportinghub.no/schema/npd#
discoveryOwner
>
<http://www.reportinghub.no/schema/npd#
name
>
]
;
spinmap:
rule
[
rdf:
type
spinmap:
Mapping-1-1
;
...
...
@@ -418,12 +320,12 @@
[
rdf:
type
spinmapl:
resourceWithValue
;
sp:
arg1
spin:
_arg1
;
spinmapl:
predicate
<http://www.reportinghub.no/schema/npd#code>
;
spinmapl:
type
<http://www.reportinghub.no/schema/npd#
DiscoveryActivityStatus
>
spinmapl:
type
<http://www.reportinghub.no/schema/npd#
HCType
>
]
;
spinmap:
sourcePredicate1
<file:///www.reportinghub.no/transform/npd/discovery#dsc
CurrentActivityStatus
>
;
<file:///www.reportinghub.no/transform/npd/discovery#dsc
HcType
>
;
spinmap:
targetPredicate1
<http://www.reportinghub.no/schema/npd#discovery
CurrentActivityStatus
>
<http://www.reportinghub.no/schema/npd#discovery
HCType
>
]
;
spinmap:
rule
[
rdf:
type
spinmap:
Mapping-0-1
;
...
...
@@ -435,35 +337,42 @@
spinmap:
rule
[
rdf:
type
spinmap:
Mapping-1-1
;
spinmap:
context
:
Discovery-Discovery
;
spinmap:
expression
spin:
_arg1
;
spinmap:
expression
[
rdf:
type
spinmapl:
resourceWithValue
;
sp:
arg1
spin:
_arg1
;
spinmapl:
predicate
<http://www.reportinghub.no/schema/npd#code>
;
spinmapl:
type
<http://www.reportinghub.no/schema/npd#DiscoveryActivityStatus>
]
;
spinmap:
sourcePredicate1
<file:///www.reportinghub.no/transform/npd/discovery#dsc
Name
>
;
<file:///www.reportinghub.no/transform/npd/discovery#dsc
CurrentActivityStatus
>
;
spinmap:
targetPredicate1
<http://www.reportinghub.no/schema/npd#
name
>
<http://www.reportinghub.no/schema/npd#
discoveryCurrentActivityStatus
>
]
;
spinmap:
rule
[
rdf:
type
spinmap:
Mapping-1-1
;
spinmap:
context
:
Discovery-Discovery
;
spinmap:
expression
[
rdf:
type
xsd:
integer
;
sp:
arg1
spin:
_arg1
[
rdf:
type
spinmapl:
resourceWithValue
;
sp:
arg1
spin:
_arg1
;
spinmapl:
predicate
<http://www.reportinghub.no/schema/npd#name>
;
spinmapl:
type
<http://www.reportinghub.no/schema/npd#Company>
]
;
spinmap:
sourcePredicate1
<file:///www.reportinghub.no/transform/npd/discovery#
dscDiscoveryYear
>
;
<file:///www.reportinghub.no/transform/npd/discovery#
cmpLongName2
>
;
spinmap:
targetPredicate1
<http://www.reportinghub.no/schema/npd#discovery
Yea
r>
<http://www.reportinghub.no/schema/npd#discovery
Operato
r>
]
;
spinmap:
rule
[
rdf:
type
spinmap:
Mapping-1-1
;
spinmap:
context
:
Discovery-Discovery
;
spinmap:
expression
[
rdf:
type
rhspin:
wellBoreByName
;
arg:
wellBoreName
spin:
_arg1
[
rdf:
type
xsd:
integer
;
sp:
arg1
spin:
_arg1
]
;
spinmap:
sourcePredicate1
<file:///www.reportinghub.no/transform/npd/discovery#
wlbName
>
;
<file:///www.reportinghub.no/transform/npd/discovery#
dscDiscoveryYear
>
;
spinmap:
targetPredicate1
<http://www.reportinghub.no/schema/npd#discovery
WellBore
>
<http://www.reportinghub.no/schema/npd#discovery
Year
>
]
;
spinmap:
rule
[
rdf:
type
spinmap:
Mapping-1-1
;
...
...
@@ -493,44 +402,42 @@
spinmap:
rule
[
rdf:
type
spinmap:
Mapping-1-1
;
spinmap:
context
:
FacilityFixed-FixedFacility
;
spinmap:
expression
[
rdf:
type
spinmapl:
resourceWithValue
;
sp:
arg1
spin:
_arg1
;
spinmapl:
predicate
<http://www.reportinghub.no/schema/npd#code>
;
spinmapl:
type
<http://www.reportinghub.no/schema/npd#FixedFacilityPhase>
]
;
spinmap:
expression
spin:
_arg1
;
spinmap:
sourcePredicate1
<file:///www.reportinghub.no/transform/npd/facilityfixed#fcl
Phase
>
;
<file:///www.reportinghub.no/transform/npd/facilityfixed#fcl
Kind
>
;
spinmap:
targetPredicate1
<http://www.reportinghub.no/schema/npd#f
ixedFacilityPhase
>
<http://www.reportinghub.no/schema/npd#f
acilityKind
>
]
;
spinmap:
rule
[
rdf:
type
spinmap:
Mapping-1-1
;
spinmap:
context
:
FacilityFixed-FixedFacility
;
spinmap:
expression
[
rdf:
type
spinmapl:
resourceWithValue
;
sp:
arg1
spin:
_arg1
;
spinmapl:
predicate
<http://www.reportinghub.no/schema/npd#id>
;
spinmapl:
type
<http://www.reportinghub.no/schema/npd#FixedFacilityParent>
[
rdf:
type
spif:
parseDate
;
arg:
pattern
"dd.MM.yyyy"
;
sp:
arg1
spin:
_arg1
]
;
spinmap:
sourcePredicate1
<file:///www.reportinghub.no/transform/npd/facilityfixed#fcl
BelongsToS
>
;
<file:///www.reportinghub.no/transform/npd/facilityfixed#fcl
StartupDate
>
;
spinmap:
targetPredicate1
<http://www.reportinghub.no/schema/npd#
belongsTo
>
<http://www.reportinghub.no/schema/npd#
startDate
>
]
;
spinmap:
rule
[
rdf:
type
spinmap:
Mapping-1-1
;
spinmap:
context
:
FacilityFixed-FixedFacility
;
spinmap:
expression
[
rdf:
type
spinmapl:
resourceWithValue
;
sp:
arg1
spin:
_arg1
;
spinmapl:
predicate
<http://www.reportinghub.no/schema/npd#name>
;
spinmapl:
type
<http://www.reportinghub.no/schema/npd#Company
>
spinmap:
expression
spin:
_arg1
;
spinmap:
sourcePredicate1
<file:///www.reportinghub.no/transform/npd/facilityfixed#fclName>
;
spinmap:
targetPredicate1
<http://www.reportinghub.no/schema/npd#name
>
]
;
spinmap:
rule
[
rdf:
type
spinmap:
Mapping-1-1
;
spinmap:
context
:
FacilityFixed-FixedFacility
;
spinmap:
expression
spin:
_arg1
;
spinmap:
sourcePredicate1
<file:///www.reportinghub.no/transform/npd/facilityfixed#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
;
...
...
@@ -552,45 +459,81 @@
spinmap:
rule
[
rdf:
type
spinmap:
Mapping-1-1
;
spinmap:
context
:
FacilityFixed-FixedFacility
;
spinmap:
expression
spin:
_arg1
;
spinmap:
expression
[
rdf:
type
spinmapl:
resourceWithValue
;
sp:
arg1
spin:
_arg1
;
spinmapl:
predicate
<http://www.reportinghub.no/schema/npd#name>
;
spinmapl:
type
<http://www.reportinghub.no/schema/npd#Company>
]
;
spinmap:
sourcePredicate1
<file:///www.reportinghub.no/transform/npd/facilityfixed#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
;
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
[
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#startDate>
<http://www.reportinghub.no/schema/npd#fixedFacilityPhase>
]
.
<file:///www.reportinghub.no/transform/npd/facilitymoveable#FacilityMoveable>
spinmap:
rule
[
rdf:
type
spinmap:
Mapping-0-1
;
spinmap:
context
:
FacilityMoveable-MoveableFacility
;
spinmap:
expression
<http://www.reportinghub.no/schema/npd#MoveableFacility>
;
spinmap:
targetPredicate1
rdf:
type
]
;
spinmap:
rule
[
rdf:
type
spinmap:
Mapping-1-1
;
spinmap:
context
:
Facility
Fixed-Fixed
Facility
;
spinmap:
context
:
Facility
Moveable-Moveable
Facility
;
spinmap:
expression
spin:
_arg1
;
spinmap:
sourcePredicate1
<file:///www.reportinghub.no/transform/npd/facilityfixed#fclKind>
;
<file:///www.reportinghub.no/transform/npd/facilitymoveable#fclNpdidFacility>
;
spinmap:
targetPredicate1
<http://www.reportinghub.no/schema/npd#id>
]
;
spinmap:
rule
[
rdf:
type
spinmap:
Mapping-1-1
;
spinmap:
context
:
FacilityMoveable-MoveableFacility
;
spinmap:
expression
spin:
_arg1
;
spinmap:
sourcePredicate1
<file:///www.reportinghub.no/transform/npd/facilitymoveable#fclKind>
;
spinmap:
targetPredicate1
<http://www.reportinghub.no/schema/npd#facilityKind>
]
.
<file:///www.reportinghub.no/transform/npd/facilitymoveable#FacilityMoveable>
]
;
spinmap:
rule
[
rdf:
type
spinmap:
Mapping-1-1
;
spinmap:
context
:
FacilityMoveable-MoveableFacility
;
spinmap:
expression
spin:
_arg1
;
spinmap:
sourcePredicate1
<file:///www.reportinghub.no/transform/npd/facilitymoveable#fclName>
;
spinmap:
targetPredicate1
<http://www.reportinghub.no/schema/npd#name>
]
;
spinmap:
rule
[
rdf:
type
spinmap:
Mapping-1-1
;
spinmap:
context
:
FacilityMoveable-MoveableFacility
;
...
...
@@ -604,56 +547,57 @@
<file:///www.reportinghub.no/transform/npd/facilitymoveable#fclCurrentRespCompanyName>
;
spinmap:
targetPredicate1
<http://www.reportinghub.no/schema/npd#currentlyResponsibleCompany>
]
.
<file:///www.reportinghub.no/transform/npd/field#Field>
spinmap:
rule
[
rdf:
type
spinmap:
Mapping-0-1
;
spinmap:
context
:
Field-Field
;
spinmap:
expression
<http://www.reportinghub.no/schema/npd#Field>
;
spinmap:
targetPredicate1
rdf:
type
]
;
spinmap:
rule
[
rdf:
type
spinmap:
Mapping-1-1
;
spinmap:
context
:
FacilityMoveable-MoveableFacility
;
spinmap:
expression
spin:
_arg1
;
spinmap:
context
:
Field-Field
;
spinmap:
expression
[
rdf:
type
rhspin:
companyById
;
arg:
id
spin:
_arg1
]
;
spinmap:
sourcePredicate1
<file:///www.reportinghub.no/transform/npd/f
acilitymoveable#fclName
>
;
<file:///www.reportinghub.no/transform/npd/f
ield#cmpNpdidCompany
>
;
spinmap:
targetPredicate1
<http://www.reportinghub.no/schema/npd#
name
>
<http://www.reportinghub.no/schema/npd#
fieldOperator
>
]
;
spinmap:
rule
[
rdf:
type
spinmap:
Mapping-1-1
;
spinmap:
context
:
F
acilityMoveable-MoveableFacility
;
spinmap:
context
:
F
ield-Field
;
spinmap:
expression
spin:
_arg1
;
spinmap:
sourcePredicate1
<file:///www.reportinghub.no/transform/npd/f
acilitymoveable#fclKin
d>
;
<file:///www.reportinghub.no/transform/npd/f
ield#fldNpdidFiel
d>
;
spinmap:
targetPredicate1
<http://www.reportinghub.no/schema/npd#
facilityKin
d>
<http://www.reportinghub.no/schema/npd#
i
d>
]
;
spinmap:
rule
[
rdf:
type
spinmap:
Mapping-1-1
;
spinmap:
context
:
F
acilityMoveable-MoveableFacility
;
spinmap:
context
:
F
ield-Field
;
spinmap:
expression
spin:
_arg1
;
spinmap:
sourcePredicate1
<file:///www.reportinghub.no/transform/npd/f
acilitymoveable#fclNpdidFacility
>
;
<file:///www.reportinghub.no/transform/npd/f
ield#fldName
>
;
spinmap:
targetPredicate1
<http://www.reportinghub.no/schema/npd#
id
>
<http://www.reportinghub.no/schema/npd#
name
>
]
;
spinmap:
rule
[
rdf:
type
spinmap:
Mapping-0-1
;
spinmap:
context
:
FacilityMoveable-MoveableFacility
;
spinmap:
expression
<http://www.reportinghub.no/schema/npd#MoveableFacility>
;
spinmap:
targetPredicate1
rdf:
type
]
.
<file:///www.reportinghub.no/transform/npd/field#Field>
spinmap:
rule
[
rdf:
type
spinmap:
Mapping-1-1
;
spinmap:
context
:
Field-Field
;
spinmap:
expression
[
rdf:
type
spinmapl:
resourceWithValue
;
sp:
arg1
spin:
_arg1
;
spinmapl:
predicate
<http://www.reportinghub.no/schema/npd#code>
;
spinmapl:
type
<http://www.reportinghub.no/schema/npd#FieldActivityStatus>
[
rdf:
type
rhspin:
wellBoreByName
;
arg:
wellBoreName
spin:
_arg1
]
;
spinmap:
sourcePredicate1
<file:///www.reportinghub.no/transform/npd/field#
fldCurrentActivitySatus
>
;
<file:///www.reportinghub.no/transform/npd/field#
wlbName
>
;
spinmap:
targetPredicate1
<http://www.reportinghub.no/schema/npd#
currentActivityStatus
>
<http://www.reportinghub.no/schema/npd#
fieldDiscoveryWellBore
>
]
;
spinmap:
rule
[
rdf:
type
spinmap:
Mapping-1-1
;
...
...
@@ -673,84 +617,117 @@
[
rdf:
type
spinmap:
Mapping-1-1
;
spinmap:
context
:
Field-Field
;
spinmap:
expression
[
rdf:
type
rhspin:
wellBoreByName
;
arg:
wellBoreName
spin:
_arg1
[
rdf:
type
spinmapl:
resourceWithValue
;
sp:
arg1
spin:
_arg1
;
spinmapl:
predicate
<http://www.reportinghub.no/schema/npd#code>
;
spinmapl:
type
<http://www.reportinghub.no/schema/npd#FieldActivityStatus>
]
;
spinmap:
sourcePredicate1
<file:///www.reportinghub.no/transform/npd/field#
wlbName
>
;
<file:///www.reportinghub.no/transform/npd/field#
fldCurrentActivitySatus
>
;
spinmap:
targetPredicate1
<http://www.reportinghub.no/schema/npd#fieldDiscoveryWellBore>
]
;
<http://www.reportinghub.no/schema/npd#currentActivityStatus>
]
.
<file:///www.reportinghub.no/transform/npd/licence#Licence>
spinmap:
rule
[
rdf:
type
spinmap:
Mapping-1-1
;
spinmap:
context
:
Field-Field
;
spinmap:
expression
spin:
_arg1
;
spinmap:
context
:
License-License
;
spinmap:
expression
[
rdf:
type
spinmapl:
resourceWithValue
;
sp:
arg1
spin:
_arg1
;
spinmapl:
predicate
<http://www.reportinghub.no/schema/npd#code>
;
spinmapl:
type
<http://www.reportinghub.no/schema/npd#LicenseStatus>
]
;
spinmap:
sourcePredicate1
<file:///www.reportinghub.no/transform/npd/
field#fldName
>
;
<file:///www.reportinghub.no/transform/npd/
licence#prlStatus
>
;
spinmap:
targetPredicate1
<http://www.reportinghub.no/schema/npd#
name
>
<http://www.reportinghub.no/schema/npd#
licenseStatus
>
]
;
spinmap:
rule
[
rdf:
type
spinmap:
Mapping-1-1
;
spinmap:
context
:
Field-Field
;
spinmap:
expression
spin:
_arg1
;
spinmap:
context
:
License-License
;
spinmap:
expression
[
rdf:
type
spif:
parseDate
;
arg:
pattern
"dd.MM.yyyy"
;
sp:
arg1
spin:
_arg1
]
;
spinmap:
sourcePredicate1
<file:///www.reportinghub.no/transform/npd/
field#fldNpdidFiel
d>
;
<file:///www.reportinghub.no/transform/npd/
licence#prlDateGrante
d>
;
spinmap:
targetPredicate1
<http://www.reportinghub.no/schema/npd#
id
>
<http://www.reportinghub.no/schema/npd#
startDate
>
]
;
spinmap:
rule
[
rdf:
type
spinmap:
Mapping-1-1
;
spinmap:
context
:
Field-Field
;
spinmap:
context
:
License-License
;
spinmap:
expression
[
rdf:
type
rhspin:
companyById
;
arg:
id
spin:
_arg1
[
rdf:
type
spif:
parseDate
;
arg:
pattern
"dd.MM.yyyy"
;
sp:
arg1
spin:
_arg1
]
;
spinmap:
sourcePredicate1
<file:///www.reportinghub.no/transform/npd/
field#cmpNpdidCompany
>
;
<file:///www.reportinghub.no/transform/npd/
licence#prlDateValidTo
>
;
spinmap:
targetPredicate1
<http://www.reportinghub.no/schema/npd#
fieldOperator
>
<http://www.reportinghub.no/schema/npd#
endDate
>
]
;
spinmap:
rule
[
rdf:
type
spinmap:
Mapping-0-1
;
spinmap:
context
:
Field-Field
;
spinmap:
expression
<http://www.reportinghub.no/schema/npd#Field>
;
[
rdf:
type
spinmap:
Mapping-1-1
;
spinmap:
context
:
License-License
;
spinmap:
expression
spin:
_arg1
;
spinmap:
sourcePredicate1
<file:///www.reportinghub.no/transform/npd/licence#prlNpdidLicence>
;
spinmap:
targetPredicate1
rdf:
type
]
.
<file:///www.reportinghub.no/transform/npd/licensee#Licensee>
<http://www.reportinghub.no/schema/npd#id>
]
;
spinmap:
rule
[
rdf:
type
spinmap:
Mapping-0-1
;
spinmap:
context
:
License
e-ShareOfLicenc
e
;
spinmap:
expression
<http://www.reportinghub.no/schema/npd#
ShareOf
Licence>
;
spinmap:
context
:
License
-Licens
e
;
spinmap:
expression
<http://www.reportinghub.no/schema/npd#Licence>
;
spinmap:
targetPredicate1
rdf:
type
]
;
spinmap:
rule
[
rdf:
type
spinmap:
Mapping-1-1
;
spinmap:
context
:
License-License
;
spinmap:
expression
spin:
_arg1
;
spinmap:
sourcePredicate1
<file:///www.reportinghub.no/transform/npd/licence#prlName>
;
spinmap:
targetPredicate1
<http://www.reportinghub.no/schema/npd#name>
]
;
spinmap:
rule
[
rdf:
type
spinmap:
Mapping-1-1
;
spinmap:
context
:
License-License
;
spinmap:
expression
spin:
_arg1
;
spinmap:
sourcePredicate1
<file:///www.reportinghub.no/transform/npd/licence#prlLicensingActivityName>
;
spinmap:
targetPredicate1
<http://www.reportinghub.no/schema/npd#licensingActivity>
]
.
<file:///www.reportinghub.no/transform/npd/licensee#Licensee>
spinmap:
rule
[
rdf:
type
spinmap:
Mapping-1-1
;
spinmap:
context
:
Licensee-ShareOfLicence
;
spinmap:
expression
[
rdf:
type
spif:
parseDate
;
arg:
pattern
"dd.MM.yyyy"
;
sp:
arg1
spin:
_arg1
[
rdf:
type
rhspin:
licenceById
;
arg:
id
spin:
_arg1
]
;
spinmap:
sourcePredicate1
<file:///www.reportinghub.no/transform/npd/licensee#prl
LicenseeDateValidFrom
>
;
<file:///www.reportinghub.no/transform/npd/licensee#prl
NpdidLicence
>
;
spinmap:
targetPredicate1
<http://www.reportinghub.no/schema/npd#
startDate
>
<http://www.reportinghub.no/schema/npd#
licenceShared
>
]
;
spinmap:
rule
[
rdf:
type
spinmap:
Mapping-1-1
;
spinmap:
context
:
Licensee-ShareOfLicence
;
spinmap:
expression
[
rdf:
type
rhspin:
companyById
;
arg:
id
spin:
_arg1
[
rdf:
type
xsd:
float
;
sp:
arg1
spin:
_arg1
]
;
spinmap:
sourcePredicate1
<file:///www.reportinghub.no/transform/npd/licensee#
cmpNpdidCompany
>
;
<file:///www.reportinghub.no/transform/npd/licensee#
prlLicenseeInterest
>
;
spinmap:
targetPredicate1
<http://www.reportinghub.no/schema/npd#
shareHolder
>
<http://www.reportinghub.no/schema/npd#
percentageOfShare
>
]
;
spinmap:
rule
[
rdf:
type
spinmap:
Mapping-1-1
;
...
...
@@ -769,36 +746,42 @@
[
rdf:
type
spinmap:
Mapping-1-1
;
spinmap:
context
:
Licensee-ShareOfLicence
;
spinmap:
expression
[
rdf:
type
xsd:
float
;
sp:
arg1
spin:
_arg1
[
rdf:
type
rhspin:
companyById
;
arg:
id
spin:
_arg1
]
;
spinmap:
sourcePredicate1
<file:///www.reportinghub.no/transform/npd/licensee#
prlLicenseeInterest
>
;
<file:///www.reportinghub.no/transform/npd/licensee#
cmpNpdidCompany
>
;
spinmap:
targetPredicate1
<http://www.reportinghub.no/schema/npd#
percentageOfShare
>
<http://www.reportinghub.no/schema/npd#
shareHolder
>
]
;
spinmap:
rule
[
rdf:
type
spinmap:
Mapping-1-1
;
spinmap:
context
:
Licensee-ShareOfLicence
;
spinmap:
expression
[
rdf:
type
rhspin:
licenceById
;
arg:
id
spin:
_arg1
[
rdf:
type
spif:
parseDate
;
arg:
pattern
"dd.MM.yyyy"
;
sp:
arg1
spin:
_arg1
]
;
spinmap:
sourcePredicate1
<file:///www.reportinghub.no/transform/npd/licensee#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-0-1
;
spinmap:
context
:
Licensee-ShareOfLicence
;
spinmap:
expression
<http://www.reportinghub.no/schema/npd#ShareOfLicence>
;
spinmap:
targetPredicate1
rdf:
type
]
.
<file:///www.reportinghub.no/transform/npd/tufoperator#TUFOperator>
spinmap:
rule
[
rdf:
type
spinmap:
Mapping-
1
-1
;
[
rdf:
type
spinmap:
Mapping-
0
-1
;
spinmap:
context
:
TUFOperator-TUF
;
spinmap:
expression
spin:
_arg1
;
spinmap:
sourcePredicate1
<file:///www.reportinghub.no/transform/npd/tufoperator#tufName>
;
spinmap:
expression
<http://www.reportinghub.no/schema/npd#TUF>
;
spinmap:
targetPredicate1
<http://www.reportinghub.no/schema/npd#name>
rdf:
type
]
;
spinmap:
rule
[
rdf:
type
spinmap:
Mapping-1-1
;
...
...
@@ -810,11 +793,13 @@
<http://www.reportinghub.no/schema/npd#id>
]
;
spinmap:
rule
[
rdf:
type
spinmap:
Mapping-
0
-1
;
[
rdf:
type
spinmap:
Mapping-
1
-1
;
spinmap:
context
:
TUFOperator-TUF
;
spinmap:
expression
<http://www.reportinghub.no/schema/npd#TUF>
;
spinmap:
expression
spin:
_arg1
;
spinmap:
sourcePredicate1
<file:///www.reportinghub.no/transform/npd/tufoperator#tufName>
;
spinmap:
targetPredicate1
rdf:
type
<http://www.reportinghub.no/schema/npd#name>
]
.
<file:///www.reportinghub.no/transform/npd/wbdev#WBDev>
...
...
@@ -822,93 +807,91 @@
[
rdf:
type
spinmap:
Mapping-1-1
;
spinmap:
context
:
WBDev-WellBore
;
spinmap:
expression
[
rdf:
type
spinmapl:
resourceWithValue
;
sp:
arg1
spin:
_arg1
;
spinmapl:
predicate
<http://www.reportinghub.no/schema/npd#name>
;
spinmapl:
type
<http://www.reportinghub.no/schema/npd#Company>
[
rdf:
type
rhspin:
licenceById
;
arg:
id
spin:
_arg1
]
;
spinmap:
sourcePredicate1
<file:///www.reportinghub.no/transform/npd/wbdev#
wlbDrillingOperator
>
;
<file:///www.reportinghub.no/transform/npd/wbdev#
prlNpdidProductionLicence
>
;
spinmap:
targetPredicate1
<http://www.reportinghub.no/schema/npd#drill
ingOperator
>
<http://www.reportinghub.no/schema/npd#drill
edInProductionLicence
>
]
;
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
rhspin:
wellByName
;
arg:
wellName
spin:
_arg1
]
;
spinmap:
sourcePredicate1
<file:///www.reportinghub.no/transform/npd/wbdev#
fldNpdidField
>
;
<file:///www.reportinghub.no/transform/npd/wbdev#
wlbWell
>
;
spinmap:
targetPredicate1
<http://www.reportinghub.no/schema/npd#
wellPartOfField
>
<http://www.reportinghub.no/schema/npd#
partOfWell
>
]
;
spinmap:
rule
[
rdf:
type
spinmap:
Mapping-1-1
;
spinmap:
context
:
WBDev-WellBore
;
spinmap:
expression
spin:
_arg1
;
spinmap:
expression
[
rdf:
type
rhspin:
facilityById
;
arg:
id
spin:
_arg1
]
;
spinmap:
sourcePredicate1
<file:///www.reportinghub.no/transform/npd/wbdev#
wlbDrillPermit
>
;
<file:///www.reportinghub.no/transform/npd/wbdev#
fclNpdidFacilityDrilling
>
;
spinmap:
targetPredicate1
<http://www.reportinghub.no/schema/npd#
wellBoreDrillPermit
>
<http://www.reportinghub.no/schema/npd#
drillingFacility
>
]
;
spinmap:
rule
[
rdf:
type
spinmap:
Mapping-
0
-1
;
[
rdf:
type
spinmap:
Mapping-
1
-1
;
spinmap:
context
:
WBDev-WellBore
;
spinmap:
expression
<http://www.reportinghub.no/schema/npd#WellBore>
;
spinmap:
targetPredicate1
rdf:
type
spinmap:
expression
[
rdf:
type
spif:
parseDate
;
arg:
pattern
"dd.MM.yyyy"
^^
xsd:
string
;
sp:
arg1
spin:
_arg1
]
;
spinmap:
rule
[
rdf:
type
spinmap:
Mapping-1-1
;
spinmap:
context
:
WBDev-Well
;
spinmap:
expression
spin:
_arg1
;
spinmap:
sourcePredicate1
<file:///www.reportinghub.no/transform/npd/wbdev#wlb
Well
>
;
<file:///www.reportinghub.no/transform/npd/wbdev#wlb
CompletionDate
>
;
spinmap:
targetPredicate1
<http://www.reportinghub.no/schema/npd#
nam
e>
<http://www.reportinghub.no/schema/npd#
wellBoreCompletionDat
e>
]
;
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#wlb
WellTyp
e>
;
<file:///www.reportinghub.no/transform/npd/wbdev#wlb
NpdidWellbor
e>
;
spinmap:
targetPredicate1
<http://www.reportinghub.no/schema/npd#
wellBoreType
>
<http://www.reportinghub.no/schema/npd#
id
>
]
;
spinmap:
rule
[
rdf:
type
spinmap:
Mapping-1-1
;
spinmap:
context
:
WBDev-WellBore
;
spinmap:
expression
[
rdf:
type
rhspin:
licenceById
;
arg:
id
spin:
_arg1
]
;
spinmap:
expression
spin:
_arg1
;
spinmap:
sourcePredicate1
<file:///www.reportinghub.no/transform/npd/wbdev#
prlNpdidProductionLicence
>
;
<file:///www.reportinghub.no/transform/npd/wbdev#
wlbDrillPermit
>
;
spinmap:
targetPredicate1
<http://www.reportinghub.no/schema/npd#
drilledInProductionLicence
>
<http://www.reportinghub.no/schema/npd#
wellBoreDrillPermit
>
]
;
spinmap:
rule
[
rdf:
type
spinmap:
Mapping-1-1
;
spinmap:
context
:
WBDev-WellBore
;
spinmap:
expression
[
rdf:
type
spif:
parseDate
;
arg:
pattern
"dd.MM.yyyy"
^^
xsd:
string
;
sp:
arg1
spin:
_arg1
[
rdf:
type
spinmapl:
resourceWithValue
;
sp:
arg1
spin:
_arg1
;
spinmapl:
predicate
<http://www.reportinghub.no/schema/npd#name>
;
spinmapl:
type
<http://www.reportinghub.no/schema/npd#Company>
]
;
spinmap:
sourcePredicate1
<file:///www.reportinghub.no/transform/npd/wbdev#wlb
CompletionDate
>
;
<file:///www.reportinghub.no/transform/npd/wbdev#wlb
DrillingOperator
>
;
spinmap:
targetPredicate1
<http://www.reportinghub.no/schema/npd#
wellBoreCompletionDate
>
<http://www.reportinghub.no/schema/npd#
drillingOperator
>
]
;
spinmap:
rule
[
rdf:
type
spinmap:
Mapping-
0
-1
;
[
rdf:
type
spinmap:
Mapping-
1
-1
;
spinmap:
context
:
WBDev-Well
;
spinmap:
expression
<http://www.reportinghub.no/schema/npd#Well>
;
spinmap:
expression
spin:
_arg1
;
spinmap:
sourcePredicate1
<file:///www.reportinghub.no/transform/npd/wbdev#wlbWell>
;
spinmap:
targetPredicate1
rdf:
type
<http://www.reportinghub.no/schema/npd#name>
]
;
spinmap:
rule
[
rdf:
type
spinmap:
Mapping-1-1
;
...
...
@@ -926,11 +909,16 @@
spinmap:
rule
[
rdf:
type
spinmap:
Mapping-1-1
;
spinmap:
context
:
WBDev-WellBore
;
spinmap:
expression
spin:
_arg1
;
spinmap:
expression
[
rdf:
type
spinmapl:
resourceWithValue
;
sp:
arg1
spin:
_arg1
;
spinmapl:
predicate
<http://www.reportinghub.no/schema/npd#code>
;
spinmapl:
type
<http://www.reportinghub.no/schema/npd#WellBoreContent>
]
;
spinmap:
sourcePredicate1
<file:///www.reportinghub.no/transform/npd/wbdev#wlb
NpdidWellbore
>
;
<file:///www.reportinghub.no/transform/npd/wbdev#wlb
Content
>
;
spinmap:
targetPredicate1
<http://www.reportinghub.no/schema/npd#
id
>
<http://www.reportinghub.no/schema/npd#
wellBoreContent
>
]
;
spinmap:
rule
[
rdf:
type
spinmap:
Mapping-1-1
;
...
...
@@ -940,23 +928,46 @@
arg:
id
spin:
_arg1
]
;
spinmap:
sourcePredicate1
<file:///www.reportinghub.no/transform/npd/wbdev#fclNpdidFacility
Drill
ing>
;
<file:///www.reportinghub.no/transform/npd/wbdev#fclNpdidFacility
Produc
ing>
;
spinmap:
targetPredicate1
<http://www.reportinghub.no/schema/npd#drillingFacility>
<http://www.reportinghub.no/schema/npd#productionFacility>
]
;
spinmap:
rule
[
rdf:
type
spinmap:
Mapping-1-1
;
spinmap:
context
:
WBDev-WellBore
;
spinmap:
expression
spin:
_arg1
;
spinmap:
sourcePredicate1
<file:///www.reportinghub.no/transform/npd/wbdev#wlbWellType>
;
spinmap:
targetPredicate1
<http://www.reportinghub.no/schema/npd#wellBoreType>
]
;
spinmap:
rule
[
rdf:
type
spinmap:
Mapping-0-1
;
spinmap:
context
:
WBDev-Well
;
spinmap:
expression
<http://www.reportinghub.no/schema/npd#Well>
;
spinmap:
targetPredicate1
rdf:
type
]
;
spinmap:
rule
[
rdf:
type
spinmap:
Mapping-1-1
;
spinmap:
context
:
WBDev-WellBore
;
spinmap:
expression
spin:
_arg1
;
spinmap:
sourcePredicate1
<file:///www.reportinghub.no/transform/npd/wbdev#wlbWellboreName>
;
spinmap:
targetPredicate1
<http://www.reportinghub.no/schema/npd#name>
]
;
spinmap:
rule
[
rdf:
type
spinmap:
Mapping-1-1
;
spinmap:
context
:
WBDev-Well
;
spinmap:
expression
[
rdf:
type
spinmapl:
resourceWithValue
;
sp:
arg1
spin:
_arg1
;
spinmapl:
predicate
<http://www.reportinghub.no/schema/npd#code>
;
spinmapl:
type
<http://www.reportinghub.no/schema/npd#WellBoreContent>
[
rdf:
type
rhspin:
fieldById
;
arg:
id
spin:
_arg1
]
;
spinmap:
sourcePredicate1
<file:///www.reportinghub.no/transform/npd/wbdev#
wlbContent
>
;
<file:///www.reportinghub.no/transform/npd/wbdev#
fldNpdidField
>
;
spinmap:
targetPredicate1
<http://www.reportinghub.no/schema/npd#well
BoreContent
>
<http://www.reportinghub.no/schema/npd#well
PartOfField
>
]
;
spinmap:
rule
[
rdf:
type
spinmap:
Mapping-1-1
;
...
...
@@ -973,50 +984,64 @@
<http://www.reportinghub.no/schema/npd#wellBorePurpose>
]
;
spinmap:
rule
[
rdf:
type
spinmap:
Mapping-
1
-1
;
[
rdf:
type
spinmap:
Mapping-
0
-1
;
spinmap:
context
:
WBDev-WellBore
;
spinmap:
expression
<http://www.reportinghub.no/schema/npd#WellBore>
;
spinmap:
targetPredicate1
rdf:
type
]
.
<file:///www.reportinghub.no/transform/npd/wbexp#WBExp>
spinmap:
rule
[
rdf:
type
spinmap:
Mapping-1-1
;
spinmap:
context
:
WBExp-WellBore
;
spinmap:
expression
[
rdf:
type
rhspin:
wellByName
;
arg:
wellName
spin:
_arg1
]
;
spinmap:
sourcePredicate1
<file:///www.reportinghub.no/transform/npd/wb
dev
#wlbWell>
;
<file:///www.reportinghub.no/transform/npd/wb
exp
#wlbWell>
;
spinmap:
targetPredicate1
<http://www.reportinghub.no/schema/npd#partOfWell>
]
;
spinmap:
rule
[
rdf:
type
spinmap:
Mapping-1-1
;
spinmap:
context
:
WB
Dev
-WellBore
;
spinmap:
context
:
WB
Exp
-WellBore
;
spinmap:
expression
[
rdf:
type
rhspin:
facilityById
;
arg:
id
spin:
_arg1
[
rdf:
type
spinmapl:
resourceWithValue
;
sp:
arg1
spin:
_arg1
;
spinmapl:
predicate
<http://www.reportinghub.no/schema/npd#code>
;
spinmapl:
type
<http://www.reportinghub.no/schema/npd#ExplorationWellBorePurpose>
]
;
spinmap:
sourcePredicate1
<file:///www.reportinghub.no/transform/npd/wb
dev#fclNpdidFacilityProducing
>
;
<file:///www.reportinghub.no/transform/npd/wb
exp#wlbPurpose
>
;
spinmap:
targetPredicate1
<http://www.reportinghub.no/schema/npd#
productionFacility
>
<http://www.reportinghub.no/schema/npd#
wellBorePurpose
>
]
;
spinmap:
rule
[
rdf:
type
spinmap:
Mapping-1-1
;
spinmap:
context
:
WBDev-WellBore
;
spinmap:
expression
spin:
_arg1
;
spinmap:
sourcePredicate1
<file:///www.reportinghub.no/transform/npd/wbdev#wlbWellboreName>
;
spinmap:
targetPredicate1
<http://www.reportinghub.no/schema/npd#name>
]
.
<file:///www.reportinghub.no/transform/npd/wbexp#WBExp>
spinmap:
rule
[
rdf:
type
spinmap:
Mapping-0-1
;
spinmap:
context
:
WBExp-Well
;
spinmap:
expression
<http://www.reportinghub.no/schema/npd#Well>
;
spinmap:
context
:
WBExp-Well
Bore
;
spinmap:
expression
<http://www.reportinghub.no/schema/npd#Well
Bore
>
;
spinmap:
targetPredicate1
rdf:
type
]
;
spinmap:
rule
[
rdf:
type
spinmap:
Mapping-1-1
;
spinmap:
context
:
WBExp-WellBore
;
spinmap:
expression
[
rdf:
type
spinmapl:
resourceWithValue
;
sp:
arg1
spin:
_arg1
;
spinmapl:
predicate
<http://www.reportinghub.no/schema/npd#name>
;
spinmapl:
type
<http://www.reportinghub.no/schema/npd#Company>
]
;
spinmap:
sourcePredicate1
<file:///www.reportinghub.no/transform/npd/wbexp#wlbDrillingOperator>
;
spinmap:
targetPredicate1
<http://www.reportinghub.no/schema/npd#drillingOperator>
]
;
spinmap:
rule
[
rdf:
type
spinmap:
Mapping-1-1
;
spinmap:
context
:
WBExp-WellBore
;
spinmap:
expression
spin:
_arg1
;
spinmap:
sourcePredicate1
<file:///www.reportinghub.no/transform/npd/wbexp#wlbWellType>
;
...
...
@@ -1024,13 +1049,6 @@
<http://www.reportinghub.no/schema/npd#wellBoreType>
]
;
spinmap:
rule
[
rdf:
type
spinmap:
Mapping-0-1
;
spinmap:
context
:
WBExp-WellBore
;
spinmap:
expression
<http://www.reportinghub.no/schema/npd#WellBore>
;
spinmap:
targetPredicate1
rdf:
type
]
;
spinmap:
rule
[
rdf:
type
spinmap:
Mapping-1-1
;
spinmap:
context
:
WBExp-WellBore
;
spinmap:
expression
...
...
@@ -1039,30 +1057,18 @@
sp:
arg1
spin:
_arg1
]
;
spinmap:
sourcePredicate1
<file:///www.reportinghub.no/transform/npd/wbexp#wlb
Completion
Date>
;
<file:///www.reportinghub.no/transform/npd/wbexp#wlb
Entry
Date>
;
spinmap:
targetPredicate1
<http://www.reportinghub.no/schema/npd#
wellBoreCompletion
Date>
<http://www.reportinghub.no/schema/npd#
start
Date>
]
;
spinmap:
rule
[
rdf:
type
spinmap:
Mapping-1-1
;
spinmap:
context
:
WBExp-WellBore
;
spinmap:
expression
spin:
_arg1
;
spinmap:
sourcePredicate1
<file:///www.reportinghub.no/transform/npd/wbexp#wlbNpdidWellbore>
;
spinmap:
targetPredicate1
<http://www.reportinghub.no/schema/npd#id>
]
;
spinmap:
rule
[
rdf:
type
spinmap:
Mapping-1-1
;
spinmap:
context
:
WBExp-Well
;
spinmap:
expression
[
rdf:
type
rhspin:
fieldById
;
arg:
id
spin:
_arg1
]
;
spinmap:
sourcePredicate1
<file:///www.reportinghub.no/transform/npd/wbexp#fldNpdidField>
;
<file:///www.reportinghub.no/transform/npd/wbexp#wlbDrillPermit>
;
spinmap:
targetPredicate1
<http://www.reportinghub.no/schema/npd#well
PartOfField
>
<http://www.reportinghub.no/schema/npd#well
BoreDrillPermit
>
]
;
spinmap:
rule
[
rdf:
type
spinmap:
Mapping-1-1
;
...
...
@@ -1082,67 +1088,42 @@
sp:
arg1
spin:
_arg1
]
;
spinmap:
sourcePredicate1
<file:///www.reportinghub.no/transform/npd/wbexp#wlbEntryDate>
;
spinmap:
targetPredicate1
<http://www.reportinghub.no/schema/npd#startDate>
]
;
spinmap:
rule
[
rdf:
type
spinmap:
Mapping-1-1
;
spinmap:
context
:
WBExp-WellBore
;
spinmap:
expression
[
rdf:
type
rhspin:
facilityById
;
arg:
id
spin:
_arg1
]
;
spinmap:
sourcePredicate1
<file:///www.reportinghub.no/transform/npd/wbexp#fclNpdidFacilityDrilling>
;
<file:///www.reportinghub.no/transform/npd/wbexp#wlbCompletionDate>
;
spinmap:
targetPredicate1
<http://www.reportinghub.no/schema/npd#
drillingFacility
>
<http://www.reportinghub.no/schema/npd#
wellBoreCompletionDate
>
]
;
spinmap:
rule
[
rdf:
type
spinmap:
Mapping-1-1
;
spinmap:
context
:
WBExp-Well
;
spinmap:
expression
spin:
_arg1
;
spinmap:
sourcePredicate1
<file:///www.reportinghub.no/transform/npd/wbexp#wlbWell>
;
spinmap:
targetPredicate1
<http://www.reportinghub.no/schema/npd#name>
]
;
spinmap:
rule
[
rdf:
type
spinmap:
Mapping-1-1
;
spinmap:
context
:
WBExp-WellBore
;
spinmap:
expression
[
rdf:
type
spinmapl:
resourceWithValue
;
sp:
arg1
spin:
_arg1
;
spinmapl:
predicate
<http://www.reportinghub.no/schema/npd#name>
;
spinmapl:
type
<http://www.reportinghub.no/schema/npd#Company>
[
rdf:
type
rhspin:
fieldById
;
arg:
id
spin:
_arg1
]
;
spinmap:
sourcePredicate1
<file:///www.reportinghub.no/transform/npd/wbexp#
wlbDrillingOperator
>
;
<file:///www.reportinghub.no/transform/npd/wbexp#
fldNpdidField
>
;
spinmap:
targetPredicate1
<http://www.reportinghub.no/schema/npd#
drillingOperator
>
<http://www.reportinghub.no/schema/npd#
wellPartOfField
>
]
;
spinmap:
rule
[
rdf:
type
spinmap:
Mapping-1-1
;
spinmap:
context
:
WBExp-WellBore
;
spinmap:
expression
[
rdf:
type
spinmapl:
resourceWithValue
;
sp:
arg1
spin:
_arg1
;
spinmapl:
predicate
<http://www.reportinghub.no/schema/npd#code>
;
spinmapl:
type
<http://www.reportinghub.no/schema/npd#ExplorationWellBorePurpose>
[
rdf:
type
rhspin:
facilityById
;
arg:
id
spin:
_arg1
]
;
spinmap:
sourcePredicate1
<file:///www.reportinghub.no/transform/npd/wbexp#
wlbPurpose
>
;
<file:///www.reportinghub.no/transform/npd/wbexp#
fclNpdidFacilityDrilling
>
;
spinmap:
targetPredicate1
<http://www.reportinghub.no/schema/npd#
wellBorePurpose
>
<http://www.reportinghub.no/schema/npd#
drillingFacility
>
]
;
spinmap:
rule
[
rdf:
type
spinmap:
Mapping-1-1
;
spinmap:
context
:
WBExp-WellBore
;
spinmap:
expression
spin:
_arg1
;
spinmap:
sourcePredicate1
<file:///www.reportinghub.no/transform/npd/wbexp#wlb
DrillPermit
>
;
<file:///www.reportinghub.no/transform/npd/wbexp#wlb
NpdidWellbore
>
;
spinmap:
targetPredicate1
<http://www.reportinghub.no/schema/npd#
wellBoreDrillPermit
>
<http://www.reportinghub.no/schema/npd#
id
>
]
;
spinmap:
rule
[
rdf:
type
spinmap:
Mapping-1-1
;
...
...
@@ -1158,6 +1139,15 @@
]
;
spinmap:
rule
[
rdf:
type
spinmap:
Mapping-1-1
;
spinmap:
context
:
WBExp-Well
;
spinmap:
expression
spin:
_arg1
;
spinmap:
sourcePredicate1
<file:///www.reportinghub.no/transform/npd/wbexp#wlbWell>
;
spinmap:
targetPredicate1
<http://www.reportinghub.no/schema/npd#name>
]
;
spinmap:
rule
[
rdf:
type
spinmap:
Mapping-1-1
;
spinmap:
context
:
WBExp-WellBore
;
spinmap:
expression
[
rdf:
type
spinmapl:
resourceWithValue
;
...
...
@@ -1171,48 +1161,36 @@
<http://www.reportinghub.no/schema/npd#wellBoreContent>
]
;
spinmap:
rule
[
rdf:
type
spinmap:
Mapping-1-1
;
spinmap:
context
:
WBExp-WellBore
;
spinmap:
expression
[
rdf:
type
rhspin:
wellByName
;
arg:
wellName
spin:
_arg1
]
;
spinmap:
sourcePredicate1
<file:///www.reportinghub.no/transform/npd/wbexp#wlbWell>
;
[
rdf:
type
spinmap:
Mapping-0-1
;
spinmap:
context
:
WBExp-Well
;
spinmap:
expression
<http://www.reportinghub.no/schema/npd#Well>
;
spinmap:
targetPredicate1
<http://www.reportinghub.no/schema/npd#partOfWell>
rdf:
type
]
.
<file:///www.reportinghub.no/transform/npd/wbid#WBId>
spinmap:
rule
[
rdf:
type
spinmap:
Mapping-1-1
;
spinmap:
context
:
WBId-WellBore
;
spinmap:
expression
[
rdf:
type
rhspin:
wellByName
;
arg:
wellName
spin:
_arg1
]
;
spinmap:
sourcePredicate1
<file:///www.reportinghub.no/transform/npd/wbid#wlbWell>
;
[
rdf:
type
spinmap:
Mapping-0-1
;
spinmap:
context
:
WBId-Well
;
spinmap:
expression
<http://www.reportinghub.no/schema/npd#Well>
;
spinmap:
targetPredicate1
<http://www.reportinghub.no/schema/npd#partOfWell>
rdf:
type
]
;
spinmap:
rule
[
rdf:
type
spinmap:
Mapping-1-1
;
spinmap:
context
:
WBId-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
;
[
rdf:
type
spinmap:
Mapping-
0
-1
;
spinmap:
context
:
WBId-WellBore
;
spinmap:
expression
spin:
_arg1
;
spinmap:
sourcePredicate1
<file:///www.reportinghub.no/transform/npd/wbid#wlbWellType>
;
spinmap:
expression
<http://www.reportinghub.no/schema/npd#WellBore>
;
spinmap:
targetPredicate1
<http://www.reportinghub.no/schema/npd#wellBoreType>
rdf:
type
]
;
spinmap:
rule
[
rdf:
type
spinmap:
Mapping-1-1
;
...
...
@@ -1224,38 +1202,58 @@
<http://www.reportinghub.no/schema/npd#id>
]
;
spinmap:
rule
[
rdf:
type
spinmap:
Mapping-
0
-1
;
[
rdf:
type
spinmap:
Mapping-
1
-1
;
spinmap:
context
:
WBId-WellBore
;
spinmap:
expression
<http://www.reportinghub.no/schema/npd#WellBore>
;
spinmap:
expression
spin:
_arg1
;
spinmap:
sourcePredicate1
<file:///www.reportinghub.no/transform/npd/wbid#wlbWellType>
;
spinmap:
targetPredicate1
rdf:
type
<http://www.reportinghub.no/schema/npd#wellBoreType>
]
;
spinmap:
rule
[
rdf:
type
spinmap:
Mapping-1-1
;
spinmap:
context
:
WBId-Well
;
spinmap:
context
:
WBId-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
;
spinmap:
context
:
WBId-Well
;
spinmap:
expression
<http://www.reportinghub.no/schema/npd#Well>
;
[
rdf:
type
spinmap:
Mapping-1-1
;
spinmap:
context
:
WBId-WellBore
;
spinmap:
expression
[
rdf:
type
rhspin:
wellByName
;
arg:
wellName
spin:
_arg1
]
;
spinmap:
sourcePredicate1
<file:///www.reportinghub.no/transform/npd/wbid#wlbWell>
;
spinmap:
targetPredicate1
rdf:
type
<http://www.reportinghub.no/schema/npd#partOfWell>
]
.
<file:///www.reportinghub.no/transform/npd/wbsha#WBSha>
spinmap:
rule
[
rdf:
type
spinmap:
Mapping-1-1
;
spinmap:
context
:
WBSha-WellBore
;
spinmap:
expression
[
rdf:
type
spif:
parseDate
;
arg:
pattern
"dd.MM.yyyy"
^^
xsd:
string
;
sp:
arg1
spin:
_arg1
]
;
spinmap:
sourcePredicate1
<file:///www.reportinghub.no/transform/npd/wbsha#wlbCompletionDate>
;
spinmap:
targetPredicate1
<http://www.reportinghub.no/schema/npd#wellBoreCompletionDate>
]
;
spinmap:
rule
[
rdf:
type
spinmap:
Mapping-1-1
;
spinmap:
context
:
WBSha-WellBore
;
spinmap:
expression
spin:
_arg1
;
spinmap:
sourcePredicate1
<file:///www.reportinghub.no/transform/npd/wbsha#wlb
NpdidWellbor
e>
;
<file:///www.reportinghub.no/transform/npd/wbsha#wlb
WellboreNam
e>
;
spinmap:
targetPredicate1
<http://www.reportinghub.no/schema/npd#
id
>
<http://www.reportinghub.no/schema/npd#
name
>
]
;
spinmap:
rule
[
rdf:
type
spinmap:
Mapping-0-1
;
...
...
@@ -1275,37 +1273,15 @@
]
;
spinmap:
rule
[
rdf:
type
spinmap:
Mapping-1-1
;
spinmap:
context
:
WBSha-Well
;
spinmap:
expression
spin:
_arg1
;
spinmap:
sourcePredicate1
<file:///www.reportinghub.no/transform/npd/wbsha#wlbWell>
;
spinmap:
targetPredicate1
<http://www.reportinghub.no/schema/npd#name>
]
;
spinmap:
rule
[
rdf:
type
spinmap:
Mapping-1-1
;
spinmap:
context
:
WBSha-WellBore
;
spinmap:
expression
[
rdf:
type
rhspin:
wellByName
;
arg:
wellName
spin:
_arg1
]
;
spinmap:
sourcePredicate1
<file:///www.reportinghub.no/transform/npd/wbsha#wlbWell>
;
spinmap:
targetPredicate1
<http://www.reportinghub.no/schema/npd#partOfWell>
]
;
spinmap:
rule
[
rdf:
type
spinmap:
Mapping-1-1
;
spinmap:
context
:
WBSha-WellBore
;
spinmap:
expression
[
rdf:
type
spif:
parseDate
;
arg:
pattern
"dd.MM.yyyy"
^^
xsd:
string
;
sp:
arg1
spin:
_arg1
[
rdf:
type
rhspin:
licenceById
;
arg:
id
spin:
_arg1
]
;
spinmap:
sourcePredicate1
<file:///www.reportinghub.no/transform/npd/wbsha#wlb
CompletionDat
e>
;
<file:///www.reportinghub.no/transform/npd/wbsha#wlb
ProductionLicenc
e>
;
spinmap:
targetPredicate1
<http://www.reportinghub.no/schema/npd#
wellBoreCompletionDat
e>
<http://www.reportinghub.no/schema/npd#
drilledInProductionLicenc
e>
]
;
spinmap:
rule
[
rdf:
type
spinmap:
Mapping-0-1
;
...
...
@@ -1330,10 +1306,10 @@
]
;
spinmap:
rule
[
rdf:
type
spinmap:
Mapping-1-1
;
spinmap:
context
:
WBSha-Well
Bore
;
spinmap:
context
:
WBSha-Well
;
spinmap:
expression
spin:
_arg1
;
spinmap:
sourcePredicate1
<file:///www.reportinghub.no/transform/npd/wbsha#wlbWell
boreName
>
;
<file:///www.reportinghub.no/transform/npd/wbsha#wlbWell>
;
spinmap:
targetPredicate1
<http://www.reportinghub.no/schema/npd#name>
]
;
...
...
@@ -1341,26 +1317,35 @@
[
rdf:
type
spinmap:
Mapping-1-1
;
spinmap:
context
:
WBSha-WellBore
;
spinmap:
expression
[
rdf:
type
spif:
parseDate
;
arg:
pattern
"dd.MM.yyyy"
^^
xsd:
string
;
sp:
arg1
spin:
_arg1
[
rdf:
type
rhspin:
wellByName
;
arg:
wellName
spin:
_arg1
]
;
spinmap:
sourcePredicate1
<file:///www.reportinghub.no/transform/npd/wbsha#wlb
EntryDate
>
;
<file:///www.reportinghub.no/transform/npd/wbsha#wlb
Well
>
;
spinmap:
targetPredicate1
<http://www.reportinghub.no/schema/npd#startDate>
<http://www.reportinghub.no/schema/npd#partOfWell>
]
;
spinmap:
rule
[
rdf:
type
spinmap:
Mapping-1-1
;
spinmap:
context
:
WBSha-WellBore
;
spinmap:
expression
spin:
_arg1
;
spinmap:
sourcePredicate1
<file:///www.reportinghub.no/transform/npd/wbsha#wlbNpdidWellbore>
;
spinmap:
targetPredicate1
<http://www.reportinghub.no/schema/npd#id>
]
;
spinmap:
rule
[
rdf:
type
spinmap:
Mapping-1-1
;
spinmap:
context
:
WBSha-WellBore
;
spinmap:
expression
[
rdf:
type
rhspin:
licenceById
;
arg:
id
spin:
_arg1
[
rdf:
type
spif:
parseDate
;
arg:
pattern
"dd.MM.yyyy"
^^
xsd:
string
;
sp:
arg1
spin:
_arg1
]
;
spinmap:
sourcePredicate1
<file:///www.reportinghub.no/transform/npd/wbsha#wlb
ProductionLicenc
e>
;
<file:///www.reportinghub.no/transform/npd/wbsha#wlb
EntryDat
e>
;
spinmap:
targetPredicate1
<http://www.reportinghub.no/schema/npd#
drilledInProductionLicenc
e>
<http://www.reportinghub.no/schema/npd#
startDat
e>
]
.
arg:
well
...
...
@@ -1387,7 +1372,7 @@ arg:wellName
<http://www.reportinghub.no/transform/spreadsheets2npd>
rdf:
type
owl:
Ontology
;
rdfs:
comment
"Takes spreadsheets imported from the NPD fact pages and maps them into the NPD ontology."
^^
xsd:
string
;
owl:
imports
<file:///www.reportinghub.no/transform/npd/licensee>
,
<file:///www.reportinghub.no/transform/npd/tufoperator>
,
<file:///www.reportinghub.no/transform/npd/wb
sha-2011-07-30>
,
<file:///www.reportinghub.no/transform/npd/facilitymoveable-2011-07-30>
,
<http://www.reportinghub.no/transform/npd/tufoperator-2011-07-30>
,
<file:///www.reportinghub.no/transform/npd/wbid>
,
<file:///www.reportinghub.no/transform/npd/wbexp>
,
<file:///www.reportinghub.no/transform/npd/licensee-2011-07-30>
,
<http://www.reportinghub.no/transform/npd/field-2011-07-30>
,
<file:///www.reportinghub.no/transform/npd/discovery>
,
<http://www.reportinghub.no/1.1/schema/npd>
,
<file:///www.reportinghub.no/transform/npd/field>
,
<file:///www.reportinghub.no/transform/npd/discovery-2011-07-30>
,
<http://topbraid.org/spin/spinmapl>
,
<file:///www.reportinghub.no/transform/npd/baalicensee>
,
<file:///www.reportinghub.no/transform/npd/facilityfixed-2011-07-30>
,
<file:///www.reportinghub.no/transform/npd/wbsha>
,
<http://www.reportinghub.no/examples/transform/npd/wbexp-2011-07-30>
,
<file:///www.reportinghub.no/transform/npd/licence>
,
<file:///www.reportinghub.no/transform/npd/facilityfixed>
,
<http://www.reportinghub.no/spin/rh>
,
<file:///www.reportinghub.no/transform/npd/baa>
,
<http://www.reportinghub.no/examples/transform/npd/company-2011-07-30>
,
<http://www.reportinghub.no/examples/npdi>
,
<file:///www.reportinghub.no/transform/npd/facilitymoveable>
,
<file:///www.reportinghub.no/transform/npd/baalicensee-2011-07-30>
,
<file:///www.reportinghub.no/transform/npd/license-2011-07-30>
,
<file:///www.reportinghub.no/transform/npd/wbid-2011-07-30>
,
<file:///www.reportinghub.no/transform/npd/wbdev>
,
<file:///www.reportinghub.no/transform/npd/wbdev-2011-07-30>
,
<file:///www.reportinghub.no/transform/npd/company>
,
<http://spinrdf.org/spin>
,
<file:///www.reportinghub.no/transform/npd/baa-2011-07-30
>
;
owl:
imports
<file:///www.reportinghub.no/transform/npd/licensee>
,
<file:///www.reportinghub.no/transform/npd/tufoperator>
,
<file:///www.reportinghub.no/transform/npd/wb
exp>
,
<file:///www.reportinghub.no/transform/npd/wbid>
,
<file:///www.reportinghub.no/transform/npd/discovery>
,
<http://www.reportinghub.no/1.1/schema/npd>
,
<file:///www.reportinghub.no/transform/npd/field>
,
<file:///www.reportinghub.no/transform/npd/baalicensee>
,
<http://topbraid.org/spin/spinmapl>
,
<file:///www.reportinghub.no/transform/npd/wbsha>
,
<file:///www.reportinghub.no/transform/npd/licence>
,
<file:///www.reportinghub.no/transform/npd/facilityfixed>
,
<http://www.reportinghub.no/spin/rh>
,
<file:///www.reportinghub.no/transform/npd/baa>
,
<file:///www.reportinghub.no/transform/npd/facilitymoveable>
,
<file:///www.reportinghub.no/transform/npd/wbdev>
,
<file:///www.reportinghub.no/transform/npd/company>
,
<http://spinrdf.org/spin
>
;
owl:
versionInfo
"0.1.0"
^^
xsd:
string
.
:
BAA-BusinessArrangementArea
...
...
@@ -1468,7 +1453,7 @@ arg:wellName
:
License-License
rdf:
type
spinmap:
Context
;
spinmap:
sourceClass
<file:///www.reportinghub.no/
examples/transform/npd/licence-2011-07-30.csv
#Licence>
;
spinmap:
sourceClass
<file:///www.reportinghub.no/
transform/npd/licence
#Licence>
;
spinmap:
target
[
rdf:
type
:
buildLicenceURI
;
spinmap:
source
spinmap:
_source
...
...
@@ -1777,7 +1762,7 @@ arg:wellName
arg:
id
[
rdf:
type
spl:
object
;
sp:
arg1
[
sp:
varName
"source"
^^
xsd:
string
]
;
sp:
arg2
<file:///www.reportinghub.no/
examples/transform/npd/licence-2011-07-30.csv
#prlNpdidLicence>
sp:
arg2
<file:///www.reportinghub.no/
transform/npd/licence
#prlNpdidLicence>
]
])
;
sp:
where
()
...
...
@@ -1926,29 +1911,29 @@ arg:wellName
sp:
where
()
]
.
_:
b12
sp:
varName
"source"
^^
xsd:
string
.
_:
b11
sp:
varName
"startDate"
^^
xsd:
string
.
_:
b1
sp:
varName
"companyId"
^^
xsd:
string
.
_:
b10
sp:
varName
"licenceId"
^^
xsd:
string
.
_:
b2
sp:
varName
"baaId"
^^
xsd:
string
.
_:
b
9
sp:
varName
"companyId
"
^^
xsd:
string
.
_:
b
3
sp:
varName
"startDate
"
^^
xsd:
string
.
_:
b
8
sp:
varName
"baa
"
^^
xsd:
string
.
_:
b
4
sp:
varName
"source
"
^^
xsd:
string
.
_:
b
7
sp:
varName
"baa
Name"
^^
xsd:
string
.
_:
b
5
sp:
varName
"company
Name"
^^
xsd:
string
.
_:
b6
sp:
varName
"company"
^^
xsd:
string
.
_:
b
5
sp:
varName
"company
Name"
^^
xsd:
string
.
_:
b
7
sp:
varName
"baa
Name"
^^
xsd:
string
.
_:
b
4
sp:
varName
"source
"
^^
xsd:
string
.
_:
b
8
sp:
varName
"baa
"
^^
xsd:
string
.
_:
b
3
sp:
varName
"startDate
"
^^
xsd:
string
.
_:
b
9
sp:
varName
"companyId
"
^^
xsd:
string
.
_:
b2
sp:
varName
"baaId"
^^
xsd:
string
.
_:
b10
sp:
varName
"licenceId"
^^
xsd:
string
.
_:
b1
sp:
varName
"companyId"
^^
xsd:
string
.
_:
b11
sp:
varName
"startDate"
^^
xsd:
string
.
_:
b12
sp:
varName
"source"
^^
xsd:
string
.
...
...
www.reportinghub.no/transform/TRANSFORM_SPREADSHEETS-to-NPD.ttl.tbc
View file @
4cb2bf8
...
...
@@ -12,11 +12,11 @@
[]
rdf:
type
inference:
Configuration
;
composite:
child
[
rdf:
type
<http://spinrdf.org/spin#TopSPIN>
;
composite:
index
"
1
"
^^
xsd:
int
composite:
index
"
0
"
^^
xsd:
int
]
;
composite:
child
[
rdf:
type
<http://spinrdf.org/spin#TopSPIN>
;
composite:
index
"
0
"
^^
xsd:
int
composite:
index
"
1
"
^^
xsd:
int
]
;
inference:
completeMode
"true"
^^
xsd:
boolean
;
...
...
www.reportinghub.no/transform/npd/licence.ttl
View file @
4cb2bf8
# baseURI: file:///www.reportinghub.no/transform/npd/licence
# imports: http://topbraid.org/tables
@prefix
licence:
<file:///www.reportinghub.no/
examples/transform/npd/licence-2011-07-30.csv
#>
.
@prefix
licence:
<file:///www.reportinghub.no/
transform/npd/licence
#>
.
@prefix
owl:
<http://www.w3.org/2002/07/owl#>
.
@prefix
rdf:
<http://www.w3.org/1999/02/22-rdf-syntax-ns#>
.
@prefix
rdfs:
<http://www.w3.org/2000/01/rdf-schema#>
.
@prefix
tables:
<http://topbraid.org/tables#>
.
@prefix
xsd:
<http://www.w3.org/2001/XMLSchema#>
.
<file:///www.reportinghub.no/transform/npd/licence>
rdf:
type
owl:
Ontology
;
owl:
imports
<http://topbraid.org/tables>
.
licence:
Licence
rdf:
type
owl:
Class
;
rdfs:
label
"Licence"
^^
xsd:
string
;
...
...
@@ -75,7 +79,3 @@ licence:prlStatus
rdfs:
label
"prlStatus"
;
rdfs:
range
xsd:
string
;
tables:
columnIndex
"2"
^^
xsd:
int
.
<file:///www.reportinghub.no/transform/npd/licence>
rdf:
type
owl:
Ontology
;
owl:
imports
<http://topbraid.org/tables>
.
...
...
www.reportinghub.no/transform/npd/wellbore-npdid-overview.ttl
deleted
100644 → 0
View file @
8042f6a
# baseURI: file:///www.reportinghub.no/transform/wellbore-npdid-overview
# imports: http://topbraid.org/tables
@prefix
owl:
<http://www.w3.org/2002/07/owl#>
.
@prefix
rdf:
<http://www.w3.org/1999/02/22-rdf-syntax-ns#>
.
@prefix
rdfs:
<http://www.w3.org/2000/01/rdf-schema#>
.
@prefix
tables:
<http://topbraid.org/tables#>
.
@prefix
wbid:
<file:///www.reportinghub.no/transform/wellbore-npdid-overview#>
.
@prefix
xsd:
<http://www.w3.org/2001/XMLSchema#>
.
<file:///www.reportinghub.no/transform/wellbore-npdid-overview>
rdf:
type
owl:
Ontology
;
owl:
imports
<http://topbraid.org/tables>
.
wbid:
WBID
rdf:
type
owl:
Class
;
rdfs:
label
"wellbore-npdid-overview"
^^
xsd:
string
;
tables:
sheetIndex
"0"
^^
xsd:
int
.
wbid:
datesyncNPD
rdf:
type
owl:
DatatypeProperty
;
rdfs:
domain
wbid:
WBID
;
rdfs:
label
"datesyncNPD"
;
rdfs:
range
xsd:
string
;
tables:
columnIndex
"4"
^^
xsd:
int
.
wbid:
wlbNpdidWellbore
rdf:
type
owl:
DatatypeProperty
;
rdfs:
domain
wbid:
WBID
;
rdfs:
label
"wlbNpdidWellbore"
;
rdfs:
range
xsd:
string
;
tables:
columnIndex
"1"
^^
xsd:
int
.
wbid:
wlbWell
rdf:
type
owl:
DatatypeProperty
;
rdfs:
domain
wbid:
WBID
;
rdfs:
label
"wlbWell"
;
rdfs:
range
xsd:
string
;
tables:
columnIndex
"2"
^^
xsd:
int
.
wbid:
wlbWellType
rdf:
type
owl:
DatatypeProperty
;
rdfs:
domain
wbid:
WBID
;
rdfs:
label
"wlbWellType"
;
rdfs:
range
xsd:
string
;
tables:
columnIndex
"3"
^^
xsd:
int
.
wbid:
wlbWellboreName
rdf:
type
owl:
DatatypeProperty
;
rdfs:
domain
wbid:
WBID
;
rdfs:
label
"ÔªøwlbWellboreName"
;
rdfs:
range
xsd:
string
;
tables:
columnIndex
"0"
^^
xsd:
int
.
Please
register
or
login
to post a comment