Question: Which has a higher population, Woking with a TOID of 7000000000014192 or Winchester, population 120700?
Choices: Chichester
South Somerset
Craven
West Dorset
Carlisle
Guildford
Winchester
North Norfolk
Woking
Great Yarmouth
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Woking" . ?e <TOID> ?pv_1 . ?pv_1 <pred:value> "7000000000014192" . } UNION { ?e <pred:name> "Winchester" . ?e <population> ?pv_2 . ?pv_2 <pred:unit> "1" . ?pv_2 <pred:value> "120700"^^xsd:double . } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Woking
function: FilterStr
dependencies: 0
inputs: TOID
7000000000014192
function: Find
inputs: Winchester
function: FilterNum
dependencies: 2
inputs: population
120700
=
function: SelectBetween
dependencies: 1
3
inputs: population
greater
Answer: Winchester