Question: Do more people speak Dutch, official language of Orange Free State, or Japanese?
Choices: Gujarati
Scots
Dutch
Croatian
Romanian
Japanese
Indonesian
German
Tamil
Welsh
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Dutch" . ?e_1 <official_language> ?e . ?e_1 <pred:name> "Orange Free State" .   } UNION { ?e <pred:name> "Japanese" .  } ?e <number_of_speakers> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Orange Free State
function: Relate
dependencies: 0
inputs: official language
forward
function: Find
inputs: Dutch
function: And
dependencies: 1
2
function: Find
inputs: Japanese
function: SelectBetween
dependencies: 3
4
inputs: number of speakers
greater
Answer: Japanese