Question: Which area is larger, Dnipro or St. John's?
Choices:
Stuttgart
Regensburg
Bordeaux
Fort Smith
Aachen
Lyon
St. John's
Utrecht
Wuppertal
Dnipro
Program:
function: Find
inputs: Dnipro
function: Find
inputs: St. John's
function: SelectBetween
dependencies: 0
1
inputs: area
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Dnipro" .  } UNION { ?e <pred:name> "St. John's" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: St. John's