Did {Ricky_Martin} {genre} {reggae} and {beat music} ?
What genre of music did Ricky Martin perform?
Was Ricky_Martin genre reggae  and beat music?
ASK WHERE { resource:Ricky_Martin property:genre resource:beat_music . resource:Ricky_Martin property:genre resource:reggae }
 ASK { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q128799> . ?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/Q9794>. ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q128799> . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P136> . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q546264>. } 
ASK WHERE { wd:Q128799 wdt:P136 wd:Q9794 . wd:Q128799 wdt:P136 wd:Q546264 }