David Price

Created separate Import and Export volume sections

......@@ -20,6 +20,230 @@
owl:imports <http://spinrdf.org/spin> , <http://www.reportinghub.no/ep/schema/1.0/production> , <http://www.reportinghub.no/ep/spin/1.1/lib> , <http://www.reportinghub.no/spin/rh> ;
owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
dpr-tables:ExportVolumes
rdf:type rhspin:TableTemplate ;
rdfs:label "Export Volume List"^^xsd:string ;
rdfs:subClassOf rhspin:DPRTableTemplates ;
spin:body
[ rdf:type sp:Select ;
sp:orderBy ([ sp:varName "flowInOutFacilityName"^^xsd:string
] [ sp:varName "flowPurposeName"^^xsd:string
] [ sp:varName "flowDefinitionName"^^xsd:string
]) ;
sp:resultVariables ([ sp:varName "containingWholeFacilityName"^^xsd:string
] [ sp:varName "flowInOutFacilityName"^^xsd:string
] [ sp:varName "flowPurposeName"^^xsd:string
] [ sp:varName "flowDefinitionName"^^xsd:string
] [ sp:varName "densityValue"^^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 ;
sp:subject
[ sp:varName "report"^^xsd:string
]
] [ sp:object
[ sp:varName "report"^^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 "productionflownetwork"^^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#ProductionFlowNetwork> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "productionflownetwork"^^xsd:string
]
] [ sp:object
[ sp:varName "flow"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/flow#hasNetworkPart> ;
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
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/flow#facilityContainsFlow> ;
sp:subject
[ sp:varName "productionflownetworkFacility"^^xsd:string
]
] [ sp:object
[ sp:varName "containingWholeFacility"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject
[ sp:varName "productionflownetworkFacility"^^xsd:string
]
] [ sp:object
[ sp:varName "containingWholeFacilityName"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/np/schema/npd#name> ;
sp:subject
[ sp:varName "containingWholeFacility"^^xsd:string
]
] [ sp:object
[ sp:varName "flowWhole"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject
[ sp:varName "flow"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/flow#WholeLifeProductionFlow> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "flowWhole"^^xsd:string
]
] [ sp:object
[ sp:varName "flowInOutFacility"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/flow#flowIntoOrOutOf> ;
sp:subject
[ sp:varName "flowWhole"^^xsd:string
]
] [ rdf:type sp:TriplePath ;
sp:object
[ sp:varName "flowInOutFacilityName"^^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 "flowInOutFacility"^^xsd:string
]
] [ sp:object
[ sp:varName "flowPurpose"^^xsd:string
] ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "flowWhole"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ProductionFlowPurposeType> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "flowPurpose"^^xsd:string
]
] [ rdf:type sp:Filter ;
sp:expression
[ rdf:type sp:eq ;
sp:arg1 [ sp:varName "flowPurpose"^^xsd:string
] ;
sp:arg2 <http://www.reportinghub.no/ep/schema/flow#Export>
]
] [ sp:object
[ sp:varName "flowPurposeName"^^xsd:string
] ;
sp:predicate rdfs:label ;
sp:subject
[ sp:varName "flowPurpose"^^xsd:string
]
] [ sp:object
[ sp:varName "flowDefinition"^^xsd:string
] ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "flowWhole"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ProductionFlowDefinitionType> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "flowDefinition"^^xsd:string
]
] [ sp:object
[ sp:varName "flowDefinitionName"^^xsd:string
] ;
sp:predicate rdfs:label ;
sp:subject
[ sp:varName "flowDefinition"^^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
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:normalizePropertyUnitAndValue ;
sp:arg1 [ sp:varName "temperature"^^xsd:string
]
] ;
sp:variable
[ sp:varName "temperatureValue"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:normalizePropertyUnitAndValue ;
sp:arg1 [ sp:varName "pressure"^^xsd:string
]
] ;
sp:variable
[ sp:varName "pressureValue"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:normalizePropertyUnitAndValue ;
sp:arg1 [ sp:varName "density"^^xsd:string
]
] ;
sp:variable
[ sp:varName "densityValue"^^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:FluidSampleAnalysisResults
rdf:type rhspin:TableTemplate ;
rdfs:label "Fluid Sample Analysis Results"^^xsd:string ;
......@@ -459,9 +683,9 @@ dpr-tables:HSEInformation
] ;
rhspin:tableHeaders ("Facility"^^xsd:string "Operation Type"^^xsd:string "Start"^^xsd:string "Finish"^^xsd:string "Safety Text"^^xsd:string "Comment"^^xsd:string) .
dpr-tables:InjectionVolumes
dpr-tables:ImportVolumes
rdf:type rhspin:TableTemplate ;
rdfs:label "Injection Volume List"^^xsd:string ;
rdfs:label "Import Volume List"^^xsd:string ;
rdfs:subClassOf rhspin:DPRTableTemplates ;
spin:body
[ rdf:type sp:Select ;
......@@ -586,7 +810,7 @@ dpr-tables:InjectionVolumes
[ rdf:type sp:eq ;
sp:arg1 [ sp:varName "flowPurpose"^^xsd:string
] ;
sp:arg2 <http://www.reportinghub.no/ep/schema/flow#Injection>
sp:arg2 <http://www.reportinghub.no/ep/schema/flow#Import>
]
] [ sp:object
[ sp:varName "flowPurposeName"^^xsd:string
......@@ -683,15 +907,23 @@ dpr-tables:InjectionVolumes
] ;
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:OperationInformation
dpr-tables:InjectionVolumes
rdf:type rhspin:TableTemplate ;
rdfs:label "Operation Information"^^xsd:string ;
rdfs:label "Injection Volume List"^^xsd:string ;
rdfs:subClassOf rhspin:DPRTableTemplates ;
spin:body
[ rdf:type sp:Select ;
sp:resultVariables ([ sp:varName "facilityName"^^xsd:string
] [ sp:varName "definingType"^^xsd:string
] [ sp:varName "number"^^xsd:string
sp:orderBy ([ sp:varName "flowInOutFacilityName"^^xsd:string
] [ sp:varName "flowPurposeName"^^xsd:string
] [ sp:varName "flowDefinitionName"^^xsd:string
]) ;
sp:resultVariables ([ sp:varName "containingWholeFacilityName"^^xsd:string
] [ sp:varName "flowInOutFacilityName"^^xsd:string
] [ sp:varName "flowPurposeName"^^xsd:string
] [ sp:varName "flowDefinitionName"^^xsd:string
] [ sp:varName "densityValue"^^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 ;
......@@ -699,26 +931,242 @@ dpr-tables:OperationInformation
[ sp:varName "report"^^xsd:string
]
] [ sp:object
[ sp:varName "productionReport"^^xsd:string
[ sp:varName "report"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#partOf> ;
sp:subject
[ sp:varName "productionOperationReport"^^xsd:string
[ sp:varName "productvolumereport"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/report#ProductionOperationReport> ;
] [ sp:object <http://www.reportinghub.no/ep/schema/report#ProductVolumeReport> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "productionOperationReport"^^xsd:string
[ sp:varName "productvolumereport"^^xsd:string
]
] [ sp:object
[ sp:varName "temporalPartOfFacility"^^xsd:string
[ sp:varName "productionflownetwork"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/report#reportOn> ;
sp:subject
[ sp:varName "productionOperationReport"^^xsd:string
[ sp:varName "productvolumereport"^^xsd:string
]
] [ sp:object
[ sp:varName "productionFacility"^^xsd:string
] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ProductionFlowNetwork> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "productionflownetwork"^^xsd:string
]
] [ sp:object
[ sp:varName "flow"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/flow#hasNetworkPart> ;
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
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/flow#facilityContainsFlow> ;
sp:subject
[ sp:varName "productionflownetworkFacility"^^xsd:string
]
] [ sp:object
[ sp:varName "containingWholeFacility"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject
[ sp:varName "productionflownetworkFacility"^^xsd:string
]
] [ sp:object
[ sp:varName "containingWholeFacilityName"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/np/schema/npd#name> ;
sp:subject
[ sp:varName "containingWholeFacility"^^xsd:string
]
] [ sp:object
[ sp:varName "flowWhole"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject
[ sp:varName "flow"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/flow#WholeLifeProductionFlow> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "flowWhole"^^xsd:string
]
] [ sp:object
[ sp:varName "flowInOutFacility"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/flow#flowIntoOrOutOf> ;
sp:subject
[ sp:varName "flowWhole"^^xsd:string
]
] [ rdf:type sp:TriplePath ;
sp:object
[ sp:varName "flowInOutFacilityName"^^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 "flowInOutFacility"^^xsd:string
]
] [ sp:object
[ sp:varName "flowPurpose"^^xsd:string
] ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "flowWhole"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ProductionFlowPurposeType> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "flowPurpose"^^xsd:string
]
] [ rdf:type sp:Filter ;
sp:expression
[ rdf:type sp:eq ;
sp:arg1 [ sp:varName "flowPurpose"^^xsd:string
] ;
sp:arg2 <http://www.reportinghub.no/ep/schema/flow#Injection>
]
] [ sp:object
[ sp:varName "flowPurposeName"^^xsd:string
] ;
sp:predicate rdfs:label ;
sp:subject
[ sp:varName "flowPurpose"^^xsd:string
]
] [ sp:object
[ sp:varName "flowDefinition"^^xsd:string
] ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "flowWhole"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ProductionFlowDefinitionType> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "flowDefinition"^^xsd:string
]
] [ sp:object
[ sp:varName "flowDefinitionName"^^xsd:string
] ;
sp:predicate rdfs:label ;
sp:subject
[ sp:varName "flowDefinition"^^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
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:normalizePropertyUnitAndValue ;
sp:arg1 [ sp:varName "temperature"^^xsd:string
]
] ;
sp:variable
[ sp:varName "temperatureValue"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:normalizePropertyUnitAndValue ;
sp:arg1 [ sp:varName "pressure"^^xsd:string
]
] ;
sp:variable
[ sp:varName "pressureValue"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:normalizePropertyUnitAndValue ;
sp:arg1 [ sp:varName "density"^^xsd:string
]
] ;
sp:variable
[ sp:varName "densityValue"^^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:OperationInformation
rdf:type rhspin:TableTemplate ;
rdfs:label "Operation Information"^^xsd:string ;
rdfs:subClassOf rhspin:DPRTableTemplates ;
spin:body
[ rdf:type sp:Select ;
sp:resultVariables ([ sp:varName "facilityName"^^xsd:string
] [ sp:varName "definingType"^^xsd:string
] [ sp:varName "number"^^xsd:string
]) ;
sp:where ([ sp:object <http://www.reportinghub.no/ep/schema/report#ProductionReport> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "report"^^xsd:string
]
] [ sp:object
[ sp:varName "productionReport"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#partOf> ;
sp:subject
[ sp:varName "productionOperationReport"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/report#ProductionOperationReport> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "productionOperationReport"^^xsd:string
]
] [ sp:object
[ sp:varName "temporalPartOfFacility"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/report#reportOn> ;
sp:subject
[ sp:varName "productionOperationReport"^^xsd:string
]
] [ sp:object
[ sp:varName "productionFacility"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject
......@@ -796,12 +1244,12 @@ dpr-tables:OperationInformation
dpr-tables:OtherVolumes
rdf:type rhspin:TableTemplate ;
rdfs:label "Consume, Import, Export, Other Volume List"^^xsd:string ;
rdfs:label "Consume and Other Volume List"^^xsd:string ;
rdfs:subClassOf rhspin:DPRTableTemplates ;
spin:body
[ rdf:type sp:Select ;
sp:orderBy ([ sp:varName "flowPurposeName"^^xsd:string
] [ sp:varName "flowInOutFacilityName"^^xsd:string
sp:orderBy ([ sp:varName "flowInOutFacilityName"^^xsd:string
] [ sp:varName "flowPurposeName"^^xsd:string
] [ sp:varName "flowDefinitionName"^^xsd:string
]) ;
sp:resultVariables ([ sp:varName "containingWholeFacilityName"^^xsd:string
......@@ -930,6 +1378,20 @@ dpr-tables:OtherVolumes
] ;
sp:arg2 <http://www.reportinghub.no/ep/schema/flow#Production>
]
] [ rdf:type sp:Filter ;
sp:expression
[ rdf:type sp:ne ;
sp:arg1 [ sp:varName "flowPurpose"^^xsd:string
] ;
sp:arg2 <http://www.reportinghub.no/ep/schema/flow#Export>
]
] [ rdf:type sp:Filter ;
sp:expression
[ rdf:type sp:ne ;
sp:arg1 [ sp:varName "flowPurpose"^^xsd:string
] ;
sp:arg2 <http://www.reportinghub.no/ep/schema/flow#Import>
]
] [ sp:object
[ sp:varName "flowPurposeName"^^xsd:string
] ;
......@@ -1033,9 +1495,403 @@ dpr-tables:PersonnelInformation
[ rdf:type sp:Select ;
sp:orderBy ([ sp:varName "facilityName"^^xsd:string
]) ;
sp:resultVariables ([ sp:varName "facilityName"^^xsd:string
] [ sp:varName "crewNumber"^^xsd:string
] [ sp:varName "crewTypename"^^xsd:string
sp:resultVariables ([ sp:varName "facilityName"^^xsd:string
] [ sp:varName "crewNumber"^^xsd:string
] [ sp:varName "crewTypename"^^xsd:string
]) ;
sp:where ([ sp:object <http://www.reportinghub.no/ep/schema/report#ProductionReport> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "report"^^xsd:string
]
] [ sp:object
[ sp:varName "report"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#partOf> ;
sp:subject
[ sp:varName "productionOperationReport"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/report#ProductionOperationReport> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "productionOperationReport"^^xsd:string
]
] [ sp:object
[ sp:varName "temporalPartOfFacility"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/report#reportOn> ;
sp:subject
[ sp:varName "productionOperationReport"^^xsd:string
]
] [ sp:object
[ sp:varName "productionFacility"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject
[ sp:varName "temporalPartOfFacility"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/facility#Field> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "productionFacility"^^xsd:string
]
] [ sp:object
[ sp:varName "facilityName"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/np/schema/npd#name> ;
sp:subject
[ sp:varName "productionFacility"^^xsd:string
]
] [ sp:object
[ sp:varName "productionOperationReport"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#partOf> ;
sp:subject
[ sp:varName "productionOperationInstallationReport"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/report#ProductionOperationInstallationReport> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "productionOperationInstallationReport"^^xsd:string
]
] [ sp:object
[ sp:varName "installationPart"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/report#reportOn> ;
sp:subject
[ sp:varName "productionOperationInstallationReport"^^xsd:string
]
] [ sp:object
[ sp:varName "crew"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/organization#hasCrew> ;
sp:subject
[ sp:varName "installationPart"^^xsd:string
]
] [ sp:object
[ sp:varName "crewNumber"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/organization#numberInCrew> ;
sp:subject
[ sp:varName "crew"^^xsd:string
]
] [ sp:object
[ sp:varName "crewType"^^xsd:string
] ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "crew"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/organization#CrewType> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "crewType"^^xsd:string
]
] [ sp:object
[ sp:varName "crewTypename"^^xsd:string
] ;
sp:predicate rdfs:label ;
sp:subject
[ sp:varName "crewType"^^xsd:string
]
])
] ;
rhspin:tableHeaders ("Facility"^^xsd:string "Crew"^^xsd:string "Crew Type"^^xsd:string) .
dpr-tables:ProductFlows
rdf:type rhspin:TableTemplate ;
rdfs:label "Product Flow Details"^^xsd:string ;
rdfs:subClassOf rhspin:DPRTableTemplates ;
spin:body
[ rdf:type sp:Select ;
sp:orderBy ([ sp:varName "flowInOutFacilityName"^^xsd:string
] [ sp:varName "flowPurposeName"^^xsd:string
] [ sp:varName "flowDefinitionName"^^xsd:string
] [ sp:varName "productMaterialName"^^xsd:string
]) ;
sp:resultVariables ([ sp:varName "containingWholeFacilityName"^^xsd:string
] [ sp:varName "flowInOutFacilityName"^^xsd:string
] [ sp:varName "flowPurposeName"^^xsd:string
] [ sp:varName "flowDefinitionName"^^xsd:string
] [ sp:varName "productMaterialName"^^xsd:string
] [ sp:varName "densityValue"^^xsd:string
] [ sp:varName "temperatureValue"^^xsd:string
] [ sp:varName "pressureValue"^^xsd:string
]) ;
sp:where ([ sp:object <http://www.reportinghub.no/ep/schema/report#ProductionReport> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "report"^^xsd:string
]
] [ sp:object
[ sp:varName "report"^^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 "productionflownetwork"^^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#ProductionFlowNetwork> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "productionflownetwork"^^xsd:string
]
] [ sp:object
[ sp:varName "flow"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/flow#hasNetworkPart> ;
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
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/flow#facilityContainsFlow> ;
sp:subject
[ sp:varName "productionflownetworkFacility"^^xsd:string
]
] [ sp:object
[ sp:varName "containingWholeFacility"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject
[ sp:varName "productionflownetworkFacility"^^xsd:string
]
] [ sp:object
[ sp:varName "containingWholeFacilityName"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/np/schema/npd#name> ;
sp:subject
[ sp:varName "containingWholeFacility"^^xsd:string
]
] [ sp:object
[ sp:varName "flowWhole"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject
[ sp:varName "flow"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/flow#WholeLifeProductionFlow> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "flowWhole"^^xsd:string
]
] [ sp:object
[ sp:varName "flowInOutFacility"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/flow#flowIntoOrOutOf> ;
sp:subject
[ sp:varName "flowWhole"^^xsd:string
]
] [ rdf:type sp:TriplePath ;
sp:object
[ sp:varName "flowInOutFacilityName"^^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 "flowInOutFacility"^^xsd:string
]
] [ sp:object
[ sp:varName "flowPurpose"^^xsd:string
] ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "flowWhole"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ProductionFlowPurposeType> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "flowPurpose"^^xsd:string
]
] [ rdf:type sp:Filter ;
sp:expression
[ rdf:type sp:eq ;
sp:arg1 [ sp:varName "flowPurpose"^^xsd:string
] ;
sp:arg2 <http://www.reportinghub.no/ep/schema/flow#Production>
]
] [ sp:object
[ sp:varName "flowPurposeName"^^xsd:string
] ;
sp:predicate rdfs:label ;
sp:subject
[ sp:varName "flowPurpose"^^xsd:string
]
] [ sp:object
[ sp:varName "flowDefinition"^^xsd:string
] ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "flowWhole"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ProductionFlowDefinitionType> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "flowDefinition"^^xsd:string
]
] [ sp:object
[ sp:varName "flowDefinitionName"^^xsd:string
] ;
sp:predicate rdfs:label ;
sp:subject
[ sp:varName "flowDefinition"^^xsd:string
]
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object
[ sp:varName "productFlow"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/flow#hasMixedPart> ;
sp:subject
[ sp:varName "flow"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ProductFlow> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "productFlow"^^xsd:string
]
] [ sp:object
[ sp:varName "productFlowWholeLife"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject
[ sp:varName "productFlow"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/flow#WholeLifeProductFlow> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "productFlowWholeLife"^^xsd:string
]
] [ sp:object
[ sp:varName "productMaterialType"^^xsd:string
] ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "productFlowWholeLife"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ProductMaterialType> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "productMaterialType"^^xsd:string
]
] [ sp:object
[ sp:varName "productMaterialName"^^xsd:string
] ;
sp:predicate rdfs:label ;
sp:subject
[ sp:varName "productMaterialType"^^xsd:string
]
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object
[ sp:varName "pressure"^^xsd:string
] ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "productFlow"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/core#Pressure> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "pressure"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:normalizePropertyUnitAndValue ;
sp:arg1 [ sp:varName "pressure"^^xsd:string
]
] ;
sp:variable
[ sp:varName "pressureValue"^^xsd:string
]
])
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object
[ sp:varName "temperature"^^xsd:string
] ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "productFlow"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/core#Temperature> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "temperature"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:normalizePropertyUnitAndValue ;
sp:arg1 [ sp:varName "temperature"^^xsd:string
]
] ;
sp:variable
[ sp:varName "temperatureValue"^^xsd:string
]
])
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object
[ sp:varName "density"^^xsd:string
] ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "productFlow"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/core#Density> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "density"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:normalizePropertyUnitAndValue ;
sp:arg1 [ sp:varName "density"^^xsd:string
]
] ;
sp:variable
[ sp:varName "densityValue"^^xsd:string
]
])
])
])
] ;
rhspin:tableHeaders ("Field"^^xsd:string "Facility Name"^^xsd:string "Flow Purpose"^^xsd:string "Flow Definition"^^xsd:string "Material"^^xsd:string "Flow Density"^^xsd:string "Flow Temperature"^^xsd:string "Flow Pressure"^^xsd:string) .
dpr-tables:ProductFlowsExport
rdf:type rhspin:TableTemplate ;
rdfs:label "Export Product Flow Details"^^xsd:string ;
rdfs:subClassOf rhspin:DPRTableTemplates ;
spin:body
[ rdf:type sp:Select ;
sp:orderBy ([ sp:varName "flowInOutFacilityName"^^xsd:string
] [ sp:varName "flowPurposeName"^^xsd:string
] [ sp:varName "flowDefinitionName"^^xsd:string
] [ sp:varName "productMaterialName"^^xsd:string
]) ;
sp:resultVariables ([ sp:varName "containingWholeFacilityName"^^xsd:string
] [ sp:varName "flowInOutFacilityName"^^xsd:string
] [ sp:varName "flowPurposeName"^^xsd:string
] [ sp:varName "flowDefinitionName"^^xsd:string
] [ sp:varName "productMaterialName"^^xsd:string
] [ sp:varName "densityValue"^^xsd:string
] [ sp:varName "temperatureValue"^^xsd:string
] [ sp:varName "pressureValue"^^xsd:string
]) ;
sp:where ([ sp:object <http://www.reportinghub.no/ep/schema/report#ProductionReport> ;
sp:predicate rdf:type ;
......@@ -1047,98 +1903,254 @@ dpr-tables:PersonnelInformation
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#partOf> ;
sp:subject
[ sp:varName "productionOperationReport"^^xsd:string
[ sp:varName "productvolumereport"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/report#ProductionOperationReport> ;
] [ sp:object <http://www.reportinghub.no/ep/schema/report#ProductVolumeReport> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "productionOperationReport"^^xsd:string
[ sp:varName "productvolumereport"^^xsd:string
]
] [ sp:object
[ sp:varName "temporalPartOfFacility"^^xsd:string
[ sp:varName "productionflownetwork"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/report#reportOn> ;
sp:subject
[ sp:varName "productionOperationReport"^^xsd:string
[ sp:varName "productvolumereport"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ProductionFlowNetwork> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "productionflownetwork"^^xsd:string
]
] [ sp:object
[ sp:varName "productionFacility"^^xsd:string
[ sp:varName "flow"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:predicate <http://www.reportinghub.no/ep/schema/flow#hasNetworkPart> ;
sp:subject
[ sp:varName "temporalPartOfFacility"^^xsd:string
[ sp:varName "productionflownetwork"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/facility#Field> ;
] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ProductionFlow> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "productionFacility"^^xsd:string
[ sp:varName "flow"^^xsd:string
]
] [ sp:object
[ sp:varName "facilityName"^^xsd:string
[ sp:varName "productionflownetwork"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/flow#facilityContainsFlow> ;
sp:subject
[ sp:varName "productionflownetworkFacility"^^xsd:string
]
] [ sp:object
[ sp:varName "containingWholeFacility"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject
[ sp:varName "productionflownetworkFacility"^^xsd:string
]
] [ sp:object
[ sp:varName "containingWholeFacilityName"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/np/schema/npd#name> ;
sp:subject
[ sp:varName "productionFacility"^^xsd:string
[ sp:varName "containingWholeFacility"^^xsd:string
]
] [ sp:object
[ sp:varName "productionOperationReport"^^xsd:string
[ sp:varName "flowWhole"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#partOf> ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject
[ sp:varName "productionOperationInstallationReport"^^xsd:string
[ sp:varName "flow"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/report#ProductionOperationInstallationReport> ;
] [ sp:object <http://www.reportinghub.no/ep/schema/flow#WholeLifeProductionFlow> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "productionOperationInstallationReport"^^xsd:string
[ sp:varName "flowWhole"^^xsd:string
]
] [ sp:object
[ sp:varName "installationPart"^^xsd:string
[ sp:varName "flowInOutFacility"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/report#reportOn> ;
sp:predicate <http://www.reportinghub.no/ep/schema/flow#flowIntoOrOutOf> ;
sp:subject
[ sp:varName "productionOperationInstallationReport"^^xsd:string
[ sp:varName "flowWhole"^^xsd:string
]
] [ rdf:type sp:TriplePath ;
sp:object
[ sp:varName "flowInOutFacilityName"^^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 "flowInOutFacility"^^xsd:string
]
] [ sp:object
[ sp:varName "crew"^^xsd:string
[ sp:varName "flowPurpose"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/organization#hasCrew> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "installationPart"^^xsd:string
[ sp:varName "flowWhole"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ProductionFlowPurposeType> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "flowPurpose"^^xsd:string
]
] [ rdf:type sp:Filter ;
sp:expression
[ rdf:type sp:eq ;
sp:arg1 [ sp:varName "flowPurpose"^^xsd:string
] ;
sp:arg2 <http://www.reportinghub.no/ep/schema/flow#Export>
]
] [ sp:object
[ sp:varName "crewNumber"^^xsd:string
[ sp:varName "flowPurposeName"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/organization#numberInCrew> ;
sp:predicate rdfs:label ;
sp:subject
[ sp:varName "crew"^^xsd:string
[ sp:varName "flowPurpose"^^xsd:string
]
] [ sp:object
[ sp:varName "crewType"^^xsd:string
[ sp:varName "flowDefinition"^^xsd:string
] ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "crew"^^xsd:string
[ sp:varName "flowWhole"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/organization#CrewType> ;
] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ProductionFlowDefinitionType> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "crewType"^^xsd:string
[ sp:varName "flowDefinition"^^xsd:string
]
] [ sp:object
[ sp:varName "crewTypename"^^xsd:string
[ sp:varName "flowDefinitionName"^^xsd:string
] ;
sp:predicate rdfs:label ;
sp:subject
[ sp:varName "crewType"^^xsd:string
[ sp:varName "flowDefinition"^^xsd:string
]
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object
[ sp:varName "productFlow"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/flow#hasMixedPart> ;
sp:subject
[ sp:varName "flow"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ProductFlow> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "productFlow"^^xsd:string
]
] [ sp:object
[ sp:varName "productFlowWholeLife"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject
[ sp:varName "productFlow"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/flow#WholeLifeProductFlow> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "productFlowWholeLife"^^xsd:string
]
] [ sp:object
[ sp:varName "productMaterialType"^^xsd:string
] ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "productFlowWholeLife"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ProductMaterialType> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "productMaterialType"^^xsd:string
]
] [ sp:object
[ sp:varName "productMaterialName"^^xsd:string
] ;
sp:predicate rdfs:label ;
sp:subject
[ sp:varName "productMaterialType"^^xsd:string
]
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object
[ sp:varName "pressure"^^xsd:string
] ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "productFlow"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/core#Pressure> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "pressure"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:normalizePropertyUnitAndValue ;
sp:arg1 [ sp:varName "pressure"^^xsd:string
]
] ;
sp:variable
[ sp:varName "pressureValue"^^xsd:string
]
])
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object
[ sp:varName "temperature"^^xsd:string
] ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "productFlow"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/core#Temperature> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "temperature"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:normalizePropertyUnitAndValue ;
sp:arg1 [ sp:varName "temperature"^^xsd:string
]
] ;
sp:variable
[ sp:varName "temperatureValue"^^xsd:string
]
])
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object
[ sp:varName "density"^^xsd:string
] ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "productFlow"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/core#Density> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "density"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:normalizePropertyUnitAndValue ;
sp:arg1 [ sp:varName "density"^^xsd:string
]
] ;
sp:variable
[ sp:varName "densityValue"^^xsd:string
]
])
])
])
] ;
rhspin:tableHeaders ("Facility"^^xsd:string "Crew"^^xsd:string "Crew Type"^^xsd:string) .
rhspin:tableHeaders ("Field"^^xsd:string "Facility Name"^^xsd:string "Flow Purpose"^^xsd:string "Flow Definition"^^xsd:string "Material"^^xsd:string "Flow Density"^^xsd:string "Flow Temperature"^^xsd:string "Flow Pressure"^^xsd:string) .
dpr-tables:ProductFlows
dpr-tables:ProductFlowsImport
rdf:type rhspin:TableTemplate ;
rdfs:label "Product Flow Details"^^xsd:string ;
rdfs:label "Import Product Flow Details"^^xsd:string ;
rdfs:subClassOf rhspin:DPRTableTemplates ;
spin:body
[ rdf:type sp:Select ;
......@@ -1265,7 +2277,7 @@ dpr-tables:ProductFlows
[ rdf:type sp:eq ;
sp:arg1 [ sp:varName "flowPurpose"^^xsd:string
] ;
sp:arg2 <http://www.reportinghub.no/ep/schema/flow#Production>
sp:arg2 <http://www.reportinghub.no/ep/schema/flow#Import>
]
] [ sp:object
[ sp:varName "flowPurposeName"^^xsd:string
......@@ -1688,7 +2700,7 @@ dpr-tables:ProductFlowsInjection
dpr-tables:ProductFlowsOther
rdf:type rhspin:TableTemplate ;
rdfs:label "Import, Export, Consumet and Other Product Flow Details"^^xsd:string ;
rdfs:label "Consume and Other Product Flow Details"^^xsd:string ;
rdfs:subClassOf rhspin:DPRTableTemplates ;
spin:body
[ rdf:type sp:Select ;
......@@ -1812,18 +2824,32 @@ dpr-tables:ProductFlowsOther
]
] [ rdf:type sp:Filter ;
sp:expression
[ rdf:type sp:eq ;
[ rdf:type sp:ne ;
sp:arg1 [ sp:varName "flowPurpose"^^xsd:string
] ;
sp:arg2 <http://www.reportinghub.no/ep/schema/flow#Injection>
]
] [ rdf:type sp:Filter ;
sp:expression
[ rdf:type sp:eq ;
[ rdf:type sp:ne ;
sp:arg1 [ sp:varName "flowPurpose"^^xsd:string
] ;
sp:arg2 <http://www.reportinghub.no/ep/schema/flow#Production>
]
] [ rdf:type sp:Filter ;
sp:expression
[ rdf:type sp:ne ;
sp:arg1 [ sp:varName "flowPurpose"^^xsd:string
] ;
sp:arg2 <http://www.reportinghub.no/ep/schema/flow#Import>
]
] [ rdf:type sp:Filter ;
sp:expression
[ rdf:type sp:ne ;
sp:arg1 [ sp:varName "flowPurpose"^^xsd:string
] ;
sp:arg2 <http://www.reportinghub.no/ep/schema/flow#Export>
]
] [ sp:object
[ sp:varName "flowPurposeName"^^xsd:string
] ;
......@@ -2126,8 +3152,8 @@ dpr-tables:ProductionVolumes
rdfs:subClassOf rhspin:DPRTableTemplates ;
spin:body
[ rdf:type sp:Select ;
sp:orderBy ([ sp:varName "flowPurposeName"^^xsd:string
] [ sp:varName "flowInOutFacilityName"^^xsd:string
sp:orderBy ([ sp:varName "flowInOutFacilityName"^^xsd:string
] [ sp:varName "flowPurposeName"^^xsd:string
] [ sp:varName "flowDefinitionName"^^xsd:string
]) ;
sp:resultVariables ([ sp:varName "containingWholeFacilityName"^^xsd:string
......
......@@ -56,9 +56,15 @@ WHERE {
<dprswp:Table arg:report="{= ?report }" arg:template="dpr-tables:ProductionVolumes" />
<dprswp:Table arg:report="{= ?report }" arg:template="dpr-tables:ProductFlows" />
<dprswp:Table arg:report="{= ?report }" arg:template="dpr-tables:InjectionVolumes" />
<dprswp:Table arg:report="{= ?report }" arg:template="dpr-tables:ProductFlowsInjection" />
<dprswp:Table arg:report="{= ?report }" arg:template="dpr-tables:ImportVolumes" />
<dprswp:Table arg:report="{= ?report }" arg:template="dpr-tables:ProductFlowsImport" />
<dprswp:Table arg:report="{= ?report }" arg:template="dpr-tables:ExportVolumes" />
<dprswp:Table arg:report="{= ?report }" arg:template="dpr-tables:ProductFlowsExport" />
<dprswp:Table arg:report="{= ?report }" arg:template="dpr-tables:OtherVolumes" />
<dprswp:Table arg:report="{= ?report }" arg:template="dpr-tables:ProductFlowsOther" />
......