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-03-01 11:17:15 +0000
Browse Files
Options
Browse Files
Download
Plain Diff
Commit
c158a24b27597d1654ff377656864d3984f4e953
c158a24b
2 parents
b8df8b65
9cbbc1ab
Merge branch 'MPR_02-24'
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
97 additions
and
33 deletions
www.reportinghub.no/ep/schema/1.0/SCHEMA_EP-FLOW-v1.0.ttl
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-productVolume-v1.0.ttl
www.reportinghub.no/test/mpr/TEST_mpr-xml-ingest.ttl
www.reportinghub.no/test/mpr/testcase/complete_population_of_mpr_productVolume_data.xml
www.reportinghub.no/ep/schema/1.0/SCHEMA_EP-FLOW-v1.0.ttl
View file @
c158a24
...
...
@@ -408,6 +408,11 @@ ep-flow:Gaslift
rdfs:
label
"gas lift"
^^
xsd:
string
;
rdfs:
subClassOf
ep-flow:
WholeLifeFlow
.
ep-flow:
GrossProductFlow
rdf:
type
ep-flow:
ProductFlowGrossOrNetType
,
owl:
Class
;
rdfs:
label
"gross product flow"
^^
xsd:
string
;
rdfs:
subClassOf
ep-flow:
ProductFlow
.
ep-flow:
HeliumGas
rdf:
type
owl:
Class
,
ep-flow:
ProductMaterialType
;
rdfs:
label
"helium gas"
^^
xsd:
string
;
...
...
@@ -536,6 +541,11 @@ ep-flow:Neopentane
rdfs:
label
"neopentane"
^^
xsd:
string
;
rdfs:
subClassOf
ep-flow:
QuantityOfMaterial
.
ep-flow:
NetProductFlow
rdf:
type
ep-flow:
ProductFlowGrossOrNetType
,
owl:
Class
;
rdfs:
label
"net product flow"
^^
xsd:
string
;
rdfs:
subClassOf
ep-flow:
ProductFlow
.
ep-flow:
NitrogenGas
rdf:
type
owl:
Class
,
ep-flow:
ProductMaterialType
;
rdfs:
label
"nitrogen gas"
^^
xsd:
string
;
...
...
@@ -586,11 +596,6 @@ ep-flow:ObjectThatLastsOneYear
rdfs:
label
"object that lasts one year"
^^
xsd:
string
;
rdfs:
subClassOf
ep-core:
PhysicalObject
.
ep-flow:
Oil-NetInventory
rdf:
type
owl:
Class
,
ep-flow:
ProductInventoryType
;
rdfs:
label
"oil-net inventory"
^^
xsd:
string
;
rdfs:
subClassOf
ep-flow:
ProductInventory
.
ep-flow:
Oil-componentInWater
rdf:
type
owl:
Class
,
ep-flow:
ProductMaterialType
;
rdfs:
label
"oil - component in water"
^^
xsd:
string
;
...
...
@@ -647,6 +652,11 @@ ep-flow:ProductFlow
rdfs:
label
"(temporal part of a) product flow"
^^
xsd:
string
;
rdfs:
subClassOf
ep-flow:
Flow
.
ep-flow:
ProductFlowGrossOrNetType
rdf:
type
rdfs:
Class
;
rdfs:
label
" product flow gross or net type"
^^
xsd:
string
;
rdfs:
subClassOf
owl:
Class
.
ep-flow:
ProductFlowToDate
rdf:
type
owl:
Class
;
rdfs:
label
"product flow to date"
^^
xsd:
string
;
...
...
@@ -657,6 +667,31 @@ ep-flow:ProductInventory
rdfs:
label
"(temporal part of a) product inventory"
^^
xsd:
string
;
rdfs:
subClassOf
ep-flow:
QuantityOfMaterial
.
ep-flow:
ProductInventoryAdjustedClosingBalance
rdf:
type
owl:
Class
,
ep-flow:
ProductInventoryType
;
rdfs:
label
"product inventory adjusted closing balance"
^^
xsd:
string
;
rdfs:
subClassOf
ep-flow:
ProductInventory
.
ep-flow:
ProductInventoryClosingBalance
rdf:
type
owl:
Class
,
ep-flow:
ProductInventoryType
;
rdfs:
label
"product inventory closing balance"
^^
xsd:
string
;
rdfs:
subClassOf
ep-flow:
ProductInventory
.
ep-flow:
ProductInventoryClosingStorageBalance
rdf:
type
owl:
Class
,
ep-flow:
ProductInventoryType
;
rdfs:
label
"product inventory closing storage balance"
^^
xsd:
string
;
rdfs:
subClassOf
ep-flow:
ProductInventory
.
ep-flow:
ProductInventoryOpFlex
rdf:
type
owl:
Class
,
ep-flow:
ProductInventoryType
;
rdfs:
label
"product inventory opFlex"
^^
xsd:
string
;
rdfs:
subClassOf
ep-flow:
ProductInventory
.
ep-flow:
ProductInventoryOpeningBalance
rdf:
type
owl:
Class
,
ep-flow:
ProductInventoryType
;
rdfs:
label
"product inventory opening balance"
^^
xsd:
string
;
rdfs:
subClassOf
ep-flow:
ProductInventory
.
ep-flow:
ProductInventoryType
rdf:
type
rdfs:
Class
;
rdfs:
label
" product inventory type"
^^
xsd:
string
;
...
...
@@ -988,12 +1023,6 @@ ep-flow:materialThatFlows
rdfs:
label
"material that flows"
^^
xsd:
string
;
rdfs:
range
ep-flow:
QuantityOfMaterial
.
ep-flow:
mechanicalEnergyOfCompression
rdf:
type
owl:
ObjectProperty
,
owl:
FunctionalProperty
,
ep-core:
Class_of_indirect_property
;
rdfs:
domain
ep-flow:
QuantityOfMaterial
;
rdfs:
label
"mechanical energy of compression"
^^
xsd:
string
;
rdfs:
range
ep-core:
Work
.
ep-flow:
rateOfFlowOfMaterial
rdf:
type
owl:
ObjectProperty
,
owl:
FunctionalProperty
;
rdfs:
label
"rate of flow of material"
^^
xsd:
string
;
...
...
www.reportinghub.no/ep/schema/1.0/SCHEMA_EP-PRODUCTION-ACTIVITY-V1.0.ttl
View file @
c158a24
...
...
@@ -433,6 +433,11 @@ ep-prodact:ProductLiftingEntitlementRemaining
rdfs:
label
"product lifting entitlement remaining"
^^
xsd:
string
;
rdfs:
subClassOf
ep-prodact:
MovementOfProduct
.
ep-prodact:
ProductLinePack
rdf:
type
owl:
Class
,
ep-prodact:
MovementOfProductType
;
rdfs:
label
"product line pack"
^^
xsd:
string
;
rdfs:
subClassOf
ep-prodact:
MovementOfProduct
.
ep-prodact:
ProductMassAdjustment
rdf:
type
ep-prodact:
MovementOfProductType
,
owl:
Class
;
rdfs:
label
"product mass adjustment"
^^
xsd:
string
;
...
...
www.reportinghub.no/ep/spin/SPIN_EPIM-DPR-lib-v1.1.spin.ttl
View file @
c158a24
...
...
@@ -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
...
...
@@ -281,6 +281,34 @@ ep-dpr-spin-lib:buildProductFlowURI
])
]
.
ep-dpr-spin-lib:
buildProductFlowURISuffix
rdf:
type
spin:
Function
;
rdfs:
label
"build ProductFlow URI Suffix"
^^
xsd:
string
;
rdfs:
subClassOf
ep-dpr-spin-lib:
Function
;
spin:
body
[
rdf:
type
sp:
Select
;
sp:
resultVariables
([
sp:
varName
"uriSuffix"
^^
xsd:
string
])
;
sp:
where
([
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
sp:
if
;
sp:
arg1
[
rdf:
type
sp:
eq
;
sp:
arg1
spin:
_arg2
;
sp:
arg2
""
]
;
sp:
arg2
spin:
_arg1
;
sp:
arg3
[
rdf:
type
fn:
concat
;
sp:
arg1
spin:
_arg1
;
sp:
arg2
"$"
;
sp:
arg3
spin:
_arg2
]
]
;
sp:
variable
[
sp:
varName
"uriSuffix"
^^
xsd:
string
]
])
]
.
ep-dpr-spin-lib:
buildProductInventoryURI
rdf:
type
spin:
Function
;
rdfs:
label
"build ProductInventory URI"
^^
xsd:
string
;
...
...
@@ -5536,6 +5564,22 @@ ep-dpr-spin-lib:selectSpecificVolumeScale_MASS_CONCENTRATION
rdfs:
subClassOf
ep-dpr-spin-lib:
Function
;
spin:
body
[
rdf:
type
sp:
Select
;
sp:
resultVariables
(
_:
b28
)
;
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
_:
b28
])
]
;
spin:
body
[
rdf:
type
sp:
Select
;
sp:
resultVariables
([
sp:
varName
"myVar"
^^
xsd:
string
])
;
sp:
where
([
rdf:
type
sp:
Bind
;
...
...
@@ -5615,22 +5659,6 @@ ep-dpr-spin-lib:selectSpecificVolumeScale_MASS_CONCENTRATION
[
sp:
varName
"myVar"
^^
xsd:
string
]
])
]
;
spin:
body
[
rdf:
type
sp:
Select
;
sp:
resultVariables
(
_:
b28
)
;
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
_:
b28
])
]
.
ep-dpr-spin-lib:
selectTemperatureScale
...
...
www.reportinghub.no/ep/spin/SPIN_EPIM-MPR-lib-v1.1.spin.ttl
View file @
c158a24
This diff is collapsed. Click to expand it.
www.reportinghub.no/ep/transform/TRANSFORM_mpr-productVolume-v1.0.ttl
View file @
c158a24
This diff could not be displayed because it is too large.
www.reportinghub.no/test/mpr/TEST_mpr-xml-ingest.ttl
View file @
c158a24
# baseURI: http://www.reportinghub.no/test/mpr/TEST_mpr-xml-ingest
# imports: file:///EPIM-Ontologies/www.reportinghub.no/test/mpr/testcase/complete_population_of_mpr_productVolume_data.xml
# imports: http://spinrdf.org/spin
# imports: http://www.epim.no/schemas/mprml/1
# imports: http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-collector
...
...
@@ -7,6 +8,7 @@
@prefix
:
<http://www.reportinghub.no/test/mpr/TEST_mpr-xml-ingest#>
.
@prefix
TRANSFORM_mpr-collector:
<http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-collector#>
.
@prefix
TRYM-volumes_2011-08-27_final:
<file:///EPIM-Ontologies/www.reportinghub.no/test/mpr/testcase/DongEnergy/dpr-mprformat/TRYM-volumes_2011-08-27_final.xml#>
.
@prefix
complete_population_of_mpr_productVolume_data:
<file:///EPIM-Ontologies/www.reportinghub.no/test/mpr/testcase/complete_population_of_mpr_productVolume_data.xml#>
.
@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#>
.
...
...
@@ -17,5 +19,5 @@
<http://www.reportinghub.no/test/mpr/TEST_mpr-xml-ingest>
rdf:
type
owl:
Ontology
;
owl:
imports
<
http://www.epim.no/schemas/mprml/1>
,
<http://www.reportinghub.no/np/data/npd>
,
<http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-collector>
,
<http://spinrdf.org/spin
>
;
owl:
imports
<
file:///EPIM-Ontologies/www.reportinghub.no/test/mpr/testcase/complete_population_of_mpr_productVolume_data.xml>
,
<http://spinrdf.org/spin>
,
<http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-collector>
,
<http://www.reportinghub.no/np/data/npd>
,
<http://www.epim.no/schemas/mprml/1
>
;
owl:
versionInfo
"Created with TopBraid Composer"
^^
xsd:
string
.
...
...
www.reportinghub.no/test/mpr/testcase/complete_population_of_mpr_productVolume_data.xml
View file @
c158a24
...
...
@@ -36,7 +36,7 @@
<qualifier>
measured
</qualifier>
<subQualifier>
recalibrated
</subQualifier>
<product>
<kind>
oil
- net
</kind>
<kind>
oil
</kind>
<name>
TRYM measured-recalibrated oil flow
</name>
<splitFactor>
0.5
</splitFactor>
<period>
...
...
@@ -50,7 +50,7 @@
<pres
uom=
"atm"
>
1
</pres>
<work
uom=
"MJ"
>
1000
</work>
</volumeValue>
<mass
uom=
"kg"
>
61
.1
</mass>
<mass
uom=
"kg"
>
61
</mass>
<densityValue>
<density
uom=
"kg/m3"
>
799.04
</density>
<temp
uom=
"degC"
>
15
</temp>
...
...
@@ -68,7 +68,7 @@
<pres
uom=
"atm"
>
1
</pres>
<work
uom=
"MJ"
>
2000
</work>
</volumeValue>
<mass
uom=
"kg"
>
6
1.1
</mass>
<mass
uom=
"kg"
>
6
2
</mass>
<densityValue>
<density
uom=
"kg/m3"
>
799.04
</density>
<temp
uom=
"degC"
>
15
</temp>
...
...
@@ -149,7 +149,7 @@
<alert>
<target>
some XPATH
</target>
<level>
alert level
</level>
<
kind>
alert kind
</kind
>
<
type>
alert type
</type
>
<description>
alert description
</description>
</alert>
<comment>
...
...
Please
register
or
login
to post a comment