Question: Is Saint Petersburg or Rouen the smaller of the two, in terms of area>
Choices:
Rouen
Halle (Saale)
Stuttgart
Bordeaux
Utrecht
Saint Petersburg
Dnipro
Wuppertal
Lyon
Aachen
Program:
function: Find
inputs: Saint Petersburg
function: Find
inputs: Rouen
function: SelectBetween
dependencies: 0
1
inputs: area
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Saint Petersburg" .  } UNION { ?e <pred:name> "Rouen" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Rouen