Question: Does King's Lynn and West Norfolk or Chichester, with a TOID of 7000000000016444, have a larger population?
Choices: West Dorset
South Somerset
King's Lynn and West Norfolk
Guildford
Great Yarmouth
Craven
North Norfolk
Carlisle
Chichester
Woking
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "King's Lynn and West Norfolk" . } UNION { ?e <pred:name> "Chichester" . ?e <TOID> ?pv_1 . ?pv_1 <pred:value> "7000000000016444" . } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: King's Lynn and West Norfolk
function: Find
inputs: Chichester
function: FilterStr
dependencies: 1
inputs: TOID
7000000000016444
function: SelectBetween
dependencies: 0
2
inputs: population
greater
Answer: King's Lynn and West Norfolk