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