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