Question: Which has less area, New Plymouth or London that is the headquarter location of Brentford F.C.?
Choices:
Bergen
Abidjan
London
Kingston
Kilkenny
New Plymouth
Chihuahua
Santo Domingo
Trieste
Cork
Program:
function: Find
inputs: New Plymouth
function: Find
inputs: Brentford F.C.
function: Relate
dependencies: 1
inputs: headquarters location
forward
function: Find
inputs: London
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: area
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "New Plymouth" .  } UNION { ?e <pred:name> "London" . ?e_1 <headquarters_location> ?e . ?e_1 <pred:name> "Brentford F.C." .   } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: London