Question: Is the elevation higher in Houston, twinned administrative body of Stavanger, or in Cincinnati?
Choices:
Franklin
Lansing
Oakland
Greenville
Compton
New Haven
Columbus
Waukegan
Boulder
Cincinnati
Program:
function: Find
inputs: Stavanger
function: Relate
dependencies: 0
inputs: twinned administrative body
backward
function: Find
inputs: Houston
function: And
dependencies: 1
2
function: Find
inputs: Cincinnati
function: SelectBetween
dependencies: 3
4
inputs: elevation above sea level
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Houston" . ?e <twinned_administrative_body> ?e_1 . ?e_1 <pred:name> "Stavanger" .   } UNION { ?e <pred:name> "Cincinnati" .  } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Cincinnati