Question: Is the lower elevation in Columbus, twinned administrative body of Genoa, or in Mesa, which belongs to the USA?
Choices:
Mesa
New Britain
Compton
Greenville
Franklin
New Haven
Boulder
Columbus
Lansing
Waukegan
Program:
function: Find
inputs: Genoa
function: Relate
dependencies: 0
inputs: twinned administrative body
forward
function: Find
inputs: Columbus
function: And
dependencies: 1
2
function: Find
inputs: United States of America
function: Relate
dependencies: 4
inputs: country
backward
function: Find
inputs: Mesa
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: elevation above sea level
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Columbus" . ?e_1 <twinned_administrative_body> ?e . ?e_1 <pred:name> "Genoa" .   } UNION { ?e <pred:name> "Mesa" . ?e <country> ?e_2 . ?e_2 <pred:name> "United States of America" .  } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Columbus