How many {minor planet group} are to/by {centaur} ?
What is the number of minor planet groups in centaur?
How many minor planet groups are in centaur?
SELECT ( COUNT ( ?y ) AS ?o ) { ?y property:minor_planet_group resource:centaur }
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/P196> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> http://wikidata.dbpedia.org/resource/Q10734 .
} 

SELECT (COUNT(?sub) AS ?value ) { ?sub wdt:P196 wd:Q10734 }
35