Question: What all languages are used in the country where Afshar is a spoken language?
Answer(s):
answer: Azerbaijani language
answer: Turkmen Language
answer: Persian Language
answer: Qashqa'i Language
answer: Luri language
answer: Kumzari Language
answer: Assyrian Neo-Aramaic Language
answer: Khalaj, Turkic Language
answer: Mazanderani Language
answer: Gilaki Language
answer: Kurdish languages
answer: Talysh language
answer: Afshar language
answer: Khorasani Turkish Language
answer: Balochi language
answer: Arabic Language
answer: Pashto language
answer: Armenian Language

SPARQL query:
PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT DISTINCT ?x
WHERE {
FILTER (?x != ?c)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
?c ns:location.country.languages_spoken ns:m.0fq4jq . 
?c ns:location.country.languages_spoken ?x .
}