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