Question: Which has less population, Bury whose population is 187900 or Wakefield whose ISO 3166-2 code is GB-WKF?
Choices: Birmingham
Solihull
Sheffield
Bury
Wakefield
Stockport
Newcastle upon Tyne
Bradford
Walsall
Leeds
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Bury" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "187900"^^xsd:double . } UNION { ?e <pred:name> "Wakefield" . ?e <ISO_3166-2_code> ?pv_2 . ?pv_2 <pred:value> "GB-WKF" . } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Bury
function: FilterNum
dependencies: 0
inputs: population
187900
=
function: Find
inputs: Wakefield
function: FilterStr
dependencies: 2
inputs: ISO 3166-2 code
GB-WKF
function: SelectBetween
dependencies: 1
3
inputs: population
less
Answer: Bury