Question: Which one has more number of speakers Dutch (the one that is used in the Ghent University) or Serbian?
Choices:
Dutch
Irish
Serbian
Welsh
Croatian
Romanian
Tamil
German
Scots
Gujarati
Program:
function: Find
inputs: Ghent University
function: Relate
dependencies: 0
inputs: language used
forward
function: Find
inputs: Dutch
function: And
dependencies: 1
2
function: Find
inputs: Serbian
function: SelectBetween
dependencies: 3
4
inputs: number of speakers
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Dutch" . ?e_1 <language_used> ?e . ?e_1 <pred:name> "Ghent University" .   } UNION { ?e <pred:name> "Serbian" .  } ?e <number_of_speakers> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Dutch