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