SELECT DISTINCT ?uri WHERE { ?x <http://dbpedia.org/property/placeOfBurial> <http://dbpedia.org/resource/Rome> . ?x <http://dbpedia.org/ontology/successor> ?uri . ?x <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://dbpedia.org/ontology/Royalty>}
Who all have succeeded the kings buried in Rome?
SELECT DISTINCT ?o WHERE { ?x property:successor ?o . ?x rdf:type ontology:Royalty . ?x property:place_of_burial resource:Rome }
Tiberius, Claudius, Caligula, Kingdom of Italy (Napoleonic)
The successor of kings who have graves in Rome are [Tiberius, Claudius, Caligula, Kingdom of Italy (Napoleonic)].
The heirs of the kings whose tombs are in Rome are [Tiberius, Claudius, Caligula, Kingdom of Italy (Napoleonic)].