What is {date of death} of {Gendun Drup} that is {instance of} is {statement with Gregorian date earlier than 1584} ?
The Gregorian date is earlier than 1584, what day did Gendun Drup die?
What is the death date of Gendun Drup in terms of the Gregorian date being earlier than 1584?
SELECT ?j WHERE { ?s rdf:type ontology:statement_with_Gregorian_date_earlier_than_1584 . ?s property:date_of_death ?j . resource:Gendun_Drup property:date_of_death ?s }
select distinct ?obj  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q25260> .
?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:Q25260 p:P570 ?s . ?s ps:P570 ?obj . ?s pq:P31 wd:Q26961029 }