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