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