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