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