Question: Which has fewer people, Exeter (the one whose WOEID is 19792) or Chelmsford?
Choices: Kilkenny
Cork
Trieste
Abidjan
Kingston
Bergen
Chihuahua
Santo Domingo
Chelmsford
Exeter
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Exeter" . ?e <WOEID> ?pv_1 . ?pv_1 <pred:value> "19792" . } UNION { ?e <pred:name> "Chelmsford" . } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Exeter
function: FilterStr
dependencies: 0
inputs: WOEID
19792
function: Find
inputs: Chelmsford
function: SelectBetween
dependencies: 1
2
inputs: population
less
Answer: Chelmsford