Question: Which area is smaller, Bangalore or Manila?
Choices:
New Delhi
Manila
Paris
Sarajevo
Doha
Lausanne
Mexico City
Moscow
Bangalore
Tallinn
Program:
function: Find
inputs: Bangalore
function: Find
inputs: Manila
function: SelectBetween
dependencies: 0
1
inputs: area
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Bangalore" .  } UNION { ?e <pred:name> "Manila" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Manila