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 11:05:02 +0100
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
818b44bace04a2350684161d2a4f73fe6b40824e
818b44ba
1 parent
df76aa9c
Production flow purpose type added
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
313 additions
and
620 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.0.ttl
www.reportinghub.no/ep/transform/TRANSFORM_dpr-productVolume-v1.0.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 @
818b44b
# Saved by TopBraid on S
at Oct 08 12:07:59 BST 2011
# Saved by TopBraid on S
un Oct 09 11:03:49 BST 2011
# baseURI: http://www.reportinghub.no/ep/schema/1.0/flow
# imports: http://www.reportinghub.no/ep/schema/1.0/core
...
...
@@ -13,7 +13,117 @@
owl:
imports
<http://www.reportinghub.no/ep/schema/1.0/core>
;
owl:
versionInfo
"Created with TopBraid Composer"
^^
xsd:
string
.
ep-flow:
Consume
rdf:
type
owl:
Class
,
ep-flow:
ProductionFlowPurposeType
;
rdfs:
label
"consume"
^^
xsd:
string
;
rdfs:
subClassOf
ep-flow:
Flow
.
ep-flow:
Consume-HPflare
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
owl:
Class
,
ep-flow:
ProductionFlowPurposeType
;
rdfs:
label
"consume - LP flare"
^^
xsd:
string
;
rdfs:
subClassOf
ep-flow:
Consume-flare
.
ep-flow:
Consume-blackstart
rdf:
type
owl:
Class
,
ep-flow:
ProductionFlowPurposeType
;
rdfs:
label
"consume - blackstart"
^^
xsd:
string
;
rdfs:
subClassOf
ep-flow:
Consume
.
ep-flow:
Consume-compressor
rdf:
type
owl:
Class
,
ep-flow:
ProductionFlowPurposeType
;
rdfs:
label
"consume - compressor"
^^
xsd:
string
;
rdfs:
subClassOf
ep-flow:
Consume
.
ep-flow:
Consume-emitted
rdf:
type
owl:
Class
,
ep-flow:
ProductionFlowPurposeType
;
rdfs:
label
"consume - emitted"
^^
xsd:
string
;
rdfs:
subClassOf
ep-flow:
Consume
.
ep-flow:
Consume-flare
rdf:
type
owl:
Class
,
ep-flow:
ProductionFlowPurposeType
;
rdfs:
label
"consume - flare"
^^
xsd:
string
;
rdfs:
subClassOf
ep-flow:
Consume
.
ep-flow:
Consume-fuel
rdf:
type
owl:
Class
,
ep-flow:
ProductionFlowPurposeType
;
rdfs:
label
"consume - fuel"
^^
xsd:
string
;
rdfs:
subClassOf
ep-flow:
Consume
.
ep-flow:
Consume-noncompressor
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
owl:
Class
,
ep-flow:
ProductionFlowPurposeType
;
rdfs:
label
"consume - venting"
^^
xsd:
string
;
rdfs:
subClassOf
ep-flow:
Consume
.
ep-flow:
Export
rdf:
type
owl:
Class
,
ep-flow:
ProductionFlowPurposeType
;
rdfs:
label
"export"
^^
xsd:
string
;
rdfs:
subClassOf
ep-flow:
Flow
.
ep-flow:
Export-nominated
rdf:
type
owl:
Class
,
ep-flow:
ProductionFlowPurposeType
;
rdfs:
label
"export nominated"
^^
xsd:
string
;
rdfs:
subClassOf
ep-flow:
Export
.
ep-flow:
Export-requested
rdf:
type
owl:
Class
,
ep-flow:
ProductionFlowPurposeType
;
rdfs:
label
"export requested"
^^
xsd:
string
;
rdfs:
subClassOf
ep-flow:
Export
.
ep-flow:
Export-shortfall
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>
.
ep-flow:
Gaslift
rdf:
type
owl:
Class
,
ep-flow:
ProductionFlowPurposeType
;
rdfs:
label
"gas lift"
^^
xsd:
string
;
rdfs:
subClassOf
ep-flow:
Flow
.
ep-flow:
Import
rdf:
type
owl:
Class
,
ep-flow:
ProductionFlowPurposeType
;
rdfs:
label
"import"
^^
xsd:
string
;
rdfs:
subClassOf
ep-flow:
Flow
.
ep-flow:
Injection
rdf:
type
owl:
Class
,
ep-flow:
ProductionFlowPurposeType
;
rdfs:
label
"injection"
^^
xsd:
string
;
rdfs:
subClassOf
ep-flow:
Flow
.
ep-flow:
Inventory
rdf:
type
owl:
Class
,
ep-flow:
ProductionFlowPurposeType
;
rdfs:
label
"inventory"
^^
xsd:
string
;
rdfs:
subClassOf
ep-flow:
Flow
.
ep-flow:
Overboard
rdf:
type
owl:
Class
,
ep-flow:
ProductionFlowPurposeType
;
rdfs:
label
"overboard"
^^
xsd:
string
;
rdfs:
subClassOf
ep-flow:
Flow
.
ep-flow:
Production
rdf:
type
owl:
Class
,
ep-flow:
ProductionFlowPurposeType
;
rdfs:
label
"production"
^^
xsd:
string
;
rdfs:
subClassOf
ep-flow:
Flow
.
ep-flow:
ProductionFlow
rdf:
type
owl:
Class
;
rdfs:
label
"production flow"
^^
xsd:
string
;
rdfs:
subClassOf
ep-flow:
Flow
.
ep-flow:
ProductionFlowPurposeType
rdf:
type
rdfs:
Class
;
rdfs:
label
" production flow purpose type"
^^
xsd:
string
;
rdfs:
subClassOf
rdfs:
Class
.
...
...
www.reportinghub.no/ep/spin/SPIN_EPIM-DPR-lib-v1.1.spin.ttl
View file @
818b44b
# Saved by TopBraid on Sun Oct 09 10:
30:44
BST 2011
# Saved by TopBraid on Sun Oct 09 10:
52:21
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
# imports: http://www.reportinghub.no/ep/schema/1.0/facility
# imports: http://www.reportinghub.no/ep/schema/1.0/flow
# imports: http://spinrdf.org/spin
# imports: http://www.witsml.org/schemas/131/addendum/combo
...
...
@@ -21,7 +22,7 @@
<http://www.reportinghub.no/ep/dpr/spin/1.1/lib>
rdf:
type
owl:
Ontology
;
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
>
;
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:
versionInfo
"Created with TopBraid Composer"
^^
xsd:
string
.
ep-dpr-spin-lib:
Function
...
...
@@ -268,158 +269,130 @@ ep-dpr-spin-lib:selectProductionFlowPurposeType
[
rdf:
type
sp:
if
;
sp:
arg1
[
rdf:
type
sp:
eq
;
sp:
arg1
spin:
_arg1
;
sp:
arg2
combo:
RF_field
]
;
sp:
arg2
<http://www.reportinghub.no/ep/schema/facility#Field>
;
sp:
arg3
[
rdf:
type
sp:
if
;
sp:
arg1
[
rdf:
type
sp:
eq
;
sp:
arg1
spin:
_arg1
;
sp:
arg2
combo:
RF_country
]
;
sp:
arg2
ep-geog:
Country
;
sp:
arg3
[
rdf:
type
sp:
if
;
sp:
arg1
[
rdf:
type
sp:
eq
;
sp:
arg1
spin:
_arg1
;
sp:
arg2
combo:
RF_controller--lift
]
;
sp:
arg2
<http://www.reportinghub.no/ep/schema/equipment#Controller-lift>
;
sp:
arg3
[
rdf:
type
sp:
if
;
sp:
arg1
[
rdf:
type
sp:
eq
;
sp:
arg1
spin:
_arg1
;
sp:
arg2
combo:
RF_unknown
sp:
arg2
combo:
RF_consume-HPflare
]
;
sp:
arg2
<http://www.reportinghub.no/ep/schema/facility#ProductionFacility
>
;
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
combo:
RF_completion
sp:
arg2
combo:
RF_consume-LPflare
]
;
sp:
arg2
<http://www.reportinghub.no/ep/schema/facility#Completion>
;
sp:
arg3
[
rdf:
type
sp:
if
;
sp:
arg1
[
rdf:
type
sp:
eq
;
sp:
arg1
spin:
_arg1
;
sp:
arg2
combo:
RF_manifold--production
]
;
sp:
arg2
<http://www.reportinghub.no/ep/schema/equipment#Manifold-production>
;
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
combo:
RF_wellbore
sp:
arg2
combo:
RF_consume-blackstart
]
;
sp:
arg2
<http://www.reportinghub.no/ep/schema/well#WellBore
>
;
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
combo:
RF_template
sp:
arg2
combo:
RF_consume-compressor
]
;
sp:
arg2
<http://www.reportinghub.no/ep/schema/facility#Template
>
;
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
combo:
RF_platform
sp:
arg2
combo:
RF_consume-emitted
]
;
sp:
arg2
<http://www.reportinghub.no/ep/schema/facility#Platform
>
;
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
combo:
RF_zon
e
sp:
arg2
combo:
RF_consume-flar
e
]
;
sp:
arg2
<http://www.reportinghub.no/ep/schema/facility#Zon
e>
;
sp:
arg2
<http://www.reportinghub.no/ep/schema/flow#Consume-flar
e>
;
sp:
arg3
[
rdf:
type
sp:
if
;
sp:
arg1
[
rdf:
type
sp:
eq
;
sp:
arg1
spin:
_arg1
;
sp:
arg2
combo:
RF_wellhead
sp:
arg2
combo:
RF_consume-fuel
]
;
sp:
arg2
<http://www.reportinghub.no/ep/schema/well#WellHead
>
;
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
combo:
RF_state
sp:
arg2
combo:
RF_consume-noncompressor
]
;
sp:
arg2
ep-geog:
State
;
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
combo:
RF_wellgroup
sp:
arg2
combo:
RF_consume-venting
]
;
sp:
arg2
<http://www.reportinghub.no/ep/schema/well#WellGroup
>
;
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
combo:
RF_flowline--production
sp:
arg2
combo:
RF_consume
]
;
sp:
arg2
<http://www.reportinghub.no/ep/schema/facility#Flowline-production
>
;
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
combo:
RF_cluster
sp:
arg2
combo:
RF_export-nominated
]
;
sp:
arg2
<http://www.reportinghub.no/ep/schema/well#Cluster
>
;
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
combo:
RF_bottomhole
sp:
arg2
combo:
RF_export-requested
]
;
sp:
arg2
<http://www.reportinghub.no/ep/schema/well#WellBoreBottom
>
;
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
combo:
RF_manifold--injection
sp:
arg2
combo:
RF_export-shortfall
]
;
sp:
arg2
<http://www.reportinghub.no/ep/schema/equipment#Manifold-injection
>
;
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
combo:
RF_tank
sp:
arg2
combo:
RF_export
]
;
sp:
arg2
<http://www.reportinghub.no/ep/schema/equipment#Tank
>
;
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
combo:
RF_county
sp:
arg2
combo:
RF_gaslift
]
;
sp:
arg2
ep-geog:
County
;
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
combo:
RF_separator
sp:
arg2
combo:
RF_import
]
;
sp:
arg2
<http://www.reportinghub.no/ep/schema/equipment#Separator
>
;
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
combo:
RF_lease
sp:
arg2
combo:
RF_injection
]
;
sp:
arg2
<http://www.reportinghub.no/ep/schema/facility#Lease
>
;
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
combo:
RF_flowline
sp:
arg2
combo:
RF_inventory
]
;
sp:
arg2
<http://www.reportinghub.no/ep/schema/facility#Flowline
>
;
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
combo:
RF_reservoir
sp:
arg2
combo:
RF_overboard
]
;
sp:
arg2
<http://www.reportinghub.no/ep/schema/facility#Reservoir
>
;
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
combo:
RF_well
sp:
arg2
combo:
RF_production
]
;
sp:
arg2
<http://www.reportinghub.no/ep/schema/well#Well
>
;
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
combo:
RF_compressor
sp:
arg2
combo:
ReportingFlow_RF_unknown
]
;
sp:
arg2
<http://www.reportinghub.no/ep/schema/equipment#Compressor>
;
sp:
arg3
<http://www.reportinghub.no/ep/schema/facility#ProductionFacility>
]
]
]
]
sp:
arg2
<http://www.reportinghub.no/ep/schema/flow#Flow>
;
sp:
arg3
<http://www.reportinghub.no/ep/schema/flow#Flow>
]
]
]
...
...
@@ -445,10 +418,10 @@ ep-dpr-spin-lib:selectProductionFlowPurposeType
])
]
.
_:
b
4
sp:
varName
"productionFlowPurpose
Type"
^^
xsd:
string
.
_:
b
3
sp:
varName
"productionFacility
Type"
^^
xsd:
string
.
_:
b2
sp:
varName
"uri"
^^
xsd:
string
.
_:
b1
sp:
varName
"uri"
^^
xsd:
string
.
_:
b
3
sp:
varName
"productionFacility
Type"
^^
xsd:
string
.
_:
b
4
sp:
varName
"productionFlowPurpose
Type"
^^
xsd:
string
.
...
...
www.reportinghub.no/ep/spin/SPIN_EPIM-DPR-lib-v1.1.spin.ttl.tbc
View file @
818b44b
# Saved by TopBraid on Sun Oct 09 10:
30:44
BST 2011
# Saved by TopBraid on Sun Oct 09 10:
52:22
BST 2011
# baseURI: null
@prefix
composite:
<http://www.topbraid.org/2007/05/composite.owl#>
.
...
...
www.reportinghub.no/ep/transform/TRANSFORM_dpr-productVolume-v1.0.ttl
deleted
100644 → 0
View file @
df76aa9
# Saved by TopBraid on Sat Oct 08 12:56:31 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/schema/1.0/facility
# imports: http://www.reportinghub.no/ep/schema/1.0/flow
# imports: http://spinrdf.org/spin
# imports: http://www.witsml.org/schemas/131/addendum/combo
@prefix
:
<http://www.reportinghub.no/ep/transform/1.0/dpr/productVolume#>
.
@prefix
ep-spin-lib:
<http://www.reportinghub.no/ep/spin/lib#>
.
@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
sp:
<http://spinrdf.org/sp#>
.
@prefix
spin:
<http://spinrdf.org/spin#>
.
@prefix
spl:
<http://spinrdf.org/spl#>
.
@prefix
xsd:
<http://www.w3.org/2001/XMLSchema#>
.
<http://www.reportinghub.no/ep/transform/1.0/dpr/productVolume>
rdf:
type
owl:
Ontology
;
owl:
imports
<http://www.reportinghub.no/ep/schema/1.0/flow>
,
<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/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 9999 stream of conciousness"
^^
xsd:
string
;
sp:
templates
()
;
sp:
where
([
sp:
object
_:
b1
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#facilityRef>
;
sp:
subject
spin:
_this
]
[
sp:
object
_:
b2
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#nameRef>
;
sp:
subject
_:
b1
]
[
sp:
object
[
sp:
varName
"facilityName"
^^
xsd:
string
]
;
sp:
predicate
<http://www.linkedmodel.org/schema/dtype#value>
;
sp:
subject
_:
b2
]
[
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
_:
b2
])
]
[
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
_:
b2
])
]
[
sp:
object
_:
b3
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#flowRef>
;
sp:
subject
_:
b1
]
[
sp:
object
[
sp:
varName
"flowName"
^^
xsd:
string
]
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#name>
;
sp:
subject
_:
b3
]
[
sp:
object
[
sp:
varName
"flowKind"
^^
xsd:
string
]
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#kindRef>
;
sp:
subject
_:
b3
]
[
sp:
object
[
sp:
varName
"flowDirection"
^^
xsd:
string
]
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#directionRef>
;
sp:
subject
_:
b3
]
[
sp:
object
[
sp:
varName
"flowQualifier"
^^
xsd:
string
]
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#qualifierRef>
;
sp:
subject
_:
b3
]
[
sp:
object
_:
b4
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#productRef>
;
sp:
subject
_:
b3
]
[
sp:
object
_:
b5
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#nameRef>
;
sp:
subject
_:
b4
]
[
sp:
object
[
sp:
varName
"productName"
^^
xsd:
string
]
;
sp:
predicate
<http://www.linkedmodel.org/schema/dtype#value>
;
sp:
subject
_:
b5
]
[
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
_:
b5
])
]
[
rdf:
type
sp:
Optional
;
sp:
elements
([
sp:
object
_:
b6
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#kindRef>
;
sp:
subject
_:
b5
])
]
[
sp:
object
_:
b6
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#kindRef>
;
sp:
subject
_:
b4
]
[
sp:
object
_:
b7
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#periodRef>
;
sp:
subject
_:
b4
]
[
sp:
object
[
sp:
varName
"periodKind"
^^
xsd:
string
]
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#kindRef>
;
sp:
subject
_:
b7
]
[
sp:
object
[
sp:
varName
"startTime"
^^
xsd:
string
]
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#dTimStart>
;
sp:
subject
_:
b7
]
[
sp:
object
[
sp:
varName
"endTime"
^^
xsd:
string
]
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#dTimEnd>
;
sp:
subject
_:
b7
]
[
rdf:
type
sp:
Optional
;
sp:
elements
([
sp:
object
_:
b8
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#volumeRef>
;
sp:
subject
_:
b7
]
[
sp:
object
[
sp:
varName
"realVolume"
^^
xsd:
string
]
;
sp:
predicate
<http://www.linkedmodel.org/schema/dtype#value>
;
sp:
subject
_:
b8
]
[
sp:
object
[
sp:
varName
"uomVolume"
^^
xsd:
string
]
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#uomRef>
;
sp:
subject
_:
b8
])
]
[
rdf:
type
sp:
Optional
;
sp:
elements
([
sp:
object
_:
b9
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#volumeStdRef>
;
sp:
subject
_:
b7
]
[
sp:
object
[
sp:
varName
"realVolumeStd"
^^
xsd:
string
]
;
sp:
predicate
<http://www.linkedmodel.org/schema/dtype#value>
;
sp:
subject
_:
b9
]
[
sp:
object
[
sp:
varName
"uomVolumeStd"
^^
xsd:
string
]
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#uomRef>
;
sp:
subject
_:
b9
])
])
]
;
spin:
rule
[
rdf:
type
sp:
Construct
;
rdfs:
comment
"""STEP 20101 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
_:
b10
]
[
sp:
object
_:
b11
;
sp:
predicate
rdf:
type
;
sp:
subject
_:
b10
]
[
sp:
object
_:
b12
;
sp:
predicate
rdfs:
label
;
sp:
subject
_:
b10
])
;
sp:
where
([
sp:
object
_:
b13
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#facilityRef>
;
sp:
subject
spin:
_this
]
[
sp:
object
_:
b14
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#nameRef>
;
sp:
subject
_:
b13
]
[
sp:
object
_:
b12
;
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
_:
b15
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#kindRef>
;
sp:
subject
_:
b14
])
]
[
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
ep-spin-lib:
normalizeString
;
sp:
arg1
_:
b12
]
;
sp:
variable
_:
b16
]
[
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
ep-spin-lib:
buildProductionFacilityURI
;
sp:
arg1
_:
b16
]
;
sp:
variable
_:
b10
]
[
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
ep-spin-lib:
selectProductionFacilityType
;
sp:
arg1
_:
b15
]
;
sp:
variable
_:
b11
])
]
;
spin:
rule
[
rdf:
type
sp:
Construct
;
rdfs:
comment
"STEP 20102 record the flows"
^^
xsd:
string
;
sp:
templates
([
sp:
object
_:
b17
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/core#hasPart>
;
sp:
subject
_:
b18
]
[
sp:
object
<http://www.reportinghub.no/ep/schema/flow#Flow>
;
sp:
predicate
rdf:
type
;
sp:
subject
_:
b17
]
[
sp:
object
_:
b19
;
sp:
predicate
rdf:
type
;
sp:
subject
_:
b17
]
[
sp:
object
[
sp:
varName
"productionFlowType"
^^
xsd:
string
]
;
sp:
predicate
rdf:
type
;
sp:
subject
_:
b17
]
[
sp:
object
_:
b20
;
sp:
predicate
rdfs:
label
;
sp:
subject
_:
b17
])
;
sp:
where
([
sp:
object
_:
b21
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#facilityRef>
;
sp:
subject
spin:
_this
]
[
sp:
object
_:
b22
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#nameRef>
;
sp:
subject
_:
b21
]
[
sp:
object
_:
b23
;
sp:
predicate
<http://www.linkedmodel.org/schema/dtype#value>
;
sp:
subject
_:
b22
]
[
sp:
object
_:
b24
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#flowRef>
;
sp:
subject
_:
b21
]
[
sp:
object
_:
b20
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#name>
;
sp:
subject
_:
b24
]
[
sp:
object
_:
b25
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#kindRef>
;
sp:
subject
_:
b24
]
[
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
_:
b24
])
]
[
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
_:
b24
])
]
[
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
ep-spin-lib:
normalizeString
;
sp:
arg1
_:
b23
]
;
sp:
variable
_:
b26
]
[
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
ep-spin-lib:
buildProductionFacilityURI
;
sp:
arg1
_:
b26
]
;
sp:
variable
_:
b18
]
[
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
ep-spin-lib:
normalizeString
;
sp:
arg1
_:
b20
]
;
sp:
variable
_:
b27
]
[
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
ep-spin-lib:
buildProductionFlowURI
;
sp:
arg1
_:
b27
]
;
sp:
variable
_:
b17
]
[
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
ep-spin-lib:
selectProductionFlowPurposeType
;
sp:
arg1
_:
b25
]
;
sp:
variable
_:
b19
]
[
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
ep-spin-lib:
selectProductionFlowQualifierType
;
sp:
arg1
_:
b25
]
;
sp:
variable
[
sp:
varName
"productionFlowQualitierType"
^^
xsd:
string
]
])
]
.
_:
b9
sp:
varName
"volumeStdRef"
^^
xsd:
string
.
_:
b8
sp:
varName
"volumeRef"
^^
xsd:
string
.
_:
b7
sp:
varName
"period"
^^
xsd:
string
.
_:
b6
sp:
varName
"productKind"
^^
xsd:
string
.
_:
b5
sp:
varName
"productNameRef"
^^
xsd:
string
.
_:
b4
sp:
varName
"product"
^^
xsd:
string
.
_:
b3
sp:
varName
"flow"
^^
xsd:
string
.
_:
b2
sp:
varName
"facilityNameRef"
^^
xsd:
string
.
_:
b1
sp:
varName
"facility"
^^
xsd:
string
.
_:
b16
sp:
varName
"normalizedFacilityName"
^^
xsd:
string
.
_:
b15
sp:
varName
"facilityKind"
^^
xsd:
string
.
_:
b14
sp:
varName
"facilityNameRef"
^^
xsd:
string
.
_:
b13
sp:
varName
"facilityRef"
^^
xsd:
string
.
_:
b12
sp:
varName
"facilityName"
^^
xsd:
string
.
_:
b11
sp:
varName
"productionFacilityType"
^^
xsd:
string
.
_:
b10
sp:
varName
"productionFacility"
^^
xsd:
string
.
_:
b27
sp:
varName
"normalizedFlowName"
^^
xsd:
string
.
_:
b26
sp:
varName
"normalizedFacilityName"
^^
xsd:
string
.
_:
b25
sp:
varName
"flowKind"
^^
xsd:
string
.
_:
b24
sp:
varName
"flowRef"
^^
xsd:
string
.
_:
b23
sp:
varName
"facilityName"
^^
xsd:
string
.
_:
b22
sp:
varName
"facilityNameRef"
^^
xsd:
string
.
_:
b21
sp:
varName
"facilityRef"
^^
xsd:
string
.
_:
b20
sp:
varName
"flowName"
^^
xsd:
string
.
_:
b19
sp:
varName
"productionFlowPurposeType"
^^
xsd:
string
.
_:
b18
sp:
varName
"productionFacility"
^^
xsd:
string
.
_:
b17
sp:
varName
"productionFlow"
^^
xsd:
string
.
www.reportinghub.no/ep/transform/TRANSFORM_dpr-productVolume-v1.0.ttl.tbc
deleted
100644 → 0
View file @
df76aa9
# Saved by TopBraid on Sat Oct 08 12:56:31 BST 2011
# baseURI: null
@prefix
composite:
<http://www.topbraid.org/2007/05/composite.owl#>
.
@prefix
forms:
<http://www.topbraid.org/2007/01/forms.owl#>
.
@prefix
inference:
<http://www.topbraid.org/2007/06/inference.owl#>
.
@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
visual:
<http://topbraid.org/visual#>
.
@prefix
xsd:
<http://www.w3.org/2001/XMLSchema#>
.
[]
rdf:
type
inference:
Configuration
;
composite:
child
[
rdf:
type
<http://spinrdf.org/spin#TopSPIN>
;
composite:
index
"0"
^^
xsd:
int
]
.
www.reportinghub.no/ep/transform/TRANSFORM_dpr-productVolume-v1.1.1.ttl
View file @
818b44b
# Saved by TopBraid on Sun Oct 09 10:
35:53
BST 2011
# Saved by TopBraid on Sun Oct 09 10:
52:18
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
...
...
@@ -20,355 +20,355 @@
<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 20101 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>
;
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>
;
sp:
predicate
rdf:
type
;
sp:
subject
_:
b1
]
[
sp:
object
_:
b
2
;
]
[
sp:
object
_:
b
3
;
sp:
predicate
rdf:
type
;
sp:
subject
_:
b1
]
[
sp:
object
_:
b3
;
]
[
sp:
object
[
sp:
varName
"productionFlowType"
^^
xsd:
string
]
;
sp:
predicate
rdf:
type
;
sp:
subject
_:
b1
]
[
sp:
object
_:
b4
;
sp:
predicate
rdfs:
label
;
sp:
subject
_:
b1
])
;
sp:
where
([
sp:
object
_:
b
4
;
sp:
where
([
sp:
object
_:
b
5
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#facilityRef>
;
sp:
subject
spin:
_this
]
[
sp:
object
_:
b
5
;
]
[
sp:
object
_:
b
6
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#nameRef>
;
sp:
subject
_:
b
4
]
[
sp:
object
_:
b
3
;
sp:
subject
_:
b
5
]
[
sp:
object
_:
b
7
;
sp:
predicate
<http://www.linkedmodel.org/schema/dtype#value>
;
sp:
subject
_:
b6
]
[
sp:
object
_:
b8
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#flowRef>
;
sp:
subject
_:
b5
]
[
sp:
object
_:
b4
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#name>
;
sp:
subject
_:
b8
]
[
sp:
object
_:
b9
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#kindRef>
;
sp:
subject
_:
b8
]
[
rdf:
type
sp:
Optional
;
sp:
elements
([
sp:
object
[
sp:
varName
"f
acilityNamingSystem
"
^^
xsd:
string
[
sp:
varName
"f
lowDirection
"
^^
xsd:
string
]
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#
namingSystem
>
;
sp:
subject
_:
b
5
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#
directionRef
>
;
sp:
subject
_:
b
8
])
]
[
rdf:
type
sp:
Optional
;
sp:
elements
([
sp:
object
_:
b6
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#kindRef>
;
sp:
subject
_:
b5
sp:
elements
([
sp:
object
[
sp:
varName
"flowQualifier"
^^
xsd:
string
]
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#qualifierRef>
;
sp:
subject
_:
b8
])
]
[
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
ep-spin-lib:
normalizeString
;
sp:
arg1
_:
b
3
sp:
arg1
_:
b
7
]
;
sp:
variable
_:
b
7
sp:
variable
_:
b
10
]
[
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
ep-dpr-spin-lib:
buildProductionFacilityURI
;
sp:
arg1
_:
b7
sp:
arg1
_:
b10
]
;
sp:
variable
_:
b2
]
[
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
ep-spin-lib:
normalizeString
;
sp:
arg1
_:
b4
]
;
sp:
variable
_:
b11
]
[
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
ep-dpr-spin-lib:
buildProductionFlowURI
;
sp:
arg1
_:
b11
]
;
sp:
variable
_:
b1
]
[
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
ep-dpr-spin-lib:
selectProductionF
acility
Type
;
sp:
arg1
_:
b
6
[
rdf:
type
ep-dpr-spin-lib:
selectProductionF
lowPurpose
Type
;
sp:
arg1
_:
b
9
]
;
sp:
variable
_:
b2
sp:
variable
_:
b3
]
[
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
ep-dpr-spin-lib:
selectProductionFlowQualifierType
;
sp:
arg1
_:
b9
]
;
sp:
variable
[
sp:
varName
"productionFlowQualitierType"
^^
xsd:
string
]
])
]
;
spin:
rule
[
rdf:
type
sp:
Construct
;
rdfs:
comment
"STEP 9999 stream of conciousness"
^^
xsd:
string
;
sp:
templates
()
;
sp:
where
([
sp:
object
_:
b
8
;
sp:
where
([
sp:
object
_:
b
12
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#facilityRef>
;
sp:
subject
spin:
_this
]
[
sp:
object
_:
b
9
;
]
[
sp:
object
_:
b
13
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#nameRef>
;
sp:
subject
_:
b
8
sp:
subject
_:
b
12
]
[
sp:
object
[
sp:
varName
"facilityName"
^^
xsd:
string
]
;
sp:
predicate
<http://www.linkedmodel.org/schema/dtype#value>
;
sp:
subject
_:
b
9
sp:
subject
_:
b
13
]
[
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
9
sp:
subject
_:
b
13
])
]
[
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
_:
b
9
sp:
subject
_:
b
13
])
]
[
sp:
object
_:
b1
0
;
]
[
sp:
object
_:
b1
4
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#flowRef>
;
sp:
subject
_:
b
8
sp:
subject
_:
b
12
]
[
sp:
object
[
sp:
varName
"flowName"
^^
xsd:
string
]
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#name>
;
sp:
subject
_:
b1
0
sp:
subject
_:
b1
4
]
[
sp:
object
[
sp:
varName
"flowKind"
^^
xsd:
string
]
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#kindRef>
;
sp:
subject
_:
b1
0
sp:
subject
_:
b1
4
]
[
sp:
object
[
sp:
varName
"flowDirection"
^^
xsd:
string
]
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#directionRef>
;
sp:
subject
_:
b1
0
sp:
subject
_:
b1
4
]
[
sp:
object
[
sp:
varName
"flowQualifier"
^^
xsd:
string
]
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#qualifierRef>
;
sp:
subject
_:
b1
0
]
[
sp:
object
_:
b1
1
;
sp:
subject
_:
b1
4
]
[
sp:
object
_:
b1
5
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#productRef>
;
sp:
subject
_:
b1
0
]
[
sp:
object
_:
b1
2
;
sp:
subject
_:
b1
4
]
[
sp:
object
_:
b1
6
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#nameRef>
;
sp:
subject
_:
b1
1
sp:
subject
_:
b1
5
]
[
sp:
object
[
sp:
varName
"productName"
^^
xsd:
string
]
;
sp:
predicate
<http://www.linkedmodel.org/schema/dtype#value>
;
sp:
subject
_:
b1
2
sp:
subject
_:
b1
6
]
[
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
_:
b1
2
sp:
subject
_:
b1
6
])
]
[
rdf:
type
sp:
Optional
;
sp:
elements
([
sp:
object
_:
b1
3
;
sp:
elements
([
sp:
object
_:
b1
7
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#kindRef>
;
sp:
subject
_:
b1
2
sp:
subject
_:
b1
6
])
]
[
sp:
object
_:
b1
3
;
]
[
sp:
object
_:
b1
7
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#kindRef>
;
sp:
subject
_:
b1
1
]
[
sp:
object
_:
b1
4
;
sp:
subject
_:
b1
5
]
[
sp:
object
_:
b1
8
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#periodRef>
;
sp:
subject
_:
b1
1
sp:
subject
_:
b1
5
]
[
sp:
object
[
sp:
varName
"periodKind"
^^
xsd:
string
]
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#kindRef>
;
sp:
subject
_:
b1
4
sp:
subject
_:
b1
8
]
[
sp:
object
[
sp:
varName
"startTime"
^^
xsd:
string
]
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#dTimStart>
;
sp:
subject
_:
b1
4
sp:
subject
_:
b1
8
]
[
sp:
object
[
sp:
varName
"endTime"
^^
xsd:
string
]
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#dTimEnd>
;
sp:
subject
_:
b1
4
sp:
subject
_:
b1
8
]
[
rdf:
type
sp:
Optional
;
sp:
elements
([
sp:
object
_:
b1
5
;
sp:
elements
([
sp:
object
_:
b1
9
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#volumeRef>
;
sp:
subject
_:
b1
4
sp:
subject
_:
b1
8
]
[
sp:
object
[
sp:
varName
"realVolume"
^^
xsd:
string
]
;
sp:
predicate
<http://www.linkedmodel.org/schema/dtype#value>
;
sp:
subject
_:
b1
5
sp:
subject
_:
b1
9
]
[
sp:
object
[
sp:
varName
"uomVolume"
^^
xsd:
string
]
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#uomRef>
;
sp:
subject
_:
b1
5
sp:
subject
_:
b1
9
])
]
[
rdf:
type
sp:
Optional
;
sp:
elements
([
sp:
object
_:
b
16
;
sp:
elements
([
sp:
object
_:
b
20
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#volumeStdRef>
;
sp:
subject
_:
b1
4
sp:
subject
_:
b1
8
]
[
sp:
object
[
sp:
varName
"realVolumeStd"
^^
xsd:
string
]
;
sp:
predicate
<http://www.linkedmodel.org/schema/dtype#value>
;
sp:
subject
_:
b
16
sp:
subject
_:
b
20
]
[
sp:
object
[
sp:
varName
"uomVolumeStd"
^^
xsd:
string
]
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#uomRef>
;
sp:
subject
_:
b
16
sp:
subject
_:
b
20
])
])
]
;
spin:
rule
[
rdf:
type
sp:
Construct
;
rdfs:
comment
"STEP 20102 record the flows"
^^
xsd:
string
;
sp:
templates
([
sp:
object
_:
b17
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/core#hasPart>
;
sp:
subject
_:
b18
]
[
sp:
object
<http://www.reportinghub.no/ep/schema/flow#Flow>
;
sp:
predicate
rdf:
type
;
sp:
subject
_:
b17
]
[
sp:
object
_:
b19
;
rdfs:
comment
"""STEP 20101 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
_:
b17
]
[
sp:
object
[
sp:
varName
"productionFlowType"
^^
xsd:
string
]
;
sp:
subject
_:
b21
]
[
sp:
object
_:
b22
;
sp:
predicate
rdf:
type
;
sp:
subject
_:
b
17
]
[
sp:
object
_:
b2
0
;
sp:
subject
_:
b
21
]
[
sp:
object
_:
b2
3
;
sp:
predicate
rdfs:
label
;
sp:
subject
_:
b
17
sp:
subject
_:
b
21
])
;
sp:
where
([
sp:
object
_:
b2
1
;
sp:
where
([
sp:
object
_:
b2
4
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#facilityRef>
;
sp:
subject
spin:
_this
]
[
sp:
object
_:
b2
2
;
]
[
sp:
object
_:
b2
5
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#nameRef>
;
sp:
subject
_:
b2
1
sp:
subject
_:
b2
4
]
[
sp:
object
_:
b23
;
sp:
predicate
<http://www.linkedmodel.org/schema/dtype#value>
;
sp:
subject
_:
b22
]
[
sp:
object
_:
b24
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#flowRef>
;
sp:
subject
_:
b21
]
[
sp:
object
_:
b20
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#name>
;
sp:
subject
_:
b24
]
[
sp:
object
_:
b25
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#kindRef>
;
sp:
subject
_:
b24
sp:
subject
_:
b25
]
[
rdf:
type
sp:
Optional
;
sp:
elements
([
sp:
object
[
sp:
varName
"f
lowDirection
"
^^
xsd:
string
[
sp:
varName
"f
acilityNamingSystem
"
^^
xsd:
string
]
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#
directionRef
>
;
sp:
subject
_:
b2
4
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#
namingSystem
>
;
sp:
subject
_:
b2
5
])
]
[
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
_:
b24
sp:
elements
([
sp:
object
_:
b26
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#kindRef>
;
sp:
subject
_:
b25
])
]
[
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
ep-spin-lib:
normalizeString
;
sp:
arg1
_:
b23
]
;
sp:
variable
_:
b26
]
[
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
ep-dpr-spin-lib:
buildProductionFacilityURI
;
sp:
arg1
_:
b26
]
;
sp:
variable
_:
b18
]
[
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
ep-spin-lib:
normalizeString
;
sp:
arg1
_:
b20
]
;
sp:
variable
_:
b27
]
[
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
ep-dpr-spin-lib:
buildProductionF
low
URI
;
[
rdf:
type
ep-dpr-spin-lib:
buildProductionF
acility
URI
;
sp:
arg1
_:
b27
]
;
sp:
variable
_:
b
17
sp:
variable
_:
b
21
]
[
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
ep-dpr-spin-lib:
selectProductionFlowPurposeType
;
sp:
arg1
_:
b25
]
;
sp:
variable
_:
b19
]
[
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
ep-dpr-spin-lib:
selectProductionFlowQualifierType
;
sp:
arg1
_:
b25
[
rdf:
type
ep-dpr-spin-lib:
selectProductionFacilityType
;
sp:
arg1
_:
b26
]
;
sp:
variable
[
sp:
varName
"productionFlowQualitierType"
^^
xsd:
string
]
sp:
variable
_:
b22
])
]
.
_:
b
7
sp:
varName
"normalizedFacilityNam
e"
^^
xsd:
string
.
_:
b
3
sp:
varName
"productionFlowPurposeTyp
e"
^^
xsd:
string
.
_:
b
6
sp:
varName
"facilityKind
"
^^
xsd:
string
.
_:
b
1
sp:
varName
"productionFlow
"
^^
xsd:
string
.
_:
b5
sp:
varName
"facilityNameRef"
^^
xsd:
string
.
_:
b11
sp:
varName
"normalizedFlowName"
^^
xsd:
string
.
_:
b
4
sp:
varName
"facilityRef
"
^^
xsd:
string
.
_:
b
2
sp:
varName
"productionFacility
"
^^
xsd:
string
.
_:
b3
sp:
varName
"facilityName"
^^
xsd:
string
.
_:
b10
sp:
varName
"normalizedFacilityName"
^^
xsd:
string
.
_:
b
2
sp:
varName
"productionFacilityType
"
^^
xsd:
string
.
_:
b
9
sp:
varName
"flowKind
"
^^
xsd:
string
.
_:
b
1
sp:
varName
"productionFacility
"
^^
xsd:
string
.
_:
b
4
sp:
varName
"flowName
"
^^
xsd:
string
.
_:
b16
_:
b8
sp:
varName
"flowRef"
^^
xsd:
string
.
_:
b7
sp:
varName
"facilityName"
^^
xsd:
string
.
_:
b6
sp:
varName
"facilityNameRef"
^^
xsd:
string
.
_:
b5
sp:
varName
"facilityRef"
^^
xsd:
string
.
_:
b20
sp:
varName
"volumeStdRef"
^^
xsd:
string
.
_:
b1
5
_:
b1
9
sp:
varName
"volumeRef"
^^
xsd:
string
.
_:
b1
4
_:
b1
8
sp:
varName
"period"
^^
xsd:
string
.
_:
b1
3
_:
b1
7
sp:
varName
"productKind"
^^
xsd:
string
.
_:
b1
2
_:
b1
6
sp:
varName
"productNameRef"
^^
xsd:
string
.
_:
b1
1
_:
b1
5
sp:
varName
"product"
^^
xsd:
string
.
_:
b1
0
_:
b1
4
sp:
varName
"flow"
^^
xsd:
string
.
_:
b9
sp:
varName
"facilityNameRef"
^^
xsd:
string
.
_:
b13
sp:
varName
"facilityNameRef"
^^
xsd:
string
.
_:
b8
sp:
varName
"facility"
^^
xsd:
string
.
_:
b12
sp:
varName
"facility"
^^
xsd:
string
.
_:
b27
sp:
varName
"normalizedF
low
Name"
^^
xsd:
string
.
sp:
varName
"normalizedF
acility
Name"
^^
xsd:
string
.
_:
b26
sp:
varName
"
normalizedFacilityName
"
^^
xsd:
string
.
sp:
varName
"
facilityKind
"
^^
xsd:
string
.
_:
b25
sp:
varName
"f
lowKind
"
^^
xsd:
string
.
sp:
varName
"f
acilityNameRef
"
^^
xsd:
string
.
_:
b24
sp:
varName
"f
low
Ref"
^^
xsd:
string
.
sp:
varName
"f
acility
Ref"
^^
xsd:
string
.
_:
b23
sp:
varName
"facilityName"
^^
xsd:
string
.
_:
b22
sp:
varName
"
facilityNameRef
"
^^
xsd:
string
.
sp:
varName
"
productionFacilityType
"
^^
xsd:
string
.
_:
b21
sp:
varName
"facilityRef"
^^
xsd:
string
.
_:
b20
sp:
varName
"flowName"
^^
xsd:
string
.
_:
b19
sp:
varName
"productionFlowPurposeType"
^^
xsd:
string
.
_:
b18
sp:
varName
"productionFacility"
^^
xsd:
string
.
_:
b17
sp:
varName
"productionFlow"
^^
xsd:
string
.
...
...
Please
register
or
login
to post a comment