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-12 14:17:04 +0100
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
448f82352c31788dbda2ab8581ca848782189cbf
448f8235
1 parent
05461e4b
Added production operation duration selector function
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
98 additions
and
12 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 @
448f823
# Saved by TopBraid on
Tue Oct 11 22:30:58 BST 2011
# Saved by TopBraid on
Wed Oct 12 14:16:37 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
...
...
@@ -1166,13 +1166,96 @@ ep-dpr-spin-lib:selectTemporalPartOfAFlowDurationType
])
]
.
ep-dpr-spin-lib:
selectTemporalPartOfActivityDurationType
rdf:
type
spin:
Function
;
rdfs:
subClassOf
ep-dpr-spin-lib:
Function
;
spin:
body
[
rdf:
type
sp:
Select
;
sp:
resultVariables
(
_:
b16
)
;
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#RP_dailymonthtodate>
]
;
sp:
arg2
<http://www.reportinghub.no/ep/schema/production-activity#MonthlyProductionActivityToEndOfReportingPeriod>
;
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#RP_dailyyeartodate>
]
;
sp:
arg2
<http://www.reportinghub.no/ep/schema/production-activity#AnnualProductionOperationsActivityToEndOfReportingPeriod>
;
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#RP_day>
]
;
sp:
arg2
<http://www.reportinghub.no/ep/schema/activity#DailyProductionActivity>
;
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#RP_monthtodate>
]
;
sp:
arg2
<http://www.reportinghub.no/ep/schema/production-activity#MonthlyProductionActivityToEndOfReportingPeriod>
;
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#RP_month>
]
;
sp:
arg2
<http://www.reportinghub.no/ep/schema/activity#MonthlyProductionActivity>
;
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#RP_report>
]
;
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#RP_totalcumulative>
]
;
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#RP_week>
]
;
sp:
arg2
<http://www.reportinghub.no/ep/schema/activity#WeeklyProductionActivity>
;
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#RP_yeartodate>
]
;
sp:
arg2
<http://www.reportinghub.no/ep/schema/production-activity#AnnualProductionOperationsActivityToEndOfReportingPeriod>
;
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#RP_year>
]
;
sp:
arg2
<http://www.reportinghub.no/ep/schema/production-activity#AnnualProductionActivity>
;
sp:
arg3
<http://www.reportinghub.no/ep/schema/activity#ProductionActivity>
]
]
]
]
]
]
]
]
]
]
;
sp:
variable
_:
b16
])
]
.
ep-dpr-spin-lib:
selectVolumeAtStandardTemperaturePressureType
rdf:
type
spin:
Function
;
rdfs:
label
"select VolumeAtStandardTemperaturePressureType"
^^
xsd:
string
;
rdfs:
subClassOf
ep-dpr-spin-lib:
Function
;
spin:
body
[
rdf:
type
sp:
Select
;
sp:
resultVariables
(
_:
b1
6
)
;
sp:
resultVariables
(
_:
b1
7
)
;
sp:
where
([
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
sp:
if
;
...
...
@@ -1197,7 +1280,7 @@ ep-dpr-spin-lib:selectVolumeAtStandardTemperaturePressureType
]
]
]
;
sp:
variable
_:
b1
6
sp:
variable
_:
b1
7
])
]
.
...
...
@@ -1207,7 +1290,7 @@ ep-dpr-spin-lib:selectVolumeScale
rdfs:
subClassOf
ep-dpr-spin-lib:
Function
;
spin:
body
[
rdf:
type
sp:
Select
;
sp:
resultVariables
(
_:
b1
7
)
;
sp:
resultVariables
(
_:
b1
8
)
;
sp:
where
([
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
sp:
if
;
...
...
@@ -1435,18 +1518,14 @@ ep-dpr-spin-lib:selectVolumeScale
]
]
]
;
sp:
variable
_:
b1
7
sp:
variable
_:
b1
8
])
]
.
_:
b6
sp:
varName
"uri"
^^
xsd:
string
.
_:
b1
sp:
varName
"uri"
^^
xsd:
string
.
_:
b17
_:
b18
sp:
varName
"volumeScale"
^^
xsd:
string
.
_:
b1
6
_:
b1
7
sp:
varName
"volumeAtStdType"
^^
xsd:
string
.
_:
b15
...
...
@@ -1473,6 +1552,8 @@ _:b8 sp:varName "productionFacilityType"^^xsd:string .
_:
b7
sp:
varName
"productType"
^^
xsd:
string
.
_:
b6
sp:
varName
"uri"
^^
xsd:
string
.
_:
b5
sp:
varName
"uri"
^^
xsd:
string
.
_:
b4
sp:
varName
"uri"
^^
xsd:
string
.
...
...
@@ -1480,3 +1561,8 @@ _:b4 sp:varName "uri"^^xsd:string .
_:
b3
sp:
varName
"uri"
^^
xsd:
string
.
_:
b2
sp:
varName
"uri"
^^
xsd:
string
.
_:
b1
sp:
varName
"uri"
^^
xsd:
string
.
_:
b16
sp:
varName
"prodActType"
^^
xsd:
string
.
...
...
www.reportinghub.no/ep/spin/SPIN_EPIM-DPR-lib-v1.1.spin.ttl.tbc
View file @
448f823
# Saved by TopBraid on
Tue Oct 11 22:30:5
8 BST 2011
# Saved by TopBraid on
Wed Oct 12 14:16:3
8 BST 2011
# baseURI: null
@prefix
composite:
<http://www.topbraid.org/2007/05/composite.owl#>
.
...
...
Please
register
or
login
to post a comment