Question: Which extinct language uses the Arabic alphabet?
SPARQL (Wikidata):  select distinct ?obj where { wd:Q8196 wdt:P407 ?obj . ?obj wdt:P31 wd:Q38058796 } 
Answer: Ottoman Turkish