Did {Mark_Twain} {occupation} {journalist} and {humorist} ?
Is Mark Twain known as a humorist and journalist?
Was Mark Twain a journalist and humorist?
ASK WHERE { resource:Mark_Twain property:occupation resource:humorist . resource:Mark_Twain property:occupation resource:journalist }
 ASK { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q7245> . ?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/Q1930187>. ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q7245> . ?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/Q12406482>. } 
ASK WHERE { wd:Q7245 wdt:P106 wd:Q1930187 . wd:Q7245 wdt:P106 wd:Q12406482 }