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