PREFIX schema:
PREFIX xsd:
PREFIX air:
PREFIX prov:
SELECT (max(?o3) as ?maxo3) WHERE {
GRAPH {
{
?g air:isMetadataGraph ?y .
} UNION {
?g a prov:Entity .
?g prov:wasGeneratedBy ?createTriple .
?createTriple prov:used ?tuple .
?tuple air:qualityApproved ?x .
}
}
GRAPH ?g {
?obs schema:O3 ?o3 .
}
}