Question: Which city uses the natural language as its official language having short name as перська?
Choices:
Barrie
Cork
Kingston
Iran
Port of Spain
Tehran
Coventry
Trieste
Mashhad
Bergen
Answer: Mashhad
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "city" . ?e <official_language> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "natural language" . ?e_1 <short_name> ?pv . ?pv <pred:value> "перська" .   }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: short name
перська
function: FilterConcept
dependencies: 1
inputs: natural language
function: Relate
dependencies: 2
inputs: official language
backward
function: FilterConcept
dependencies: 3
inputs: city
function: What
dependencies: 4