Question: Which has more people, Trinidad or Bali that uses Indonesian as the official language?
Choices: Trinidad
Newfoundland
Bali
Guernsey
Maui
Puerto Rico
Long Island
Cyprus
Hawaii
Ireland
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Trinidad" .  } UNION { ?e <pred:name> "Bali" . ?e <official_language> ?e_1 . ?e_1 <pred:name> "Indonesian" .   } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Trinidad
function: Find
inputs: Indonesian
function: Relate
dependencies: 1
inputs: official language
backward
function: Find
inputs: Bali
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: population
greater
Answer: Bali