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