Question: Does Bratislava or Edinburgh occupy a smaller area?
Choices:
Trieste
Edinburgh
Dundee
Kilkenny
Cork
Kingston
Bergen
Abidjan
Santo Domingo
Chihuahua
Program:
function: Find
inputs: Bratislava
function: Find
inputs: Edinburgh
function: SelectBetween
dependencies: 0
1
inputs: area
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Bratislava" .  } UNION { ?e <pred:name> "Edinburgh" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Edinburgh