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-09 20:08:09 +0100
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
06a9a825f673693fe4f7fd84cd668deabc5c2fb0
06a9a825
1 parent
b263a85c
More work on flows
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
573 additions
and
253 deletions
www.reportinghub.no/ep/schema/1.0/SCHEMA_EP-FLOW-v1.0.ttl
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/transform/TRANSFORM_dpr-productVolume-v1.1.1.ttl
www.reportinghub.no/ep/schema/1.0/SCHEMA_EP-FLOW-v1.0.ttl
View file @
06a9a82
# Saved by TopBraid on Sun Oct 09 1
5:34:41
BST 2011
# Saved by TopBraid on Sun Oct 09 1
9:30:18
BST 2011
# baseURI: http://www.reportinghub.no/ep/schema/1.0/flow
# imports: http://www.reportinghub.no/ep/schema/1.0/core
...
...
@@ -14,137 +14,137 @@
owl:
versionInfo
"Created with TopBraid Composer"
^^
xsd:
string
.
ep-flow:
AllocatedFlow
rdf:
type
ep-flow:
ProductionFlowDefinitionType
,
owl:
Class
;
rdf:
type
owl:
Class
,
ep-flow:
ProductionFlowDefinitionType
;
rdfs:
label
"allocated flow"
^^
xsd:
string
;
rdfs:
subClassOf
ep-flow:
Flow
.
ep-flow:
BudgetFlow
rdf:
type
ep-flow:
ProductionFlowDefinitionType
,
owl:
Class
;
rdf:
type
owl:
Class
,
ep-flow:
ProductionFlowDefinitionType
;
rdfs:
label
"budget flow"
^^
xsd:
string
;
rdfs:
subClassOf
ep-flow:
Flow
.
ep-flow:
ConstraintFlow
rdf:
type
owl:
Class
,
ep-flow:
ProductionFlowDefinitionType
;
rdf:
type
ep-flow:
ProductionFlowDefinitionType
,
owl:
Class
;
rdfs:
label
"constraint flow"
^^
xsd:
string
;
rdfs:
subClassOf
ep-flow:
Flow
.
ep-flow:
Consume
rdf:
type
ep-flow:
ProductionFlowPurposeType
,
owl:
Class
;
rdf:
type
owl:
Class
,
ep-flow:
ProductionFlowPurposeType
;
rdfs:
label
"consume"
^^
xsd:
string
;
rdfs:
subClassOf
ep-flow:
Flow
.
ep-flow:
Consume-HPflare
rdf:
type
ep-flow:
ProductionFlowPurposeType
,
owl:
Class
;
rdf:
type
owl:
Class
,
ep-flow:
ProductionFlowPurposeType
;
rdfs:
label
"consume - HP flare"
^^
xsd:
string
;
rdfs:
subClassOf
ep-flow:
Consume-flare
.
ep-flow:
Consume-LPflare
rdf:
type
ep-flow:
ProductionFlowPurposeType
,
owl:
Class
;
rdf:
type
owl:
Class
,
ep-flow:
ProductionFlowPurposeType
;
rdfs:
label
"consume - LP flare"
^^
xsd:
string
;
rdfs:
subClassOf
ep-flow:
Consume-flare
.
ep-flow:
Consume-blackstart
rdf:
type
ep-flow:
ProductionFlowPurposeType
,
owl:
Class
;
rdf:
type
owl:
Class
,
ep-flow:
ProductionFlowPurposeType
;
rdfs:
label
"consume - blackstart"
^^
xsd:
string
;
rdfs:
subClassOf
ep-flow:
Consume
.
ep-flow:
Consume-compressor
rdf:
type
ep-flow:
ProductionFlowPurposeType
,
owl:
Class
;
rdf:
type
owl:
Class
,
ep-flow:
ProductionFlowPurposeType
;
rdfs:
label
"consume - compressor"
^^
xsd:
string
;
rdfs:
subClassOf
ep-flow:
Consume
.
ep-flow:
Consume-emitted
rdf:
type
ep-flow:
ProductionFlowPurposeType
,
owl:
Class
;
rdf:
type
owl:
Class
,
ep-flow:
ProductionFlowPurposeType
;
rdfs:
label
"consume - emitted"
^^
xsd:
string
;
rdfs:
subClassOf
ep-flow:
Consume
.
ep-flow:
Consume-flare
rdf:
type
ep-flow:
ProductionFlowPurposeType
,
owl:
Class
;
rdf:
type
owl:
Class
,
ep-flow:
ProductionFlowPurposeType
;
rdfs:
label
"consume - flare"
^^
xsd:
string
;
rdfs:
subClassOf
ep-flow:
Consume
.
ep-flow:
Consume-fuel
rdf:
type
ep-flow:
ProductionFlowPurposeType
,
owl:
Class
;
rdf:
type
owl:
Class
,
ep-flow:
ProductionFlowPurposeType
;
rdfs:
label
"consume - fuel"
^^
xsd:
string
;
rdfs:
subClassOf
ep-flow:
Consume
.
ep-flow:
Consume-noncompressor
rdf:
type
ep-flow:
ProductionFlowPurposeType
,
owl:
Class
;
rdf:
type
owl:
Class
,
ep-flow:
ProductionFlowPurposeType
;
rdfs:
label
"consume - non-compressor"
^^
xsd:
string
;
rdfs:
subClassOf
ep-flow:
Consume
.
ep-flow:
Consume-venting
rdf:
type
ep-flow:
ProductionFlowPurposeType
,
owl:
Class
;
rdf:
type
owl:
Class
,
ep-flow:
ProductionFlowPurposeType
;
rdfs:
label
"consume - venting"
^^
xsd:
string
;
rdfs:
subClassOf
ep-flow:
Consume
.
ep-flow:
DerivedFlow
rdf:
type
owl:
Class
,
ep-flow:
ProductionFlowDefinitionType
;
rdf:
type
ep-flow:
ProductionFlowDefinitionType
,
owl:
Class
;
rdfs:
label
"derived flow"
^^
xsd:
string
;
rdfs:
subClassOf
ep-flow:
Flow
.
ep-flow:
EstimatedFlow
rdf:
type
ep-flow:
ProductionFlowDefinitionType
,
owl:
Class
;
rdf:
type
owl:
Class
,
ep-flow:
ProductionFlowDefinitionType
;
rdfs:
label
"estimated flow"
^^
xsd:
string
;
rdfs:
subClassOf
ep-flow:
Flow
.
ep-flow:
Export
rdf:
type
ep-flow:
ProductionFlowPurposeType
,
owl:
Class
;
rdf:
type
owl:
Class
,
ep-flow:
ProductionFlowPurposeType
;
rdfs:
label
"export"
^^
xsd:
string
;
rdfs:
subClassOf
ep-flow:
Flow
.
ep-flow:
Export-nominated
rdf:
type
ep-flow:
ProductionFlowPurposeType
,
owl:
Class
;
rdf:
type
owl:
Class
,
ep-flow:
ProductionFlowPurposeType
;
rdfs:
label
"export nominated"
^^
xsd:
string
;
rdfs:
subClassOf
ep-flow:
Export
.
ep-flow:
Export-requested
rdf:
type
ep-flow:
ProductionFlowPurposeType
,
owl:
Class
;
rdf:
type
owl:
Class
,
ep-flow:
ProductionFlowPurposeType
;
rdfs:
label
"export requested"
^^
xsd:
string
;
rdfs:
subClassOf
ep-flow:
Export
.
ep-flow:
Export-shortfall
rdf:
type
ep-flow:
ProductionFlowPurposeType
,
owl:
Class
;
rdf:
type
owl:
Class
,
ep-flow:
ProductionFlowPurposeType
;
rdfs:
label
"export shortfall"
^^
xsd:
string
;
rdfs:
subClassOf
ep-flow:
Export
.
ep-flow:
Flow
rdf:
type
owl:
Class
;
rdfs:
label
"flow"
^^
xsd:
string
;
rdfs:
subClassOf
<http://www.reportinghub.no/ep/schema/core#PhysicalThing>
.
rdfs:
subClassOf
ep-flow:
TemporalPartOfAFlow
.
ep-flow:
Gaslift
rdf:
type
ep-flow:
ProductionFlowPurposeType
,
owl:
Class
;
rdf:
type
owl:
Class
,
ep-flow:
ProductionFlowPurposeType
;
rdfs:
label
"gas lift"
^^
xsd:
string
;
rdfs:
subClassOf
ep-flow:
Flow
.
ep-flow:
Import
rdf:
type
ep-flow:
ProductionFlowPurposeType
,
owl:
Class
;
rdf:
type
owl:
Class
,
ep-flow:
ProductionFlowPurposeType
;
rdfs:
label
"import"
^^
xsd:
string
;
rdfs:
subClassOf
ep-flow:
Flow
.
ep-flow:
Injection
rdf:
type
ep-flow:
ProductionFlowPurposeType
,
owl:
Class
;
rdf:
type
owl:
Class
,
ep-flow:
ProductionFlowPurposeType
;
rdfs:
label
"injection"
^^
xsd:
string
;
rdfs:
subClassOf
ep-flow:
Flow
.
ep-flow:
Inventory
rdf:
type
ep-flow:
ProductionFlowPurposeType
,
owl:
Class
;
rdf:
type
owl:
Class
,
ep-flow:
ProductionFlowPurposeType
;
rdfs:
label
"inventory"
^^
xsd:
string
;
rdfs:
subClassOf
ep-flow:
Flow
.
ep-flow:
MeasuredFlow
rdf:
type
ep-flow:
ProductionFlowDefinitionType
,
owl:
Class
;
rdf:
type
owl:
Class
,
ep-flow:
ProductionFlowDefinitionType
;
rdfs:
label
"measured flow"
^^
xsd:
string
;
rdfs:
subClassOf
ep-flow:
Flow
.
ep-flow:
Overboard
rdf:
type
ep-flow:
ProductionFlowPurposeType
,
owl:
Class
;
rdf:
type
owl:
Class
,
ep-flow:
ProductionFlowPurposeType
;
rdfs:
label
"overboard"
^^
xsd:
string
;
rdfs:
subClassOf
ep-flow:
Flow
.
ep-flow:
Production
rdf:
type
ep-flow:
ProductionFlowPurposeType
,
owl:
Class
;
rdf:
type
owl:
Class
,
ep-flow:
ProductionFlowPurposeType
;
rdfs:
label
"production"
^^
xsd:
string
;
rdfs:
subClassOf
ep-flow:
Flow
.
...
...
@@ -164,11 +164,22 @@ ep-flow:ProductionFlowPurposeType
rdfs:
subClassOf
rdfs:
Class
.
ep-flow:
QuotaFlow
rdf:
type
ep-flow:
ProductionFlowDefinitionType
,
owl:
Class
;
rdf:
type
owl:
Class
,
ep-flow:
ProductionFlowDefinitionType
;
rdfs:
label
"quota flow"
^^
xsd:
string
;
rdfs:
subClassOf
ep-flow:
Flow
.
ep-flow:
SimulatedFlow
rdf:
type
ep-flow:
ProductionFlowDefinitionType
,
owl:
Class
;
rdf:
type
owl:
Class
,
ep-flow:
ProductionFlowDefinitionType
;
rdfs:
label
"simulated flow"
^^
xsd:
string
;
rdfs:
subClassOf
ep-flow:
Flow
.
ep-flow:
TemporalPartOfAFlow
rdf:
type
owl:
Class
;
rdfs:
label
"temporal part of a flow"
^^
xsd:
string
;
rdfs:
subClassOf
<http://www.reportinghub.no/ep/schema/core#PhysicalThing>
.
ep-flow:
flowOf
rdf:
type
owl:
ObjectProperty
;
rdfs:
domain
ep-flow:
Flow
;
rdfs:
label
"flow of"
^^
xsd:
string
;
rdfs:
range
<http://www.reportinghub.no/ep/schema/core#PhysicalObject>
.
...
...
www.reportinghub.no/ep/spin/SPIN_EPIM-DPR-lib-v1.1.spin.ttl
View file @
06a9a82
# Saved by TopBraid on Sun Oct 09
16:28:5
4 BST 2011
# Saved by TopBraid on Sun Oct 09
20:00:0
4 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
...
...
@@ -21,7 +21,7 @@
<http://www.reportinghub.no/ep/dpr/spin/1.1/lib>
rdf:
type
owl:
Ontology
;
owl:
imports
<http://
www.reportinghub.no/ep/schema/1.0/flow>
,
<http://www.reportinghub.no/ep/schema/1.0/geography>
,
<http://www.reportinghub.no/ep/schema/1.0/well>
,
<http://www.reportinghub.no/ep/schema/1.0/facility>
,
<http://www.witsml.org/schemas/131/addendum/combo>
,
<http://spinrdf.org/spin
>
;
owl:
imports
<http://
spinrdf.org/spin>
,
<http://www.witsml.org/schemas/131/addendum/combo>
,
<http://www.reportinghub.no/ep/schema/1.0/facility>
,
<http://www.reportinghub.no/ep/schema/1.0/well>
,
<http://www.reportinghub.no/ep/schema/1.0/geography>
,
<http://www.reportinghub.no/ep/schema/1.0/flow
>
;
owl:
versionInfo
"Created with TopBraid Composer"
^^
xsd:
string
.
ep-dpr-spin-lib:
Function
...
...
@@ -67,13 +67,197 @@ ep-dpr-spin-lib:buildProductionFlowURI
])
]
.
ep-dpr-spin-lib:
buildProductionFlowsForAPeriodURI
rdf:
type
spin:
Function
;
rdfs:
label
"build ProductionFacility URI"
^^
xsd:
string
;
rdfs:
subClassOf
ep-dpr-spin-lib:
Function
;
spin:
body
[
rdf:
type
sp:
Select
;
sp:
resultVariables
(
_:
b3
)
;
sp:
where
([
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
ep-spin-lib:
buildURI
;
sp:
arg1
"https://www.reportinghub.no/ep/data/productionFacility/"
;
sp:
arg2
[
rdf:
type
fn:
concat
;
sp:
arg1
spin:
_arg1
;
sp:
arg2
"$"
;
sp:
arg3
spin:
_arg2
;
sp:
arg4
"$"
;
sp:
arg5
spin:
_arg3
]
]
;
sp:
variable
_:
b3
])
]
.
ep-dpr-spin-lib:
selectProductType
rdf:
type
spin:
Function
;
rdfs:
label
"select ProductType"
^^
xsd:
string
;
rdfs:
subClassOf
ep-dpr-spin-lib:
Function
;
spin:
body
[
rdf:
type
sp:
Select
;
sp:
resultVariables
(
_:
b4
)
;
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#RF_consume-HPflare>
]
;
sp:
arg2
<http://www.reportinghub.no/ep/schema/flow#Consume-HPflare>
;
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#RF_consume-LPflare>
]
;
sp:
arg2
<http://www.reportinghub.no/ep/schema/flow#Consume-LPflare>
;
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#RF_consume-blackstart>
]
;
sp:
arg2
<http://www.reportinghub.no/ep/schema/flow#Consume-blackstart>
;
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#RF_consume-compressor>
]
;
sp:
arg2
<http://www.reportinghub.no/ep/schema/flow#Consume-compressor>
;
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#RF_consume-emitted>
]
;
sp:
arg2
<http://www.reportinghub.no/ep/schema/flow#Consume-emitted>
;
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#RF_consume-flare>
]
;
sp:
arg2
<http://www.reportinghub.no/ep/schema/flow#Consume-flare>
;
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#RF_consume-fuel>
]
;
sp:
arg2
<http://www.reportinghub.no/ep/schema/flow#Consume-fuel>
;
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#RF_consume-noncompressor>
]
;
sp:
arg2
<http://www.reportinghub.no/ep/schema/flow#Consume-noncompressor>
;
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#RF_consume-venting>
]
;
sp:
arg2
<http://www.reportinghub.no/ep/schema/flow#Consume-venting>
;
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#RF_consume>
]
;
sp:
arg2
<http://www.reportinghub.no/ep/schema/flow#Consume>
;
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#RF_export-nominated>
]
;
sp:
arg2
<http://www.reportinghub.no/ep/schema/flow#Export-nominated>
;
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#RF_export-requested>
]
;
sp:
arg2
<http://www.reportinghub.no/ep/schema/flow#Export-requested>
;
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#RF_export-shortfall>
]
;
sp:
arg2
<http://www.reportinghub.no/ep/schema/flow#Export-shortfall>
;
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#RF_export>
]
;
sp:
arg2
<http://www.reportinghub.no/ep/schema/flow#Export>
;
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#RF_gaslift>
]
;
sp:
arg2
<http://www.reportinghub.no/ep/schema/flow#Gaslift>
;
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#RF_import>
]
;
sp:
arg2
<http://www.reportinghub.no/ep/schema/flow#Import>
;
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#RF_injection>
]
;
sp:
arg2
<http://www.reportinghub.no/ep/schema/flow#Injection>
;
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#RF_inventory>
]
;
sp:
arg2
<http://www.reportinghub.no/ep/schema/flow#Inventory>
;
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#RF_overboard>
]
;
sp:
arg2
<http://www.reportinghub.no/ep/schema/flow#Overboard>
;
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#RF_production>
]
;
sp:
arg2
<http://www.reportinghub.no/ep/schema/flow#Production>
;
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#ReportingFlow_RF_unknown>
]
;
sp:
arg2
<http://www.reportinghub.no/ep/schema/flow#Flow>
;
sp:
arg3
<http://www.reportinghub.no/ep/schema/flow#Flow>
]
]
]
]
]
]
]
]
]
]
]
]
]
]
]
]
]
]
]
]
]
;
sp:
variable
_:
b4
])
]
.
ep-dpr-spin-lib:
selectProductionFacilityType
rdf:
type
spin:
Function
;
rdfs:
label
"select ProductionFacilityType"
^^
xsd:
string
;
rdfs:
subClassOf
ep-dpr-spin-lib:
Function
;
spin:
body
[
rdf:
type
sp:
Select
;
sp:
resultVariables
(
_:
b
3
)
;
sp:
resultVariables
(
_:
b
5
)
;
sp:
where
([
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
sp:
if
;
...
...
@@ -252,7 +436,7 @@ ep-dpr-spin-lib:selectProductionFacilityType
]
]
]
;
sp:
variable
_:
b
3
sp:
variable
_:
b
5
])
]
.
...
...
@@ -262,7 +446,7 @@ ep-dpr-spin-lib:selectProductionFlowDefinitionType
rdfs:
subClassOf
ep-dpr-spin-lib:
Function
;
spin:
body
[
rdf:
type
sp:
Select
;
sp:
resultVariables
(
_:
b
4
)
;
sp:
resultVariables
(
_:
b
6
)
;
sp:
where
([
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
sp:
if
;
...
...
@@ -322,7 +506,7 @@ ep-dpr-spin-lib:selectProductionFlowDefinitionType
]
]
]
;
sp:
variable
_:
b
4
sp:
variable
_:
b
6
])
]
.
...
...
@@ -332,7 +516,7 @@ ep-dpr-spin-lib:selectProductionFlowPurposeType
rdfs:
subClassOf
ep-dpr-spin-lib:
Function
;
spin:
body
[
rdf:
type
sp:
Select
;
sp:
resultVariables
(
_:
b
5
)
;
sp:
resultVariables
(
_:
b
7
)
;
sp:
where
([
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
sp:
if
;
...
...
@@ -483,16 +667,20 @@ ep-dpr-spin-lib:selectProductionFlowPurposeType
]
]
]
;
sp:
variable
_:
b
5
sp:
variable
_:
b
7
])
]
.
_:
b
1
sp:
varName
"uri
"
^^
xsd:
string
.
_:
b
4
sp:
varName
"productType
"
^^
xsd:
string
.
_:
b2
sp:
varName
"uri"
^^
xsd:
string
.
_:
b7
sp:
varName
"productionFlowPurposeType"
^^
xsd:
string
.
_:
b6
sp:
varName
"productionFlowDefinitionType"
^^
xsd:
string
.
_:
b
3
sp:
varName
"productionFacilityType"
^^
xsd:
string
.
_:
b
5
sp:
varName
"productionFacilityType"
^^
xsd:
string
.
_:
b5
sp:
varName
"productionFlowPurposeType"
^^
xsd:
string
.
_:
b2
sp:
varName
"uri"
^^
xsd:
string
.
_:
b1
sp:
varName
"uri"
^^
xsd:
string
.
_:
b
4
sp:
varName
"productionFlowDefinitionType
"
^^
xsd:
string
.
_:
b
3
sp:
varName
"uri
"
^^
xsd:
string
.
...
...
www.reportinghub.no/ep/spin/SPIN_EPIM-DPR-lib-v1.1.spin.ttl.tbc
View file @
06a9a82
# Saved by TopBraid on Sun Oct 09
16:28:5
4 BST 2011
# Saved by TopBraid on Sun Oct 09
20:00:0
4 BST 2011
# baseURI: null
@prefix
composite:
<http://www.topbraid.org/2007/05/composite.owl#>
.
...
...
www.reportinghub.no/ep/transform/TRANSFORM_dpr-productVolume-v1.1.1.ttl
View file @
06a9a82
# Saved by TopBraid on Sun Oct 09 1
6:13:48
BST 2011
# Saved by TopBraid on Sun Oct 09 1
9:58:53
BST 2011
# baseURI: http://www.reportinghub.no/ep/transform/1.0/dpr/productVolume
# imports: http://www.reportinghub.no/ep/spin/1.1/lib
# imports: http://www.reportinghub.no/ep/schema/1.0/core
# imports: http://www.reportinghub.no/ep/dpr/spin/1.1/lib
# imports: http://www.reportinghub.no/ep/schema/1.0/core
# imports: http://www.reportinghub.no/ep/schema/1.0/facility
# imports: http://spinrdf.org/spin
# imports: http://www.witsml.org/schemas/131/addendum/combo
...
...
@@ -13,6 +13,7 @@
@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
smf:
<http://topbraid.org/sparqlmotionfunctions#>
.
@prefix
sp:
<http://spinrdf.org/sp#>
.
@prefix
spin:
<http://spinrdf.org/spin#>
.
@prefix
spl:
<http://spinrdf.org/spl#>
.
...
...
@@ -20,354 +21,474 @@
<http://www.reportinghub.no/ep/transform/1.0/dpr/productVolume>
rdf:
type
owl:
Ontology
;
owl:
imports
<http://www.reportinghub.no/ep/
dpr/spin/1.1/lib>
,
<http://www.reportinghub.no/ep/schema/1.0/facility>
,
<http://www.witsml.org/schemas/131/addendum/combo>
,
<http://www.reportinghub.no/ep/schema/1.0/core>
,
<http://spinrdf.org/spin>
,
<http://www.reportinghub.no/ep
/spin/1.1/lib>
;
owl:
imports
<http://www.reportinghub.no/ep/
spin/1.1/lib>
,
<http://spinrdf.org/spin>
,
<http://www.reportinghub.no/ep/schema/1.0/core>
,
<http://www.witsml.org/schemas/131/addendum/combo>
,
<http://www.reportinghub.no/ep/schema/1.0/facility>
,
<http://www.reportinghub.no/ep/dpr
/spin/1.1/lib>
;
owl:
versionInfo
"Created with TopBraid Composer"
^^
xsd:
string
.
<http://www.witsml.org/schemas/131/addendum/combo#Co_productVolume>
spin:
rule
[
rdf:
type
sp:
Construct
;
rdfs:
comment
"STEP 20102 record the flows"
^^
xsd:
string
;
sp:
templates
([
sp:
object
_:
b1
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/core#hasPart>
;
sp:
subject
_:
b2
]
[
sp:
object
<http://www.reportinghub.no/ep/schema/flow#ProductionFlow>
;
rdfs:
comment
"""STEP 20101c Set the type of temporal part
kind and periodKind are not yet processed"""
^^
xsd:
string
;
sp:
templates
([
sp:
object
<http://www.reportinghub.no/ep/schema/flow#TemporalPartOfAFlow>
;
sp:
predicate
rdf:
type
;
sp:
subject
_:
b1
]
[
sp:
object
_:
b3
;
sp:
predicate
rdf:
type
;
])
;
sp:
where
([
sp:
object
[
sp:
varName
"kind"
^^
xsd:
string
]
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#kind>
;
sp:
subject
spin:
_this
]
[
sp:
object
[
sp:
varName
"periodKindRef"
^^
xsd:
string
]
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#periodKindRef>
;
sp:
subject
spin:
_this
]
[
sp:
object
[
sp:
varName
"dateEnd"
^^
xsd:
string
]
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#dateStart>
;
sp:
subject
spin:
_this
]
[
sp:
object
spin:
_this
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/core#derivedFrom>
;
sp:
subject
_:
b1
]
[
sp:
object
_:
b4
;
])
]
;
spin:
rule
[
rdf:
type
sp:
Construct
;
rdfs:
comment
"STEP 20101b Record the Temporal part of the flows for the day"
^^
xsd:
string
;
sp:
templates
([
sp:
object
<http://www.reportinghub.no/ep/schema/flow#TemporalPartOfAFlow>
;
sp:
predicate
rdf:
type
;
sp:
subject
_:
b1
sp:
subject
_:
b2
]
[
sp:
object
spin:
_this
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/core#derivedFrom>
;
sp:
subject
_:
b2
])
;
sp:
where
([
sp:
object
_:
b3
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#name>
;
sp:
subject
spin:
_this
]
[
sp:
object
_:
b4
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#dateStart>
;
sp:
subject
spin:
_this
]
[
sp:
object
_:
b5
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#dateStart>
;
sp:
subject
spin:
_this
]
[
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
ep-spin-lib:
normalizeString
;
sp:
arg1
_:
b3
]
;
sp:
variable
_:
b6
]
[
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
ep-dpr-spin-lib:
buildProductionFlowsForAPeriodURI
;
sp:
arg1
_:
b6
;
sp:
arg2
_:
b4
;
sp:
arg3
_:
b5
]
;
sp:
variable
_:
b2
])
]
;
spin:
rule
[
rdf:
type
sp:
Construct
;
rdfs:
comment
"STEP 20101a Record the Temporal part of the flows for the day"
^^
xsd:
string
;
sp:
templates
([
sp:
object
<http://www.reportinghub.no/ep/schema/flow#TemporalPartOfAFlow>
;
sp:
predicate
rdf:
type
;
sp:
subject
_:
b7
]
[
sp:
object
spin:
_this
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/core#derivedFrom>
;
sp:
subject
_:
b7
])
;
sp:
where
([
sp:
object
_:
b8
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#name>
;
sp:
subject
spin:
_this
]
[
sp:
object
_:
b9
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#dTimStart>
;
sp:
subject
spin:
_this
]
[
sp:
object
_:
b10
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#dTimStart>
;
sp:
subject
spin:
_this
]
[
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
ep-spin-lib:
normalizeString
;
sp:
arg1
_:
b8
]
;
sp:
variable
_:
b11
]
[
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
ep-dpr-spin-lib:
buildProductionFlowsForAPeriodURI
;
sp:
arg1
_:
b11
;
sp:
arg2
_:
b9
;
sp:
arg3
_:
b10
]
;
sp:
variable
_:
b7
])
]
;
spin:
rule
[
rdf:
type
sp:
Construct
;
rdfs:
comment
"STEP 20103 record the flows"
^^
xsd:
string
;
sp:
templates
([
sp:
object
_:
b12
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/core#hasPart>
;
sp:
subject
_:
b13
]
[
sp:
object
<http://www.reportinghub.no/ep/schema/flow#ProductionFlow>
;
sp:
predicate
rdf:
type
;
sp:
subject
_:
b12
]
[
sp:
object
_:
b14
;
sp:
predicate
rdf:
type
;
sp:
subject
_:
b12
]
[
sp:
object
_:
b15
;
sp:
predicate
rdf:
type
;
sp:
subject
_:
b12
]
[
sp:
object
_:
b16
;
sp:
predicate
rdfs:
label
;
sp:
subject
_:
b1
sp:
subject
_:
b1
2
])
;
sp:
where
([
sp:
object
_:
b
6
;
sp:
where
([
sp:
object
_:
b
17
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#facilityRef>
;
sp:
subject
spin:
_this
]
[
sp:
object
_:
b
7
;
]
[
sp:
object
_:
b
18
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#nameRef>
;
sp:
subject
_:
b
6
]
[
sp:
object
_:
b
8
;
sp:
subject
_:
b
17
]
[
sp:
object
_:
b
19
;
sp:
predicate
<http://www.linkedmodel.org/schema/dtype#value>
;
sp:
subject
_:
b
7
]
[
sp:
object
_:
b
9
;
sp:
subject
_:
b
18
]
[
sp:
object
_:
b
20
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#flowRef>
;
sp:
subject
_:
b
6
]
[
sp:
object
_:
b
5
;
sp:
subject
_:
b
17
]
[
sp:
object
_:
b
16
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#name>
;
sp:
subject
_:
b
9
]
[
sp:
object
_:
b
10
;
sp:
subject
_:
b
20
]
[
sp:
object
_:
b
21
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#kindRef>
;
sp:
subject
_:
b
9
sp:
subject
_:
b
20
]
[
rdf:
type
sp:
Optional
;
sp:
elements
([
sp:
object
[
sp:
varName
"flowDirection"
^^
xsd:
string
]
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#directionRef>
;
sp:
subject
_:
b
9
sp:
subject
_:
b
20
])
]
[
rdf:
type
sp:
Optional
;
sp:
elements
([
sp:
object
[
sp:
varName
"flowQualifier"
^^
xsd:
string
]
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#qualifierRef>
;
sp:
subject
_:
b
9
sp:
subject
_:
b
20
])
]
[
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
ep-spin-lib:
normalizeString
;
sp:
arg1
_:
b
8
sp:
arg1
_:
b
19
]
;
sp:
variable
_:
b
11
sp:
variable
_:
b
22
]
[
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
ep-dpr-spin-lib:
buildProductionFacilityURI
;
sp:
arg1
_:
b
11
sp:
arg1
_:
b
22
]
;
sp:
variable
_:
b
2
sp:
variable
_:
b
13
]
[
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
ep-spin-lib:
normalizeString
;
sp:
arg1
_:
b
5
sp:
arg1
_:
b
16
]
;
sp:
variable
_:
b
12
sp:
variable
_:
b
23
]
[
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
ep-dpr-spin-lib:
buildProductionFlowURI
;
sp:
arg1
_:
b
12
sp:
arg1
_:
b
23
]
;
sp:
variable
_:
b1
sp:
variable
_:
b1
2
]
[
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
ep-dpr-spin-lib:
selectProductionFlowPurposeType
;
sp:
arg1
_:
b
10
sp:
arg1
_:
b
21
]
;
sp:
variable
_:
b
3
sp:
variable
_:
b
14
]
[
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
ep-dpr-spin-lib:
selectProductionFlowDefinitionType
;
sp:
arg1
_:
b
10
sp:
arg1
_:
b
21
]
;
sp:
variable
_:
b
4
sp:
variable
_:
b
15
])
]
;
spin:
rule
[
rdf:
type
sp:
Construct
;
rdfs:
comment
"STEP 9999 stream of conciousness"
^^
xsd:
string
;
sp:
templates
()
;
sp:
where
([
sp:
object
_:
b13
;
rdfs:
comment
"STEP 20104 record the products"
^^
xsd:
string
;
sp:
templates
([
sp:
object
_:
b24
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/core#hasPart>
;
sp:
subject
_:
b25
]
[
sp:
object
<http://www.reportinghub.no/ep/schema/flow#Flow>
;
sp:
predicate
rdf:
type
;
sp:
subject
_:
b24
]
[
sp:
object
_:
b26
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/flow#flowOf>
;
sp:
subject
_:
b24
]
[
sp:
object
<http://www.reportinghub.no/ep/schema/well#Fluid>
;
sp:
predicate
rdf:
type
;
sp:
subject
_:
b26
]
[
sp:
object
_:
b27
;
sp:
predicate
rdf:
type
;
sp:
subject
_:
b26
])
;
sp:
where
([
sp:
object
_:
b28
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#facilityRef>
;
sp:
subject
spin:
_this
]
[
sp:
object
_:
b
14
;
]
[
sp:
object
_:
b
29
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#nameRef>
;
sp:
subject
_:
b13
]
[
sp:
object
[
sp:
varName
"facilityName"
^^
xsd:
string
]
;
sp:
subject
_:
b28
]
[
sp:
object
_:
b30
;
sp:
predicate
<http://www.linkedmodel.org/schema/dtype#value>
;
sp:
subject
_:
b14
]
[
rdf:
type
sp:
Optional
;
sp:
elements
([
sp:
object
[
sp:
varName
"facilityNamingSystem"
^^
xsd:
string
]
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#namingSystem>
;
sp:
subject
_:
b14
])
]
[
rdf:
type
sp:
Optional
;
sp:
elements
([
sp:
object
[
sp:
varName
"facilityKind"
^^
xsd:
string
]
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#kindRef>
;
sp:
subject
_:
b14
])
]
[
sp:
object
_:
b15
;
sp:
subject
_:
b29
]
[
sp:
object
_:
b31
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#flowRef>
;
sp:
subject
_:
b13
]
[
sp:
object
[
sp:
varName
"flowName"
^^
xsd:
string
]
;
sp:
subject
_:
b28
]
[
sp:
object
_:
b32
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#name>
;
sp:
subject
_:
b15
]
[
sp:
object
[
sp:
varName
"flowKind"
^^
xsd:
string
]
;
sp:
subject
_:
b31
]
[
sp:
object
_:
b33
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#productRef>
;
sp:
subject
_:
b34
]
[
sp:
object
_:
b35
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#kindRef>
;
sp:
subject
_:
b15
]
[
sp:
object
[
sp:
varName
"flowDirection"
^^
xsd:
string
sp:
subject
_:
b33
]
[
sp:
object
_:
b36
;
sp:
predicate
rdfs:
label
;
sp:
subject
_:
b27
]
[
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
ep-spin-lib:
normalizeString
;
sp:
arg1
_:
b30
]
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#directionRef>
;
sp:
subject
_:
b15
]
[
sp:
object
[
sp:
varName
"flowQualifier"
^^
xsd:
string
sp:
variable
_:
b37
]
[
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
ep-dpr-spin-lib:
buildProductionFacilityURI
;
sp:
arg1
_:
b37
]
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#qualifierRef>
;
sp:
subject
_:
b15
]
[
sp:
object
_:
b16
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#productRef>
;
sp:
subject
_:
b15
]
[
sp:
object
_:
b17
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#nameRef>
;
sp:
subject
_:
b16
]
[
sp:
object
[
sp:
varName
"productName"
^^
xsd:
string
sp:
variable
[
sp:
varName
"productionFacility"
^^
xsd:
string
]
]
[
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
ep-spin-lib:
normalizeString
;
sp:
arg1
_:
b32
]
;
sp:
predicate
<http://www.linkedmodel.org/schema/dtype#value>
;
sp:
subject
_:
b17
]
[
rdf:
type
sp:
Optional
;
sp:
elements
([
sp:
object
[
sp:
varName
"productNamingSystem"
^^
xsd:
string
]
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#namingSystem>
;
sp:
subject
_:
b17
])
]
[
rdf:
type
sp:
Optional
;
sp:
elements
([
sp:
object
_:
b18
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#kindRef>
;
sp:
subject
_:
b17
])
]
[
sp:
object
_:
b18
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#kindRef>
;
sp:
subject
_:
b16
]
[
sp:
object
_:
b19
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#periodRef>
;
sp:
subject
_:
b16
]
[
sp:
object
[
sp:
varName
"periodKind"
^^
xsd:
string
sp:
variable
_:
b38
]
[
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
ep-dpr-spin-lib:
buildProductionFlowURI
;
sp:
arg1
_:
b38
]
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#kindRef>
;
sp:
subject
_:
b19
]
[
sp:
object
[
sp:
varName
"startTime"
^^
xsd:
string
sp:
variable
_:
b25
]
[
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
ep-spin-lib:
normalizeString
;
sp:
arg1
[
sp:
varName
"productName"
^^
xsd:
string
]
]
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#dTimStart>
;
sp:
subject
_:
b19
]
[
sp:
object
[
sp:
varName
"endTime"
^^
xsd:
string
sp:
variable
[
sp:
varName
"normalizedProductName"
^^
xsd:
string
]
]
[
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
ep-dpr-spin-lib:
selectProductType
;
sp:
arg1
_:
b35
]
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#dTimEnd>
;
sp:
subject
_:
b19
]
[
rdf:
type
sp:
Optional
;
sp:
elements
([
sp:
object
_:
b20
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#volumeRef>
;
sp:
subject
_:
b19
]
[
sp:
object
[
sp:
varName
"realVolume"
^^
xsd:
string
]
;
sp:
predicate
<http://www.linkedmodel.org/schema/dtype#value>
;
sp:
subject
_:
b20
]
[
sp:
object
[
sp:
varName
"uomVolume"
^^
xsd:
string
]
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#uomRef>
;
sp:
subject
_:
b20
])
]
[
rdf:
type
sp:
Optional
;
sp:
elements
([
sp:
object
_:
b21
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#volumeStdRef>
;
sp:
subject
_:
b19
]
[
sp:
object
[
sp:
varName
"realVolumeStd"
^^
xsd:
string
]
;
sp:
predicate
<http://www.linkedmodel.org/schema/dtype#value>
;
sp:
subject
_:
b21
]
[
sp:
object
[
sp:
varName
"uomVolumeStd"
^^
xsd:
string
]
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#uomRef>
;
sp:
subject
_:
b21
])
sp:
variable
_:
b27
]
[
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
ep-spin-lib:
normalizeString
;
sp:
arg1
_:
b36
]
;
sp:
variable
_:
b39
]
[
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
smf:
deriveURI
;
sp:
arg1
_:
b34
;
sp:
arg2
_:
b39
]
;
sp:
variable
_:
b24
])
]
;
spin:
rule
[
rdf:
type
sp:
Construct
;
rdfs:
comment
"""STEP 2010
1
Record the Facility that has the flows
rdfs:
comment
"""STEP 2010
2
Record the Facility that has the flows
Nothing is done with the namingSystem!"""
^^
xsd:
string
;
sp:
templates
([
sp:
object
<http://www.reportinghub.no/ep/schema/facility#ProductionFacility>
;
sp:
predicate
rdf:
type
;
sp:
subject
_:
b
22
]
[
sp:
object
_:
b
23
;
sp:
subject
_:
b
40
]
[
sp:
object
_:
b
41
;
sp:
predicate
rdf:
type
;
sp:
subject
_:
b
22
]
[
sp:
object
_:
b
24
;
sp:
subject
_:
b
40
]
[
sp:
object
_:
b
42
;
sp:
predicate
rdfs:
label
;
sp:
subject
_:
b
22
sp:
subject
_:
b
40
])
;
sp:
where
([
sp:
object
_:
b
25
;
sp:
where
([
sp:
object
_:
b
43
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#facilityRef>
;
sp:
subject
spin:
_this
]
[
sp:
object
_:
b
26
;
]
[
sp:
object
_:
b
44
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#nameRef>
;
sp:
subject
_:
b
25
]
[
sp:
object
_:
b
24
;
sp:
subject
_:
b
43
]
[
sp:
object
_:
b
42
;
sp:
predicate
<http://www.linkedmodel.org/schema/dtype#value>
;
sp:
subject
_:
b
26
sp:
subject
_:
b
44
]
[
rdf:
type
sp:
Optional
;
sp:
elements
([
sp:
object
[
sp:
varName
"facilityNamingSystem"
^^
xsd:
string
]
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#namingSystem>
;
sp:
subject
_:
b
26
sp:
subject
_:
b
44
])
]
[
rdf:
type
sp:
Optional
;
sp:
elements
([
sp:
object
_:
b
27
;
sp:
elements
([
sp:
object
_:
b
45
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#kindRef>
;
sp:
subject
_:
b
26
sp:
subject
_:
b
44
])
]
[
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
ep-spin-lib:
normalizeString
;
sp:
arg1
_:
b
24
sp:
arg1
_:
b
42
]
;
sp:
variable
_:
b
28
sp:
variable
_:
b
46
]
[
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
ep-dpr-spin-lib:
buildProductionFacilityURI
;
sp:
arg1
_:
b
28
sp:
arg1
_:
b
46
]
;
sp:
variable
_:
b
22
sp:
variable
_:
b
40
]
[
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
ep-dpr-spin-lib:
selectProductionFacilityType
;
sp:
arg1
_:
b
27
sp:
arg1
_:
b
45
]
;
sp:
variable
_:
b
23
sp:
variable
_:
b
41
])
]
.
_:
b28
_:
b24
sp:
varName
"productFlow"
^^
xsd:
string
.
_:
b39
sp:
varName
"normalizedProductTypeName"
^^
xsd:
string
.
_:
b25
sp:
varName
"productionFlow"
^^
xsd:
string
.
_:
b38
sp:
varName
"normalizedFlowName"
^^
xsd:
string
.
_:
b37
sp:
varName
"normalizedFacilityName"
^^
xsd:
string
.
_:
b36
sp:
varName
"productTypeName"
^^
xsd:
string
.
_:
b27
sp:
varName
"facilityKind"
^^
xsd:
string
.
sp:
varName
"productType"
^^
xsd:
string
.
_:
b35
sp:
varName
"productKind"
^^
xsd:
string
.
_:
b33
sp:
varName
"product"
^^
xsd:
string
.
_:
b34
sp:
varName
"flow"
^^
xsd:
string
.
_:
b32
sp:
varName
"flowName"
^^
xsd:
string
.
_:
b31
sp:
varName
"flowRef"
^^
xsd:
string
.
_:
b26
_:
b30
sp:
varName
"facilityName"
^^
xsd:
string
.
_:
b29
sp:
varName
"facilityNameRef"
^^
xsd:
string
.
_:
b2
5
_:
b2
8
sp:
varName
"facilityRef"
^^
xsd:
string
.
_:
b24
sp:
varName
"facilityName"
^^
xsd:
string
.
_:
b1
sp:
varName
"productionFlowsForAPeriod"
^^
xsd:
string
.
_:
b23
sp:
varName
"productionFacilityType"
^^
xsd:
string
.
_:
b2
sp:
varName
"productionFlowsForAPeriod"
^^
xsd:
string
.
_:
b22
sp:
varName
"productionFacility"
^^
xsd:
string
.
_:
b6
sp:
varName
"normalizedProductionFlowsName"
^^
xsd:
string
.
_:
b21
sp:
varName
"volumeStdRef"
^^
xsd:
string
.
_:
b5
sp:
varName
"dateEnd"
^^
xsd:
string
.
_:
b20
sp:
varName
"volumeRef"
^^
xsd:
string
.
_:
b4
sp:
varName
"dateStart"
^^
xsd:
string
.
_:
b19
sp:
varName
"period"
^^
xsd:
string
.
_:
b3
sp:
varName
"productionFlowsName"
^^
xsd:
string
.
_:
b18
sp:
varName
"productKind"
^^
xsd:
string
.
_:
b7
sp:
varName
"productionFlowsForAPeriod"
^^
xsd:
string
.
_:
b1
7
sp:
varName
"
productNameRef
"
^^
xsd:
string
.
_:
b1
1
sp:
varName
"
normalizedProductionFlowsName
"
^^
xsd:
string
.
_:
b16
sp:
varName
"product"
^^
xsd:
string
.
_:
b10
sp:
varName
"dTimEnd"
^^
xsd:
string
.
_:
b9
sp:
varName
"dTimStart"
^^
xsd:
string
.
_:
b8
sp:
varName
"productionFlowsName"
^^
xsd:
string
.
_:
b15
sp:
varName
"
flow
"
^^
xsd:
string
.
sp:
varName
"
productionFlowDefinitionType
"
^^
xsd:
string
.
_:
b14
sp:
varName
"facilityNameRef"
^^
xsd:
string
.
sp:
varName
"productionFlowPurposeType"
^^
xsd:
string
.
_:
b12
sp:
varName
"productionFlow"
^^
xsd:
string
.
_:
b23
sp:
varName
"normalizedFlowName"
^^
xsd:
string
.
_:
b13
sp:
varName
"
f
acility"
^^
xsd:
string
.
sp:
varName
"
productionF
acility"
^^
xsd:
string
.
_:
b6
sp:
varName
"facilityRef"
^^
xsd:
string
.
_:
b22
sp:
varName
"normalizedFacilityName"
^^
xsd:
string
.
_:
b7
sp:
varName
"facilityNameRef"
^^
xsd:
string
.
_:
b21
sp:
varName
"flowKind"
^^
xsd:
string
.
_:
b8
sp:
varName
"facilityName"
^^
xsd:
string
.
_:
b16
sp:
varName
"flowName"
^^
xsd:
string
.
_:
b9
sp:
varName
"flowRef"
^^
xsd:
string
.
_:
b20
sp:
varName
"flowRef"
^^
xsd:
string
.
_:
b5
sp:
varName
"flowName"
^^
xsd:
string
.
_:
b19
sp:
varName
"facilityName"
^^
xsd:
string
.
_:
b1
0
sp:
varName
"f
lowKind
"
^^
xsd:
string
.
_:
b1
8
sp:
varName
"f
acilityNameRef
"
^^
xsd:
string
.
_:
b1
1
sp:
varName
"
normalizedFacilityName
"
^^
xsd:
string
.
_:
b1
7
sp:
varName
"
facilityRef
"
^^
xsd:
string
.
_:
b2
sp:
varName
"productionFacility"
^^
xsd:
string
.
_:
b41
sp:
varName
"productionFacilityType"
^^
xsd:
string
.
_:
b12
sp:
varName
"normalizedFlowName"
^^
xsd:
string
.
_:
b40
sp:
varName
"productionFacility"
^^
xsd:
string
.
_:
b46
sp:
varName
"normalizedFacilityName"
^^
xsd:
string
.
_:
b45
sp:
varName
"facilityKind"
^^
xsd:
string
.
_:
b1
sp:
varName
"productionFlow"
^^
xsd:
string
.
_:
b42
sp:
varName
"facilityName"
^^
xsd:
string
.
_:
b3
sp:
varName
"productionFlowPurposeType"
^^
xsd:
string
.
_:
b44
sp:
varName
"facilityNameRef"
^^
xsd:
string
.
_:
b4
sp:
varName
"productionFlowDefinitionType"
^^
xsd:
string
.
_:
b43
sp:
varName
"facilityRef"
^^
xsd:
string
.
...
...
Please
register
or
login
to post a comment