SELECT DISTINCT ?uri WHERE { ?x <http://dbpedia.org/property/majorShrine> <http://dbpedia.org/resource/St._Peter's_Basilica> . ?x <http://dbpedia.org/property/veneratedIn> ?uri . ?x <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://dbpedia.org/ontology/Pope>}
The pope whose shrine is in St Peter's Basilica was venerated in which sects?
SELECT DISTINCT ?o WHERE { ?h property:major_shrine resource:St._Peter's_Basilica . ?h property:venerated_in ?o . ?h rdf:type ontology:Pope }
Anglican Communion, Eastern Orthodox Church, Catholic Church, Lutheranism
The sects where the pope whose major shrine is in St. Peter's Basilica was venerated are [Anglican Communion, Eastern Orthodox Church, Catholic Church, Lutheranism].
The Pope, whose main sanctuary is St Peter's Basilica was [Anglican Communion, Eastern Orthodox Church, Catholic Church, Lutheranism].