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