Question: Does Japanese or Korean have more speakers?
Choices:
Korean
Indonesian
Welsh
Croatian
Romanian
Scots
German
Japanese
Irish
Gujarati
Answer: Japanese
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Japanese" .  } UNION { ?e <pred:name> "Korean" .  } ?e <number_of_speakers> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Japanese
function: Find
inputs: Korean
function: SelectBetween
dependencies: 0
1
inputs: number of speakers
greater