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