Question: Which area is smaller, Rhineland-Palatinate or Lower Saxony?
Choices:
Bremen
Lower Saxony
Thuringia
Bavaria
Rhineland-Palatinate
Saxony
Schleswig-Holstein
Brandenburg
Saxony-Anhalt
North Rhine-Westphalia
Program:
function: Find
inputs: Rhineland-Palatinate
function: Find
inputs: Lower Saxony
function: SelectBetween
dependencies: 0
1
inputs: area
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Rhineland-Palatinate" .  } UNION { ?e <pred:name> "Lower Saxony" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Rhineland-Palatinate