Question: Does Ipswich (the one whose WOEID is 24522) or Warwick (the one whose native label is Warwick) have less area?
Choices: Ipswich
Maidstone
Oxford
Aylesbury
Taunton
Northampton
Reading
Guildford
Warwick
Dorchester
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Ipswich" . ?e <WOEID> ?pv_1 . ?pv_1 <pred:value> "24522" . } UNION { ?e <pred:name> "Warwick" . ?e <native_label> ?pv_2 . ?pv_2 <pred:value> "Warwick" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Ipswich
function: FilterStr
dependencies: 0
inputs: WOEID
24522
function: Find
inputs: Warwick
function: FilterStr
dependencies: 2
inputs: native label
Warwick
function: SelectBetween
dependencies: 1
3
inputs: area
less
Answer: Warwick