Question: What is the official language of the city whose official name is دمشق ?
Choices:
Dutch
Spanish
German
Marathi
Arabic
Italian
Welsh
Finnish
Romanian
Scots
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: official name
دمشق
function: FilterConcept
dependencies: 1
inputs: city
function: Relate
dependencies: 2
inputs: official language
forward
function: FilterConcept
dependencies: 3
inputs: language
function: What
dependencies: 4
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "language" . ?e_1 <official_language> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "city" . ?e_1 <official_name> ?pv . ?pv <pred:value> "دمشق" .   }
Answer: Arabic