Question: Which has fewer females in their population, Lucknow or Chandigarh?
Choices:
New Delhi
Doha
Lausanne
Manila
Mexico City
Tallinn
Lucknow
Chandigarh
Riga
Moscow
Answer: Chandigarh
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Lucknow" .  } UNION { ?e <pred:name> "Chandigarh" .  } ?e <female_population> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Lucknow
function: Find
inputs: Chandigarh
function: SelectBetween
dependencies: 0
1
inputs: female population
less