Question: Does Caracas or New Westminster have a smaller area?
Choices:
Santo Domingo
Trieste
Caracas
Chihuahua
Abidjan
Kingston
Kilkenny
Cork
Dundee
New Westminster
Program:
function: Find
inputs: Caracas
function: Find
inputs: New Westminster
function: SelectBetween
dependencies: 0
1
inputs: area
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Caracas" .  } UNION { ?e <pred:name> "New Westminster" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: New Westminster