Question: Which area is larger, Thiruvananthapuram or Kozhikode?
Choices:
Kozhikode
Thiruvananthapuram
Abidjan
Kilkenny
Santo Domingo
Chihuahua
Dundee
Trieste
Bergen
Kingston
Program:
function: Find
inputs: Thiruvananthapuram
function: Find
inputs: Kozhikode
function: SelectBetween
dependencies: 0
1
inputs: area
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Thiruvananthapuram" .  } UNION { ?e <pred:name> "Kozhikode" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Thiruvananthapuram