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
David Leal
2011-08-10 11:36:45 +0100
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
27b8a239361f6524d4319ebac349bf9f40be4066
27b8a239
1 parent
c410c921
Mapping of Well and WellBore aliases added
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
144 additions
and
49 deletions
www.reportinghub.no/ep/schema/1.0/SCHEMA_EP-CORE-v1.0.ttl
www.reportinghub.no/ep/schema/1.1/SCHEMA_EP-ACTIVITY-(v1.1.DL).ttl
www.reportinghub.no/ep/spin/SPIN_EPIM-lib-v1.1.spin.ttl
www.reportinghub.no/ep/spin/SPIN_EPIM-lib-v1.1.spin.ttl.tbc
www.reportinghub.no/ep/transform/TRANSFORM_ddr-drillReport-v1.1.1.ttl
www.reportinghub.no/ep/transform/TRANSFORM_ddr-drillReport-v1.1.1.ttl.tbc
www.reportinghub.no/ep/transform/TRANSFORM_ddr-normalization-v1.1.1.ttl
www.reportinghub.no/ep/transform/TRANSFORM_ddr-normalization-v1.1.1.ttl.tbc
www.reportinghub.no/ep/schema/1.0/SCHEMA_EP-CORE-v1.0.ttl
View file @
27b8a23
# Saved by TopBraid on Wed Aug 10 10:37:51 BST 2011
# baseURI: http://www.reportinghub.no/ep/schema/1.0/core
# imports: http://www.linkedmodel.org/1.2/schema/vaem
...
...
@@ -23,14 +24,26 @@ ep-core:PhysicalThing
rdfs:
label
"physical thing"
^^
xsd:
string
;
rdfs:
subClassOf
owl:
Thing
.
ep-core:
apiName
rdf:
type
owl:
DatatypeProperty
,
owl:
FunctionalProperty
;
rdfs:
label
"API name"
^^
xsd:
string
;
rdfs:
range
xsd:
string
;
rdfs:
subPropertyOf
ep-core:
name
.
ep-core:
basisFor
rdf:
type
owl:
ObjectProperty
;
rdfs:
label
"basis for"
^^
xsd:
string
.
ep-core:
derivedFrom
rdf:
type
owl:
TransitiveProperty
,
owl:
ObjectProperty
;
rdf:
type
owl:
ObjectProperty
,
owl:
TransitiveProperty
;
rdfs:
label
"derived from"
^^
xsd:
string
.
ep-core:
dtiName
rdf:
type
owl:
FunctionalProperty
,
owl:
DatatypeProperty
;
rdfs:
label
"DTI name"
^^
xsd:
string
;
rdfs:
range
xsd:
string
;
rdfs:
subPropertyOf
ep-core:
name
.
ep-core:
hasPart
rdf:
type
owl:
TransitiveProperty
;
rdfs:
domain
ep-core:
PhysicalThing
;
...
...
@@ -46,11 +59,29 @@ ep-core:hasTemporalPart
rdfs:
subPropertyOf
ep-core:
hasPart
;
owl:
inverseOf
ep-core:
partOf
.
ep-core:
localFieldName
rdf:
type
owl:
DatatypeProperty
,
owl:
FunctionalProperty
;
rdfs:
label
"local field name"
^^
xsd:
string
;
rdfs:
range
xsd:
string
;
rdfs:
subPropertyOf
ep-core:
name
.
ep-core:
name
rdf:
type
owl:
DatatypeProperty
;
rdfs:
label
"name"
^^
xsd:
string
;
rdfs:
range
xsd:
string
.
ep-core:
npdCode
rdf:
type
owl:
DatatypeProperty
,
owl:
FunctionalProperty
;
rdfs:
label
"NPD code"
^^
xsd:
string
;
rdfs:
range
xsd:
string
;
rdfs:
subPropertyOf
ep-core:
name
.
ep-core:
npdNumber
rdf:
type
owl:
FunctionalProperty
,
owl:
DatatypeProperty
;
rdfs:
label
"NPD number"
^^
xsd:
string
;
rdfs:
range
xsd:
string
;
rdfs:
subPropertyOf
ep-core:
name
.
ep-core:
partOf
rdf:
type
owl:
TransitiveProperty
;
rdfs:
domain
ep-core:
PhysicalThing
;
...
...
@@ -58,6 +89,12 @@ ep-core:partOf
rdfs:
range
ep-core:
PhysicalThing
;
owl:
inverseOf
ep-core:
hasPart
.
ep-core:
prospectName
rdf:
type
owl:
DatatypeProperty
,
owl:
FunctionalProperty
;
rdfs:
label
"prospect name"
^^
xsd:
string
;
rdfs:
range
xsd:
string
;
rdfs:
subPropertyOf
ep-core:
name
.
ep-core:
temporalPartOf
rdf:
type
owl:
TransitiveProperty
;
rdfs:
domain
ep-core:
PhysicalThing
;
...
...
www.reportinghub.no/ep/schema/1.1/SCHEMA_EP-ACTIVITY-(v1.1.DL).ttl
0 → 100644
View file @
27b8a23
This diff is collapsed. Click to expand it.
www.reportinghub.no/ep/spin/SPIN_EPIM-lib-v1.1.spin.ttl
View file @
27b8a23
# Saved by TopBraid on Wed Aug 10 10:38:00 BST 2011
# baseURI: http://www.reportinghub.no/ep/spin/1.1/lib
# imports: http://spinrdf.org/spin
# imports: http://www.reportinghub.no/ep/schema/1.0/activity
# imports: http://www.reportinghub.no/ep/schema/1.0/activity-purpose
# imports: http://www.reportinghub.no/ep/schema/1.0/core
# imports: http://www.reportinghub.no/ep/schema/1.0/ddr
# imports: http://www.reportinghub.no/ep/schema/1.0/equipment
# imports: http://www.reportinghub.no/ep/schema/1.0/report
# imports: http://www.reportinghub.no/ep/schema/1.0/core
# imports: http://www.reportinghub.no/ep/schema/1.0/well
# imports: http://www.reportinghub.no/ep/schema/1.0/activity-purpose
# imports: http://www.reportinghub.no/ep/schema/1.0/equipment
# imports: http://www.reportinghub.no/ep/schema/1.0/activity
# imports: http://www.reportinghub.no/ep/schema/1.0/ddr
# imports: http://spinrdf.org/spin
# imports: http://www.reportinghub.no/spin/rh
@prefix
activity-purpose:
<http://www.reportinghub.no/ep/schema/1.0/activity-purpose#>
.
...
...
@@ -80,7 +81,7 @@ ep-spin-lib:buildDailyDrillingReportURI
sp:
where
([
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
ep-spin-lib:
buildURI
;
sp:
arg1
"https://www.reportinghub.no/ep/data/DailyDrillingReport
#"
;
sp:
arg1
"https://www.reportinghub.no/ep/data/DailyDrillingReport
/"
;
sp:
arg2
[
rdf:
type
fn:
concat
;
sp:
arg1
spin:
_arg1
;
sp:
arg2
"$"
;
...
...
@@ -871,13 +872,69 @@ ep-spin-lib:selectDrillingActivityPurposeType
])
]
.
ep-spin-lib:
selectLabelOfSystem
rdf:
type
spin:
Function
;
rdfs:
label
"select DailyDrillingReportType"
^^
xsd:
string
;
rdfs:
subClassOf
ep-spin-lib:
Function
;
spin:
body
[
rdf:
type
sp:
Select
;
sp:
resultVariables
(
_:
b18
)
;
sp:
where
([
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
sp:
if
;
sp:
arg1
[
rdf:
type
sp:
eq
;
sp:
arg1
spin:
_arg1
;
sp:
arg2
<http://www.reportinghub.no/ep/schema/ddr#WNS_API>
]
;
sp:
arg2
<http://www.reportinghub.no/ep/schema/core#apiName>
;
sp:
arg3
[
rdf:
type
sp:
if
;
sp:
arg1
[
rdf:
type
sp:
eq
;
sp:
arg1
spin:
_arg1
;
sp:
arg2
<http://www.reportinghub.no/ep/schema/ddr#WNS_DTI>
]
;
sp:
arg2
<http://www.reportinghub.no/ep/schema/core#dtiName>
;
sp:
arg3
[
rdf:
type
sp:
if
;
sp:
arg1
[
rdf:
type
sp:
eq
;
sp:
arg1
spin:
_arg1
;
sp:
arg2
<http://www.reportinghub.no/ep/schema/ddr#WNS_NPDcode>
]
;
sp:
arg2
<http://www.reportinghub.no/ep/schema/core#npdCode>
;
sp:
arg3
[
rdf:
type
sp:
if
;
sp:
arg1
[
rdf:
type
sp:
eq
;
sp:
arg1
spin:
_arg1
;
sp:
arg2
<http://www.reportinghub.no/ep/schema/ddr#WNS_NPDnumber>
]
;
sp:
arg2
<http://www.reportinghub.no/ep/schema/core#npdNumber>
;
sp:
arg3
[
rdf:
type
sp:
if
;
sp:
arg1
[
rdf:
type
sp:
eq
;
sp:
arg1
spin:
_arg1
;
sp:
arg2
<http://www.reportinghub.no/ep/schema/ddr#WNS_localfield>
]
;
sp:
arg2
<http://www.reportinghub.no/ep/schema/core#localFieldName>
;
sp:
arg3
[
rdf:
type
sp:
if
;
sp:
arg1
[
rdf:
type
sp:
eq
;
sp:
arg1
spin:
_arg1
;
sp:
arg2
<http://www.reportinghub.no/ep/schema/ddr#WNS_prospect>
]
;
sp:
arg2
<http://www.reportinghub.no/ep/schema/core#prospectName>
;
sp:
arg3
<http://www.reportinghub.no/ep/schema/core#name>
]
]
]
]
]
]
;
sp:
variable
_:
b18
])
]
.
ep-spin-lib:
selectPressureTestType
rdf:
type
spin:
Function
;
rdfs:
label
"select PressureTestType"
^^
xsd:
string
;
rdfs:
subClassOf
ep-spin-lib:
Function
;
spin:
body
[
rdf:
type
sp:
Select
;
sp:
resultVariables
(
_:
b1
8
)
;
sp:
resultVariables
(
_:
b1
9
)
;
sp:
where
([
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
smf:
if
;
...
...
@@ -894,7 +951,7 @@ ep-spin-lib:selectPressureTestType
sp:
arg2
<http://www.reportinghub.no/ep/schema/1.0/activity#LeakOffTest>
]
]
;
sp:
variable
_:
b1
8
sp:
variable
_:
b1
9
])
]
.
...
...
@@ -904,57 +961,60 @@ ep-spin-lib:selectWellBoreDrillingType
rdfs:
subClassOf
ep-spin-lib:
Function
;
spin:
body
[
rdf:
type
sp:
Select
;
sp:
resultVariables
(
_:
b
19
)
;
sp:
where
([
sp:
object
_:
b
19
;
sp:
resultVariables
(
_:
b
20
)
;
sp:
where
([
sp:
object
_:
b
20
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/ddr#mapsTo>
;
sp:
subject
spin:
_arg1
])
]
.
_:
b19
sp:
varName
"wellBoreDrillingType"
^^
xsd:
string
.
_:
b7
sp:
varName
"normalizedStr"
^^
xsd:
string
.
_:
b16
sp:
varName
"dailyDrillingReportType"
^^
xsd:
string
.
_:
b8
sp:
varName
"s1"
^^
xsd:
string
.
_:
b
6
sp:
varName
"uri"
^^
xsd:
string
.
_:
b
9
sp:
varName
"s2"
^^
xsd:
string
.
_:
b1
sp:
varName
"uri"
^^
xsd:
string
.
_:
b10
sp:
varName
"t0a"
^^
xsd:
string
.
_:
b1
8
sp:
varName
"
pressureTestType"
^^
xsd:
string
.
_:
b1
1
sp:
varName
"
t0b"
^^
xsd:
string
.
_:
b1
7
sp:
varName
"
drillingActivityPurposeType"
^^
xsd:
string
.
_:
b1
2
sp:
varName
"
t1"
^^
xsd:
string
.
_:
b1
5
sp:
varName
"t
4"
^^
xsd:
string
.
_:
b1
3
sp:
varName
"t
2"
^^
xsd:
string
.
_:
b14
sp:
varName
"t3"
^^
xsd:
string
.
_:
b1
3
sp:
varName
"t
2"
^^
xsd:
string
.
_:
b1
5
sp:
varName
"t
4"
^^
xsd:
string
.
_:
b1
2
sp:
varName
"
t1"
^^
xsd:
string
.
_:
b1
6
sp:
varName
"
dailyDrillingReportType"
^^
xsd:
string
.
_:
b1
1
sp:
varName
"
t0b"
^^
xsd:
string
.
_:
b1
7
sp:
varName
"
drillingActivityPurposeType"
^^
xsd:
string
.
_:
b1
0
sp:
varName
"
t0a"
^^
xsd:
string
.
_:
b1
9
sp:
varName
"
pressureTestType"
^^
xsd:
string
.
_:
b9
sp:
varName
"s2"
^^
xsd:
string
.
_:
b20
sp:
varName
"wellBoreDrillingType"
^^
xsd:
string
.
_:
b8
sp:
varName
"s1"
^^
xsd:
string
.
_:
b18
sp:
varName
"dailyDrillingReportType"
^^
xsd:
string
.
_:
b
7
sp:
varName
"normalizedStr"
^^
xsd:
string
.
_:
b
1
sp:
varName
"uri"
^^
xsd:
string
.
_:
b5
sp:
varName
"uri"
^^
xsd:
string
.
_:
b2
sp:
varName
"uri"
^^
xsd:
string
.
_:
b3
sp:
varName
"uri"
^^
xsd:
string
.
_:
b4
sp:
varName
"uri"
^^
xsd:
string
.
_:
b
3
sp:
varName
"uri"
^^
xsd:
string
.
_:
b
5
sp:
varName
"uri"
^^
xsd:
string
.
_:
b
2
sp:
varName
"uri"
^^
xsd:
string
.
_:
b
6
sp:
varName
"uri"
^^
xsd:
string
.
...
...
www.reportinghub.no/ep/spin/SPIN_EPIM-lib-v1.1.spin.ttl.tbc
View file @
27b8a23
# Saved by TopBraid on Wed Aug 10 10:38:00 BST 2011
# baseURI: null
@prefix
composite:
<http://www.topbraid.org/2007/05/composite.owl#>
.
...
...
www.reportinghub.no/ep/transform/TRANSFORM_ddr-drillReport-v1.1.1.ttl
View file @
27b8a23
This diff is collapsed. Click to expand it.
www.reportinghub.no/ep/transform/TRANSFORM_ddr-drillReport-v1.1.1.ttl.tbc
View file @
27b8a23
# Saved by TopBraid on Wed Aug 10 11:13:52 BST 2011
# baseURI: null
@prefix
composite:
<http://www.topbraid.org/2007/05/composite.owl#>
.
...
...
www.reportinghub.no/ep/transform/TRANSFORM_ddr-normalization-v1.1.1.ttl
View file @
27b8a23
# Saved by TopBraid on Wed Aug 10 11:35:30 BST 2011
# baseURI: http://www.reportinghub.no/ep/transform/1.1/normalization
# imports: http://spinrdf.org/spin
# imports: http://www.reportinghub.no/ep/schema/1.0/activity
# imports: http://www.reportinghub.no/ep/schema/1.0/activity-purpose
# imports: http://www.reportinghub.no/ep/schema/1.0/core
# imports: http://www.reportinghub.no/ep/schema/1.0/ddr
# imports: http://www.reportinghub.no/ep/schema/1.0/equipment
# imports: http://www.reportinghub.no/ep/schema/1.0/report
# imports: http://www.reportinghub.no/ep/schema/1.0/well
# imports: http://www.reportinghub.no/ep/transform/1.1/ddr/activity
# imports: http://www.reportinghub.no/ep/transform/1.1/wellAndWellBoreAlias
# imports: http://www.reportinghub.no/ep/transform/1.1/ddr/drillReport
# imports: http://www.reportinghub.no/ep/transform/1.1/ddr/statusInfo
...
...
@@ -20,11 +14,12 @@
@prefix
sp:
<http://spinrdf.org/sp#>
.
@prefix
spin:
<http://spinrdf.org/spin#>
.
@prefix
spl:
<http://spinrdf.org/spl#>
.
@prefix
wellAndWellBoreAlias:
<http://www.reportinghub.no/ep/transform/1.1/wellAndWellBoreAlias#>
.
@prefix
xsd:
<http://www.w3.org/2001/XMLSchema#>
.
<http://www.reportinghub.no/ep/transform/1.1/normalization>
rdf:
type
owl:
Ontology
;
owl:
imports
<http://www.reportinghub.no/ep/transform/1.1/
ddr/statusInfo>
,
<http://spinrdf.org/spin>
,
<http://www.reportinghub.no/ep/schema/1.0/report>
,
<http://www.reportinghub.no/ep/schema/1.0/core>
,
<http://www.reportinghub.no/ep/schema/1.0/equipment>
,
<http://www.reportinghub.no/ep/transform/1.1/ddr/activity>
,
<http://www.reportinghub.no/ep/schema/1.0/activity>
,
<http://www.reportinghub.no/ep/schema/1.0/well>
,
<http://www.reportinghub.no/ep/schema/1.0/activity-purpose>
,
<http://www.reportinghub.no/ep/transform/1.1/ddr/drillReport>
,
<http://www.reportinghub.no/ep/schema/1.0/ddr>
;
owl:
imports
<http://www.reportinghub.no/ep/transform/1.1/
wellAndWellBoreAlias>
,
<http://www.reportinghub.no/ep/transform/1.1/ddr/drillReport>
,
<http://www.reportinghub.no/ep/transform/1.1/ddr/activity>
,
<http://www.reportinghub.no/ep/transform/1.1/ddr/statusInfo>
;
owl:
versionInfo
"Created with TopBraid Composer"
^^
xsd:
string
.
owl:
Thing
...
...
@@ -65,8 +60,8 @@ owl:Thing
])
]
.
_:
b
3
sp:
varName
"newLabel"
^^
xsd:
string
.
_:
b
1
sp:
varName
"oldLabel"
^^
xsd:
string
.
_:
b2
sp:
varName
"p"
^^
xsd:
string
.
_:
b
1
sp:
varName
"oldLabel"
^^
xsd:
string
.
_:
b
3
sp:
varName
"newLabel"
^^
xsd:
string
.
...
...
www.reportinghub.no/ep/transform/TRANSFORM_ddr-normalization-v1.1.1.ttl.tbc
View file @
27b8a23
# Saved by TopBraid on Wed Aug 10 11:35:30 BST 2011
# baseURI: null
@prefix
composite:
<http://www.topbraid.org/2007/05/composite.owl#>
.
...
...
Please
register
or
login
to post a comment