What is {date of death} of {Diocletian} that is {instance of} is {statement with Gregorian date earlier than 1584} ?
Before 1584 Diocletian died on what date?
What pre-1584 date did Diocletian die on?
SELECT ?u WHERE { ?q property:date_of_death ?u . ?q rdf:type ontology:statement_with_Gregorian_date_earlier_than_1584 . resource:Diocletian property:date_of_death ?q }
select distinct ?obj  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q43107> .
?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:Q43107 p:P570 ?s . ?s ps:P570 ?obj . ?s pq:P31 wd:Q26961029 }