Question: Is the population count lower in Kettering, founded on 1974-04-01, or Winchester, with 120700 inhabitants?
Choices:
South Somerset
Winchester
Chichester
North Norfolk
Great Yarmouth
Kettering
Guildford
Craven
West Dorset
Woking
Answer: Kettering
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Kettering" . ?e <inception> ?pv_1 . ?pv_1 <pred:date> "1974-04-01"^^xsd:date . } 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 ?v LIMIT 1
Program:
function: Find
inputs: Kettering
function: FilterDate
dependencies: 0
inputs: inception
1974-04-01
=
function: Find
inputs: Winchester
function: FilterNum
dependencies: 2
inputs: population
120700
=
function: SelectBetween
dependencies: 1
3
inputs: population
less