What is the {extinct language} for {language of work or name} of {Arabic alphabet}
[]
Which extinct language uses the Arabic alphabet?
SELECT DISTINCT ?r WHERE { resource:Arabic_alphabet property:language_of_work_or_name ?r . ?r rdf:type ontology:extinct_language }
select distinct ?obj where { ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q8196> . ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P407> . ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?obj . ?obj <http://www.wikidata.org/entity/P31> <http://wikidata.dbpedia.org/resource/Q38058796> } 
 select distinct ?obj where { wd:Q8196 wdt:P407 ?obj . ?obj wdt:P31 wd:Q38058796 } 
Ottoman Turkish