Question: Is there less area in Belleville (the one whose population is 49454) or Brantford?
Choices:
Dylan McDermott
St. Louis Blues
Macau
Anna Karenina
Brantford
Greater Sudbury
Atonement
Belleville
Superman
German Shepherd dog
Program:
function: Find
inputs: Belleville
function: FilterNum
dependencies: 0
inputs: population
49454
=
function: Find
inputs: Brantford
function: SelectBetween
dependencies: 1
2
inputs: area
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Belleville" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "49454"^^xsd:double . } UNION { ?e <pred:name> "Brantford" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Brantford