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-06-28 12:02:19 +0100
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
113c00dcd01db508516271f42217dc92f344040c
113c00dc
1 parent
91d5d77d
Initial Cargo Ownership Table
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
251 additions
and
0 deletions
www.reportinghub.no/ep/spin/SPIN_EP-MPR-tables-v1.0.spin.ttl
www.reportinghub.no/swp/MPRG.uispin.html
www.reportinghub.no/ep/spin/SPIN_EP-MPR-tables-v1.0.spin.ttl
View file @
113c00d
...
...
@@ -453,6 +453,255 @@ mpr-tables:Cargo
]
;
rhspin:
tableHeaders
(
"Facility"
^^
xsd:
string
"Purpose"
^^
xsd:
string
"Material"
^^
xsd:
string
"Flow type"
^^
xsd:
string
"Movement Type"
^^
xsd:
string
"Cargo Number"
^^
xsd:
string
"Cargo Batch"
^^
xsd:
string
"Bill of Lading"
^^
xsd:
string
"Volume"
^^
xsd:
string
"Mass"
^^
xsd:
string
"Density"
^^
xsd:
string
"Shipper"
^^
xsd:
string
"Destination"
^^
xsd:
string
"Country"
^^
xsd:
string
)
.
mpr-tables:
CargoOwnership
rdf:
type
rhspin:
TableTemplate
;
rdfs:
label
"Cargo Ownership Information1"
^^
xsd:
string
;
rdfs:
subClassOf
rhspin:
MPRGTableTemplates
;
spin:
body
[
rdf:
type
sp:
Select
;
sp:
orderBy
([
sp:
varName
"facilityName"
^^
xsd:
string
]
[
sp:
varName
"cargoNumber"
^^
xsd:
string
]
[
sp:
varName
"cargoBatchNumber"
^^
xsd:
string
]
[
sp:
varName
"ownerName"
^^
xsd:
string
])
;
sp:
resultVariables
([
sp:
varName
"facilityName"
^^
xsd:
string
]
[
sp:
varName
"cargoNumber"
^^
xsd:
string
]
[
sp:
varName
"cargoBatchNumber"
^^
xsd:
string
]
[
sp:
varName
"ownerName"
^^
xsd:
string
]
[
sp:
varName
"ownerShare"
^^
xsd:
string
])
;
sp:
where
([
sp:
object
<http://www.reportinghub.no/ep/schema/report#ProductionReport>
;
sp:
predicate
rdf:
type
;
sp:
subject
[
sp:
varName
"productionReport"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"productionReport"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/core#partOf>
;
sp:
subject
[
sp:
varName
"productVolumeReport"
^^
xsd:
string
]
]
[
sp:
object
<http://www.reportinghub.no/ep/schema/report#ProductVolumeReport>
;
sp:
predicate
rdf:
type
;
sp:
subject
[
sp:
varName
"productVolumeReport"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"productionFlowsInReportingPeriod"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/report#reportOn>
;
sp:
subject
[
sp:
varName
"productVolumeReport"
^^
xsd:
string
]
]
[
sp:
object
<http://www.reportinghub.no/ep/schema/flow#ProductionFlow>
;
sp:
predicate
rdf:
type
;
sp:
subject
[
sp:
varName
"productionFlowsInReportingPeriod"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"productionFlowInReportingPeriod"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/core#hasPart>
;
sp:
subject
[
sp:
varName
"productionFlowsInReportingPeriod"
^^
xsd:
string
]
]
[
sp:
object
<http://www.reportinghub.no/ep/schema/flow#ProductionFlow>
;
sp:
predicate
rdf:
type
;
sp:
subject
[
sp:
varName
"productionFlowInReportingPeriod"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"productionFlowWhole"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/core#temporalPartOf>
;
sp:
subject
[
sp:
varName
"productionFlowInReportingPeriod"
^^
xsd:
string
]
]
[
sp:
object
<http://www.reportinghub.no/ep/schema/flow#WholeLifeProductionFlow>
;
sp:
predicate
rdf:
type
;
sp:
subject
[
sp:
varName
"productionFlowWhole"
^^
xsd:
string
]
]
[
sp:
object
<http://www.reportinghub.no/ep/schema/flow#HydrocarbonAccounting>
;
sp:
predicate
rdf:
type
;
sp:
subject
[
sp:
varName
"productionFlowWhole"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"productionFlowMixedPart"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/flow#hasMixedPart>
;
sp:
subject
[
sp:
varName
"productionFlowWhole"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"productionFlowFacility"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/flow#flowIntoOrOutOf>
;
sp:
subject
[
sp:
varName
"productionFlowWhole"
^^
xsd:
string
]
]
[
sp:
object
<http://www.reportinghub.no/ep/schema/facility#ProductionFacility>
;
sp:
predicate
rdf:
type
;
sp:
subject
[
sp:
varName
"productionFlowFacility"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"facilityName"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/np/schema/npd#name>
;
sp:
subject
[
sp:
varName
"productionFlowFacility"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"productionFlowMixedPart"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/core#temporalPartOf>
;
sp:
subject
[
sp:
varName
"productFlowPartOfMixedPart"
^^
xsd:
string
]
]
[
sp:
object
<http://www.reportinghub.no/ep/schema/flow#ProductFlow>
;
sp:
predicate
rdf:
type
;
sp:
subject
[
sp:
varName
"productFlowPartOfMixedPart"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"productFlowPartOfMixedPart"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/core#temporalPartOf>
;
sp:
subject
[
sp:
varName
"productFlowInMonth"
^^
xsd:
string
]
]
[
sp:
object
<http://www.reportinghub.no/ep/schema/flow#FlowDuringMonth>
;
sp:
predicate
rdf:
type
;
sp:
subject
[
sp:
varName
"productFlowInMonth"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"materialFlowedInMonth"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/flow#materialThatFlows>
;
sp:
subject
[
sp:
varName
"productFlowInMonth"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"materialFlowedInMonth"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/core#spatialPartOf>
;
sp:
subject
[
sp:
varName
"spatialPartOfProductFlowInMonth"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"spatialPartOfProductFlowInMonth"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/core#temporalPartOf>
;
sp:
subject
[
sp:
varName
"movedProduct"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"movedProduct"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/production-activity#movedProduct>
;
sp:
subject
[
sp:
varName
"movementOfProduct"
^^
xsd:
string
]
]
[
sp:
object
<http://www.reportinghub.no/ep/schema/production-activity#ProductTankerLifting>
;
sp:
predicate
rdf:
type
;
sp:
subject
[
sp:
varName
"movementOfProduct"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"cargoNumber"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/production-activity#cargoNumber>
;
sp:
subject
[
sp:
varName
"movedProduct"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"cargoBatchNumber"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/production-activity#cargoBatchNumber>
;
sp:
subject
[
sp:
varName
"movedProduct"
^^
xsd:
string
]
]
[
sp:
object
<http://www.reportinghub.no/ep/schema/material#QuantityOfMaterial>
;
sp:
predicate
rdf:
type
;
sp:
subject
[
sp:
varName
"movedProduct"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"movedProduct"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/core#spatialPartOf>
;
sp:
subject
[
sp:
varName
"ownedPartOfMovedProduct"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"ownerPart"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/organization#owner>
;
sp:
subject
[
sp:
varName
"ownedPartOfMovedProduct"
^^
xsd:
string
]
]
[
sp:
object
<http://www.reportinghub.no/ep/schema/organization#Organization>
;
sp:
predicate
rdf:
type
;
sp:
subject
[
sp:
varName
"ownerPart"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"owner"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/core#temporalPartOf>
;
sp:
subject
[
sp:
varName
"ownerPart"
^^
xsd:
string
]
]
[
rdf:
type
sp:
TriplePath
;
sp:
object
[
sp:
varName
"ownerName"
^^
xsd:
string
]
;
sp:
path
[
rdf:
type
sp:
AltPath
;
sp:
path1
<http://www.reportinghub.no/ep/schema/core#name>
;
sp:
path2
<http://www.reportinghub.no/np/schema/npd#name>
]
;
sp:
subject
[
sp:
varName
"owner"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"ownedPartOfMovedProduct"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/material#partMaterialOfPair>
;
sp:
subject
[
sp:
varName
"materialPart"
^^
xsd:
string
]
]
[
sp:
object
<http://www.reportinghub.no/ep/schema/material#MaterialPartWholePair>
;
sp:
predicate
rdf:
type
;
sp:
subject
[
sp:
varName
"materialPart"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"ratio"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/material#volumeRatio>
;
sp:
subject
[
sp:
varName
"materialPart"
^^
xsd:
string
]
]
[
sp:
object
<http://www.reportinghub.no/ep/schema/core#Ratio>
;
sp:
predicate
rdf:
type
;
sp:
subject
[
sp:
varName
"ratio"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"ownerShare"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/core#undefinedScale>
;
sp:
subject
[
sp:
varName
"ratio"
^^
xsd:
string
]
])
]
;
rhspin:
tableHeaders
(
"Facility"
^^
xsd:
string
"Cargo Number"
^^
xsd:
string
"Cargo Batch"
^^
xsd:
string
"Owner"
^^
xsd:
string
"Share"
^^
xsd:
string
)
.
mpr-tables:
GasSales
rdf:
type
rhspin:
TableTemplate
;
rdfs:
label
"Gas Sales"
^^
xsd:
string
;
...
...
www.reportinghub.no/swp/MPRG.uispin.html
View file @
113c00d
...
...
@@ -176,6 +176,8 @@ OPTIONAL {
<mprgswp:Table
arg:report=
"{= ?report }"
arg:template=
"mpr-tables:WellProductionFlows"
/>
<mprgswp:Table
arg:report=
"{= ?report }"
arg:template=
"mpr-tables:Cargo"
/>
<mprgswp:Table
arg:report=
"{= ?report }"
arg:template=
"mpr-tables:CargoOwnership"
/>
<mprgswp:Table
arg:report=
"{= ?report }"
arg:template=
"mpr-tables:ProductionFlowsAll"
/>
...
...
Please
register
or
login
to post a comment