Question: Does Japanese or Cherokee (whose ISO 639-3 code is chr) have the most speakers?
Choices: Gujarati
Welsh
Irish
German
Cherokee
Croatian
Japanese
Scots
Tamil
Indonesian
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Japanese" . } 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: Japanese
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: Japanese