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-10-28 17:34:17 +0100
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
da87cb2e36ed91bd00223c606179310a979e4516
da87cb2e
1 parent
11b4b148
Fix to SurveyStation
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
175 additions
and
209 deletions
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/ep/transform/TRANSFORM_ddr-surveyStation-v1.1.1.ttl
View file @
da87cb2
# Saved by TopBraid on Fri Oct 28 17:30:55 BST 2011
# baseURI: http://www.reportinghub.no/ep/transform/1.1/ddr/surveyStation
# imports: http://spinrdf.org/spin
# imports: http://www.reportinghub.no/ep/schema/1.0/activity
# 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/spin/1.1/lib
# imports: http://www.witsml.org/schemas/1series
# 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
# imports: http://spinrdf.org/spin
@prefix
:
<http://www.reportinghub.no/ep/transform/1.1/ddr/surveyStation#>
.
@prefix
afn:
<http://jena.hpl.hp.com/ARQ/function#>
.
@prefix
arg:
<http://spinrdf.org/arg#>
.
@prefix
ddr:
<http://www.witsml.org/schemas/1series#>
.
@prefix
ep-core:
<http://www.reportinghub.no/ep/schema/core#>
.
@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
rhspin:
<http://www.reportinghub.no/spin/rh#>
.
@prefix
sp:
<http://spinrdf.org/sp#>
.
@prefix
spin:
<http://spinrdf.org/spin#>
.
@prefix
spl:
<http://spinrdf.org/spl#>
.
...
...
@@ -21,7 +24,7 @@
<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/schema/1.0/activity>
,
<http://www.reportinghub.no/ep/schema/1.0/core>
,
<http://www.reportinghub.no/ep/schema/1.0/well>
,
<http://www.reportinghub.no/ep/spin/1.1/lib>
,
<http://www.witsml.org/schemas/1series>
;
owl:
imports
<http://
www.witsml.org/schemas/1series>
,
<http://www.reportinghub.no/ep/spin/1.1/lib>
,
<http://www.reportinghub.no/ep/schema/1.0/well>
,
<http://www.reportinghub.no/ep/schema/1.0/core>
,
<http://www.reportinghub.no/ep/schema/1.0/activity>
,
<http://spinrdf.org/spin>
;
owl:
versionInfo
"Created with TopBraid Composer"
^^
xsd:
string
.
ddr:
Obj_drillReport
...
...
@@ -30,289 +33,251 @@ ddr:Obj_drillReport
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
[
sp:
varName
"wellBoreDirectionalSurvey"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"wellBoreDirectionalSurvey"
^^
xsd:
string
]
;
sp:
subject
_:
b1
]
[
sp:
object
_:
b1
;
sp:
predicate
ep-core:
hasPart
;
sp:
subject
[
sp:
varName
"dailyDrillingActivity"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"dTim"
^^
xsd:
string
]
;
sp:
subject
_:
b2
]
[
sp:
object
_:
b3
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/activity#finishedAt>
;
sp:
subject
[
sp:
varName
"wellBoreDirectionalSurvey"
^^
xsd:
string
]
]
[
sp:
object
_:
b1
;
sp:
subject
_:
b1
]
[
sp:
object
_:
b4
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/activity#onWellBore>
;
sp:
subject
[
sp:
varName
"wellBoreDirectionalSurvey"
^^
xsd:
string
]
sp:
subject
_:
b1
]
[
sp:
object
ep-core:
PhysicalObject
;
sp:
predicate
rdf:
type
;
sp:
subject
_:
b4
]
[
sp:
object
_:
b5
;
sp:
predicate
ep-core:
temporalPartOf
;
sp:
subject
_:
b4
]
[
sp:
object
<http://www.reportinghub.no/ep/schema/well#PositionWithinWellBore>
;
sp:
predicate
rdf:
type
;
sp:
subject
_:
b1
]
[
sp:
object
[
sp:
varName
"dailyTemporalPartOfAWellBore"
^^
xsd:
string
]
;
sp:
predicate
ep-core:
partOf
;
sp:
subject
_:
b1
]
[
sp:
object
_:
b2
;
sp:
subject
_:
b5
]
[
sp:
object
_:
b6
;
sp:
predicate
ep-core:
spatialPartOf
;
sp:
subject
_:
b5
]
[
sp:
object
_:
b7
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/well#measuredDepth>
;
sp:
subject
_:
b
1
sp:
subject
_:
b
5
]
[
sp:
object
ep-core:
Length
;
sp:
predicate
rdf:
type
;
sp:
subject
_:
b2
]
[
sp:
object
[
sp:
varName
"realMd"
^^
xsd:
string
]
;
sp:
predicate
[
sp:
varName
"lengthScaleMd"
^^
xsd:
string
]
;
sp:
subject
_:
b2
]
[
sp:
object
_:
b3
;
sp:
subject
_:
b7
]
[
sp:
object
_:
b8
;
sp:
predicate
_:
b9
;
sp:
subject
_:
b7
]
[
sp:
object
_:
b10
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/well#trueVerticalDepth>
;
sp:
subject
_:
b
1
sp:
subject
_:
b
5
]
[
sp:
object
ep-core:
Length
;
sp:
predicate
rdf:
type
;
sp:
subject
_:
b3
]
[
sp:
object
[
sp:
varName
"realTvd"
^^
xsd:
string
]
;
sp:
predicate
[
sp:
varName
"lengthScaleTvd"
^^
xsd:
string
]
;
sp:
subject
_:
b3
]
[
sp:
object
_:
b4
;
sp:
subject
_:
b10
]
[
sp:
object
_:
b11
;
sp:
predicate
_:
b12
;
sp:
subject
_:
b10
]
[
sp:
object
_:
b13
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/well#inclination>
;
sp:
subject
_:
b
1
sp:
subject
_:
b
5
]
[
sp:
object
ep-core:
PlaneAngle
;
sp:
predicate
rdf:
type
;
sp:
subject
_:
b4
]
[
sp:
object
[
sp:
varName
"realIncl"
^^
xsd:
string
]
;
sp:
predicate
[
sp:
varName
"angleScaleIncl"
^^
xsd:
string
]
;
sp:
subject
_:
b4
]
[
sp:
object
_:
b5
;
sp:
subject
_:
b13
]
[
sp:
object
_:
b14
;
sp:
predicate
_:
b15
;
sp:
subject
_:
b13
]
[
sp:
object
_:
b16
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/well#azimuth>
;
sp:
subject
_:
b
1
sp:
subject
_:
b
5
]
[
sp:
object
ep-core:
PlaneAngle
;
sp:
predicate
rdf:
type
;
sp:
subject
_:
b5
]
[
sp:
object
[
sp:
varName
"realAzi"
^^
xsd:
string
]
;
sp:
predicate
[
sp:
varName
"angleScaleAzi"
^^
xsd:
string
]
;
sp:
subject
_:
b5
sp:
subject
_:
b16
]
[
sp:
object
_:
b17
;
sp:
predicate
_:
b18
;
sp:
subject
_:
b16
])
;
sp:
where
([
sp:
object
[
sp:
varName
"nameWellBore"
^^
xsd:
string
]
;
sp:
where
([
sp:
object
_:
b19
;
sp:
predicate
ep-spin-lib:
nameWellbore
;
sp:
subject
spin:
_this
]
[
sp:
object
[
sp:
varName
"dTimStart"
^^
xsd:
string
]
;
]
[
sp:
object
_:
b20
;
sp:
predicate
ddr:
dTimStart
;
sp:
subject
spin:
_this
]
[
sp:
object
[
sp:
varName
"dailyTemporalPartOfAWellBore"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/activity#onWellBore>
;
sp:
subject
[
sp:
varName
"dailyDrillingActivity"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"surveyStation"
^^
xsd:
string
]
;
]
[
sp:
object
_:
b21
;
sp:
predicate
ddr:
surveyStationRef
;
sp:
subject
spin:
_this
]
[
rdf:
type
sp:
Optional
;
sp:
elements
([
sp:
object
[
sp:
varName
"dTim"
^^
xsd:
string
]
;
sp:
elements
([
sp:
object
_:
b3
;
sp:
predicate
ddr:
dTim
;
sp:
subject
[
sp:
varName
"surveyStation"
^^
xsd:
string
]
sp:
subject
_:
b21
])
]
[
rdf:
type
sp:
Optional
;
sp:
elements
([
sp:
object
[
sp:
varName
"md"
^^
xsd:
string
]
;
sp:
elements
([
sp:
object
_:
b22
;
sp:
predicate
ddr:
mdRef
;
sp:
subject
[
sp:
varName
"surveyStation"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"uomMd"
^^
xsd:
string
]
;
sp:
subject
_:
b21
]
[
sp:
object
_:
b23
;
sp:
predicate
ddr:
uomRef
;
sp:
subject
[
sp:
varName
"md"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"realMd"
^^
xsd:
string
]
;
sp:
subject
_:
b22
]
[
sp:
object
_:
b8
;
sp:
predicate
<http://www.linkedmodel.org/schema/dtype#value>
;
sp:
subject
[
sp:
varName
"md"
^^
xsd:
string
]
sp:
subject
_:
b22
])
]
[
rdf:
type
sp:
Optional
;
sp:
elements
([
sp:
object
[
sp:
varName
"tvd"
^^
xsd:
string
]
;
sp:
elements
([
sp:
object
_:
b24
;
sp:
predicate
ddr:
tvdRef
;
sp:
subject
[
sp:
varName
"surveyStation"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"uomTvd"
^^
xsd:
string
]
;
sp:
subject
_:
b21
]
[
sp:
object
_:
b25
;
sp:
predicate
ddr:
uomRef
;
sp:
subject
[
sp:
varName
"tvd"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"realTvd"
^^
xsd:
string
]
;
sp:
subject
_:
b24
]
[
sp:
object
_:
b11
;
sp:
predicate
<http://www.linkedmodel.org/schema/dtype#value>
;
sp:
subject
[
sp:
varName
"tvd"
^^
xsd:
string
]
sp:
subject
_:
b24
])
]
[
rdf:
type
sp:
Optional
;
sp:
elements
([
sp:
object
[
sp:
varName
"incl"
^^
xsd:
string
]
;
sp:
elements
([
sp:
object
_:
b26
;
sp:
predicate
ddr:
inclRef
;
sp:
subject
[
sp:
varName
"surveyStation"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"uomIncl"
^^
xsd:
string
]
;
sp:
subject
_:
b21
]
[
sp:
object
_:
b27
;
sp:
predicate
ddr:
uomRef
;
sp:
subject
[
sp:
varName
"incl"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"realIncl"
^^
xsd:
string
]
;
sp:
subject
_:
b26
]
[
sp:
object
_:
b14
;
sp:
predicate
<http://www.linkedmodel.org/schema/dtype#value>
;
sp:
subject
[
sp:
varName
"incl"
^^
xsd:
string
]
sp:
subject
_:
b26
])
]
[
rdf:
type
sp:
Optional
;
sp:
elements
([
sp:
object
[
sp:
varName
"azi"
^^
xsd:
string
]
;
sp:
elements
([
sp:
object
_:
b28
;
sp:
predicate
ddr:
aziRef
;
sp:
subject
[
sp:
varName
"surveyStation"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"uomAzi"
^^
xsd:
string
]
;
sp:
subject
_:
b21
]
[
sp:
object
_:
b29
;
sp:
predicate
ddr:
uomRef
;
sp:
subject
[
sp:
varName
"azi"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"realAzi"
^^
xsd:
string
]
;
sp:
subject
_:
b28
]
[
sp:
object
_:
b17
;
sp:
predicate
<http://www.linkedmodel.org/schema/dtype#value>
;
sp:
subject
[
sp:
varName
"azi"
^^
xsd:
string
]
sp:
subject
_:
b28
])
]
[
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
ep-spin-lib:
normalizeString
;
sp:
arg1
[
sp:
varName
"nameWellBore"
^^
xsd:
string
]
sp:
arg1
_:
b19
]
;
sp:
variable
[
sp:
varName
"normalizedWellBoreName"
^^
xsd:
string
]
sp:
variable
_:
b30
]
[
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
ep-spin-lib:
buildDailyDrillingActivityURI
;
sp:
arg1
[
sp:
varName
"normalizedWellBoreName"
^^
xsd:
string
]
;
sp:
arg2
[
sp:
varName
"dTimStart"
^^
xsd:
string
]
sp:
arg1
_:
b30
;
sp:
arg2
_:
b20
]
;
sp:
variable
[
sp:
varName
"dailyDrillingActivity"
^^
xsd:
string
]
sp:
variable
_:
b2
]
[
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
afn:
localname
;
sp:
arg1
[
sp:
varName
"surveyStation"
^^
xsd:
string
]
sp:
arg1
_:
b21
]
;
sp:
variable
[
sp:
varName
"localname"
^^
xsd:
string
]
sp:
variable
_:
b31
]
[
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
ep-spin-lib:
buildWellBoreDirectionalSurveyURI
;
sp:
arg1
[
sp:
varName
"normalizedWellBoreName"
^^
xsd:
string
]
;
sp:
arg2
[
sp:
varName
"dTimStart"
^^
xsd:
string
]
;
sp:
arg3
[
sp:
varName
"localname"
^^
xsd:
string
]
sp:
arg1
_:
b30
;
sp:
arg2
_:
b20
;
sp:
arg3
_:
b31
]
;
sp:
variable
[
sp:
varName
"wellBoreDirectionalSurvey"
^^
xsd:
string
]
sp:
variable
_:
b1
]
[
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
ep-spin-lib:
selectLengthScale
;
sp:
arg1
[
sp:
varName
"uomMd"
^^
xsd:
string
]
sp:
arg1
_:
b23
]
;
sp:
variable
[
sp:
varName
"lengthScaleMd"
^^
xsd:
string
]
sp:
variable
_:
b9
]
[
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
ep-spin-lib:
selectLengthScale
;
sp:
arg1
[
sp:
varName
"uomTvd"
^^
xsd:
string
]
sp:
arg1
_:
b25
]
;
sp:
variable
[
sp:
varName
"lengthScaleTvd"
^^
xsd:
string
]
sp:
variable
_:
b12
]
[
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
ep-spin-lib:
selectPlaneAngleScale
;
sp:
arg1
[
sp:
varName
"uomIncl"
^^
xsd:
string
]
sp:
arg1
_:
b27
]
;
sp:
variable
[
sp:
varName
"angleScaleIncl"
^^
xsd:
string
]
sp:
variable
_:
b15
]
[
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
ep-spin-lib:
selectPlaneAngleScale
;
sp:
arg1
[
sp:
varName
"uomAzi"
^^
xsd:
string
]
sp:
arg1
_:
b29
]
;
sp:
variable
[
sp:
varName
"angleScaleAzi"
^^
xsd:
string
sp:
variable
_:
b18
]
[
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
rhspin:
wellBoreByName
;
arg:
wellBoreName
[
rdf:
type
xsd:
string
;
sp:
arg1
_:
b19
]
]
;
sp:
variable
_:
b6
])
]
.
_:
b19
sp:
varName
"nameWellBore"
^^
xsd:
string
.
_:
b20
sp:
varName
"dTimStart"
^^
xsd:
string
.
_:
b21
sp:
varName
"surveyStation"
^^
xsd:
string
.
_:
b3
sp:
varName
"dTim"
^^
xsd:
string
.
_:
b22
sp:
varName
"md"
^^
xsd:
string
.
_:
b23
sp:
varName
"uomMd"
^^
xsd:
string
.
_:
b8
sp:
varName
"realMd"
^^
xsd:
string
.
_:
b24
sp:
varName
"tvd"
^^
xsd:
string
.
_:
b25
sp:
varName
"uomTvd"
^^
xsd:
string
.
_:
b11
sp:
varName
"realTvd"
^^
xsd:
string
.
_:
b26
sp:
varName
"incl"
^^
xsd:
string
.
_:
b27
sp:
varName
"uomIncl"
^^
xsd:
string
.
_:
b14
sp:
varName
"realIncl"
^^
xsd:
string
.
_:
b28
sp:
varName
"azi"
^^
xsd:
string
.
_:
b29
sp:
varName
"uomAzi"
^^
xsd:
string
.
_:
b17
sp:
varName
"realAzi"
^^
xsd:
string
.
_:
b30
sp:
varName
"normalizedWellBoreName"
^^
xsd:
string
.
_:
b2
sp:
varName
"dailyDrillingActivity"
^^
xsd:
string
.
_:
b31
sp:
varName
"localname"
^^
xsd:
string
.
_:
b1
sp:
varName
"wellBoreDirectionalSurvey"
^^
xsd:
string
.
_:
b9
sp:
varName
"lengthScaleMd"
^^
xsd:
string
.
_:
b12
sp:
varName
"lengthScaleTvd"
^^
xsd:
string
.
_:
b15
sp:
varName
"angleScaleIncl"
^^
xsd:
string
.
_:
b18
sp:
varName
"angleScaleAzi"
^^
xsd:
string
.
_:
b6
sp:
varName
"wellBore"
^^
xsd:
string
.
...
...
www.reportinghub.no/ep/transform/TRANSFORM_ddr-surveyStation-v1.1.1.ttl.tbc
View file @
da87cb2
# Saved by TopBraid on Fri Oct 28 17:30:56 BST 2011
# baseURI: null
@prefix
composite:
<http://www.topbraid.org/2007/05/composite.owl#>
.
...
...
Please
register
or
login
to post a comment