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