Question: Does Yiddish or Dutch (whose GOST 7.75–97 code is нид 495) have more speakers?
Choices:
Tamil
Croatian
Romanian
Indonesian
Dutch
Gujarati
Irish
Yiddish
German
Scots
Program:
function: Find
inputs: Yiddish
function: Find
inputs: Dutch
function: FilterStr
dependencies: 1
inputs: GOST 7.75–97 code
нид 495
function: SelectBetween
dependencies: 0
2
inputs: number of speakers
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Yiddish" . } UNION { ?e <pred:name> "Dutch" . ?e <GOST_7.75–97_code> ?pv_1 . ?pv_1 <pred:value> "нид 495" . } ?e <number_of_speakers> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Dutch