Question: Do the Japanese or the Dutch (whose IAB code is 1146) have the lower number of speakers?
Choices:
Croatian
Welsh
Tamil
Romanian
Dutch
German
Irish
Gujarati
Indonesian
Scots
Program:
function: Find
inputs: Japanese
function: Find
inputs: Dutch
function: FilterStr
dependencies: 1
inputs: IAB code
1146
function: SelectBetween
dependencies: 0
2
inputs: number of speakers
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Japanese" . } UNION { ?e <pred:name> "Dutch" . ?e <IAB_code> ?pv_1 . ?pv_1 <pred:value> "1146" . } ?e <number_of_speakers> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Dutch