Question: Which language whose country is Croatia has the least number of speakers?
Choices:
Romanian
Scots
Serbian
Indonesian
Marathi
Croatian
Irish
Tamil
German
Gujarati
Program:
function: Find
inputs: Croatia
function: Relate
dependencies: 0
inputs: country
backward
function: FilterConcept
dependencies: 1
inputs: language
function: SelectAmong
dependencies: 2
inputs: number of speakers
smallest
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "language" . ?e <country> ?e_1 . ?e_1 <pred:name> "Croatia" .  ?e <number_of_speakers> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Croatian