Question: Which has fewer people, West Midlands (the one that contains Staffordshire) or Coimbatore district?
Choices:
Coimbatore district
Delaware County
Lee County
Orange County
African Union
Kent County
Washoe County
West Midlands
Greene County
Cass County
Answer: Coimbatore district
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "West Midlands" . ?e_1 <located_in_the_administrative_territorial_entity> ?e . ?e_1 <pred:name> "Staffordshire" .   } UNION { ?e <pred:name> "Coimbatore district" .  } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Staffordshire
function: Relate
dependencies: 0
inputs: located in the administrative territorial entity
forward
function: Find
inputs: West Midlands
function: And
dependencies: 1
2
function: Find
inputs: Coimbatore district
function: SelectBetween
dependencies: 3
4
inputs: population
less