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 Price
2012-09-20 10:04:24 +0100
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
72dcf17d7bbc860c1f56a1d0fb63e6a7f92fd68c
72dcf17d
1 parent
52d6b3bf
Fixed MPRG HTML to use normalized UoM value function everywhere
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
129 additions
and
417 deletions
www.reportinghub.no/ep/schema/1.0/SCHEMA_EP-CORE-v1.0.ttl
www.reportinghub.no/ep/spin/SPIN_EP-MPR-tables-v1.0.spin.ttl
www.reportinghub.no/ep/schema/1.0/SCHEMA_EP-CORE-v1.0.ttl
View file @
72dcf17
...
...
@@ -1727,7 +1727,8 @@ ep-core:kiloNewton
ep-core:
kilogram
rdf:
type
ep-core:
Scale
,
owl:
DatatypeProperty
,
owl:
FunctionalProperty
;
rdfs:
domain
ep-core:
Mass
;
rdfs:
label
"kilogram"
^^
xsd:
string
.
rdfs:
label
"kilogram"
^^
xsd:
string
;
ep-core:
unitSymbol
"kg"
^^
xsd:
string
.
ep-core:
kilogram_dm-3
rdf:
type
ep-core:
Scale
,
owl:
DatatypeProperty
,
owl:
FunctionalProperty
;
...
...
@@ -1735,7 +1736,8 @@ ep-core:kilogram_dm-3
ep-core:
kilogram_l-1
rdf:
type
ep-core:
Scale
,
owl:
DatatypeProperty
,
owl:
FunctionalProperty
;
rdfs:
label
"kilogram per litre"
^^
xsd:
string
.
rdfs:
label
"kilogram per litre"
^^
xsd:
string
;
ep-core:
unitSymbol
"kg/L"
^^
xsd:
string
.
ep-core:
kilogram_m-3
rdf:
type
ep-core:
Scale
,
owl:
DatatypeProperty
,
owl:
FunctionalProperty
;
...
...
@@ -2340,7 +2342,8 @@ ep-core:megahertz
ep-core:
megajoule
rdf:
type
ep-core:
Scale
,
owl:
DatatypeProperty
,
owl:
FunctionalProperty
;
rdfs:
domain
ep-core:
Work
;
rdfs:
label
"megajoules"
^^
xsd:
string
.
rdfs:
label
"megajoules"
^^
xsd:
string
;
ep-core:
unitSymbol
"MJ"
^^
xsd:
string
.
ep-core:
megajoule_m-3
rdf:
type
ep-core:
Scale
,
owl:
DatatypeProperty
,
owl:
FunctionalProperty
;
...
...
www.reportinghub.no/ep/spin/SPIN_EP-MPR-tables-v1.0.spin.ttl
View file @
72dcf17
...
...
@@ -5,6 +5,7 @@
# imports: http://www.reportinghub.no/ep/transform/transform-helper-schema
@prefix
arg:
<http://spinrdf.org/arg#>
.
@prefix
ep-spin-lib:
<http://www.reportinghub.no/ep/spin/lib#>
.
@prefix
fn:
<http://www.w3.org/2005/xpath-functions#>
.
@prefix
mpr-tables:
<http://www.reportinghub.no/ep/spin/mpr-tables#>
.
@prefix
owl:
<http://www.w3.org/2002/07/owl#>
.
...
...
@@ -184,12 +185,14 @@ mpr-tables:Cargo
sp:
subject
[
sp:
varName
"massQuantity"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"massValue"
^^
xsd:
string
]
[
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
ep-spin-lib:
normalizePropertyUnitAndValue
;
sp:
arg1
[
sp:
varName
"massQuantity"
^^
xsd:
string
]
]
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/core#kilogram>
;
sp:
subject
[
sp:
varName
"massQuantity"
^^
xsd:
string
sp:
variable
[
sp:
varName
"massValue"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"movedProduct"
^^
xsd:
string
...
...
@@ -210,12 +213,14 @@ mpr-tables:Cargo
sp:
subject
[
sp:
varName
"volumeQuantity"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"volumeValue"
^^
xsd:
string
]
[
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
ep-spin-lib:
normalizePropertyUnitAndValue
;
sp:
arg1
[
sp:
varName
"volumeQuantity"
^^
xsd:
string
]
]
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/core#metre3>
;
sp:
subject
[
sp:
varName
"volumeQuantity"
^^
xsd:
string
sp:
variable
[
sp:
varName
"volumeValue"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"movedProduct"
^^
xsd:
string
...
...
@@ -236,12 +241,14 @@ mpr-tables:Cargo
sp:
subject
[
sp:
varName
"densityQuantity"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"densityValue"
^^
xsd:
string
]
[
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
ep-spin-lib:
normalizePropertyUnitAndValue
;
sp:
arg1
[
sp:
varName
"densityQuantity"
^^
xsd:
string
]
]
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/core#kilogram_m-3>
;
sp:
subject
[
sp:
varName
"densityQuantity"
^^
xsd:
string
sp:
variable
[
sp:
varName
"densityValue"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"cargoNumber"
^^
xsd:
string
...
...
@@ -483,12 +490,14 @@ mpr-tables:Cargo
sp:
subject
[
sp:
varName
"ownedShare"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"ownedPercent"
^^
xsd:
string
]
[
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
ep-spin-lib:
normalizePropertyUnitAndValue
;
sp:
arg1
[
sp:
varName
"ownedShare"
^^
xsd:
string
]
]
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/core#percent>
;
sp:
subject
[
sp:
varName
"ownedVolumeRatio"
^^
xsd:
string
sp:
variable
[
sp:
varName
"ownedPercent"
^^
xsd:
string
]
]
[
rdf:
type
sp:
Optional
;
sp:
elements
([
sp:
object
...
...
@@ -518,7 +527,7 @@ mpr-tables:Cargo
mpr-tables:
CargoOwnership
rdf:
type
rhspin:
TableTemplate
;
rdfs:
label
"Cargo Ownership Information
1
"
^^
xsd:
string
;
rdfs:
label
"Cargo Ownership Information"
^^
xsd:
string
;
rdfs:
subClassOf
rhspin:
MPRGTableTemplates
;
spin:
body
[
rdf:
type
sp:
Select
;
...
...
@@ -742,12 +751,14 @@ mpr-tables:CargoOwnership
sp:
subject
[
sp:
varName
"materialPart"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"ratio"
^^
xsd:
string
]
[
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
ep-spin-lib:
normalizePropertyUnitAndValue
;
sp:
arg1
[
sp:
varName
"materialPart"
^^
xsd:
string
]
]
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/material#volumeRatio>
;
sp:
subject
[
sp:
varName
"materialPart"
^^
xsd:
string
sp:
variable
[
sp:
varName
"ratio"
^^
xsd:
string
]
]
[
sp:
object
<http://www.reportinghub.no/ep/schema/core#Ratio>
;
sp:
predicate
rdf:
type
;
...
...
@@ -911,12 +922,14 @@ mpr-tables:GasSales
sp:
subject
[
sp:
varName
"sellerEnergyQuantity"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"sellerEnergyValue"
^^
xsd:
string
]
[
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
ep-spin-lib:
normalizePropertyUnitAndValue
;
sp:
arg1
[
sp:
varName
"sellerEnergyQuantity"
^^
xsd:
string
]
]
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/core#megajoule>
;
sp:
subject
[
sp:
varName
"sellerEnergyQuantity"
^^
xsd:
string
sp:
variable
[
sp:
varName
"sellerEnergyValue"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"totalMaterialThatFlows"
^^
xsd:
string
...
...
@@ -937,12 +950,14 @@ mpr-tables:GasSales
sp:
subject
[
sp:
varName
"sellerVolumeQuantity"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"sellerVolumeValue"
^^
xsd:
string
]
[
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
ep-spin-lib:
normalizePropertyUnitAndValue
;
sp:
arg1
[
sp:
varName
"sellerVolumeQuantity"
^^
xsd:
string
]
]
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/core#metre3>
;
sp:
subject
[
sp:
varName
"sellerVolumeQuantity"
^^
xsd:
string
sp:
variable
[
sp:
varName
"sellerVolumeValue"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"totalMaterialThatFlows"
^^
xsd:
string
...
...
@@ -988,12 +1003,14 @@ mpr-tables:GasSales
sp:
subject
[
sp:
varName
"buyerEnergyQuantity"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"buyerEnergyValue"
^^
xsd:
string
]
[
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
ep-spin-lib:
normalizePropertyUnitAndValue
;
sp:
arg1
[
sp:
varName
"buyerEnergyQuantity"
^^
xsd:
string
]
]
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/core#megajoule>
;
sp:
subject
[
sp:
varName
"buyerEnergyQuantity"
^^
xsd:
string
sp:
variable
[
sp:
varName
"buyerEnergyValue"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"salesActivityMovedProduct"
^^
xsd:
string
...
...
@@ -1014,12 +1031,14 @@ mpr-tables:GasSales
sp:
subject
[
sp:
varName
"buyerVolumeQuantity"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"buyerVolumeValue"
^^
xsd:
string
]
[
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
ep-spin-lib:
normalizePropertyUnitAndValue
;
sp:
arg1
[
sp:
varName
"buyerVolumeQuantity"
^^
xsd:
string
]
]
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/core#metre3>
;
sp:
subject
[
sp:
varName
"buyerVolumeQuantity"
^^
xsd:
string
sp:
variable
[
sp:
varName
"buyerVolumeValue"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"salesActivityMovedProduct"
^^
xsd:
string
...
...
@@ -1430,38 +1449,10 @@ mpr-tables:ProductionFlows
sp:
subject
[
sp:
varName
"mass"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"massValue"
^^
xsd:
string
]
;
sp:
predicate
[
sp:
varName
"massPredicate"
^^
xsd:
string
]
;
sp:
subject
[
sp:
varName
"mass"
^^
xsd:
string
]
]
[
sp:
object
<http://www.reportinghub.no/ep/schema/core#Scale>
;
sp:
predicate
rdf:
type
;
sp:
subject
[
sp:
varName
"massPredicate"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"massPropertyName"
^^
xsd:
string
]
;
sp:
predicate
rdfs:
label
;
sp:
subject
[
sp:
varName
"massPredicate"
^^
xsd:
string
]
]
[
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
fn:
concat
;
sp:
arg1
[
rdf:
type
spif:
decimalFormat
;
arg:
number
[
sp:
varName
"massValue"
^^
xsd:
string
]
;
arg:
pattern
"#.##"
]
;
sp:
arg2
" "
;
sp:
arg3
[
sp:
varName
"massPropertyName"
^^
xsd:
string
[
rdf:
type
ep-spin-lib:
normalizePropertyUnitAndValue
;
sp:
arg1
[
sp:
varName
"mass"
^^
xsd:
string
]
]
;
sp:
variable
...
...
@@ -1488,12 +1479,14 @@ mpr-tables:ProductionFlows
sp:
subject
[
sp:
varName
"pressure"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"pressureInAtmospheres"
^^
xsd:
string
]
[
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
ep-spin-lib:
normalizePropertyUnitAndValue
;
sp:
arg1
[
sp:
varName
"pressure"
^^
xsd:
string
]
]
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/core#atmosphere>
;
sp:
subject
[
sp:
varName
"pressure"
^^
xsd:
string
sp:
variable
[
sp:
varName
"pressureInAtmospheres"
^^
xsd:
string
]
])
]
[
rdf:
type
sp:
Optional
;
...
...
@@ -1509,12 +1502,14 @@ mpr-tables:ProductionFlows
sp:
subject
[
sp:
varName
"temperature"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"temperatureInCelsius"
^^
xsd:
string
]
[
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
ep-spin-lib:
normalizePropertyUnitAndValue
;
sp:
arg1
[
sp:
varName
"temperature"
^^
xsd:
string
]
]
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/core#celsius>
;
sp:
subject
[
sp:
varName
"temperature"
^^
xsd:
string
sp:
variable
[
sp:
varName
"temperatureInCelsius"
^^
xsd:
string
]
])
]
[
sp:
object
...
...
@@ -1529,12 +1524,14 @@ mpr-tables:ProductionFlows
sp:
subject
[
sp:
varName
"volume"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"volumeInMetre3"
^^
xsd:
string
]
[
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
ep-spin-lib:
normalizePropertyUnitAndValue
;
sp:
arg1
[
sp:
varName
"volume"
^^
xsd:
string
]
]
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/core#metre3>
;
sp:
subject
[
sp:
varName
"volume"
^^
xsd:
string
sp:
variable
[
sp:
varName
"volumeInMetre3"
^^
xsd:
string
]
]
[
rdf:
type
sp:
Optional
;
sp:
elements
([
sp:
object
...
...
@@ -1544,12 +1541,14 @@ mpr-tables:ProductionFlows
sp:
subject
[
sp:
varName
"stateOfMaterialThatFlowsInPeriod"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"grossCalorificValueInMegaJouleMetre_3"
^^
xsd:
string
]
[
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
ep-spin-lib:
normalizePropertyUnitAndValue
;
sp:
arg1
[
sp:
varName
"calorificValue"
^^
xsd:
string
]
]
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/core#megajoule_m-3>
;
sp:
subject
[
sp:
varName
"calorificValue"
^^
xsd:
string
sp:
variable
[
sp:
varName
"grossCalorificValueInMegaJouleMetre_3"
^^
xsd:
string
]
])
])
...
...
@@ -1557,7 +1556,7 @@ mpr-tables:ProductionFlows
])
])
]
;
rhspin:
tableHeaders
(
"facility"
^^
xsd:
string
"flow name"
^^
xsd:
string
"type"
^^
xsd:
string
"subtype"
^^
xsd:
string
"purpose"
^^
xsd:
string
"product"
^^
xsd:
string
"material type"
^^
xsd:
string
"gross or net"
^^
xsd:
string
"duration type"
^^
xsd:
string
"mass "
^^
xsd:
string
"pressure
(atm)"
^^
xsd:
string
"temperature (C)"
^^
xsd:
string
"volume (m^3"
^^
xsd:
string
"gross calorific value (MJ/m^3)
"
^^
xsd:
string
)
.
rhspin:
tableHeaders
(
"facility"
^^
xsd:
string
"flow name"
^^
xsd:
string
"type"
^^
xsd:
string
"subtype"
^^
xsd:
string
"purpose"
^^
xsd:
string
"product"
^^
xsd:
string
"material type"
^^
xsd:
string
"gross or net"
^^
xsd:
string
"duration type"
^^
xsd:
string
"mass "
^^
xsd:
string
"pressure
"
^^
xsd:
string
"temperature"
^^
xsd:
string
"volume"
^^
xsd:
string
"gross calorific
"
^^
xsd:
string
)
.
mpr-tables:
ProductionFlowsAll
rdf:
type
rhspin:
TableTemplate
;
...
...
@@ -1735,38 +1734,10 @@ mpr-tables:ProductionFlowsAll
sp:
subject
[
sp:
varName
"materialQuantityValue"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"materialValue"
^^
xsd:
string
]
;
sp:
predicate
[
sp:
varName
"materialProperty"
^^
xsd:
string
]
;
sp:
subject
[
sp:
varName
"materialQuantityValue"
^^
xsd:
string
]
]
[
sp:
object
<http://www.reportinghub.no/ep/schema/core#Scale>
;
sp:
predicate
rdf:
type
;
sp:
subject
[
sp:
varName
"materialProperty"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"materialPropertyName"
^^
xsd:
string
]
;
sp:
predicate
rdfs:
label
;
sp:
subject
[
sp:
varName
"materialProperty"
^^
xsd:
string
]
]
[
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
fn:
concat
;
sp:
arg1
[
rdf:
type
spif:
decimalFormat
;
arg:
number
[
sp:
varName
"materialValue"
^^
xsd:
string
]
;
arg:
pattern
"#.##"
]
;
sp:
arg2
" "
;
sp:
arg3
[
sp:
varName
"materialPropertyName"
^^
xsd:
string
[
rdf:
type
ep-spin-lib:
normalizePropertyUnitAndValue
;
sp:
arg1
[
sp:
varName
"materialQuantityValue"
^^
xsd:
string
]
]
;
sp:
variable
...
...
@@ -1793,38 +1764,10 @@ mpr-tables:ProductionFlowsAll
sp:
subject
[
sp:
varName
"stateVolume"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"volumeValue"
^^
xsd:
string
]
;
sp:
predicate
[
sp:
varName
"volumePredicate"
^^
xsd:
string
]
;
sp:
subject
[
sp:
varName
"stateVolume"
^^
xsd:
string
]
]
[
sp:
object
<http://www.reportinghub.no/ep/schema/core#Scale>
;
sp:
predicate
rdf:
type
;
sp:
subject
[
sp:
varName
"volumePredicate"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"volumeUnit"
^^
xsd:
string
]
;
sp:
predicate
rdfs:
label
;
sp:
subject
[
sp:
varName
"volumePredicate"
^^
xsd:
string
]
]
[
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
fn:
concat
;
sp:
arg1
[
rdf:
type
spif:
decimalFormat
;
arg:
number
[
sp:
varName
"volumeValue"
^^
xsd:
string
]
;
arg:
pattern
"#.##"
]
;
sp:
arg2
" "
;
sp:
arg3
[
sp:
varName
"volumeUnit"
^^
xsd:
string
[
rdf:
type
ep-spin-lib:
normalizePropertyUnitAndValue
;
sp:
arg1
[
sp:
varName
"stateVolume"
^^
xsd:
string
]
]
;
sp:
variable
...
...
@@ -1851,38 +1794,10 @@ mpr-tables:ProductionFlowsAll
sp:
subject
[
sp:
varName
"stateDensity"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"densityValue"
^^
xsd:
string
]
;
sp:
predicate
[
sp:
varName
"densityPredicate"
^^
xsd:
string
]
;
sp:
subject
[
sp:
varName
"stateDensity"
^^
xsd:
string
]
]
[
sp:
object
<http://www.reportinghub.no/ep/schema/core#Scale>
;
sp:
predicate
rdf:
type
;
sp:
subject
[
sp:
varName
"densityPredicate"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"densityUnit"
^^
xsd:
string
]
;
sp:
predicate
rdfs:
label
;
sp:
subject
[
sp:
varName
"densityPredicate"
^^
xsd:
string
]
]
[
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
fn:
concat
;
sp:
arg1
[
rdf:
type
spif:
decimalFormat
;
arg:
number
[
sp:
varName
"densityValue"
^^
xsd:
string
]
;
arg:
pattern
"#.##"
]
;
sp:
arg2
" "
;
sp:
arg3
[
sp:
varName
"densityUnit"
^^
xsd:
string
[
rdf:
type
ep-spin-lib:
normalizePropertyUnitAndValue
;
sp:
arg1
[
sp:
varName
"stateDensity"
^^
xsd:
string
]
]
;
sp:
variable
...
...
@@ -2089,50 +2004,10 @@ mpr-tables:ProductionInventory
sp:
subject
[
sp:
varName
"materialQuantityValue"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"materialValue"
^^
xsd:
string
]
;
sp:
predicate
[
sp:
varName
"materialProperty"
^^
xsd:
string
]
;
sp:
subject
[
sp:
varName
"materialQuantityValue"
^^
xsd:
string
]
]
[
sp:
object
<http://www.reportinghub.no/ep/schema/core#Scale>
;
sp:
predicate
rdf:
type
;
sp:
subject
[
sp:
varName
"materialProperty"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"materialPropertyName"
^^
xsd:
string
]
;
sp:
predicate
rdfs:
label
;
sp:
subject
[
sp:
varName
"materialProperty"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"materialQuantity"
^^
xsd:
string
]
;
sp:
predicate
rdf:
type
;
sp:
subject
[
sp:
varName
"materialQuantityValue"
^^
xsd:
string
]
]
[
sp:
object
<http://www.reportinghub.no/ep/schema/core#PropertySpace>
;
sp:
predicate
rdf:
type
;
sp:
subject
[
sp:
varName
"materialQuantity"
^^
xsd:
string
]
]
[
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
fn:
concat
;
sp:
arg1
[
rdf:
type
spif:
decimalFormat
;
arg:
number
[
sp:
varName
"materialValue"
^^
xsd:
string
]
;
arg:
pattern
"#.##"
]
;
sp:
arg2
" "
;
sp:
arg3
[
sp:
varName
"materialPropertyName"
^^
xsd:
string
[
rdf:
type
ep-spin-lib:
normalizePropertyUnitAndValue
;
sp:
arg1
[
sp:
varName
"materialQuantityValue"
^^
xsd:
string
]
]
;
sp:
variable
...
...
@@ -2159,38 +2034,10 @@ mpr-tables:ProductionInventory
sp:
subject
[
sp:
varName
"volumeQuantityValue"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"volumeValue"
^^
xsd:
string
]
;
sp:
predicate
[
sp:
varName
"volumePredicate"
^^
xsd:
string
]
;
sp:
subject
[
sp:
varName
"volumeQuantityValue"
^^
xsd:
string
]
]
[
sp:
object
<http://www.reportinghub.no/ep/schema/core#Scale>
;
sp:
predicate
rdf:
type
;
sp:
subject
[
sp:
varName
"volumePredicate"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"volumeUnit"
^^
xsd:
string
]
;
sp:
predicate
rdfs:
label
;
sp:
subject
[
sp:
varName
"volumePredicate"
^^
xsd:
string
]
]
[
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
fn:
concat
;
sp:
arg1
[
rdf:
type
spif:
decimalFormat
;
arg:
number
[
sp:
varName
"volumeValue"
^^
xsd:
string
]
;
arg:
pattern
"#.##"
]
;
sp:
arg2
" "
;
sp:
arg3
[
sp:
varName
"volumeUnit"
^^
xsd:
string
[
rdf:
type
ep-spin-lib:
normalizePropertyUnitAndValue
;
sp:
arg1
[
sp:
varName
"volumeQuantityValue"
^^
xsd:
string
]
]
;
sp:
variable
...
...
@@ -2217,38 +2064,10 @@ mpr-tables:ProductionInventory
sp:
subject
[
sp:
varName
"densityQuantityValue"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"densityValue"
^^
xsd:
string
]
;
sp:
predicate
[
sp:
varName
"densityPredicate"
^^
xsd:
string
]
;
sp:
subject
[
sp:
varName
"densityQuantityValue"
^^
xsd:
string
]
]
[
sp:
object
<http://www.reportinghub.no/ep/schema/core#Scale>
;
sp:
predicate
rdf:
type
;
sp:
subject
[
sp:
varName
"densityPredicate"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"densityUnit"
^^
xsd:
string
]
;
sp:
predicate
rdfs:
label
;
sp:
subject
[
sp:
varName
"densityPredicate"
^^
xsd:
string
]
]
[
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
fn:
concat
;
sp:
arg1
[
rdf:
type
spif:
decimalFormat
;
arg:
number
[
sp:
varName
"densityValue"
^^
xsd:
string
]
;
arg:
pattern
"#.##"
]
;
sp:
arg2
" "
;
sp:
arg3
[
sp:
varName
"densityUnit"
^^
xsd:
string
[
rdf:
type
ep-spin-lib:
normalizePropertyUnitAndValue
;
sp:
arg1
[
sp:
varName
"densityQuantityValue"
^^
xsd:
string
]
]
;
sp:
variable
...
...
@@ -2485,12 +2304,14 @@ mpr-tables:ProductionInventoryOwnership
sp:
subject
[
sp:
varName
"ownedQuantityType"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"ownedVolumeValue"
^^
xsd:
string
]
[
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
ep-spin-lib:
normalizePropertyUnitAndValue
;
sp:
arg1
[
sp:
varName
"ownedQuantityType"
^^
xsd:
string
]
]
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/core#metre3>
;
sp:
subject
[
sp:
varName
"ownedQuantityType"
^^
xsd:
string
sp:
variable
[
sp:
varName
"ownedVolumeValue"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"partOfOrg"
^^
xsd:
string
...
...
@@ -2688,38 +2509,10 @@ mpr-tables:ProductionSales
sp:
subject
[
sp:
varName
"materialQuantityValue"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"materialValue"
^^
xsd:
string
]
;
sp:
predicate
[
sp:
varName
"materialProperty"
^^
xsd:
string
]
;
sp:
subject
[
sp:
varName
"materialQuantityValue"
^^
xsd:
string
]
]
[
sp:
object
<http://www.reportinghub.no/ep/schema/core#Scale>
;
sp:
predicate
rdf:
type
;
sp:
subject
[
sp:
varName
"materialProperty"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"materialPropertyName"
^^
xsd:
string
]
;
sp:
predicate
rdfs:
label
;
sp:
subject
[
sp:
varName
"materialProperty"
^^
xsd:
string
]
]
[
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
fn:
concat
;
sp:
arg1
[
rdf:
type
spif:
decimalFormat
;
arg:
number
[
sp:
varName
"materialValue"
^^
xsd:
string
]
;
arg:
pattern
"#.##"
]
;
sp:
arg2
" "
;
sp:
arg3
[
sp:
varName
"materialPropertyName"
^^
xsd:
string
[
rdf:
type
ep-spin-lib:
normalizePropertyUnitAndValue
;
sp:
arg1
[
sp:
varName
"materialQuantityValue"
^^
xsd:
string
]
]
;
sp:
variable
...
...
@@ -2746,38 +2539,10 @@ mpr-tables:ProductionSales
sp:
subject
[
sp:
varName
"stateVolume"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"volumeValue"
^^
xsd:
string
]
;
sp:
predicate
[
sp:
varName
"volumePredicate"
^^
xsd:
string
]
;
sp:
subject
[
sp:
varName
"stateVolume"
^^
xsd:
string
]
]
[
sp:
object
<http://www.reportinghub.no/ep/schema/core#Scale>
;
sp:
predicate
rdf:
type
;
sp:
subject
[
sp:
varName
"volumePredicate"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"volumeUnit"
^^
xsd:
string
]
;
sp:
predicate
rdfs:
label
;
sp:
subject
[
sp:
varName
"volumePredicate"
^^
xsd:
string
]
]
[
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
fn:
concat
;
sp:
arg1
[
rdf:
type
spif:
decimalFormat
;
arg:
number
[
sp:
varName
"volumeValue"
^^
xsd:
string
]
;
arg:
pattern
"#.##"
]
;
sp:
arg2
" "
;
sp:
arg3
[
sp:
varName
"volumeUnit"
^^
xsd:
string
[
rdf:
type
ep-spin-lib:
normalizePropertyUnitAndValue
;
sp:
arg1
[
sp:
varName
"stateVolume"
^^
xsd:
string
]
]
;
sp:
variable
...
...
@@ -2804,38 +2569,10 @@ mpr-tables:ProductionSales
sp:
subject
[
sp:
varName
"stateDensity"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"densityValue"
^^
xsd:
string
]
;
sp:
predicate
[
sp:
varName
"densityPredicate"
^^
xsd:
string
]
;
sp:
subject
[
sp:
varName
"stateDensity"
^^
xsd:
string
]
]
[
sp:
object
<http://www.reportinghub.no/ep/schema/core#Scale>
;
sp:
predicate
rdf:
type
;
sp:
subject
[
sp:
varName
"densityPredicate"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"densityUnit"
^^
xsd:
string
]
;
sp:
predicate
rdfs:
label
;
sp:
subject
[
sp:
varName
"densityPredicate"
^^
xsd:
string
]
]
[
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
fn:
concat
;
sp:
arg1
[
rdf:
type
spif:
decimalFormat
;
arg:
number
[
sp:
varName
"densityValue"
^^
xsd:
string
]
;
arg:
pattern
"#.##"
]
;
sp:
arg2
" "
;
sp:
arg3
[
sp:
varName
"densityUnit"
^^
xsd:
string
[
rdf:
type
ep-spin-lib:
normalizePropertyUnitAndValue
;
sp:
arg1
[
sp:
varName
"stateDensity"
^^
xsd:
string
]
]
;
sp:
variable
...
...
@@ -3174,38 +2911,10 @@ mpr-tables:WellProductionFlows
sp:
subject
[
sp:
varName
"stateVolume"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"volumeValue"
^^
xsd:
string
]
;
sp:
predicate
[
sp:
varName
"volumePredicate"
^^
xsd:
string
]
;
sp:
subject
[
sp:
varName
"stateVolume"
^^
xsd:
string
]
]
[
sp:
object
<http://www.reportinghub.no/ep/schema/core#Scale>
;
sp:
predicate
rdf:
type
;
sp:
subject
[
sp:
varName
"volumePredicate"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"volumeUnit"
^^
xsd:
string
]
;
sp:
predicate
rdfs:
label
;
sp:
subject
[
sp:
varName
"volumePredicate"
^^
xsd:
string
]
]
[
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
fn:
concat
;
sp:
arg1
[
rdf:
type
spif:
decimalFormat
;
arg:
number
[
sp:
varName
"volumeValue"
^^
xsd:
string
]
;
arg:
pattern
"#.##"
]
;
sp:
arg2
" "
;
sp:
arg3
[
sp:
varName
"volumeUnit"
^^
xsd:
string
[
rdf:
type
ep-spin-lib:
normalizePropertyUnitAndValue
;
sp:
arg1
[
sp:
varName
"stateVolume"
^^
xsd:
string
]
]
;
sp:
variable
...
...
Please
register
or
login
to post a comment