Question: Which area is smaller, Ho Chi Minh City or Monterrey?
Choices:
Bergen
Trieste
Monterrey
Chihuahua
Dundee
Santo Domingo
Kingston
Cork
Ho Chi Minh City
Kilkenny
Program:
function: Find
inputs: Ho Chi Minh City
function: Find
inputs: Monterrey
function: SelectBetween
dependencies: 0
1
inputs: area
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Ho Chi Minh City" .  } UNION { ?e <pred:name> "Monterrey" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Monterrey