How many {legal form} are to/by {corporation} ?
{corporation} requires how many legal forms?
How many legal forms are required for {corporation} ?
SELECT ( COUNT ( ?c ) AS ?k ) { ?c property:legal_form resource:corporation }
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/P1454> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> http://wikidata.dbpedia.org/resource/Q167037 .
} 

SELECT (COUNT(?sub) AS ?value ) { ?sub wdt:P1454 wd:Q167037 }
652