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