Question: Which language has fewer number of speakers, Czech or Malayalam?
Choices:
Croatian
Gujarati
German
Irish
Czech
Tamil
Welsh
Malayalam
Indonesian
Scots
Program:
function: Find
inputs: Malayalam
function: Find
inputs: Czech
function: SelectBetween
dependencies: 0
1
inputs: number of speakers
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Malayalam" .  } UNION { ?e <pred:name> "Czech" .  } ?e <number_of_speakers> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Czech