How many {industry} are to/by {furniture} ?
What is the number of industries that are affected by furniture?
How many different kinds of industry are affected by furniture?
SELECT ( COUNT ( ?p ) AS ?l ) { ?p property:industry resource:furniture }
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/P452> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> http://wikidata.dbpedia.org/resource/Q14745 .
} 

SELECT (COUNT(?sub) AS ?value ) { ?sub wdt:P452 wd:Q14745 }
29