Question: Does Makati or Saint Petersburg have less area?
Choices:
Makati
Stuttgart
Utrecht
Halle (Saale)
Fort Smith
Saint Petersburg
Aachen
Dnipro
Bordeaux
Wuppertal
Program:
function: Find
inputs: Makati
function: Find
inputs: Saint Petersburg
function: SelectBetween
dependencies: 0
1
inputs: area
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Makati" .  } UNION { ?e <pred:name> "Saint Petersburg" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Makati