Question: Which area is smaller, Brandenburg (the one that is an administrative division of German Democratic Republic) or Rio Grande do Sul?
Choices: Chiapas
Upper Austria
Punjab
Rio Grande do Sul
England
Lublin Voivodeship
Minas Gerais
Brandenburg
Greater Poland Voivodeship
Podlaskie Voivodeship
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Brandenburg" . ?e_1 <contains_administrative_territorial_entity> ?e . ?e_1 <pred:name> "German Democratic Republic" .   } UNION { ?e <pred:name> "Rio Grande do Sul" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: German Democratic Republic
function: Relate
dependencies: 0
inputs: contains administrative territorial entity
forward
function: Find
inputs: Brandenburg
function: And
dependencies: 1
2
function: Find
inputs: Rio Grande do Sul
function: SelectBetween
dependencies: 3
4
inputs: area
less
Answer: Brandenburg