What is {instance of} of {Abbasid Caliphate} that is {start time} is {1258-0-0} ?
In 1258, what is Abbasid Caliphate?
SELECT ?obj WHERE { wd:Q12536 p:P31 ?s . ?s ps:P31 ?obj . ?s pq:P580 ?x filter(contains(YEAR(?x),'1258')) }
select distinct ?obj  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q12536> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P31> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?obj .
?statement <http://www.wikidata.org/entity/P580> <1258-0-0>
} 

In 1258, what is Abbasid Caliphate?