David Price

product volumes table work

......@@ -144,8 +144,8 @@ dpr-tables:ProductVolumes
] [ sp:varName "flowPurposeName"^^xsd:string
] [ sp:varName "flowDefinitionName"^^xsd:string
] [ sp:varName "densityValue"^^xsd:string
] [ sp:varName "temperatureValue"^^xsd:string
] [ sp:varName "pressureValue"^^xsd:string
] [ sp:varName "temperatureValue"^^xsd:string
]) ;
sp:where ([ sp:object <http://www.reportinghub.no/ep/schema/report#ProductionReport> ;
sp:predicate rdf:type ;
......@@ -183,6 +183,11 @@ dpr-tables:ProductVolumes
sp:subject
[ sp:varName "productionflownetwork"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ProductionFlow> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "flow"^^xsd:string
]
] [ sp:object
[ sp:varName "productionflownetwork"^^xsd:string
] ;
......@@ -204,11 +209,6 @@ dpr-tables:ProductVolumes
sp:subject
[ sp:varName "containingWholeFacility"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ProductionFlow> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "flow"^^xsd:string
]
] [ sp:object
[ sp:varName "flowWhole"^^xsd:string
] ;
......@@ -228,10 +228,14 @@ dpr-tables:ProductVolumes
sp:subject
[ sp:varName "flowWhole"^^xsd:string
]
] [ sp:object
] [ rdf:type sp:TriplePath ;
sp:object
[ sp:varName "flowInOutFacilityName"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#name> ;
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 "flowInOutFacility"^^xsd:string
]
......@@ -273,66 +277,68 @@ dpr-tables:ProductVolumes
sp:subject
[ sp:varName "flowDefinition"^^xsd:string
]
] [ sp:object
[ sp:varName "temperature"^^xsd:string
] ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "flow"^^xsd:string
]
] [ sp:object
[ sp:varName "density"^^xsd:string
] ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "flow"^^xsd:string
]
] [ sp:object
[ sp:varName "pressure"^^xsd:string
] ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "flow"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/core#Pressure> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "pressure"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/core#Density> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "density"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/core#Temperature> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "temperature"^^xsd:string
]
] [ sp:object
[ sp:varName "temperatureValue"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#kelvin> ;
sp:subject
[ sp:varName "temperature"^^xsd:string
]
] [ sp:object
[ sp:varName "pressureValue"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#pascal> ;
sp:subject
[ sp:varName "pressure"^^xsd:string
]
] [ sp:object
[ sp:varName "densityValue"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#kilogram_m-3> ;
sp:subject
[ sp:varName "density"^^xsd:string
]
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object
[ sp:varName "temperature"^^xsd:string
] ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "flow"^^xsd:string
]
] [ sp:object
[ sp:varName "density"^^xsd:string
] ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "flow"^^xsd:string
]
] [ sp:object
[ sp:varName "pressure"^^xsd:string
] ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "flow"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/core#Pressure> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "pressure"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/core#Density> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "density"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/core#Temperature> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "temperature"^^xsd:string
]
] [ sp:object
[ sp:varName "temperatureValue"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#kelvin> ;
sp:subject
[ sp:varName "temperature"^^xsd:string
]
] [ sp:object
[ sp:varName "pressureValue"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#pascal> ;
sp:subject
[ sp:varName "pressure"^^xsd:string
]
] [ sp:object
[ sp:varName "densityValue"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#kilogram_m-3> ;
sp:subject
[ sp:varName "density"^^xsd:string
]
])
])
] ;
rhspin:tableHeaders ("Field"^^xsd:string "Facility Name"^^xsd:string "Flow Purpose"^^xsd:string "Flow Definition"^^xsd:string "Density"^^xsd:string "Pressure"^^xsd:string "Temperature"^^xsd:string) .
rhspin:tableHeaders ("Field"^^xsd:string "Facility Name"^^xsd:string "Flow Purpose"^^xsd:string "Flow Definition"^^xsd:string "Flow Density"^^xsd:string "Flow Pressure"^^xsd:string "Flow Temperature"^^xsd:string) .
dpr-tables:ProductionOperationActivity
rdf:type rhspin:TableTemplate ;
......