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