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