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