What is {date of death} of {Muawiyah I} that is {instance of} is {statement with Gregorian date earlier than 1584} ?
Was Muawiyah I's death prior to 1584?
Did Muawiyah I die before 1584?
SELECT ?p WHERE { resource:Muawiyah_I property:date_of_death ?u . ?u property:date_of_death ?p . ?u rdf:type ontology:statement_with_Gregorian_date_earlier_than_1584 }
select distinct ?obj  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q181154> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P570> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?obj .
?statement <http://www.wikidata.org/entity/P31> <http://wikidata.dbpedia.org/resource/Q26961029>
} 

SELECT ?obj WHERE { wd:Q181154 p:P570 ?s . ?s ps:P570 ?obj . ?s pq:P31 wd:Q26961029 }