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