Question: Which has fewer people, Brantford or Belleville (the one whose population is 49454)?
Choices:
Newport County A.F.C.
Greater Sudbury
Catalonia
Union of European Football Associations
John Logan
War and Peace
NAC Breda
Brantford
Belleville
Allen Covert
Answer: Belleville
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Brantford" . } UNION { ?e <pred:name> "Belleville" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "49454"^^xsd:double . } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Brantford
function: Find
inputs: Belleville
function: FilterNum
dependencies: 1
inputs: population
49454
=
function: SelectBetween
dependencies: 0
2
inputs: population
less