Did {John_Mayer} {occupation} {singer} and {blogger} ?
Is it true that John Mayer was a singer and blogger?
Was John Mayer a singer and blogger?
ASK WHERE { resource:John_Mayer property:occupation resource:blogger . resource:John_Mayer property:occupation resource:singer }
 ASK { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q215215> . ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P106> . ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q177220>. ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q215215> . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P106> . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q8246794>. } 
ASK WHERE { wd:Q215215 wdt:P106 wd:Q177220 . wd:Q215215 wdt:P106 wd:Q8246794 }