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-07-30 11:10:31 +1000
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
d91ac2b8af9db0e433e70e0f94fdf0b93a35ac2c
d91ac2b8
1 parent
968e1874
Moved files around, updated example data
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
33 additions
and
32 deletions
www.reportinghub.no/examples/npdi.ttl
www.reportinghub.no/examples/transform/wellbore-npdid-overview-2011-07-30.csv → www.reportinghub.no/examples/transform/npd/wellbore-npdid-overview-2011-07-30.csv
www.reportinghub.no/examples/transform/wellbore-npdid-overview-2011-07-30.ttl → www.reportinghub.no/examples/transform/npd/wellbore-npdid-overview-2011-07-30.ttl
www.reportinghub.no/spin/SPIN-RH-v1.0.spin.ttl
www.reportinghub.no/transform/TRANSFORM_SPREADSHEETS-to-NPD.ttl
www.reportinghub.no/examples/transform/wellbore-npdid-overview.ttl → www.reportinghub.no/transform/npd/wellbore-npdid-overview.ttl
www.reportinghub.no/examples/npdi.ttl
View file @
d91ac2b
This diff could not be displayed because it is too large.
www.reportinghub.no/examples/transform/wellbore-npdid-overview-2011-07-30.csv
→
www.reportinghub.no/examples/transform/
npd/
wellbore-npdid-overview-2011-07-30.csv
View file @
d91ac2b
File moved
www.reportinghub.no/examples/transform/wellbore-npdid-overview-2011-07-30.ttl
→
www.reportinghub.no/examples/transform/
npd/
wellbore-npdid-overview-2011-07-30.ttl
View file @
d91ac2b
File moved
www.reportinghub.no/spin/SPIN-RH-v1.0.spin.ttl
View file @
d91ac2b
...
...
@@ -127,7 +127,7 @@ rhspin:wellByName
spl:
predicate
<http://spinrdf.org/arg#wellName>
;
spl:
valueType
xsd:
string
]
;
spin:
returnType
<http://www.reportinghub.no/schema/npd#Well
Bore
>
.
spin:
returnType
<http://www.reportinghub.no/schema/npd#Well>
.
_:
b2
sp:
varName
"wellBore"
^^
xsd:
string
.
...
...
www.reportinghub.no/transform/TRANSFORM_SPREADSHEETS-to-NPD.ttl
View file @
d91ac2b
...
...
@@ -2,13 +2,14 @@
# imports: http://topbraid.org/spin/spinmapl
# imports: file:///www.reportinghub.no/transform/wellbore-npdid-overview-2011-07-30
# imports: file:///www.reportinghub.no/transform/wellbore-npdid-overview
# imports: http://www.reportinghub.no/1.1/schema/npd
# imports: http://spinrdf.org/spin
# imports: http://www.reportinghub.no/1.1/schema/npd
# imports: http://www.reportinghub.no/spin/rh
@prefix
:
<http://www.reportinghub.no/transform/spreadsheets2npd#>
.
@prefix
arg:
<http://spinrdf.org/arg#>
.
@prefix
npdi:
<https://www.reportinghub.no/data/npd/>
.
@prefix
npdi1:
<http://www.reportinghub.no/examples/npdi#>
.
@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#>
.
...
...
@@ -21,32 +22,29 @@
<file:///www.reportinghub.no/transform/wellbore-npdid-overview#WBID>
spinmap:
rule
[
rdf:
type
spinmap:
Mapping-
1
-1
;
[
rdf:
type
spinmap:
Mapping-
0
-1
;
spinmap:
context
:
WBID-WellBore
;
spinmap:
expression
[
rdf:
type
rhspin:
wellByName
;
arg:
wellName
spin:
_arg1
]
;
spinmap:
sourcePredicate1
<file:///www.reportinghub.no/transform/wellbore-npdid-overview#wlbWell>
;
spinmap:
expression
<http://www.reportinghub.no/schema/npd#WellBore>
;
spinmap:
targetPredicate1
<http://www.reportinghub.no/schema/npd#partOfWell>
rdf:
type
]
;
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/wellbore-npdid-overview#wlb
Well
>
;
<file:///www.reportinghub.no/transform/wellbore-npdid-overview#wlb
NpdidWellbore
>
;
spinmap:
targetPredicate1
<http://www.reportinghub.no/schema/npd#
name
>
<http://www.reportinghub.no/schema/npd#
id
>
]
;
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
spin:
_arg1
;
spinmap:
sourcePredicate1
<file:///www.reportinghub.no/transform/wellbore-npdid-overview#wlbWellType>
;
spinmap:
targetPredicate1
rdf:
type
<http://www.reportinghub.no/schema/npd#wellBoreType>
]
;
spinmap:
rule
[
rdf:
type
spinmap:
Mapping-1-1
;
...
...
@@ -58,29 +56,32 @@
<http://www.reportinghub.no/schema/npd#name>
]
;
spinmap:
rule
[
rdf:
type
spinmap:
Mapping-1-1
;
spinmap:
context
:
WBID-WellBore
;
spinmap:
expression
spin:
_arg1
;
spinmap:
sourcePredicate1
<file:///www.reportinghub.no/transform/wellbore-npdid-overview#wlbWellType>
;
[
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#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/wellbore-npdid-overview#wlb
NpdidWellbore
>
;
<file:///www.reportinghub.no/transform/wellbore-npdid-overview#wlb
Well
>
;
spinmap:
targetPredicate1
<http://www.reportinghub.no/schema/npd#
id
>
<http://www.reportinghub.no/schema/npd#
name
>
]
;
spinmap:
rule
[
rdf:
type
spinmap:
Mapping-
0
-1
;
[
rdf:
type
spinmap:
Mapping-
1
-1
;
spinmap:
context
:
WBID-WellBore
;
spinmap:
expression
<http://www.reportinghub.no/schema/npd#WellBore>
;
spinmap:
expression
[
rdf:
type
rhspin:
wellByName
;
arg:
wellName
spin:
_arg1
]
;
spinmap:
sourcePredicate1
<file:///www.reportinghub.no/transform/wellbore-npdid-overview#wlbWell>
;
spinmap:
targetPredicate1
rdf:
type
<http://www.reportinghub.no/schema/npd#partOfWell>
]
.
arg:
well
...
...
@@ -95,7 +96,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
<
http://www.reportinghub.no/spin/rh>
,
<file:///www.reportinghub.no/transform/wellbore-npdid-overview>
,
<file:///www.reportinghub.no/transform/wellbore-npdid-overview-2011-07-30>
,
<http://spinrdf.org/spin>
,
<http://topbraid.org/spin/spinmapl>
,
<http://www.reportinghub.no/1.1/schema/npd
>
;
owl:
imports
<
file:///www.reportinghub.no/transform/wellbore-npdid-overview-2011-07-30>
,
<http://www.reportinghub.no/1.1/schema/npd>
,
<http://topbraid.org/spin/spinmapl>
,
<http://www.reportinghub.no/spin/rh>
,
<file:///www.reportinghub.no/transform/wellbore-npdid-overview>
,
<http://spinrdf.org/spin
>
;
owl:
versionInfo
"0.1.0"
^^
xsd:
string
.
:
WBID-Well
...
...
@@ -151,6 +152,6 @@ arg:wellName
])
]
.
_:
b1
sp:
varName
"wellBoreId"
^^
xsd:
string
.
_:
b2
sp:
varName
"wellName"
^^
xsd:
string
.
_:
b1
sp:
varName
"wellBoreId"
^^
xsd:
string
.
...
...
www.reportinghub.no/
examples/transform
/wellbore-npdid-overview.ttl
→
www.reportinghub.no/
transform/npd
/wellbore-npdid-overview.ttl
View file @
d91ac2b
File moved
Please
register
or
login
to post a comment