Question: Which one, Korean or Bulgarian, has the greater number of speakers?
Choices:
Gujarati
Welsh
Scots
Croatian
Korean
Romanian
Indonesian
German
Irish
Tamil
Program:
function: Find
inputs: Korean
function: Find
inputs: Bulgarian
function: SelectBetween
dependencies: 0
1
inputs: number of speakers
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Korean" .  } UNION { ?e <pred:name> "Bulgarian" .  } ?e <number_of_speakers> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Korean