Question: Does the Cherokee (Glottolog code cher1273) or Welsh language have more speakers?
Choices:
Scots
Welsh
Gujarati
Tamil
Romanian
Irish
Croatian
Indonesian
Cherokee
Marathi
Answer: Welsh
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Cherokee" . ?e <Glottolog_code> ?pv_1 . ?pv_1 <pred:value> "cher1273" . } UNION { ?e <pred:name> "Welsh" . } ?e <number_of_speakers> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Cherokee
function: FilterStr
dependencies: 0
inputs: Glottolog code
cher1273
function: Find
inputs: Welsh
function: SelectBetween
dependencies: 1
2
inputs: number of speakers
greater