How many {consecrator} are to/by {John XXIII} ?
By what means was John XXIII made or declared sacred?
How was John XXIII consecrated?
SELECT ( COUNT ( ?y ) AS ?v ) { ?y property:consecrator resource:John_XXIII }
SELECT (COUNT(?sub) AS ?subs ) {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> ?sub .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P1598> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> http://wikidata.dbpedia.org/resource/Q23873 .
} 

SELECT (COUNT(?sub) AS ?value ) { ?sub wdt:P1598 wd:Q23873 }
75