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