How many {genetic association} are to/by {colorectal cancer} ?
What are the genetic associations for colorectal cancer?
How many genetic associations are with the {colorectal cancer} ?
SELECT ( COUNT ( ?e ) AS ?g ) { ?e property:genetic_association resource:colorectal_cancer }
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/P2293> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> http://wikidata.dbpedia.org/resource/Q188874 .
} 

SELECT (COUNT(?sub) AS ?value ) { ?sub wdt:P2293 wd:Q188874 }
38