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-07-03 17:55:31 +0100
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
76a86a1c33095517bafa10e74cb6598be5910c49
76a86a1c
1 parent
64ae2310
added gas sales buyer volume and energy - almost there but dups when nyhanna
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
71 additions
and
24 deletions
www.reportinghub.no/ep/spin/SPIN_EP-MPR-tables-v1.0.spin.ttl
www.reportinghub.no/ep/spin/SPIN_EP-MPR-tables-v1.0.spin.ttl
View file @
76a86a1
...
...
@@ -716,9 +716,11 @@ mpr-tables:GasSales
]
[
sp:
varName
"materialTypeName"
^^
xsd:
string
]
[
sp:
varName
"definitionTypeName"
^^
xsd:
string
]
[
sp:
varName
"sellerName"
^^
xsd:
string
]
[
sp:
varName
"sellerVolumeValue"
^^
xsd:
string
]
[
sp:
varName
"sellerEnergyValue"
^^
xsd:
string
]
[
sp:
varName
"buyerName"
^^
xsd:
string
]
[
sp:
varName
"
v
olumeValue"
^^
xsd:
string
]
[
sp:
varName
"
work
Value"
^^
xsd:
string
]
[
sp:
varName
"
buyerV
olumeValue"
^^
xsd:
string
]
[
sp:
varName
"
buyerEnergy
Value"
^^
xsd:
string
])
;
sp:
where
([
sp:
object
<http://www.reportinghub.no/ep/schema/report#ProductionReport>
;
sp:
predicate
rdf:
type
;
...
...
@@ -852,7 +854,7 @@ mpr-tables:GasSales
[
sp:
varName
"productTransaction"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"
work
Quantity"
^^
xsd:
string
[
sp:
varName
"
sellerEnergy
Quantity"
^^
xsd:
string
]
;
sp:
predicate
rdf:
type
;
sp:
subject
...
...
@@ -861,14 +863,14 @@ mpr-tables:GasSales
]
[
sp:
object
<http://www.reportinghub.no/ep/schema/core#Work>
;
sp:
predicate
rdf:
type
;
sp:
subject
[
sp:
varName
"
work
Quantity"
^^
xsd:
string
[
sp:
varName
"
sellerEnergy
Quantity"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"
work
Value"
^^
xsd:
string
[
sp:
varName
"
sellerEnergy
Value"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/core#megajoule>
;
sp:
subject
[
sp:
varName
"
work
Quantity"
^^
xsd:
string
[
sp:
varName
"
sellerEnergy
Quantity"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"movedProduct"
^^
xsd:
string
...
...
@@ -878,7 +880,7 @@ mpr-tables:GasSales
[
sp:
varName
"volumeOfMovedProduct"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"
v
olumeQuantity"
^^
xsd:
string
[
sp:
varName
"
sellerV
olumeQuantity"
^^
xsd:
string
]
;
sp:
predicate
rdf:
type
;
sp:
subject
...
...
@@ -887,14 +889,14 @@ mpr-tables:GasSales
]
[
sp:
object
<http://www.reportinghub.no/ep/schema/core#Volume>
;
sp:
predicate
rdf:
type
;
sp:
subject
[
sp:
varName
"
v
olumeQuantity"
^^
xsd:
string
[
sp:
varName
"
sellerV
olumeQuantity"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"
v
olumeValue"
^^
xsd:
string
[
sp:
varName
"
sellerV
olumeValue"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/core#metre3>
;
sp:
subject
[
sp:
varName
"
v
olumeQuantity"
^^
xsd:
string
[
sp:
varName
"
sellerV
olumeQuantity"
^^
xsd:
string
]
]
[
sp:
object
<http://www.reportinghub.no/ep/schema/production-activity#ProductTransaction>
;
sp:
predicate
rdf:
type
;
...
...
@@ -902,23 +904,11 @@ mpr-tables:GasSales
[
sp:
varName
"productTransaction"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"productMovement"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/core#hasPart>
;
sp:
subject
[
sp:
varName
"productTransaction"
^^
xsd:
string
]
]
[
sp:
object
<http://www.reportinghub.no/ep/schema/production-activity#MovementOfProduct>
;
sp:
predicate
rdf:
type
;
sp:
subject
[
sp:
varName
"productMovement"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"salesActivity"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/core#hasPart>
;
sp:
subject
[
sp:
varName
"product
Movement
"
^^
xsd:
string
[
sp:
varName
"product
Transaction
"
^^
xsd:
string
]
]
[
sp:
object
<http://www.reportinghub.no/ep/schema/production-activity#SalesActivity>
;
sp:
predicate
rdf:
type
;
...
...
@@ -968,6 +958,63 @@ mpr-tables:GasSales
sp:
subject
[
sp:
varName
"buyer"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"buyerMovedProduct"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/production-activity#movedProduct>
;
sp:
subject
[
sp:
varName
"salesActivity"
^^
xsd:
string
]
]
[
sp:
object
<http://www.reportinghub.no/ep/schema/material#Fluid>
;
sp:
predicate
rdf:
type
;
sp:
subject
[
sp:
varName
"buyerMovedProduct"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"buyerEnergyQuantity"
^^
xsd:
string
]
;
sp:
predicate
rdf:
type
;
sp:
subject
[
sp:
varName
"buyerMovedProduct"
^^
xsd:
string
]
]
[
sp:
object
<http://www.reportinghub.no/ep/schema/core#Work>
;
sp:
predicate
rdf:
type
;
sp:
subject
[
sp:
varName
"buyerEnergyQuantity"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"buyerEnergyValue"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/core#megajoule>
;
sp:
subject
[
sp:
varName
"buyerEnergyQuantity"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"buyerMovedProduct"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/core#temporalPartOf>
;
sp:
subject
[
sp:
varName
"buyerMovedProductPart"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"buyerVolumeQuantity"
^^
xsd:
string
]
;
sp:
predicate
rdf:
type
;
sp:
subject
[
sp:
varName
"buyerMovedProductPart"
^^
xsd:
string
]
]
[
sp:
object
<http://www.reportinghub.no/ep/schema/core#Volume>
;
sp:
predicate
rdf:
type
;
sp:
subject
[
sp:
varName
"buyerVolumeQuantity"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"buyerVolumeValue"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/core#metre3>
;
sp:
subject
[
sp:
varName
"buyerVolumeQuantity"
^^
xsd:
string
]
])
]
[
rdf:
type
sp:
Optional
;
sp:
elements
([
sp:
object
...
...
@@ -1034,7 +1081,7 @@ mpr-tables:GasSales
])
])
]
;
rhspin:
tableHeaders
(
"Facility"
^^
xsd:
string
"Purpose"
^^
xsd:
string
"Material"
^^
xsd:
string
"Flow type"
^^
xsd:
string
"Seller"
^^
xsd:
string
"
Buyer"
^^
xsd:
string
"Volume"
^^
xsd:
string
"
Work"
^^
xsd:
string
)
.
rhspin:
tableHeaders
(
"Facility"
^^
xsd:
string
"Purpose"
^^
xsd:
string
"Material"
^^
xsd:
string
"Flow type"
^^
xsd:
string
"Seller"
^^
xsd:
string
"
Seller Volume"
^^
xsd:
string
"Seller Work"
^^
xsd:
string
"Buyer"
^^
xsd:
string
"Buyer Volume"
^^
xsd:
string
"Buyer
Work"
^^
xsd:
string
)
.
mpr-tables:
ProductionFlows
rdf:
type
rhspin:
TableTemplate
;
...
...
Please
register
or
login
to post a comment