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