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