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