Question: Which has more people, Chichester (the one whose TOID is 7000000000016444) or Winchester (the one whose TOID is 7000000000017754)?
Choices:
Woking
Winchester
West Dorset
Guildford
Craven
Carlisle
Great Yarmouth
South Somerset
Kettering
Chichester
Answer: Winchester
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Chichester" . ?e <TOID> ?pv_1 . ?pv_1 <pred:value> "7000000000016444" . } UNION { ?e <pred:name> "Winchester" . ?e <TOID> ?pv_2 . ?pv_2 <pred:value> "7000000000017754" . } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Chichester
function: FilterStr
dependencies: 0
inputs: TOID
7000000000016444
function: Find
inputs: Winchester
function: FilterStr
dependencies: 2
inputs: TOID
7000000000017754
function: SelectBetween
dependencies: 1
3
inputs: population
greater