David Price

primary component set

......@@ -32,6 +32,7 @@ dpr-tables:FluidSampleAnalysisResults
] [ sp:varName "componentName"^^xsd:string
] [ sp:varName "moleRatioPercent"^^xsd:string
] [ sp:varName "massRatioPercent"^^xsd:string
] [ sp:varName "isPrimary"^^xsd:string
]) ;
sp:where ([ sp:object <http://www.reportinghub.no/ep/schema/report#ProductionReport> ;
sp:predicate rdf:type ;
......@@ -165,9 +166,23 @@ dpr-tables:FluidSampleAnalysisResults
]
])
])
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object
[ sp:varName "component"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/material#hasPrimaryComponent> ;
sp:subject
[ sp:varName "sampledFluid"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression "True" ;
sp:variable
[ sp:varName "isPrimary"^^xsd:string
]
])
])
] ;
rhspin:tableHeaders ("Fluid Sample Name"^^xsd:string "Component"^^xsd:string "Mole Ratio"^^xsd:string "Mass Ratio"^^xsd:string) .
rhspin:tableHeaders ("Fluid Sample Name"^^xsd:string "Component"^^xsd:string "Mole Ratio"^^xsd:string "Mass Ratio"^^xsd:string "Is Primary"^^xsd:string) .
dpr-tables:FluidSamples
rdf:type rhspin:TableTemplate ;
......