SELECT DISTINCT ?uri WHERE { ?x <http://dbpedia.org/property/titles> <http://dbpedia.org/resource/Doctor_of_the_Church> . ?x <http://dbpedia.org/ontology/canonizedBy> ?uri . }
Who has canonized someone who's a doctor of the church?
SELECT DISTINCT ?a WHERE { ?r property:canonized_by ?a . . ?r property:titles resource:Doctor_of_the_Church }
Pope Leo XIII, Anglican Communion, Eastern Orthodox Church, Catholic Church, Lutheranism, Pope John XXII
The canonized saints who are also the doctor of the Church are [Pope Leo XIII, Anglican Communion, Eastern Orthodox Church, Catholic Church, Lutheranism, Pope John XXII].
Canonized priests who are also doctors of the Church are [Pope Leo XIII, English Communion, Eastern Orthodox Church, Catholic Church, Lutheranism, Pope John XXII].