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 Price
2012-02-14 10:12:20 +0000
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
c5285d08b5664edeefe6097181e71a22c7ce7639
c5285d08
1 parent
87fa2ff5
Added DDR PDF report flag functions
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
287 additions
and
3 deletions
www.reportinghub.no/ep/spin/SPIN_EPIM-lib-v1.1.spin.ttl
www.reportinghub.no/ep/spin/SPIN_EPIM-lib-v1.1.spin.ttl
View file @
c5285d0
...
...
@@ -31,7 +31,7 @@
<http://www.reportinghub.no/ep/spin/1.1/lib>
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/activity-purpose>
,
<http://www.reportinghub.no/ep/schema/1.0/core>
,
<http://www.reportinghub.no/ep/schema/1.0/drilling-equipment-type>
,
<http://www.reportinghub.no/ep/schema/1.0/equipment>
,
<http://www.reportinghub.no/ep/schema/1.0/facility>
,
<http://www.reportinghub.no/ep/schema/1.0/report>
,
<http://www.reportinghub.no/ep/schema/1.0/well>
,
<http://www.reportinghub.no/spin/rh>
,
<http://www.witsml.org/schemas/1series
>
;
owl:
imports
<http://
www.reportinghub.no/spin/rh>
,
<http://www.reportinghub.no/ep/schema/1.0/drilling-equipment-type>
,
<http://www.reportinghub.no/ep/schema/1.0/report>
,
<http://www.reportinghub.no/ep/schema/1.0/activity>
,
<http://www.reportinghub.no/ep/schema/1.0/well>
,
<http://spinrdf.org/spin>
,
<http://www.witsml.org/schemas/1series>
,
<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/activity-purpose>
,
<http://www.reportinghub.no/ep/schema/1.0/facility
>
;
owl:
versionInfo
"Created with TopBraid Composer"
^^
xsd:
string
.
ep-spin-lib:
Function
...
...
@@ -628,12 +628,12 @@ ep-spin-lib:buildURI
]
;
spin:
constraint
[
rdf:
type
spl:
Argument
;
spl:
predicate
sp:
arg
2
;
spl:
predicate
sp:
arg
1
;
spl:
valueType
xsd:
string
]
;
spin:
constraint
[
rdf:
type
spl:
Argument
;
spl:
predicate
sp:
arg
1
;
spl:
predicate
sp:
arg
2
;
spl:
valueType
xsd:
string
]
.
...
...
@@ -1259,6 +1259,37 @@ ep-spin-lib:numberWellbore
]
;
spin:
returnType
xsd:
string
.
ep-spin-lib:
selectActivitySuccessFlag
rdf:
type
spin:
Function
;
rdfs:
label
"select ActivitySuccessFlag"
^^
xsd:
string
;
rdfs:
subClassOf
ep-spin-lib:
Function
;
spin:
body
[
rdf:
type
sp:
Select
;
sp:
resultVariables
([
sp:
varName
"activitySuccessFlag"
^^
xsd:
string
])
;
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/activity#SuccessfulActivity>
]
;
sp:
arg2
"ok"
;
sp:
arg3
[
rdf:
type
sp:
if
;
sp:
arg1
[
rdf:
type
sp:
eq
;
sp:
arg1
spin:
_arg1
;
sp:
arg2
<http://www.reportinghub.no/ep/schema/activity#FailedActivity>
]
;
sp:
arg2
"fail"
;
sp:
arg3
"invalid call to the ep-spin-lib:selectActivitySuccessFlag function"
]
]
;
sp:
variable
[
sp:
varName
"activitySuccessFlag"
^^
xsd:
string
]
])
]
.
ep-spin-lib:
selectActivitySuccessType
rdf:
type
spin:
Function
;
rdfs:
label
"select ActivitySuccessType"
^^
xsd:
string
;
...
...
@@ -2680,6 +2711,86 @@ ep-spin-lib:selectFluidType
])
]
.
ep-spin-lib:
selectGasReadingFlag
rdf:
type
spin:
Function
;
rdfs:
label
"select GasReadingFlag"
^^
xsd:
string
;
rdfs:
subClassOf
ep-spin-lib:
Function
;
spin:
body
[
rdf:
type
sp:
Select
;
sp:
resultVariables
([
sp:
varName
"gasReadingFlag"
^^
xsd:
string
])
;
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/activity#GasReading-connection_gas>
]
;
sp:
arg2
"connection gas"
;
sp:
arg3
[
rdf:
type
sp:
if
;
sp:
arg1
[
rdf:
type
sp:
eq
;
sp:
arg1
spin:
_arg1
;
sp:
arg2
<http://www.reportinghub.no/ep/schema/activity#GasReading-circulating_background_gas>
]
;
sp:
arg2
"circulating background gas"
;
sp:
arg3
[
rdf:
type
sp:
if
;
sp:
arg1
[
rdf:
type
sp:
eq
;
sp:
arg1
spin:
_arg1
;
sp:
arg2
<http://www.reportinghub.no/ep/schema/activity#GasReading-drilling_background_gas>
]
;
sp:
arg2
"drilling background gas"
;
sp:
arg3
[
rdf:
type
sp:
if
;
sp:
arg1
[
rdf:
type
sp:
eq
;
sp:
arg1
spin:
_arg1
;
sp:
arg2
<http://www.reportinghub.no/ep/schema/activity#GasReading-drilling_gas_peak>
]
;
sp:
arg2
"gas peak"
;
sp:
arg3
[
rdf:
type
sp:
if
;
sp:
arg1
[
rdf:
type
sp:
eq
;
sp:
arg1
spin:
_arg1
;
sp:
arg2
<http://www.reportinghub.no/ep/schema/activity#GasReading-flow_check_gas>
]
;
sp:
arg2
"flow check gas"
;
sp:
arg3
[
rdf:
type
sp:
if
;
sp:
arg1
[
rdf:
type
sp:
eq
;
sp:
arg1
spin:
_arg1
;
sp:
arg2
<http://www.reportinghub.no/ep/schema/activity#GasReading-no_readings>
]
;
sp:
arg2
"no readings"
;
sp:
arg3
[
rdf:
type
sp:
if
;
sp:
arg1
[
rdf:
type
sp:
eq
;
sp:
arg1
spin:
_arg1
;
sp:
arg2
<http://www.reportinghub.no/ep/schema/activity#GasReading-other>
]
;
sp:
arg2
"other"
;
sp:
arg3
[
rdf:
type
sp:
if
;
sp:
arg1
[
rdf:
type
sp:
eq
;
sp:
arg1
spin:
_arg1
;
sp:
arg2
<http://www.reportinghub.no/ep/schema/activity#GasReading-shut_down_gas>
]
;
sp:
arg2
"shut down gas"
;
sp:
arg3
[
rdf:
type
sp:
if
;
sp:
arg1
[
rdf:
type
sp:
eq
;
sp:
arg1
spin:
_arg1
;
sp:
arg2
<http://www.reportinghub.no/ep/schema/activity#GasReading-trip_gas>
]
;
sp:
arg2
"trip gas"
;
sp:
arg3
"invalid call to the ep-spin-lib:selectGasReadingFlag function"
]
]
]
]
]
]
]
]
]
;
sp:
variable
[
sp:
varName
"gasReadingFlag"
^^
xsd:
string
]
])
]
.
ep-spin-lib:
selectGasReadingType
rdf:
type
spin:
Function
;
rdfs:
label
"select GasReadingType"
^^
xsd:
string
;
...
...
@@ -2757,6 +2868,44 @@ ep-spin-lib:selectGasReadingType
])
]
.
ep-spin-lib:
selectInnerBarrelFlag
rdf:
type
spin:
Function
;
rdfs:
label
"select InnerBarrelFlag"
^^
xsd:
string
;
rdfs:
subClassOf
ep-spin-lib:
Function
;
spin:
body
[
rdf:
type
sp:
Select
;
sp:
resultVariables
([
sp:
varName
"innerBarrelFlag"
^^
xsd:
string
])
;
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/equipment#InnerBarrel-gel>
]
;
sp:
arg2
"gel"
;
sp:
arg3
[
rdf:
type
sp:
if
;
sp:
arg1
[
rdf:
type
sp:
eq
;
sp:
arg1
spin:
_arg1
;
sp:
arg2
<http://www.reportinghub.no/ep/schema/equipment#InnerBarrel-aluminum>
]
;
sp:
arg2
"aluminium"
;
sp:
arg3
[
rdf:
type
sp:
if
;
sp:
arg1
[
rdf:
type
sp:
eq
;
sp:
arg1
spin:
_arg1
;
sp:
arg2
<http://www.reportinghub.no/ep/schema/equipment#InnerBarrel-fiberglass>
]
;
sp:
arg2
"fiberglass"
;
sp:
arg3
"undifferented"
]
]
]
;
sp:
variable
[
sp:
varName
"innerBarrelFlag"
^^
xsd:
string
]
])
]
.
ep-spin-lib:
selectInnerBarrelType
rdf:
type
spin:
Function
;
rdfs:
label
"select InnerBarrelType"
^^
xsd:
string
;
...
...
@@ -3131,6 +3280,37 @@ ep-spin-lib:selectPlasticViscosityScale
])
]
.
ep-spin-lib:
selectPorePressureDeterminationFlag
rdf:
type
spin:
Function
;
rdfs:
label
"select PorePressureDeterminationFlag"
^^
xsd:
string
;
rdfs:
subClassOf
ep-spin-lib:
Function
;
spin:
body
[
rdf:
type
sp:
Select
;
sp:
resultVariables
([
sp:
varName
"porePressureDeterminationFlag"
^^
xsd:
string
])
;
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/activity#PorePressureMeasurement>
]
;
sp:
arg2
"measured"
;
sp:
arg3
[
rdf:
type
sp:
if
;
sp:
arg1
[
rdf:
type
sp:
eq
;
sp:
arg1
spin:
_arg1
;
sp:
arg2
<http://www.reportinghub.no/ep/schema/activity#PorePressureEstimation>
]
;
sp:
arg2
"estimated"
;
sp:
arg3
"invalid call to the ep-spin-lib:porePressureDeterminationFlag function"
]
]
;
sp:
variable
[
sp:
varName
"porePressureDeterminationFlag"
^^
xsd:
string
]
])
]
.
ep-spin-lib:
selectPorePressureDeterminationType
rdf:
type
spin:
Function
;
rdfs:
label
"select PorePressureDeterminationType"
^^
xsd:
string
;
...
...
@@ -3826,6 +4006,51 @@ ep-spin-lib:selectWellCementJobType
])
]
.
ep-spin-lib:
selectWellControlIncidentFlag
rdf:
type
spin:
Function
;
rdfs:
label
"select WellControlIncidentFlag"
^^
xsd:
string
;
rdfs:
subClassOf
ep-spin-lib:
Function
;
spin:
body
[
rdf:
type
sp:
Select
;
sp:
resultVariables
([
sp:
varName
"wellControlIncidentFlag"
^^
xsd:
string
])
;
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/activity#WellControlIncident-gas_kick>
]
;
sp:
arg2
"gas kick"
;
sp:
arg3
[
rdf:
type
sp:
if
;
sp:
arg1
[
rdf:
type
sp:
eq
;
sp:
arg1
spin:
_arg1
;
sp:
arg2
<http://www.reportinghub.no/ep/schema/activity#WellControlIncident-water_kick>
]
;
sp:
arg2
"water kick"
;
sp:
arg3
[
rdf:
type
sp:
if
;
sp:
arg1
[
rdf:
type
sp:
eq
;
sp:
arg1
spin:
_arg1
;
sp:
arg2
<http://www.reportinghub.no/ep/schema/activity#WellControlIncident-oil_kick>
]
;
sp:
arg2
"oil kick"
;
sp:
arg3
[
rdf:
type
sp:
if
;
sp:
arg1
[
rdf:
type
sp:
eq
;
sp:
arg1
spin:
_arg1
;
sp:
arg2
<http://www.reportinghub.no/ep/schema/activity#WellControlIncident-shallow_gas_kick>
]
;
sp:
arg2
"shallow gas kick"
;
sp:
arg3
"invalid call to the ep-spin-lib:selectWellControlIncidentFlag function"
]
]
]
]
;
sp:
variable
[
sp:
varName
"wellControlIncidentFlag"
^^
xsd:
string
]
])
]
.
ep-spin-lib:
selectWellControlIncidentType
rdf:
type
spin:
Function
;
rdfs:
label
"select WellControlIncidentType"
^^
xsd:
string
;
...
...
@@ -3868,6 +4093,65 @@ ep-spin-lib:selectWellControlIncidentType
])
]
.
ep-spin-lib:
selectWellKillingFlag
rdf:
type
spin:
Function
;
rdfs:
label
"select WellKillingFlag"
^^
xsd:
string
;
rdfs:
subClassOf
ep-spin-lib:
Function
;
spin:
body
[
rdf:
type
sp:
Select
;
sp:
resultVariables
([
sp:
varName
"wellKillingFlag"
^^
xsd:
string
])
;
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/activity#WellKilling-bullheading>
]
;
sp:
arg2
"bull heading"
;
sp:
arg3
[
rdf:
type
sp:
if
;
sp:
arg1
[
rdf:
type
sp:
eq
;
sp:
arg1
spin:
_arg1
;
sp:
arg2
ddr:
WKPT_waitandweight
]
;
sp:
arg2
"wait and weight"
;
sp:
arg3
[
rdf:
type
sp:
if
;
sp:
arg1
[
rdf:
type
sp:
eq
;
sp:
arg1
spin:
_arg1
;
sp:
arg2
<http://www.reportinghub.no/ep/schema/activity#WellKilling-drillers_method>
]
;
sp:
arg2
"drillers method"
;
sp:
arg3
[
rdf:
type
sp:
if
;
sp:
arg1
[
rdf:
type
sp:
eq
;
sp:
arg1
spin:
_arg1
;
sp:
arg2
<http://www.reportinghub.no/ep/schema/activity#WellKilling-lubricate_and_bleed>
]
;
sp:
arg2
"lubricate and bleed"
;
sp:
arg3
[
rdf:
type
sp:
if
;
sp:
arg1
[
rdf:
type
sp:
eq
;
sp:
arg1
spin:
_arg1
;
sp:
arg2
<http://www.reportinghub.no/ep/schema/activity#WellKilling-reverse_circulation>
]
;
sp:
arg2
"reverse circulation"
;
sp:
arg3
[
rdf:
type
sp:
if
;
sp:
arg1
[
rdf:
type
sp:
eq
;
sp:
arg1
spin:
_arg1
;
sp:
arg2
<http://www.reportinghub.no/ep/schema/activity#WellKilling-forward_circulation>
]
;
sp:
arg2
"forward circulation"
;
sp:
arg3
"invalid call to the ep-spin-lib:selectWellKillingFlag function"
]
]
]
]
]
]
;
sp:
variable
[
sp:
varName
"wellKillingFlag"
^^
xsd:
string
]
])
]
.
ep-spin-lib:
selectWellKillingType
rdf:
type
spin:
Function
;
rdfs:
label
"select WellKillingType"
^^
xsd:
string
;
...
...
Please
register
or
login
to post a comment