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
2012-04-24 09:02:53 +0100
Browse Files
Options
Browse Files
Download
Plain Diff
Commit
e1d8914010e4928b5a30c8cef28f30f83f4fd3b9
e1d89140
2 parents
f94098cb
bb5bc0ab
Merge branch 'MPR_04-23'
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
146 additions
and
50 deletions
www.reportinghub.no/ep/schema/1.0/SCHEMA_EP-PRODUCTION-ACTIVITY-V1.0.ttl
www.reportinghub.no/ep/spin/SPIN_EPIM-DPR-lib-v1.1.spin.ttl
www.reportinghub.no/ep/spin/SPIN_EPIM-MPR-lib-v1.1.spin.ttl
www.reportinghub.no/ep/transform/TRANSFORM_mpr-productionActivity-v1.1.1.ttl
www.reportinghub.no/ep/schema/1.0/SCHEMA_EP-PRODUCTION-ACTIVITY-V1.0.ttl
View file @
e1d8914
This diff is collapsed. Click to expand it.
www.reportinghub.no/ep/spin/SPIN_EPIM-DPR-lib-v1.1.spin.ttl
View file @
e1d8914
...
...
@@ -48,7 +48,7 @@ sp:if
<http://www.reportinghub.no/ep/dpr/spin/1.1/lib>
rdf:
type
owl:
Ontology
;
owl:
imports
<http://
www.reportinghub.no/ep/spin/1.1/lib>
,
<http://www.reportinghub.no/ep/schema/1.0/production-core>
,
<http://www.witsml.org/schemas/131/addendum/combo>
,
<http://www.reportinghub.no/ep/schema/1.0/production>
,
<http://spinrdf.org/spin
>
;
owl:
imports
<http://
spinrdf.org/spin>
,
<http://www.reportinghub.no/ep/schema/1.0/production>
,
<http://www.witsml.org/schemas/131/addendum/combo>
,
<http://www.reportinghub.no/ep/schema/1.0/production-core>
,
<http://www.reportinghub.no/ep/spin/1.1/lib
>
;
owl:
versionInfo
"Created with TopBraid Composer"
^^
xsd:
string
.
ep-dpr-spin-lib:
Function
...
...
@@ -56,6 +56,29 @@ ep-dpr-spin-lib:Function
rdfs:
label
"function"
^^
xsd:
string
;
rdfs:
subClassOf
spin:
Functions
.
ep-dpr-spin-lib:
buildAlarmTypeURI
rdf:
type
spin:
Function
;
rdfs:
label
"build AlarmType URI"
^^
xsd:
string
;
rdfs:
subClassOf
ep-dpr-spin-lib:
Function
;
spin:
body
[
rdf:
type
sp:
Select
;
rdfs:
comment
"arg1 is name of the AlarmType - assumed to be unique in this scope"
^^
xsd:
string
;
sp:
resultVariables
([
sp:
varName
"uri"
^^
xsd:
string
])
;
sp:
where
([
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
ep-spin-lib:
buildURI
;
sp:
arg1
"https://www.reportinghub.no/ep/data/alarmType/"
;
sp:
arg2
[
rdf:
type
ep-spin-lib:
normalizeString
;
sp:
arg1
spin:
_arg1
]
]
;
sp:
variable
[
sp:
varName
"uri"
^^
xsd:
string
]
])
]
.
ep-dpr-spin-lib:
buildAmountOfOilURI
rdf:
type
spin:
Function
;
rdfs:
subClassOf
ep-dpr-spin-lib:
Function
;
...
...
@@ -5566,6 +5589,22 @@ ep-dpr-spin-lib:selectSpecificVolumeScale_MASS_CONCENTRATION
rdfs:
subClassOf
ep-dpr-spin-lib:
Function
;
spin:
body
[
rdf:
type
sp:
Select
;
sp:
resultVariables
(
_:
b22
)
;
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#VPVU_m3m3>
]
;
sp:
arg2
<http://www.reportinghub.no/ep/schema/core#fractionByVolume>
;
sp:
arg3
<http://www.reportinghub.no/ep/schema/core#undefinedScale>
]
;
sp:
variable
_:
b22
])
]
;
spin:
body
[
rdf:
type
sp:
Select
;
sp:
resultVariables
([
sp:
varName
"myVar"
^^
xsd:
string
])
;
sp:
where
([
rdf:
type
sp:
Bind
;
...
...
@@ -5645,22 +5684,6 @@ ep-dpr-spin-lib:selectSpecificVolumeScale_MASS_CONCENTRATION
[
sp:
varName
"myVar"
^^
xsd:
string
]
])
]
;
spin:
body
[
rdf:
type
sp:
Select
;
sp:
resultVariables
(
_:
b22
)
;
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#VPVU_m3m3>
]
;
sp:
arg2
<http://www.reportinghub.no/ep/schema/core#fractionByVolume>
;
sp:
arg3
<http://www.reportinghub.no/ep/schema/core#undefinedScale>
]
;
sp:
variable
_:
b22
])
]
.
ep-dpr-spin-lib:
selectTemperatureScale
...
...
@@ -7195,62 +7218,62 @@ ep-dpr-spin-lib:selectWorkScale
])
]
.
_:
b1
sp:
varName
"uri"
^^
xsd:
string
.
_:
b23
sp:
varName
"volumeFlowRateAtStdType"
^^
xsd:
string
.
_:
b2
sp:
varName
"UUID"
^^
xsd:
string
.
_:
b22
sp:
varName
"specificVolumeScale"
^^
xsd:
string
.
_:
b3
sp:
varName
"uri"
^^
xsd:
string
.
_:
b21
sp:
varName
"safetyActivityType"
^^
xsd:
string
.
_:
b4
sp:
varName
"uri"
^^
xsd:
string
.
_:
b20
sp:
varName
"productionFlowPurposeType"
^^
xsd:
string
.
_:
b5
sp:
varName
"uri"
^^
xsd:
string
.
_:
b19
sp:
varName
"productionFlowDirectionRelationshipType"
^^
xsd:
string
.
_:
b6
sp:
varName
"uri"
^^
xsd:
string
.
_:
b18
sp:
varName
"productionFlowDirectionRelationshipType"
^^
xsd:
string
.
_:
b7
sp:
varName
"uri"
^^
xsd:
string
.
_:
b17
sp:
varName
"productionFlowDefinitionType"
^^
xsd:
string
.
_:
b8
sp:
varName
"uri"
^^
xsd:
string
.
_:
b16
sp:
varName
"productionFacilityType"
^^
xsd:
string
.
_:
b9
sp:
varName
"uri"
^^
xsd:
string
.
_:
b15
sp:
varName
"productVolumeReportPeriodType"
^^
xsd:
string
.
_:
b1
0
sp:
varName
"
uri
"
^^
xsd:
string
.
_:
b1
4
sp:
varName
"
densityScale
"
^^
xsd:
string
.
_:
b1
1
_:
b1
3
sp:
varName
"uri"
^^
xsd:
string
.
_:
b12
sp:
varName
"uri"
^^
xsd:
string
.
_:
b1
3
_:
b1
1
sp:
varName
"uri"
^^
xsd:
string
.
_:
b1
4
sp:
varName
"
densityScale
"
^^
xsd:
string
.
_:
b1
0
sp:
varName
"
uri
"
^^
xsd:
string
.
_:
b15
sp:
varName
"productVolumeReportPeriodType"
^^
xsd:
string
.
_:
b9
sp:
varName
"uri"
^^
xsd:
string
.
_:
b16
sp:
varName
"productionFacilityType"
^^
xsd:
string
.
_:
b8
sp:
varName
"uri"
^^
xsd:
string
.
_:
b17
sp:
varName
"productionFlowDefinitionType"
^^
xsd:
string
.
_:
b7
sp:
varName
"uri"
^^
xsd:
string
.
_:
b18
sp:
varName
"productionFlowDirectionRelationshipType"
^^
xsd:
string
.
_:
b6
sp:
varName
"uri"
^^
xsd:
string
.
_:
b19
sp:
varName
"productionFlowDirectionRelationshipType"
^^
xsd:
string
.
_:
b5
sp:
varName
"uri"
^^
xsd:
string
.
_:
b20
sp:
varName
"productionFlowPurposeType"
^^
xsd:
string
.
_:
b4
sp:
varName
"uri"
^^
xsd:
string
.
_:
b21
sp:
varName
"safetyActivityType"
^^
xsd:
string
.
_:
b3
sp:
varName
"uri"
^^
xsd:
string
.
_:
b22
sp:
varName
"specificVolumeScale"
^^
xsd:
string
.
_:
b2
sp:
varName
"UUID"
^^
xsd:
string
.
_:
b23
sp:
varName
"volumeFlowRateAtStdType"
^^
xsd:
string
.
_:
b1
sp:
varName
"uri"
^^
xsd:
string
.
...
...
www.reportinghub.no/ep/spin/SPIN_EPIM-MPR-lib-v1.1.spin.ttl
View file @
e1d8914
...
...
@@ -4054,6 +4054,79 @@ ep-mpr-spin-lib:selectProductMaterialType
])
]
.
ep-mpr-spin-lib:
selectProductionActivityType
rdf:
type
spin:
Function
;
rdfs:
label
"select ProductionActivityType"
^^
xsd:
string
;
rdfs:
subClassOf
ep-mpr-spin-lib:
Function
;
spin:
body
[
rdf:
type
sp:
Select
;
sp:
resultVariables
([
sp:
varName
"productionActivityType"
^^
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.epim.no/schemas/mprml/1#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.epim.no/schemas/mprml/1#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.epim.no/schemas/mprml/1#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.epim.no/schemas/mprml/1#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.epim.no/schemas/mprml/1#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.epim.no/schemas/mprml/1#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.epim.no/schemas/mprml/1#OK_well>
]
;
sp:
arg2
<http://www.reportinghub.no/ep/schema/activity#WellOperation>
;
sp:
arg3
[
rdf:
type
sp:
if
;
sp:
arg1
[
rdf:
type
sp:
eq
;
sp:
arg1
spin:
_arg1
;
sp:
arg2
<http://www.epim.no/schemas/mprml/1#OK_other>
]
;
sp:
arg2
<http://www.reportinghub.no/ep/schema/production-activity#OtherProductionActivity>
;
sp:
arg3
<http://www.reportinghub.no/ep/schema/activity#ProductionActivity>
]
]
]
]
]
]
]
]
;
sp:
variable
[
sp:
varName
"productionActivityType"
^^
xsd:
string
]
])
]
.
ep-mpr-spin-lib:
selectProductionFacilityType
rdf:
type
spin:
Function
;
rdfs:
label
"select ProductionFacilityType"
^^
xsd:
string
;
...
...
www.reportinghub.no/ep/transform/TRANSFORM_mpr-productionActivity-v1.1.1.ttl
View file @
e1d8914
This diff could not be displayed because it is too large.
Please
register
or
login
to post a comment