Question: Which has more speakers, Cherokee which has a ISO 639-3 code of chr, or Punjabi?
Choices: Welsh
Punjabi
German
Scots
Romanian
Tamil
Gujarati
Cherokee
Indonesian
Irish
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Punjabi" . } UNION { ?e <pred:name> "Cherokee" . ?e <ISO_639-3_code> ?pv_1 . ?pv_1 <pred:value> "chr" . } ?e <number_of_speakers> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Punjabi
function: Find
inputs: Cherokee
function: FilterStr
dependencies: 1
inputs: ISO 639-3 code
chr
function: SelectBetween
dependencies: 0
2
inputs: number of speakers
greater
Answer: Punjabi