Question: Which has fewer people, Lambeth or Brixton?
Choices:
Lewisham
Lambeth
Paddington
Bromley
Westminster
Brixton
Croydon
Camberwell
Wandsworth
Islington
Program:
function: Find
inputs: Lambeth
function: Find
inputs: Brixton
function: SelectBetween
dependencies: 0
1
inputs: population
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Lambeth" .  } UNION { ?e <pred:name> "Brixton" .  } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Lambeth