Question: Which one has less population, Saxony (the one whose country is Germany) or Kabul (the one that uses Pashto as the official language)?
Choices: Chiapas
Punjab
Greater Poland Voivodeship
New South Wales
Lublin Voivodeship
Kabul
Minas Gerais
Upper Austria
Saxony
England
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Saxony" . ?e <country> ?e_1 . ?e_1 <pred:name> "German Democratic Republic" .   } UNION { ?e <pred:name> "Kabul" . ?e <official_language> ?e_2 . ?e_2 <pred:name> "Pashto" .  } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: German Democratic Republic
function: Relate
dependencies: 0
inputs: country
backward
function: Find
inputs: Saxony
function: And
dependencies: 1
2
function: Find
inputs: Pashto
function: Relate
dependencies: 4
inputs: official language
backward
function: Find
inputs: Kabul
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: population
less
Answer: Kabul