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