How many {sport} are to/by {inline speed skating} ?
Inline speed skating relates to what number of sports?
How many sports are related to inline speed skating?
SELECT ( COUNT ( ?l ) AS ?h ) { ?l property:sport resource:inline_speed_skating }
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/P641> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> http://wikidata.dbpedia.org/resource/Q618786 .
} 

SELECT (COUNT(?sub) AS ?value ) { ?sub wdt:P641 wd:Q618786 }
150