Question: Which has less elevation above sea level, Bern or Veracruz that is the twinned administrative body of Tampa?
Choices:
Washoe County
Orange County
Veracruz
Kent County
Delaware County
African Union
Cass County
Bern
Lee County
San Juan County
Program:
function: Find
inputs: Bern
function: Find
inputs: Tampa
function: Relate
dependencies: 1
inputs: twinned administrative body
forward
function: Find
inputs: Veracruz
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: elevation above sea level
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Bern" .  } UNION { ?e <pred:name> "Veracruz" . ?e_1 <twinned_administrative_body> ?e . ?e_1 <pred:name> "Tampa" .   } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Veracruz