Question: Which country has fewer speakers, Norwegian or Japanese?
Choices:
Welsh
German
Japanese
Norwegian
Croatian
Gujarati
Scots
Romanian
Tamil
Indonesian
Program:
function: Find
inputs: Norwegian
function: Find
inputs: Japanese
function: SelectBetween
dependencies: 0
1
inputs: number of speakers
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Norwegian" .  } UNION { ?e <pred:name> "Japanese" .  } ?e <number_of_speakers> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Norwegian