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-16 11:42:49 +0100
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
f6609fd698b2c5cf2edc278275296743796f12cc
f6609fd6
1 parent
30dfed63
Added surveyStation data to TemplateTest and completed mapping to EP
ontology.
Show whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
666 additions
and
139 deletions
www.reportinghub.no/ep/schema/1.0/SCHEMA_EP-ACTIVITY-v1.0.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-normalization-v1.1.1.ttl
www.reportinghub.no/ep/transform/TRANSFORM_ddr-normalization-v1.1.1.ttl.tbc
www.reportinghub.no/ep/transform/TRANSFORM_ddr-surveyStation-v1.1.1.ttl
www.reportinghub.no/ep/transform/TRANSFORM_ddr-surveyStation-v1.1.1.ttl.tbc
www.reportinghub.no/examples/xml/TemplateTest.xml
www.reportinghub.no/ep/schema/1.0/SCHEMA_EP-ACTIVITY-v1.0.ttl
View file @
f6609fd
# Saved by TopBraid on
Mon Aug 15 01:24:24 BST 2011
# Saved by TopBraid on
Tue Aug 16 11:17:28 BST 2011
# baseURI: http://www.reportinghub.no/ep/schema/1.0/activity
# imports: http://www.linkedmodel.org/1.2/schema/vaem
# imports: http://www.reportinghub.no/ep/schema/1.0/organization
# imports: http://www.reportinghub.no/ep/schema/1.0/well
# 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/equipment
# imports: http://www.linkedmodel.org/1.1/schema/ordered
...
...
@@ -15,7 +15,7 @@
<http://www.reportinghub.no/ep/schema/1.0/activity>
rdf:
type
owl:
Ontology
;
owl:
imports
<http://www.reportinghub.no/ep/schema/1.0/
organization>
,
<http://www.reportinghub.no/ep/schema/1.0/equipment>
,
<http://www.reportinghub.no/ep/schema/1.0/core>
,
<http://www.linkedmodel.org/1.2/schema/vaem>
,
<http://www.linkedmodel.org/1.1/schema/ordered>
,
<http://www.reportinghub.no/ep/schema/1.0/well>
;
owl:
imports
<http://www.reportinghub.no/ep/schema/1.0/
well>
,
<http://www.linkedmodel.org/1.1/schema/ordered>
,
<http://www.linkedmodel.org/1.2/schema/vaem>
,
<http://www.reportinghub.no/ep/schema/1.0/core>
,
<http://www.reportinghub.no/ep/schema/1.0/equipment>
,
<http://www.reportinghub.no/ep/schema/1.0/organization>
;
owl:
versionInfo
"0.1.0"
^^
xsd:
string
.
ep-activity:
Activity
...
...
@@ -24,33 +24,33 @@ ep-activity:Activity
rdfs:
subClassOf
<http://www.reportinghub.no/ep/schema/core#PhysicalThing>
;
rdfs:
subClassOf
[
rdf:
type
owl:
Restriction
;
owl:
maxCardinality
"1"
^^
xsd:
nonNegativeInteger
;
owl:
onProperty
ep-activity:
finishedAt
owl:
allValuesFrom
ep-activity:
Activity
;
owl:
onProperty
<http://www.linkedmodel.org/schema/ordered#during>
]
;
rdfs:
subClassOf
[
rdf:
type
owl:
Restriction
;
owl:
maxCardinality
"1"
^^
xsd:
nonNegativeInteger
;
owl:
onProperty
ep-activity:
startedAt
owl:
allValuesFrom
ep-activity:
Activity
;
owl:
onProperty
<http://www.linkedmodel.org/schema/ordered#overlaps>
]
;
rdfs:
subClassOf
[
rdf:
type
owl:
Restriction
;
owl:
allValuesFrom
ep-activity:
Activity
;
owl:
onProperty
<http://www.linkedmodel.org/schema/ordered#
after>
owl:
onProperty
<http://www.linkedmodel.org/schema/ordered#
before>
]
;
rdfs:
subClassOf
[
rdf:
type
owl:
Restriction
;
owl:
allValuesFrom
ep-activity:
Activity
;
owl:
onProperty
<http://www.linkedmodel.org/schema/ordered#
before>
owl:
onProperty
<http://www.linkedmodel.org/schema/ordered#
after>
]
;
rdfs:
subClassOf
[
rdf:
type
owl:
Restriction
;
owl:
allValuesFrom
ep-activity:
Activity
;
owl:
onProperty
<http://www.linkedmodel.org/schema/ordered#overlaps>
owl:
maxCardinality
"1"
^^
xsd:
nonNegativeInteger
;
owl:
onProperty
ep-activity:
startedAt
]
;
rdfs:
subClassOf
[
rdf:
type
owl:
Restriction
;
owl:
allValuesFrom
ep-activity:
Activity
;
owl:
onProperty
<http://www.linkedmodel.org/schema/ordered#during>
owl:
maxCardinality
"1"
^^
xsd:
nonNegativeInteger
;
owl:
onProperty
ep-activity:
finishedAt
]
.
ep-activity:
ActivitySuccessType
...
...
@@ -64,13 +64,13 @@ ep-activity:DailyDrillingActivity
rdfs:
subClassOf
ep-activity:
DrillingActivity
;
rdfs:
subClassOf
[
rdf:
type
owl:
Restriction
;
owl:
allValuesFrom
ep-activity:
Activity
;
owl:
onProperty
<http://www.
reportinghub.no/ep/schema/core#hasPart>
owl:
allValuesFrom
ep-activity:
DrillingActivity
;
owl:
onProperty
<http://www.
linkedmodel.org/schema/ordered#last>
]
;
rdfs:
subClassOf
[
rdf:
type
owl:
Restriction
;
owl:
allValuesFrom
ep-activity:
DrillingActivity
;
owl:
onProperty
<http://www.linkedmodel.org/schema/ordered#first>
owl:
allValuesFrom
<http://www.reportinghub.no/ep/schema/well#AllOrPartOfTheLifeOfAWellBore>
;
owl:
onProperty
ep-activity:
onWellBore
]
;
rdfs:
subClassOf
[
rdf:
type
owl:
Restriction
;
...
...
@@ -79,13 +79,13 @@ ep-activity:DailyDrillingActivity
]
;
rdfs:
subClassOf
[
rdf:
type
owl:
Restriction
;
owl:
allValuesFrom
<http://www.reportinghub.no/ep/schema/well#AllOrPartOfTheLifeOfAWellBore>
;
owl:
onProperty
ep-activity:
onWellBore
owl:
allValuesFrom
ep-activity:
DrillingActivity
;
owl:
onProperty
<http://www.linkedmodel.org/schema/ordered#first>
]
;
rdfs:
subClassOf
[
rdf:
type
owl:
Restriction
;
owl:
allValuesFrom
ep-activity:
DrillingActivity
;
owl:
onProperty
<http://www.
linkedmodel.org/schema/ordered#last>
owl:
allValuesFrom
ep-activity:
Activity
;
owl:
onProperty
<http://www.
reportinghub.no/ep/schema/core#hasPart>
]
.
ep-activity:
DailyProductionActivity
...
...
@@ -134,47 +134,47 @@ ep-activity:DrillingActivity
rdfs:
subClassOf
ep-activity:
Activity
.
ep-activity:
DrillingActivity-circulation_loss
rdf:
type
owl:
Class
,
ep-activity:
DrillingActivityOutcomeType
;
rdf:
type
ep-activity:
DrillingActivityOutcomeType
,
owl:
Class
;
rdfs:
label
"drilling activity circulation loss"
^^
xsd:
string
;
rdfs:
subClassOf
ep-activity:
DrillingActivity
.
ep-activity:
DrillingActivity-equipment_failure
rdf:
type
owl:
Class
,
ep-activity:
DrillingActivityOutcomeType
;
rdf:
type
ep-activity:
DrillingActivityOutcomeType
,
owl:
Class
;
rdfs:
label
"drilling activity equipment failure"
^^
xsd:
string
;
rdfs:
subClassOf
ep-activity:
DrillingActivity
.
ep-activity:
DrillingActivity-equipment_hang
rdf:
type
owl:
Class
,
ep-activity:
DrillingActivityOutcomeType
;
rdf:
type
ep-activity:
DrillingActivityOutcomeType
,
owl:
Class
;
rdfs:
label
"drilling activity equipment hang"
^^
xsd:
string
;
rdfs:
subClassOf
ep-activity:
DrillingActivity
.
ep-activity:
DrillingActivity-injury
rdf:
type
owl:
Class
,
ep-activity:
DrillingActivityOutcomeType
;
rdf:
type
ep-activity:
DrillingActivityOutcomeType
,
owl:
Class
;
rdfs:
label
"drilling activity injury"
^^
xsd:
string
;
rdfs:
subClassOf
ep-activity:
DrillingActivity
.
ep-activity:
DrillingActivity-kick
rdf:
type
owl:
Class
,
ep-activity:
DrillingActivityOutcomeType
;
rdf:
type
ep-activity:
DrillingActivityOutcomeType
,
owl:
Class
;
rdfs:
label
"drilling activity operation kick"
^^
xsd:
string
;
rdfs:
subClassOf
ep-activity:
DrillingActivity
.
ep-activity:
DrillingActivity-mud_loss
rdf:
type
owl:
Class
,
ep-activity:
DrillingActivityOutcomeType
;
rdf:
type
ep-activity:
DrillingActivityOutcomeType
,
owl:
Class
;
rdfs:
label
"drilling activity mud loss"
^^
xsd:
string
;
rdfs:
subClassOf
ep-activity:
DrillingActivity
.
ep-activity:
DrillingActivity-operation_failed
rdf:
type
owl:
Class
,
ep-activity:
DrillingActivityOutcomeType
;
rdf:
type
ep-activity:
DrillingActivityOutcomeType
,
owl:
Class
;
rdfs:
label
"drilling activity operation failed"
^^
xsd:
string
;
rdfs:
subClassOf
ep-activity:
DrillingActivity
.
ep-activity:
DrillingActivity-stuck_equipment
rdf:
type
owl:
Class
,
ep-activity:
DrillingActivityOutcomeType
;
rdf:
type
ep-activity:
DrillingActivityOutcomeType
,
owl:
Class
;
rdfs:
label
"drilling activity stuck equipment"
^^
xsd:
string
;
rdfs:
subClassOf
ep-activity:
DrillingActivity
.
ep-activity:
DrillingActivity-success
rdf:
type
owl:
Class
,
ep-activity:
DrillingActivityOutcomeType
;
rdf:
type
ep-activity:
DrillingActivityOutcomeType
,
owl:
Class
;
rdfs:
label
"drilling activity success"
^^
xsd:
string
;
rdfs:
subClassOf
ep-activity:
DrillingActivity
.
...
...
@@ -184,7 +184,7 @@ ep-activity:DrillingActivityOutcomeType
rdfs:
subClassOf
owl:
Class
.
ep-activity:
FailedActivity
rdf:
type
owl:
Class
,
ep-activity:
ActivitySuccessType
;
rdf:
type
ep-activity:
ActivitySuccessType
,
owl:
Class
;
rdfs:
label
"failed activity"
^^
xsd:
string
;
rdfs:
subClassOf
ep-activity:
Activity
;
owl:
disjointWith
ep-activity:
SuccessfulActivity
.
...
...
@@ -195,13 +195,13 @@ ep-activity:FluidActivity
rdfs:
subClassOf
ep-activity:
Activity
.
ep-activity:
FormationIntegrityTest
rdf:
type
owl:
Class
,
ep-activity:
PressureTestType
;
rdf:
type
ep-activity:
PressureTestType
,
owl:
Class
;
rdfs:
label
"formation integrity test"
^^
xsd:
string
;
rdfs:
subClassOf
ep-activity:
WellBorePressureTest
;
owl:
disjointWith
ep-activity:
LeakOffTest
.
ep-activity:
LeakOffTest
rdf:
type
owl:
Class
,
ep-activity:
PressureTestType
;
rdf:
type
ep-activity:
PressureTestType
,
owl:
Class
;
rdfs:
label
"leak-off test"
^^
xsd:
string
;
rdfs:
subClassOf
ep-activity:
WellBorePressureTest
;
owl:
disjointWith
ep-activity:
FormationIntegrityTest
.
...
...
@@ -237,7 +237,7 @@ ep-activity:OffshoreWellActivity
rdfs:
subClassOf
ep-activity:
OffshoreActivity
;
rdfs:
subClassOf
[
rdf:
type
owl:
Restriction
;
owl:
cardinality
"1"
^^
xsd:
nonNegativeInteger
;
owl:
allValuesFrom
<http://www.reportinghub.no/ep/schema/well#Well>
;
owl:
onProperty
ep-activity:
onWell
]
;
rdfs:
subClassOf
...
...
@@ -247,7 +247,7 @@ ep-activity:OffshoreWellActivity
]
;
rdfs:
subClassOf
[
rdf:
type
owl:
Restriction
;
owl:
allValuesFrom
<http://www.reportinghub.no/ep/schema/well#Well>
;
owl:
cardinality
"1"
^^
xsd:
nonNegativeInteger
;
owl:
onProperty
ep-activity:
onWell
]
.
...
...
@@ -262,7 +262,7 @@ ep-activity:ProductionActivity
rdfs:
subClassOf
ep-activity:
Activity
.
ep-activity:
SuccessfulActivity
rdf:
type
owl:
Class
,
ep-activity:
ActivitySuccessType
;
rdf:
type
ep-activity:
ActivitySuccessType
,
owl:
Class
;
rdfs:
label
"successful activity"
^^
xsd:
string
;
rdfs:
subClassOf
ep-activity:
Activity
;
owl:
disjointWith
ep-activity:
FailedActivity
.
...
...
@@ -287,6 +287,11 @@ ep-activity:WeeklyProductionActivity
owl:
onProperty
ep-activity:
hasSubActivity
]
.
ep-activity:
WellBoreDirectionalSurvey
rdf:
type
owl:
Class
;
rdfs:
label
"well bore directional survey"
^^
xsd:
string
;
rdfs:
subClassOf
ep-activity:
Activity
.
ep-activity:
WellBoreDrillingType
rdf:
type
rdfs:
Class
;
rdfs:
label
"well bore drilling type"
^^
xsd:
string
;
...
...
@@ -298,18 +303,18 @@ ep-activity:WellBorePressureTest
rdfs:
subClassOf
ep-activity:
Activity
.
ep-activity:
createdAt
rdf:
type
owl:
DatatypeProperty
,
owl:
FunctionalProperty
;
rdf:
type
owl:
FunctionalProperty
,
owl:
DatatypeProperty
;
rdfs:
label
"created at"
^^
xsd:
string
;
rdfs:
range
<http://www.linkedmodel.org/schema/vaem#dateUnion>
.
ep-activity:
drillingContractor
rdf:
type
owl:
FunctionalProperty
,
owl:
ObjectProperty
;
rdf:
type
owl:
ObjectProperty
,
owl:
FunctionalProperty
;
rdfs:
domain
ep-activity:
DrillingActivity
;
rdfs:
label
"drilling contractor"
^^
xsd:
string
;
rdfs:
range
<http://www.reportinghub.no/ep/schema/organization#Organization>
.
ep-activity:
drillingOperator
rdf:
type
owl:
FunctionalProperty
,
owl:
ObjectProperty
;
rdf:
type
owl:
ObjectProperty
,
owl:
FunctionalProperty
;
rdfs:
domain
ep-activity:
DrillingActivity
;
rdfs:
label
"drilling operator"
^^
xsd:
string
;
rdfs:
range
<http://www.reportinghub.no/ep/schema/organization#Organization>
.
...
...
@@ -332,7 +337,7 @@ ep-activity:onWell
rdfs:
label
"on well"
^^
xsd:
string
.
ep-activity:
onWellBore
rdf:
type
owl:
ObjectProperty
,
owl:
FunctionalProperty
;
rdf:
type
owl:
FunctionalProperty
,
owl:
ObjectProperty
;
rdfs:
label
"on WellBore"
^^
xsd:
string
.
ep-activity:
reportOn
...
...
@@ -345,7 +350,7 @@ ep-activity:startedAt
rdfs:
range
<http://www.linkedmodel.org/schema/vaem#dateUnion>
.
ep-activity:
wellBoreDrillingType
rdf:
type
owl:
ObjectProperty
,
owl:
FunctionalProperty
;
rdf:
type
owl:
FunctionalProperty
,
owl:
ObjectProperty
;
rdfs:
domain
ep-activity:
DrillingActivity
;
rdfs:
label
"has sub activity"
^^
xsd:
string
;
rdfs:
range
ep-activity:
WellBoreDrillingType
;
...
...
www.reportinghub.no/ep/spin/SPIN_EPIM-lib-v1.1.spin.ttl
View file @
f6609fd
# Saved by TopBraid on
Sun Aug 14 20:00:53
BST 2011
# Saved by TopBraid on
Tue Aug 16 11:34:45
BST 2011
# baseURI: http://www.reportinghub.no/ep/spin/1.1/lib
# imports: http://www.reportinghub.no/ep/schema/1.0/report
# imports: http://www.reportinghub.no/ep/schema/1.0/core
...
...
@@ -149,13 +149,36 @@ ep-spin-lib:buildRigURI
])
]
.
ep-spin-lib:
buildSurveyedPartOfAWellBoreURI
rdf:
type
spin:
Function
;
rdfs:
label
"build SurveyedPartOfWellBore URI"
^^
xsd:
string
;
rdfs:
subClassOf
ep-spin-lib:
Function
;
spin:
body
[
rdf:
type
sp:
Select
;
sp:
resultVariables
(
_:
b7
)
;
sp:
where
([
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
ep-spin-lib:
buildURI
;
sp:
arg1
"https://www.reportinghub.no/ep/data/WellBore-atDirectionalSurvey/"
;
sp:
arg2
[
rdf:
type
fn:
concat
;
sp:
arg1
spin:
_arg1
;
sp:
arg2
"$"
;
sp:
arg3
spin:
_arg2
;
sp:
arg4
"$"
;
sp:
arg5
spin:
_arg3
]
]
;
sp:
variable
_:
b7
])
]
.
ep-spin-lib:
buildTemporalPartOfARigURI
rdf:
type
spin:
Function
;
rdfs:
label
"build TemporalPartOfRig URI"
^^
xsd:
string
;
rdfs:
subClassOf
ep-spin-lib:
Function
;
spin:
body
[
rdf:
type
sp:
Select
;
sp:
resultVariables
(
_:
b
7
)
;
sp:
resultVariables
(
_:
b
8
)
;
sp:
where
([
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
ep-spin-lib:
buildURI
;
...
...
@@ -168,7 +191,7 @@ ep-spin-lib:buildTemporalPartOfARigURI
sp:
arg5
spin:
_arg3
]
]
;
sp:
variable
_:
b
7
sp:
variable
_:
b
8
])
]
.
...
...
@@ -178,7 +201,7 @@ ep-spin-lib:buildTemporalPartOfAWellBoreURI
rdfs:
subClassOf
ep-spin-lib:
Function
;
spin:
body
[
rdf:
type
sp:
Select
;
sp:
resultVariables
(
_:
b
8
)
;
sp:
resultVariables
(
_:
b
9
)
;
sp:
where
([
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
ep-spin-lib:
buildURI
;
...
...
@@ -191,7 +214,7 @@ ep-spin-lib:buildTemporalPartOfAWellBoreURI
sp:
arg5
spin:
_arg3
]
]
;
sp:
variable
_:
b
8
sp:
variable
_:
b
9
])
]
.
...
...
@@ -201,7 +224,7 @@ ep-spin-lib:buildURI
rdfs:
subClassOf
ep-spin-lib:
Function
;
spin:
body
[
rdf:
type
sp:
Select
;
sp:
resultVariables
(
_:
b
9
)
;
sp:
resultVariables
(
_:
b
10
)
;
sp:
where
([
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
sp:
iri
;
...
...
@@ -210,7 +233,7 @@ ep-spin-lib:buildURI
sp:
arg2
spin:
_arg2
]
]
;
sp:
variable
_:
b
9
sp:
variable
_:
b
10
])
]
;
spin:
constraint
...
...
@@ -224,13 +247,36 @@ ep-spin-lib:buildURI
spl:
valueType
xsd:
string
]
.
ep-spin-lib:
buildWellBoreDirectionalSurveyURI
rdf:
type
spin:
Function
;
rdfs:
label
"build WellBoreDirectionalSurvey URI"
^^
xsd:
string
;
rdfs:
subClassOf
ep-spin-lib:
Function
;
spin:
body
[
rdf:
type
sp:
Select
;
sp:
resultVariables
(
_:
b11
)
;
sp:
where
([
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
ep-spin-lib:
buildURI
;
sp:
arg1
"https://www.reportinghub.no/ep/data/WellBoreDirectionalSurvey/"
;
sp:
arg2
[
rdf:
type
fn:
concat
;
sp:
arg1
spin:
_arg1
;
sp:
arg2
"$"
;
sp:
arg3
spin:
_arg2
;
sp:
arg4
"$"
;
sp:
arg5
spin:
_arg3
]
]
;
sp:
variable
_:
b11
])
]
.
ep-spin-lib:
normalizeString
rdf:
type
spin:
Function
;
rdfs:
label
"normalize string"
^^
xsd:
string
;
rdfs:
subClassOf
ep-spin-lib:
Function
;
spin:
body
[
rdf:
type
sp:
Select
;
sp:
resultVariables
(
_:
b1
0
)
;
sp:
resultVariables
(
_:
b1
2
)
;
sp:
where
([
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
smf:
regex
;
...
...
@@ -238,67 +284,67 @@ ep-spin-lib:normalizeString
sp:
arg2
"\\((.*)\\)"
;
sp:
arg3
""
]
;
sp:
variable
_:
b1
1
sp:
variable
_:
b1
3
]
[
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
smf:
trim
;
sp:
arg1
_:
b1
1
sp:
arg1
_:
b1
3
]
;
sp:
variable
_:
b1
2
sp:
variable
_:
b1
4
]
[
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
smf:
encodeURL
;
sp:
arg1
_:
b1
2
sp:
arg1
_:
b1
4
]
;
sp:
variable
_:
b1
3
sp:
variable
_:
b1
5
]
[
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
smf:
regex
;
sp:
arg1
_:
b1
3
;
sp:
arg1
_:
b1
5
;
sp:
arg2
"%2F"
;
sp:
arg3
"_"
]
;
sp:
variable
_:
b1
4
sp:
variable
_:
b1
6
]
[
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
smf:
regex
;
sp:
arg1
_:
b1
4
;
sp:
arg1
_:
b1
6
;
sp:
arg2
"%[0-9A-F][0-9A-F]"
;
sp:
arg3
""
]
;
sp:
variable
_:
b1
5
sp:
variable
_:
b1
7
]
[
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
smf:
regex
;
sp:
arg1
_:
b1
5
;
sp:
arg1
_:
b1
7
;
sp:
arg2
"\\+"
;
sp:
arg3
"_"
]
;
sp:
variable
_:
b1
6
sp:
variable
_:
b1
8
]
[
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
smf:
regex
;
sp:
arg1
_:
b1
6
;
sp:
arg1
_:
b1
8
;
sp:
arg2
"_+"
;
sp:
arg3
"_"
]
;
sp:
variable
_:
b1
7
sp:
variable
_:
b1
9
]
[
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
smf:
regex
;
sp:
arg1
_:
b1
7
;
sp:
arg1
_:
b1
9
;
sp:
arg2
"\\*"
;
sp:
arg3
""
]
;
sp:
variable
_:
b
18
sp:
variable
_:
b
20
]
[
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
xsd:
string
;
sp:
arg1
[
rdf:
type
smf:
upperCase
;
sp:
arg1
_:
b
18
sp:
arg1
_:
b
20
]
]
;
sp:
variable
_:
b1
0
sp:
variable
_:
b1
2
])
]
;
spin:
constraint
...
...
@@ -313,7 +359,7 @@ ep-spin-lib:selectActivitySuccessType
rdfs:
subClassOf
ep-spin-lib:
Function
;
spin:
body
[
rdf:
type
sp:
Select
;
sp:
resultVariables
(
_:
b
19
)
;
sp:
resultVariables
(
_:
b
21
)
;
sp:
where
([
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
sp:
if
;
...
...
@@ -324,7 +370,7 @@ ep-spin-lib:selectActivitySuccessType
sp:
arg2
<http://www.reportinghub.no/ep/schema/activity#SuccessfulActivity>
;
sp:
arg3
<http://www.reportinghub.no/ep/schema/activity#FailedActivity>
]
;
sp:
variable
_:
b
19
sp:
variable
_:
b
21
])
]
.
...
...
@@ -334,7 +380,7 @@ ep-spin-lib:selectDailyDrillingReportType
rdfs:
subClassOf
ep-spin-lib:
Function
;
spin:
body
[
rdf:
type
sp:
Select
;
sp:
resultVariables
(
_:
b2
0
)
;
sp:
resultVariables
(
_:
b2
2
)
;
sp:
where
([
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
sp:
if
;
...
...
@@ -352,7 +398,7 @@ ep-spin-lib:selectDailyDrillingReportType
sp:
arg3
<http://www.reportinghub.no/ep/schema/report#FinalDailyDrillingReport>
]
]
;
sp:
variable
_:
b2
0
sp:
variable
_:
b2
2
])
]
.
...
...
@@ -362,7 +408,7 @@ ep-spin-lib:selectDrillingActivityOutcomeType
rdfs:
subClassOf
ep-spin-lib:
Function
;
spin:
body
[
rdf:
type
sp:
Select
;
sp:
resultVariables
(
_:
b2
1
)
;
sp:
resultVariables
(
_:
b2
3
)
;
sp:
where
([
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
sp:
if
;
...
...
@@ -429,7 +475,7 @@ ep-spin-lib:selectDrillingActivityOutcomeType
]
]
]
;
sp:
variable
_:
b2
1
sp:
variable
_:
b2
3
])
]
.
...
...
@@ -439,7 +485,7 @@ ep-spin-lib:selectDrillingActivityPurposeType
rdfs:
subClassOf
ep-spin-lib:
Function
;
spin:
body
[
rdf:
type
sp:
Select
;
sp:
resultVariables
(
_:
b2
2
)
;
sp:
resultVariables
(
_:
b2
4
)
;
sp:
where
([
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
smf:
if
;
...
...
@@ -1023,7 +1069,7 @@ ep-spin-lib:selectDrillingActivityPurposeType
]
]
]
;
sp:
variable
_:
b2
2
sp:
variable
_:
b2
4
])
]
.
...
...
@@ -1033,7 +1079,7 @@ ep-spin-lib:selectFixedOrMoveableRigType
rdfs:
subClassOf
ep-spin-lib:
Function
;
spin:
body
[
rdf:
type
sp:
Select
;
sp:
resultVariables
(
_:
b2
3
)
;
sp:
resultVariables
(
_:
b2
5
)
;
sp:
where
([
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
sp:
if
;
...
...
@@ -1044,7 +1090,7 @@ ep-spin-lib:selectFixedOrMoveableRigType
sp:
arg2
<http://www.reportinghub.no/ep/schema/facility#FixedRig>
;
sp:
arg3
<http://www.reportinghub.no/ep/schema/facility#MoveableRig>
]
;
sp:
variable
_:
b2
3
sp:
variable
_:
b2
5
])
]
.
...
...
@@ -1054,7 +1100,7 @@ ep-spin-lib:selectLabelOfSystem
rdfs:
subClassOf
ep-spin-lib:
Function
;
spin:
body
[
rdf:
type
sp:
Select
;
sp:
resultVariables
(
_:
b2
4
)
;
sp:
resultVariables
(
_:
b2
6
)
;
sp:
where
([
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
sp:
if
;
...
...
@@ -1100,7 +1146,7 @@ ep-spin-lib:selectLabelOfSystem
]
]
]
;
sp:
variable
_:
b2
4
sp:
variable
_:
b2
6
])
]
.
...
...
@@ -1110,7 +1156,7 @@ ep-spin-lib:selectPressureTestType
rdfs:
subClassOf
ep-spin-lib:
Function
;
spin:
body
[
rdf:
type
sp:
Select
;
sp:
resultVariables
(
_:
b2
5
)
;
sp:
resultVariables
(
_:
b2
7
)
;
sp:
where
([
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
smf:
if
;
...
...
@@ -1127,7 +1173,7 @@ ep-spin-lib:selectPressureTestType
sp:
arg2
<http://www.reportinghub.no/ep/schema/1.0/activity#LeakOffTest>
]
]
;
sp:
variable
_:
b2
5
sp:
variable
_:
b2
7
])
]
.
...
...
@@ -1137,8 +1183,8 @@ ep-spin-lib:selectWellBoreDrillingType
rdfs:
subClassOf
ep-spin-lib:
Function
;
spin:
body
[
rdf:
type
sp:
Select
;
sp:
resultVariables
(
_:
b2
6
)
;
sp:
where
([
sp:
object
_:
b2
6
;
sp:
resultVariables
(
_:
b2
8
)
;
sp:
where
([
sp:
object
_:
b2
8
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/ddr#mapsTo>
;
sp:
subject
spin:
_arg1
])
...
...
@@ -1150,7 +1196,7 @@ ep-spin-lib:selectWellBoreHphtType
rdfs:
subClassOf
ep-spin-lib:
Function
;
spin:
body
[
rdf:
type
sp:
Select
;
sp:
resultVariables
(
_:
b2
7
)
;
sp:
resultVariables
(
_:
b2
9
)
;
sp:
where
([
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
sp:
if
;
...
...
@@ -1161,7 +1207,7 @@ ep-spin-lib:selectWellBoreHphtType
sp:
arg2
<http://www.reportinghub.no/ep/schema/well#HphtWellBore>
;
sp:
arg3
<http://www.reportinghub.no/ep/schema/well#NotHphtWellBore>
]
;
sp:
variable
_:
b2
7
sp:
variable
_:
b2
9
])
]
.
...
...
@@ -1171,7 +1217,7 @@ ep-spin-lib:selectWellBoreTightnessType
rdfs:
subClassOf
ep-spin-lib:
Function
;
spin:
body
[
rdf:
type
sp:
Select
;
sp:
resultVariables
(
_:
b
28
)
;
sp:
resultVariables
(
_:
b
30
)
;
sp:
where
([
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
sp:
if
;
...
...
@@ -1182,81 +1228,87 @@ ep-spin-lib:selectWellBoreTightnessType
sp:
arg2
<http://www.reportinghub.no/ep/schema/well#TightWellBore>
;
sp:
arg3
<http://www.reportinghub.no/ep/schema/well#LeakyWellBore>
]
;
sp:
variable
_:
b
28
sp:
variable
_:
b
30
])
]
.
_:
b28
sp:
varName
"wellBoreTightnessType"
^^
xsd:
string
.
_:
b1
sp:
varName
"uri"
^^
xsd:
string
.
_:
b27
sp:
varName
"wellBoreHphtType"
^^
xsd:
string
.
_:
b2
sp:
varName
"uri"
^^
xsd:
string
.
_:
b26
sp:
varName
"wellBoreDrillingType"
^^
xsd:
string
.
_:
b3
sp:
varName
"uri"
^^
xsd:
string
.
_:
b25
sp:
varName
"pressureTestType"
^^
xsd:
string
.
_:
b4
sp:
varName
"uri"
^^
xsd:
string
.
_:
b24
sp:
varName
"dailyDrillingReportType"
^^
xsd:
string
.
_:
b5
sp:
varName
"uri"
^^
xsd:
string
.
_:
b23
sp:
varName
"fixedOrMoveableRigType"
^^
xsd:
string
.
_:
b6
sp:
varName
"uri"
^^
xsd:
string
.
_:
b22
sp:
varName
"drillingActivityPurposeType"
^^
xsd:
string
.
_:
b7
sp:
varName
"uri"
^^
xsd:
string
.
_:
b21
sp:
varName
"drillingActivityOutcomeType"
^^
xsd:
string
.
_:
b8
sp:
varName
"uri"
^^
xsd:
string
.
_:
b20
sp:
varName
"dailyDrillingReportType"
^^
xsd:
string
.
_:
b9
sp:
varName
"uri"
^^
xsd:
string
.
_:
b1
9
sp:
varName
"
activitySuccessType
"
^^
xsd:
string
.
_:
b1
0
sp:
varName
"
uri
"
^^
xsd:
string
.
_:
b1
8
sp:
varName
"
t4
"
^^
xsd:
string
.
_:
b1
2
sp:
varName
"
normalizedStr
"
^^
xsd:
string
.
_:
b1
7
sp:
varName
"
t3
"
^^
xsd:
string
.
_:
b1
3
sp:
varName
"
s1
"
^^
xsd:
string
.
_:
b1
6
sp:
varName
"
t
2"
^^
xsd:
string
.
_:
b1
4
sp:
varName
"
s
2"
^^
xsd:
string
.
_:
b15
sp:
varName
"t
1
"
^^
xsd:
string
.
sp:
varName
"t
0a
"
^^
xsd:
string
.
_:
b1
4
_:
b1
6
sp:
varName
"t0b"
^^
xsd:
string
.
_:
b1
3
sp:
varName
"t
0a
"
^^
xsd:
string
.
_:
b1
7
sp:
varName
"t
1
"
^^
xsd:
string
.
_:
b1
2
sp:
varName
"
s
2"
^^
xsd:
string
.
_:
b1
8
sp:
varName
"
t
2"
^^
xsd:
string
.
_:
b1
1
sp:
varName
"
s1
"
^^
xsd:
string
.
_:
b1
9
sp:
varName
"
t3
"
^^
xsd:
string
.
_:
b
1
0
sp:
varName
"
normalizedStr
"
^^
xsd:
string
.
_:
b
2
0
sp:
varName
"
t4
"
^^
xsd:
string
.
_:
b9
sp:
varName
"uri"
^^
xsd:
string
.
_:
b21
sp:
varName
"activitySuccessType"
^^
xsd:
string
.
_:
b8
sp:
varName
"uri"
^^
xsd:
string
.
_:
b22
sp:
varName
"dailyDrillingReportType"
^^
xsd:
string
.
_:
b7
sp:
varName
"uri"
^^
xsd:
string
.
_:
b23
sp:
varName
"drillingActivityOutcomeType"
^^
xsd:
string
.
_:
b6
sp:
varName
"uri"
^^
xsd:
string
.
_:
b24
sp:
varName
"drillingActivityPurposeType"
^^
xsd:
string
.
_:
b5
sp:
varName
"uri"
^^
xsd:
string
.
_:
b25
sp:
varName
"fixedOrMoveableRigType"
^^
xsd:
string
.
_:
b3
sp:
varName
"uri"
^^
xsd:
string
.
_:
b26
sp:
varName
"dailyDrillingReportType"
^^
xsd:
string
.
_:
b2
sp:
varName
"uri"
^^
xsd:
string
.
_:
b27
sp:
varName
"pressureTestType"
^^
xsd:
string
.
_:
b1
sp:
varName
"uri"
^^
xsd:
string
.
_:
b28
sp:
varName
"wellBoreDrillingType"
^^
xsd:
string
.
_:
b4
sp:
varName
"uri"
^^
xsd:
string
.
_:
b29
sp:
varName
"wellBoreHphtType"
^^
xsd:
string
.
_:
b30
sp:
varName
"wellBoreTightnessType"
^^
xsd:
string
.
_:
b11
sp:
varName
"uri"
^^
xsd:
string
.
...
...
www.reportinghub.no/ep/spin/SPIN_EPIM-lib-v1.1.spin.ttl.tbc
View file @
f6609fd
# Saved by TopBraid on
Sun Aug 14 20:00:53
BST 2011
# Saved by TopBraid on
Tue Aug 16 11:34:45
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 @
f6609fd
# Saved by TopBraid on Tue Aug 16 11:26:15 BST 2011
# baseURI: http://www.reportinghub.no/ep/transform/1.1/normalization
# imports: http://www.reportinghub.no/ep/transform/1.1/ddr/activity
# imports: http://www.reportinghub.no/ep/transform/1.1/ddr/drillReport
# imports: http://www.reportinghub.no/ep/transform/1.1/ddr/statusInfo
# imports: http://www.reportinghub.no/ep/transform/1.1/wellAndWellBoreAlias
# imports: http://www.reportinghub.no/ep/transform/1.1/wellboreInfo
# imports: http://www.reportinghub.no/ep/transform/1.1/wellAndWellBoreAlias
# imports: http://www.reportinghub.no/swp/ddr
# imports: http://www.reportinghub.no/ep/transform/1.1/ddr/surveyStation
# imports: http://www.reportinghub.no/ep/transform/1.1/ddr/drillReport
# imports: http://www.reportinghub.no/ep/transform/1.1/ddr/statusInfo
@prefix
:
<http://www.reportinghub.no/ep/transform/1.1/normalization#>
.
@prefix
ddr1:
<http://www.reportinghub.no/swp/ddr#>
.
...
...
@@ -16,13 +18,14 @@
@prefix
sp:
<http://spinrdf.org/sp#>
.
@prefix
spin:
<http://spinrdf.org/spin#>
.
@prefix
spl:
<http://spinrdf.org/spl#>
.
@prefix
surveyStation:
<http://www.reportinghub.no/ep/transform/1.1/ddr/surveyStation#>
.
@prefix
wellAndWellBoreAlias:
<http://www.reportinghub.no/ep/transform/1.1/wellAndWellBoreAlias#>
.
@prefix
wellboreInfo:
<http://www.reportinghub.no/ep/transform/1.1/wellboreInfo#>
.
@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/
wellboreInfo>
,
<http://www.reportinghub.no/ep/transform/1.1/ddr/statusInfo>
,
<http://www.reportinghub.no/ep/transform/1.1/ddr/activity>
,
<http://www.reportinghub.no/ep/transform/1.1/ddr/drillReport>
,
<http://www.reportinghub.no/ep/transform/1.1/wellAndWellBoreAlias>
,
<http://www.reportinghub.no/swp/ddr>
;
owl:
imports
<http://www.reportinghub.no/ep/transform/1.1/
ddr/surveyStation>
,
<http://www.reportinghub.no/swp/ddr>
,
<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>
,
<http://www.reportinghub.no/ep/transform/1.1/wellboreInfo>
;
owl:
versionInfo
"Created with TopBraid Composer"
^^
xsd:
string
.
owl:
Thing
...
...
@@ -63,8 +66,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 @
f6609fd
# Saved by TopBraid on Tue Aug 16 11:26:15 BST 2011
# baseURI: null
@prefix
composite:
<http://www.topbraid.org/2007/05/composite.owl#>
.
...
...
www.reportinghub.no/ep/transform/TRANSFORM_ddr-surveyStation-v1.1.1.ttl
0 → 100644
View file @
f6609fd
# Saved by TopBraid on Tue Aug 16 11:03:54 BST 2011
# baseURI: http://www.reportinghub.no/ep/transform/1.1/ddr/surveyStation
# imports: http://www.reportinghub.no/ep/transform/1.1/ddr
# imports: http://spinrdf.org/spin
@prefix
:
<http://www.reportinghub.no/ep/transform/1.1/ddr/surveyStation#>
.
@prefix
ep-spin-lib:
<http://www.reportinghub.no/ep/spin/lib#>
.
@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
sp:
<http://spinrdf.org/sp#>
.
@prefix
spin:
<http://spinrdf.org/spin#>
.
@prefix
spl:
<http://spinrdf.org/spl#>
.
@prefix
xsd:
<http://www.w3.org/2001/XMLSchema#>
.
<http://www.reportinghub.no/ep/schema/ddr#Obj_drillReport>
spin:
rule
[
rdf:
type
sp:
Construct
;
rdfs:
comment
"STEP 185 Set azimuth of WellBoreDirectionalSurvey"
^^
xsd:
string
;
sp:
templates
([
sp:
object
_:
b1
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/ddr#azi>
;
sp:
subject
_:
b2
])
;
sp:
where
([
sp:
object
_:
b3
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/ddr#nameWellbore>
;
sp:
subject
spin:
_this
]
[
sp:
object
_:
b4
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/ddr#dTimStart>
;
sp:
subject
spin:
_this
]
[
sp:
object
_:
b5
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/ddr#surveyStation>
;
sp:
subject
spin:
_this
]
[
sp:
object
_:
b6
;
sp:
predicate
<http://www.topbraid.org/2007/05/composite.owl#index>
;
sp:
subject
_:
b5
]
[
sp:
object
_:
b1
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/ddr#azi>
;
sp:
subject
_:
b5
]
[
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
ep-spin-lib:
normalizeString
;
sp:
arg1
_:
b3
]
;
sp:
variable
_:
b7
]
[
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
ep-spin-lib:
buildSurveyedPartOfAWellBoreURI
;
sp:
arg1
_:
b7
;
sp:
arg2
_:
b4
;
sp:
arg3
_:
b6
]
;
sp:
variable
_:
b2
])
]
;
spin:
rule
[
rdf:
type
sp:
Construct
;
rdfs:
comment
"STEP 184 Set inclination of WellBoreDirectionalSurvey"
^^
xsd:
string
;
sp:
templates
([
sp:
object
_:
b8
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/ddr#incl>
;
sp:
subject
_:
b9
])
;
sp:
where
([
sp:
object
_:
b10
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/ddr#nameWellbore>
;
sp:
subject
spin:
_this
]
[
sp:
object
_:
b11
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/ddr#dTimStart>
;
sp:
subject
spin:
_this
]
[
sp:
object
_:
b12
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/ddr#surveyStation>
;
sp:
subject
spin:
_this
]
[
sp:
object
_:
b13
;
sp:
predicate
<http://www.topbraid.org/2007/05/composite.owl#index>
;
sp:
subject
_:
b12
]
[
sp:
object
_:
b8
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/ddr#incl>
;
sp:
subject
_:
b12
]
[
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
ep-spin-lib:
normalizeString
;
sp:
arg1
_:
b10
]
;
sp:
variable
_:
b14
]
[
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
ep-spin-lib:
buildSurveyedPartOfAWellBoreURI
;
sp:
arg1
_:
b14
;
sp:
arg2
_:
b11
;
sp:
arg3
_:
b13
]
;
sp:
variable
_:
b9
])
]
;
spin:
rule
[
rdf:
type
sp:
Construct
;
rdfs:
comment
"STEP 183 Set tvd of WellBoreDirectionalSurvey"
^^
xsd:
string
;
sp:
templates
([
sp:
object
_:
b15
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/ddr#tvd>
;
sp:
subject
_:
b16
])
;
sp:
where
([
sp:
object
_:
b17
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/ddr#nameWellbore>
;
sp:
subject
spin:
_this
]
[
sp:
object
_:
b18
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/ddr#dTimStart>
;
sp:
subject
spin:
_this
]
[
sp:
object
_:
b19
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/ddr#surveyStation>
;
sp:
subject
spin:
_this
]
[
sp:
object
_:
b20
;
sp:
predicate
<http://www.topbraid.org/2007/05/composite.owl#index>
;
sp:
subject
_:
b19
]
[
sp:
object
_:
b15
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/ddr#tvd>
;
sp:
subject
_:
b19
]
[
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
ep-spin-lib:
normalizeString
;
sp:
arg1
_:
b17
]
;
sp:
variable
_:
b21
]
[
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
ep-spin-lib:
buildSurveyedPartOfAWellBoreURI
;
sp:
arg1
_:
b21
;
sp:
arg2
_:
b18
;
sp:
arg3
_:
b20
]
;
sp:
variable
_:
b16
])
]
;
spin:
rule
[
rdf:
type
sp:
Construct
;
rdfs:
comment
"STEP 182 Set md of WellBoreDirectionalSurvey"
^^
xsd:
string
;
sp:
templates
([
sp:
object
_:
b22
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/ddr#md>
;
sp:
subject
_:
b23
])
;
sp:
where
([
sp:
object
_:
b24
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/ddr#nameWellbore>
;
sp:
subject
spin:
_this
]
[
sp:
object
_:
b25
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/ddr#dTimStart>
;
sp:
subject
spin:
_this
]
[
sp:
object
_:
b26
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/ddr#surveyStation>
;
sp:
subject
spin:
_this
]
[
sp:
object
_:
b27
;
sp:
predicate
<http://www.topbraid.org/2007/05/composite.owl#index>
;
sp:
subject
_:
b26
]
[
sp:
object
_:
b22
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/ddr#md>
;
sp:
subject
_:
b26
]
[
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
ep-spin-lib:
normalizeString
;
sp:
arg1
_:
b24
]
;
sp:
variable
_:
b28
]
[
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
ep-spin-lib:
buildSurveyedPartOfAWellBoreURI
;
sp:
arg1
_:
b28
;
sp:
arg2
_:
b25
;
sp:
arg3
_:
b27
]
;
sp:
variable
_:
b23
])
]
;
spin:
rule
[
rdf:
type
sp:
Construct
;
rdfs:
comment
"STEP 181 Set time of WellBoreDirectionalSurvey"
^^
xsd:
string
;
sp:
templates
([
sp:
object
_:
b29
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/ddr#dTim>
;
sp:
subject
_:
b30
])
;
sp:
where
([
sp:
object
_:
b31
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/ddr#nameWellbore>
;
sp:
subject
spin:
_this
]
[
sp:
object
_:
b32
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/ddr#dTimStart>
;
sp:
subject
spin:
_this
]
[
sp:
object
_:
b33
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/ddr#surveyStation>
;
sp:
subject
spin:
_this
]
[
sp:
object
_:
b34
;
sp:
predicate
<http://www.topbraid.org/2007/05/composite.owl#index>
;
sp:
subject
_:
b33
]
[
sp:
object
_:
b29
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/ddr#dTim>
;
sp:
subject
_:
b33
]
[
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
ep-spin-lib:
normalizeString
;
sp:
arg1
_:
b31
]
;
sp:
variable
_:
b35
]
[
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
ep-spin-lib:
buildWellBoreDirectionalSurveyURI
;
sp:
arg1
_:
b35
;
sp:
arg2
_:
b32
;
sp:
arg3
_:
b34
]
;
sp:
variable
_:
b30
])
]
;
spin:
rule
[
rdf:
type
sp:
Construct
;
rdfs:
comment
"STEP 180 Create a WellBoreDirectionalSurvey activity"
^^
xsd:
string
;
sp:
templates
([
sp:
object
<http://www.reportinghub.no/ep/schema/activity#WellBoreDirectionalSurvey>
;
sp:
predicate
rdf:
type
;
sp:
subject
_:
b36
]
[
sp:
object
_:
b36
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/core#hasPart>
;
sp:
subject
_:
b37
]
[
sp:
object
<http://www.reportinghub.no/ep/schema/well#TemporalPartOfAWellBore>
;
sp:
predicate
rdf:
type
;
sp:
subject
_:
b38
]
[
sp:
object
_:
b39
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/core#partOf>
;
sp:
subject
_:
b38
]
[
sp:
object
_:
b38
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/activity#onWellBore>
;
sp:
subject
_:
b36
])
;
sp:
where
([
sp:
object
_:
b40
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/ddr#nameWellbore>
;
sp:
subject
spin:
_this
]
[
sp:
object
_:
b41
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/ddr#dTimStart>
;
sp:
subject
spin:
_this
]
[
sp:
object
_:
b42
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/ddr#surveyStation>
;
sp:
subject
spin:
_this
]
[
sp:
object
_:
b43
;
sp:
predicate
<http://www.topbraid.org/2007/05/composite.owl#index>
;
sp:
subject
_:
b42
]
[
sp:
object
_:
b39
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/activity#onWellBore>
;
sp:
subject
_:
b37
]
[
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
ep-spin-lib:
normalizeString
;
sp:
arg1
_:
b40
]
;
sp:
variable
_:
b44
]
[
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
ep-spin-lib:
buildDailyDrillingActivityURI
;
sp:
arg1
_:
b44
;
sp:
arg2
_:
b41
]
;
sp:
variable
_:
b37
]
[
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
ep-spin-lib:
buildWellBoreDirectionalSurveyURI
;
sp:
arg1
_:
b44
;
sp:
arg2
_:
b41
;
sp:
arg3
_:
b43
]
;
sp:
variable
_:
b36
]
[
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
ep-spin-lib:
buildSurveyedPartOfAWellBoreURI
;
sp:
arg1
_:
b44
;
sp:
arg2
_:
b41
;
sp:
arg3
_:
b43
]
;
sp:
variable
_:
b38
])
]
.
<http://www.reportinghub.no/ep/transform/1.1/ddr/surveyStation>
rdf:
type
owl:
Ontology
;
owl:
imports
<http://spinrdf.org/spin>
,
<http://www.reportinghub.no/ep/transform/1.1/ddr>
;
owl:
versionInfo
"Created with TopBraid Composer"
^^
xsd:
string
.
_:
b7
sp:
varName
"normalizedWellBoreName"
^^
xsd:
string
.
_:
b6
sp:
varName
"index"
^^
xsd:
string
.
_:
b5
sp:
varName
"surveyStation"
^^
xsd:
string
.
_:
b4
sp:
varName
"dTimStart"
^^
xsd:
string
.
_:
b3
sp:
varName
"nameWellBore"
^^
xsd:
string
.
_:
b2
sp:
varName
"surveyedPartOfAWellBore"
^^
xsd:
string
.
_:
b1
sp:
varName
"azi"
^^
xsd:
string
.
_:
b14
sp:
varName
"normalizedWellBoreName"
^^
xsd:
string
.
_:
b13
sp:
varName
"index"
^^
xsd:
string
.
_:
b12
sp:
varName
"surveyStation"
^^
xsd:
string
.
_:
b11
sp:
varName
"dTimStart"
^^
xsd:
string
.
_:
b10
sp:
varName
"nameWellBore"
^^
xsd:
string
.
_:
b9
sp:
varName
"surveyedPartOfAWellBore"
^^
xsd:
string
.
_:
b8
sp:
varName
"incl"
^^
xsd:
string
.
_:
b21
sp:
varName
"normalizedWellBoreName"
^^
xsd:
string
.
_:
b20
sp:
varName
"index"
^^
xsd:
string
.
_:
b19
sp:
varName
"surveyStation"
^^
xsd:
string
.
_:
b18
sp:
varName
"dTimStart"
^^
xsd:
string
.
_:
b17
sp:
varName
"nameWellBore"
^^
xsd:
string
.
_:
b16
sp:
varName
"surveyedPartOfAWellBore"
^^
xsd:
string
.
_:
b15
sp:
varName
"tvdOfSurvey"
^^
xsd:
string
.
_:
b28
sp:
varName
"normalizedWellBoreName"
^^
xsd:
string
.
_:
b27
sp:
varName
"index"
^^
xsd:
string
.
_:
b26
sp:
varName
"surveyStation"
^^
xsd:
string
.
_:
b25
sp:
varName
"dTimStart"
^^
xsd:
string
.
_:
b24
sp:
varName
"nameWellBore"
^^
xsd:
string
.
_:
b23
sp:
varName
"surveyedPartOfAWellBore"
^^
xsd:
string
.
_:
b22
sp:
varName
"mdOfSurvey"
^^
xsd:
string
.
_:
b35
sp:
varName
"normalizedWellBoreName"
^^
xsd:
string
.
_:
b34
sp:
varName
"index"
^^
xsd:
string
.
_:
b33
sp:
varName
"surveyStation"
^^
xsd:
string
.
_:
b32
sp:
varName
"dTimStart"
^^
xsd:
string
.
_:
b31
sp:
varName
"nameWellBore"
^^
xsd:
string
.
_:
b30
sp:
varName
"wellBoreDirectionalSurvey"
^^
xsd:
string
.
_:
b29
sp:
varName
"timeOfSurvey"
^^
xsd:
string
.
_:
b44
sp:
varName
"normalizedWellBoreName"
^^
xsd:
string
.
_:
b43
sp:
varName
"index"
^^
xsd:
string
.
_:
b42
sp:
varName
"surveyStation"
^^
xsd:
string
.
_:
b41
sp:
varName
"dTimStart"
^^
xsd:
string
.
_:
b40
sp:
varName
"nameWellBore"
^^
xsd:
string
.
_:
b39
sp:
varName
"dailyTemporalPartOfAWellBore"
^^
xsd:
string
.
_:
b38
sp:
varName
"surveyedPartOfAWellBore"
^^
xsd:
string
.
_:
b37
sp:
varName
"dailyDrillingActivity"
^^
xsd:
string
.
_:
b36
sp:
varName
"wellBoreDirectionalSurvey"
^^
xsd:
string
.
www.reportinghub.no/ep/transform/TRANSFORM_ddr-surveyStation-v1.1.1.ttl.tbc
0 → 100644
View file @
f6609fd
# Saved by TopBraid on Tue Aug 16 11:03:54 BST 2011
# baseURI: null
@prefix
composite:
<http://www.topbraid.org/2007/05/composite.owl#>
.
@prefix
forms:
<http://www.topbraid.org/2007/01/forms.owl#>
.
@prefix
inference:
<http://www.topbraid.org/2007/06/inference.owl#>
.
@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
visual:
<http://topbraid.org/visual#>
.
@prefix
xsd:
<http://www.w3.org/2001/XMLSchema#>
.
[]
rdf:
type
inference:
Configuration
;
composite:
child
[
rdf:
type
<http://spinrdf.org/spin#TopSPIN>
;
composite:
index
"0"
^^
xsd:
int
]
.
www.reportinghub.no/examples/xml/TemplateTest.xml
View file @
f6609fd
...
...
@@ -55,6 +55,55 @@
<witsml:avgTempBH
uom=
"degC"
>
20
</witsml:avgTempBH>
<witsml:fixedRig>
true
</witsml:fixedRig>
</witsml:statusInfo>
<witsml:surveyStation>
<witsml:dTim>
2010-01-25T00:00:00.000Z
</witsml:dTim>
<witsml:md
uom=
"m"
>
3569
</witsml:md>
<witsml:tvd
uom=
"m"
>
1822.47
</witsml:tvd>
<witsml:incl
uom=
"dega"
>
80.3
</witsml:incl>
<witsml:azi
uom=
"dega"
>
44.62
</witsml:azi>
</witsml:surveyStation>
<witsml:surveyStation>
<witsml:dTim>
2010-01-25T00:00:00.000Z
</witsml:dTim>
<witsml:md
uom=
"m"
>
3602.4
</witsml:md>
<witsml:tvd
uom=
"m"
>
1826.76
</witsml:tvd>
<witsml:incl
uom=
"dega"
>
84.93
</witsml:incl>
<witsml:azi
uom=
"dega"
>
44.97
</witsml:azi>
</witsml:surveyStation>
<witsml:surveyStation>
<witsml:dTim>
2010-01-25T00:00:00.000Z
</witsml:dTim>
<witsml:md
uom=
"m"
>
3628.9
</witsml:md>
<witsml:tvd
uom=
"m"
>
1828.39
</witsml:tvd>
<witsml:incl
uom=
"dega"
>
88.05
</witsml:incl>
<witsml:azi
uom=
"dega"
>
45.24
</witsml:azi>
</witsml:surveyStation>
<witsml:surveyStation>
<witsml:dTim>
2010-01-25T00:00:00.000Z
</witsml:dTim>
<witsml:md
uom=
"m"
>
3655.8
</witsml:md>
<witsml:tvd
uom=
"m"
>
1828.8
</witsml:tvd>
<witsml:incl
uom=
"dega"
>
90.17
</witsml:incl>
<witsml:azi
uom=
"dega"
>
46.92
</witsml:azi>
</witsml:surveyStation>
<witsml:surveyStation>
<witsml:dTim>
2010-01-25T00:00:00.000Z
</witsml:dTim>
<witsml:md
uom=
"m"
>
3680.8
</witsml:md>
<witsml:tvd
uom=
"m"
>
1828.54
</witsml:tvd>
<witsml:incl
uom=
"dega"
>
91.02
</witsml:incl>
<witsml:azi
uom=
"dega"
>
43.49
</witsml:azi>
</witsml:surveyStation>
<witsml:surveyStation>
<witsml:dTim>
2010-01-25T00:00:00.000Z
</witsml:dTim>
<witsml:md
uom=
"m"
>
3709
</witsml:md>
<witsml:tvd
uom=
"m"
>
1827.81
</witsml:tvd>
<witsml:incl
uom=
"dega"
>
91.98
</witsml:incl>
<witsml:azi
uom=
"dega"
>
43.83
</witsml:azi>
</witsml:surveyStation>
<witsml:surveyStation>
<witsml:dTim>
2010-01-25T00:00:00.000Z
</witsml:dTim>
<witsml:md
uom=
"m"
>
3736.2
</witsml:md>
<witsml:tvd
uom=
"m"
>
1827.44
</witsml:tvd>
<witsml:incl
uom=
"dega"
>
89.57
</witsml:incl>
<witsml:azi
uom=
"dega"
>
43.7
</witsml:azi>
</witsml:surveyStation>
<witsml:activity>
<witsml:dTimStart>
2011-04-05T06:00:00.001Z
</witsml:dTimStart>
<witsml:dTimEnd>
2011-04-05T06:15:00.001Z
</witsml:dTimEnd>
...
...
@@ -203,5 +252,6 @@ Sand Zones:
<witsml:dTimRepair>
2009-12-30T11:30:00.000Z
</witsml:dTimRepair>
<witsml:description>
Feilfunksjon på URA. Det er avvik mellom posisjon kloa på URA har og det DrillView viser.
</witsml:description>
</witsml:equipFailureInfo>
</witsml:drillReport>
</witsml:drillReport>
</witsml:drillReports>
\ No newline at end of file
...
...
Please
register
or
login
to post a comment