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
2013-08-02 18:14:14 +0100
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
290ece9aa23ad7b9ae2d75b1c88dda1db6ee8808
290ece9a
1 parent
f3a2ecad
Working fix to inventory HTML gen MPRG
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
32 additions
and
35 deletions
www.reportinghub.no/ep/spin/SPIN_EP-MPR-tables-v1.0.spin.ttl
www.reportinghub.no/test/mpr/testcase/epim-mpr-govt/PL147/test-results/triples/TRYM-MONTH_2012-02-01_final-mprg-inventory.ttl
www.reportinghub.no/ep/spin/SPIN_EP-MPR-tables-v1.0.spin.ttl
View file @
290ece9
...
...
@@ -2039,7 +2039,7 @@ mpr-tables:ProductionInventory
[
sp:
varName
"productionInventoryInPeriod"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"productInventory"
^^
xsd:
string
[
sp:
varName
"productInventory
InPeriod
"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/material#hasComponent>
;
sp:
subject
...
...
@@ -2048,13 +2048,6 @@ mpr-tables:ProductionInventory
]
[
sp:
object
<http://www.reportinghub.no/ep/schema/flow#ProductInventory>
;
sp:
predicate
rdf:
type
;
sp:
subject
[
sp:
varName
"productInventory"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"productInventory"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/core#temporalPartOf>
;
sp:
subject
[
sp:
varName
"productInventoryInPeriod"
^^
xsd:
string
]
]
[
sp:
object
<http://www.reportinghub.no/ep/schema/core#PhysicalThingDuringOneMonth>
;
...
...
@@ -2087,7 +2080,7 @@ mpr-tables:ProductionInventory
])
]
[
rdf:
type
sp:
Optional
;
sp:
elements
([
sp:
object
[
sp:
varName
"productInventory"
^^
xsd:
string
[
sp:
varName
"productInventory
InPeriod
"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/core#temporalPartOf>
;
sp:
subject
...
...
@@ -2168,7 +2161,7 @@ mpr-tables:ProductionInventory
]
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/core#temporalPartOf>
;
sp:
subject
[
sp:
varName
"productInventory"
^^
xsd:
string
[
sp:
varName
"productInventory
InPeriod
"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"productInventoryWholeType"
^^
xsd:
string
...
...
@@ -2199,7 +2192,7 @@ mpr-tables:ProductionInventory
]
[
sp:
object
[
sp:
varName
"productionInventoryWholeName"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/
core
#name>
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/
erhfacts
#name>
;
sp:
subject
[
sp:
varName
"productionInventoryWhole"
^^
xsd:
string
]
...
...
@@ -2442,7 +2435,7 @@ mpr-tables:ProductionInventoryOwnership
]
[
sp:
object
[
sp:
varName
"productionInventoryWholeName"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/
core
#name>
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/
erhfacts
#name>
;
sp:
subject
[
sp:
varName
"productionInventoryWhole"
^^
xsd:
string
]
...
...
www.reportinghub.no/test/mpr/testcase/epim-mpr-govt/PL147/test-results/triples/TRYM-MONTH_2012-02-01_final-mprg-inventory.ttl
View file @
290ece9
...
...
@@ -17,10 +17,10 @@
<http://www.reportinghub.no/data/erh/Field-18081500-Flow-FRED_ALLLOCATED_INVENTORY>
ep-material:
hasComponent
<http://www.reportinghub.no/data/erh/Field-18081500-Flow-FRED_ALLLOCATED_INVENTORY$OIL_NET
$NET
>
.
<http://www.reportinghub.no/data/erh/Field-18081500-Flow-FRED_ALLLOCATED_INVENTORY$OIL_NET>
.
<http://www.reportinghub.no/data/erh/Field-18081500-Flow-FRED_ALLLOCATED_INVENTORY$OIL_NET
$NET
>
rdf:
type
ep-flow:
ProductInventory
,
ep-flow:
WholeLifeProductInventory
.
<http://www.reportinghub.no/data/erh/Field-18081500-Flow-FRED_ALLLOCATED_INVENTORY$OIL_NET>
rdf:
type
ep-flow:
NetProductFlow
,
ep-flow:
ProductInventory
,
ep-flow:
WholeLifeProductInventory
,
ep-material:
Oil-net
.
<http://www.reportinghub.no/np/data/npd/Facility-416595>
rdf:
type
ep-fac:
ProductionFacility
.
...
...
@@ -159,46 +159,50 @@
_:
b3
rdf:
type
ep-flow:
ProductInventoryClosingBalance
,
ep-material:
QuantityOfMaterial
;
ep-core:
partOf
_:
b2
.
_:
b2
rdf:
type
ep-core:
PhysicalThingDuringOneMonth
,
ep-flow:
ProductInventory
;
_:
b2
rdf:
type
ep-core:
PhysicalThingDuringOneMonth
,
ep-flow:
Inventory
,
ep-flow:
ProductInventory
;
ep-activity:
finishedAt
"2012-02-29"
^^
xsd:
date
;
ep-activity:
startedAt
"2012-02-01"
^^
xsd:
date
;
ep-core:
temporalPartOf
_:
b4
;
<http://www.reportinghub.no/data/erh/Field-18081500-Flow-FRED_ALLLOCATED_INVENTORY$OIL_NET>
;
ep-flow:
massAtAccountingInstant
[
rdf:
type
ep-core:
Mass
;
ep-core:
kilogram
"64.55"
^^
xsd:
double
]
.
_:
b4
rdf:
type
ep-flow:
Inventory
,
ep-flow:
ProductInventory
;
ep-core:
temporalPartOf
<http://www.reportinghub.no/data/erh/Field-18081500-Flow-FRED_ALLLOCATED_INVENTORY$OIL_NET$NET>
.
[]
rdf:
type
ep-flow:
Inventory
,
ep-flow:
ProductionInventory
;
ep-core:
name
"Fredericia allocated inventory volumes"
^^
xsd:
string
;
ep-core:
temporalPartOf
<http://www.reportinghub.no/data/erh/Field-18081500-Flow-FRED_ALLLOCATED_INVENTORY>
;
ep-material:
hasComponent
_:
b4
.
[]
rdf:
type
ep-fac:
SurfaceFixedFacility
,
ep-fac:
TemporalPartOfAProductionFacility
;
ep-core:
temporalPartOf
<http://www.reportinghub.no/np/data/npd/Facility-416595>
.
_:
b
5
rdf:
type
ep-flow:
ProductionInventoryCollectionToDate
;
_:
b
4
rdf:
type
ep-flow:
ProductionInventoryCollectionToDate
;
ep-activity:
finishedAt
"2012-02-29"
^^
xsd:
date
.
_:
b
6
rdf:
type
ep-flow:
ProductionInventoryCollection
;
_:
b
5
rdf:
type
ep-flow:
ProductionInventoryCollection
;
ep-activity:
finishedAt
"2012-02-29"
^^
xsd:
date
;
ep-activity:
startedAt
"2012-02-01"
^^
xsd:
date
;
ep-core:
hasSpatialPart
[
rdf:
type
ep-flow:
AllocatedFlow
,
ep-flow:
Inventory
,
ep-flow:
ProductionInventory
;
ep-activity:
finishedAt
"2012-02-29"
^^
xsd:
date
;
ep-activity:
startedAt
"2012-02-01"
^^
xsd:
date
;
ep-core:
name
"Fredericia allocated inventory volumes"
^^
xsd:
string
;
ep-core:
temporalPartOf
_:
b5
.
<http://www.reportinghub.no/data/erh/Field-18081500-Flow-FRED_ALLLOCATED_INVENTORY>
;
ep-material:
hasComponent
_:
b2
]
;
ep-core:
temporalPartOf
_:
b4
.
[]
rdf:
type
ep-report:
ProductVolumeReport
,
ep-report:
Report
;
rdfs:
comment
"A whole life production flow has not been found with UID 'FRED_ALLLOCATED_INVENTORY' ."
;
ep-core:
name
"TRYM"
^^
xsd:
string
;
ep-core:
partOf
<https://www.reportinghub.no/ep/data/productionReport/FIELD-18081500$2012-02-01$2012-02-29>
;
ep-report:
reportOn
_:
b
6
,
_:
b1
.
ep-report:
reportOn
_:
b
5
,
_:
b1
.
[]
rdf:
type
ep-activity:
IssueAReport
;
ep-activity:
issuedFrom
...
...
@@ -222,7 +226,7 @@ _:b1 rdf:type ep-fac:TemporalPartOfAProductionFacility ;
ep-activity:
startedAt
"2012-02-01"
^^
xsd:
date
;
ep-core:
hasSpatialPart
_:
b
6
;
_:
b
5
;
ep-core:
temporalPartOf
<http://www.reportinghub.no/np/data/npd/Field-18081500>
;
ep-core:
temporalPartOf
...
...
@@ -230,7 +234,7 @@ _:b1 rdf:type ep-fac:TemporalPartOfAProductionFacility ;
ep-activity:
finishedAt
"2012-02-29"
^^
xsd:
date
;
ep-core:
hasSpatialPart
_:
b
5
;
_:
b
4
;
ep-core:
temporalPartOf
<http://www.reportinghub.no/np/data/npd/Field-18081500>
]
.
...
...
Please
register
or
login
to post a comment