Did {Kanye_West} {genre} {gangsta rap}?
Was metal gangsta rap written by Kanye West?
Did Kanye West write metal gangsta rap?
ASK WHERE { resource:Kanye_West property:genre resource:gangsta_rap }
 ASK { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q15935> . ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P136> . ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q753679>. } 
ASK WHERE { wd:Q15935 wdt:P136 wd:Q753679 }