Question: Do more people speak Serbian or Cherokee (abbreviated on Wikimedia chr)?
Choices:
Serbian
Cherokee
Welsh
Romanian
Tamil
Croatian
Scots
German
Irish
Gujarati
Program:
function: Find
inputs: Serbian
function: Find
inputs: Cherokee
function: FilterStr
dependencies: 1
inputs: Wikimedia language code
chr
function: SelectBetween
dependencies: 0
2
inputs: number of speakers
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Serbian" . } UNION { ?e <pred:name> "Cherokee" . ?e <Wikimedia_language_code> ?pv_1 . ?pv_1 <pred:value> "chr" . } ?e <number_of_speakers> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Serbian