Question: List all the major shrines of the saints which has one of the shrines as Debre Libanos ?
SPARQL query:
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX res: <http://dbpedia.org/resource/>
PREFIX onto: <http://dbpedia.org/ontology/>
SELECT DISTINCT ?uri WHERE { ?x onto:majorShrine <http://dbpedia.org/resource/Debre_Libanos> . ?x onto:majorShrine ?uri . ?x rdf:type onto:Saint}