Question: How many major shrine are there, of the saints whose beatified by Pope Pius XI ?
SPARQL query:
PREFIX prop: <http://dbpedia.org/property/>
PREFIX onto: <http://dbpedia.org/ontology/>
SELECT DISTINCT COUNT(?uri) WHERE { ?x prop:beatifiedBy <http://dbpedia.org/resource/Pope_Pius_XI> . ?x onto:majorShrine ?uri  . }