what is the {instance of} for {Romulus Augustus} has {date of death} as {527-0-0} ?
How did Romulus Augustus die in the year 527?
In the year 527, how did Romulus Augustus die?
SELECT ?a WHERE { resource:Romulus_Augustus property:date_of_death ?o . FILTER ( CONTAINS ( ?e , '527-0-0' ) ) . ?o property:date_of_death ?e . ?o rdf:type ?a }
select distinct ?value  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q130601> .
?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> <527-0-0> .
?statement <http://www.wikidata.org/entity/P31> ?value. 
} 

SELECT ?value WHERE { wd:Q130601 p:P570 ?s . ?s ps:P570 ?x filter(contains(?x , '527-0-0')) . ?s pq:P31 ?value}