Question: What is the official language of Afghanistan?
Choices:
Kannada
German
Bengali
Polish
Irish
Italian
Punjabi
Romanian
Pashto
Gujarati
Program:
function: Find
inputs: Afghanistan
function: Relate
dependencies: 0
inputs: official language
forward
function: FilterConcept
dependencies: 1
inputs: language
function: What
dependencies: 2
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "language" . ?e_1 <official_language> ?e . ?e_1 <pred:name> "Afghanistan" .   }
Answer: Pashto