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