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
MonkeyChap
2011-10-13 18:08:38 +0100
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
116623621c746677b6b010b9707e128748ed4829
11662362
1 parent
3126a254
Put in missing select function for production operation activities
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
97 additions
and
32 deletions
www.reportinghub.no/ep/spin/SPIN_EPIM-DPR-lib-v1.1.spin.ttl
www.reportinghub.no/ep/spin/SPIN_EPIM-DPR-lib-v1.1.spin.ttl.tbc
www.reportinghub.no/ep/spin/SPIN_EPIM-DPR-lib-v1.1.spin.ttl
View file @
1166236
# Saved by TopBraid on Thu Oct 13 1
7:25:55
BST 2011
# Saved by TopBraid on Thu Oct 13 1
8:07:56
BST 2011
# baseURI: http://www.reportinghub.no/ep/dpr/spin/1.1/lib
# imports: http://www.reportinghub.no/ep/schema/1.0/geography
# imports: http://www.reportinghub.no/ep/schema/1.0/well
...
...
@@ -1153,13 +1153,75 @@ ep-dpr-spin-lib:selectProductionFlowPurposeType
])
]
.
ep-dpr-spin-lib:
selectProductionOperationPartType
rdf:
type
spin:
Function
;
rdfs:
subClassOf
ep-dpr-spin-lib:
Function
;
spin:
body
[
rdf:
type
sp:
Select
;
sp:
resultVariables
(
_:
b24
)
;
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.witsml.org/schemas/131/addendum/combo#OK_production>
]
;
sp:
arg2
<http://www.reportinghub.no/ep/schema/activity#ProductionActivity>
;
sp:
arg3
[
rdf:
type
sp:
if
;
sp:
arg1
[
rdf:
type
sp:
eq
;
sp:
arg1
spin:
_arg1
;
sp:
arg2
<http://www.witsml.org/schemas/131/addendum/combo#OK_maintenance>
]
;
sp:
arg2
<http://www.reportinghub.no/ep/schema/production-activity#MaintenanceActivity>
;
sp:
arg3
[
rdf:
type
sp:
if
;
sp:
arg1
[
rdf:
type
sp:
eq
;
sp:
arg1
spin:
_arg1
;
sp:
arg2
<http://www.witsml.org/schemas/131/addendum/combo#OK_powerstationfailure>
]
;
sp:
arg2
<http://www.reportinghub.no/ep/schema/production-activity#PowerStationFailure>
;
sp:
arg3
[
rdf:
type
sp:
if
;
sp:
arg1
[
rdf:
type
sp:
eq
;
sp:
arg1
spin:
_arg1
;
sp:
arg2
<http://www.witsml.org/schemas/131/addendum/combo#OK_deviations>
]
;
sp:
arg2
<http://www.reportinghub.no/ep/schema/production-activity#Deviation>
;
sp:
arg3
[
rdf:
type
sp:
if
;
sp:
arg1
[
rdf:
type
sp:
eq
;
sp:
arg1
spin:
_arg1
;
sp:
arg2
<http://www.witsml.org/schemas/131/addendum/combo#OK_airtraffic>
]
;
sp:
arg2
<http://www.reportinghub.no/ep/schema/production-activity#AirTrafficOperation>
;
sp:
arg3
[
rdf:
type
sp:
if
;
sp:
arg1
[
rdf:
type
sp:
eq
;
sp:
arg1
spin:
_arg1
;
sp:
arg2
<http://www.witsml.org/schemas/131/addendum/combo#OK_construction>
]
;
sp:
arg2
<http://www.reportinghub.no/ep/schema/production-activity#ConstructionOperation>
;
sp:
arg3
[
rdf:
type
sp:
if
;
sp:
arg1
[
rdf:
type
sp:
eq
;
sp:
arg1
spin:
_arg1
;
sp:
arg2
<http://www.witsml.org/schemas/131/addendum/combo#TU_s>
]
;
sp:
arg2
<http://www.reportinghub.no/ep/schema/core#second>
;
sp:
arg3
<http://www.reportinghub.no/ep/schema/production-activity#PartOfProductionActivity>
]
]
]
]
]
]
]
;
sp:
variable
_:
b24
])
]
.
ep-dpr-spin-lib:
selectRelationshipToMeasure
rdf:
type
spin:
Function
;
rdfs:
label
"select RelationshipToMeasure"
^^
xsd:
string
;
rdfs:
subClassOf
ep-dpr-spin-lib:
Function
;
spin:
body
[
rdf:
type
sp:
Select
;
sp:
resultVariables
(
_:
b2
4
)
;
sp:
resultVariables
(
_:
b2
5
)
;
sp:
where
([
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
sp:
if
;
...
...
@@ -1233,7 +1295,7 @@ ep-dpr-spin-lib:selectRelationshipToMeasure
]
]
]
;
sp:
variable
_:
b2
4
sp:
variable
_:
b2
5
])
]
.
...
...
@@ -1242,7 +1304,7 @@ ep-dpr-spin-lib:selectSafetyActivityType
rdfs:
subClassOf
ep-dpr-spin-lib:
Function
;
spin:
body
[
rdf:
type
sp:
Select
;
sp:
resultVariables
(
_:
b2
5
)
;
sp:
resultVariables
(
_:
b2
6
)
;
sp:
where
([
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
sp:
if
;
...
...
@@ -1386,7 +1448,7 @@ ep-dpr-spin-lib:selectSafetyActivityType
]
]
]
;
sp:
variable
_:
b2
5
sp:
variable
_:
b2
6
])
]
.
...
...
@@ -1396,7 +1458,7 @@ ep-dpr-spin-lib:selectSpecificVolumeScale
rdfs:
subClassOf
ep-dpr-spin-lib:
Function
;
spin:
body
[
rdf:
type
sp:
Select
;
sp:
resultVariables
(
_:
b2
6
)
;
sp:
resultVariables
(
_:
b2
7
)
;
sp:
where
([
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
sp:
if
;
...
...
@@ -1407,7 +1469,7 @@ ep-dpr-spin-lib:selectSpecificVolumeScale
sp:
arg2
<http://www.reportinghub.no/ep/schema/core#fractionByVolume>
;
sp:
arg3
<http://www.reportinghub.no/ep/schema/core#undefinedScale>
]
;
sp:
variable
_:
b2
6
sp:
variable
_:
b2
7
])
]
.
...
...
@@ -1417,7 +1479,7 @@ ep-dpr-spin-lib:selectTemperatureScale
rdfs:
subClassOf
ep-dpr-spin-lib:
Function
;
spin:
body
[
rdf:
type
sp:
Select
;
sp:
resultVariables
(
_:
b2
7
)
;
sp:
resultVariables
(
_:
b2
8
)
;
sp:
where
([
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
sp:
if
;
...
...
@@ -1435,7 +1497,7 @@ ep-dpr-spin-lib:selectTemperatureScale
sp:
arg3
<http://www.reportinghub.no/ep/schema/core#undefinedScale>
]
]
;
sp:
variable
_:
b2
7
sp:
variable
_:
b2
8
])
]
.
...
...
@@ -1445,7 +1507,7 @@ ep-dpr-spin-lib:selectTemporalPartOfAFlowDurationType
rdfs:
subClassOf
ep-dpr-spin-lib:
Function
;
spin:
body
[
rdf:
type
sp:
Select
;
sp:
resultVariables
(
_:
b2
8
)
;
sp:
resultVariables
(
_:
b2
9
)
;
sp:
where
([
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
sp:
if
;
...
...
@@ -1519,7 +1581,7 @@ ep-dpr-spin-lib:selectTemporalPartOfAFlowDurationType
]
]
]
;
sp:
variable
_:
b2
8
sp:
variable
_:
b2
9
])
]
.
...
...
@@ -1528,7 +1590,7 @@ ep-dpr-spin-lib:selectTemporalPartOfActivityDurationType
rdfs:
subClassOf
ep-dpr-spin-lib:
Function
;
spin:
body
[
rdf:
type
sp:
Select
;
sp:
resultVariables
(
_:
b
29
)
;
sp:
resultVariables
(
_:
b
30
)
;
sp:
where
([
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
sp:
if
;
...
...
@@ -1602,7 +1664,7 @@ ep-dpr-spin-lib:selectTemporalPartOfActivityDurationType
]
]
]
;
sp:
variable
_:
b
29
sp:
variable
_:
b
30
])
]
.
...
...
@@ -1612,7 +1674,7 @@ ep-dpr-spin-lib:selectVolumeAtStandardTemperaturePressureType
rdfs:
subClassOf
ep-dpr-spin-lib:
Function
;
spin:
body
[
rdf:
type
sp:
Select
;
sp:
resultVariables
(
_:
b3
0
)
;
sp:
resultVariables
(
_:
b3
1
)
;
sp:
where
([
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
sp:
if
;
...
...
@@ -1637,7 +1699,7 @@ ep-dpr-spin-lib:selectVolumeAtStandardTemperaturePressureType
]
]
]
;
sp:
variable
_:
b3
0
sp:
variable
_:
b3
1
])
]
.
...
...
@@ -1647,7 +1709,7 @@ ep-dpr-spin-lib:selectVolumeFlowRateAtStandardTemperaturePressureType
rdfs:
subClassOf
ep-dpr-spin-lib:
Function
;
spin:
body
[
rdf:
type
sp:
Select
;
sp:
resultVariables
(
_:
b3
1
)
;
sp:
resultVariables
(
_:
b3
2
)
;
sp:
where
([
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
sp:
if
;
...
...
@@ -1672,7 +1734,7 @@ ep-dpr-spin-lib:selectVolumeFlowRateAtStandardTemperaturePressureType
]
]
]
;
sp:
variable
_:
b3
1
sp:
variable
_:
b3
2
])
]
.
...
...
@@ -1682,7 +1744,7 @@ ep-dpr-spin-lib:selectVolumeFlowRateScale
rdfs:
subClassOf
ep-dpr-spin-lib:
Function
;
spin:
body
[
rdf:
type
sp:
Select
;
sp:
resultVariables
(
_:
b3
2
)
;
sp:
resultVariables
(
_:
b3
3
)
;
sp:
where
([
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
sp:
if
;
...
...
@@ -1707,7 +1769,7 @@ ep-dpr-spin-lib:selectVolumeFlowRateScale
]
]
]
;
sp:
variable
_:
b3
2
sp:
variable
_:
b3
3
])
]
.
...
...
@@ -1717,7 +1779,7 @@ ep-dpr-spin-lib:selectVolumeScale
rdfs:
subClassOf
ep-dpr-spin-lib:
Function
;
spin:
body
[
rdf:
type
sp:
Select
;
sp:
resultVariables
(
_:
b3
3
)
;
sp:
resultVariables
(
_:
b3
4
)
;
sp:
where
([
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
sp:
if
;
...
...
@@ -1945,7 +2007,7 @@ ep-dpr-spin-lib:selectVolumeScale
]
]
]
;
sp:
variable
_:
b3
3
sp:
variable
_:
b3
4
])
]
.
...
...
@@ -2005,36 +2067,39 @@ _:b22
_:
b23
sp:
varName
"productionFlowPurposeType"
^^
xsd:
string
.
_:
b2
4
_:
b2
5
sp:
varName
"relationshipToMeasure"
^^
xsd:
string
.
_:
b2
5
_:
b2
6
sp:
varName
"safetyActivityType"
^^
xsd:
string
.
_:
b2
6
_:
b2
7
sp:
varName
"specificVolumeScale"
^^
xsd:
string
.
_:
b2
7
_:
b2
8
sp:
varName
"temperatureScale"
^^
xsd:
string
.
_:
b2
8
_:
b2
9
sp:
varName
"temporalPartOfAFlowDurationType"
^^
xsd:
string
.
_:
b
29
_:
b
30
sp:
varName
"prodActType"
^^
xsd:
string
.
_:
b3
0
_:
b3
1
sp:
varName
"volumeAtStdType"
^^
xsd:
string
.
_:
b3
1
_:
b3
2
sp:
varName
"volumeFlowRateAtStdType"
^^
xsd:
string
.
_:
b3
2
_:
b3
3
sp:
varName
"volumeFlowRateScale"
^^
xsd:
string
.
_:
b3
3
_:
b3
4
sp:
varName
"volumeScale"
^^
xsd:
string
.
_:
b3
sp:
varName
"uri"
^^
xsd:
string
.
_:
b2
sp:
varName
"uri"
^^
xsd:
string
.
_:
b24
sp:
varName
"popType"
^^
xsd:
string
.
...
...
www.reportinghub.no/ep/spin/SPIN_EPIM-DPR-lib-v1.1.spin.ttl.tbc
View file @
1166236
# Saved by TopBraid on Thu Oct 13 1
7:25
:56 BST 2011
# Saved by TopBraid on Thu Oct 13 1
8:07
:56 BST 2011
# baseURI: null
@prefix
composite:
<http://www.topbraid.org/2007/05/composite.owl#>
.
...
...
Please
register
or
login
to post a comment