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