Question: Which language whose country is Belgium has the most speakers?
Choices:
Welsh
Indonesian
Irish
German
Dutch
Scots
Romanian
Tamil
Yiddish
Croatian
Program:
function: Find
inputs: Belgium
function: Relate
dependencies: 0
inputs: country
backward
function: FilterConcept
dependencies: 1
inputs: language
function: SelectAmong
dependencies: 2
inputs: number of speakers
largest
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "language" . ?e <country> ?e_1 . ?e_1 <pred:name> "Belgium" .  ?e <number_of_speakers> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Dutch