Did {Nancy_Pelosi} {significant event} {Inauguration of John F. Kennedy} and {Efforts to impeach George W. Bush} ?
Did Nancy Pelosi participate in both the inauguration of John F. Kennedy and the efforts to impeach George W. Bush?
Did Nancy Pelosi participated in the Inauguration of John F. Kennedy and efforts to impeach George W. Bush?
ASK WHERE { resource:Nancy_Pelosi property:significant_event resource:Efforts_to_impeach_George_W._Bush . resource:Nancy_Pelosi property:significant_event resource:Inauguration_of_John_F._Kennedy }
 ASK { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q170581> . ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P793> . ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q6013770>. ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q170581> . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P793> . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q3326788>. } 
ASK WHERE { wd:Q170581 wdt:P793 wd:Q6013770 . wd:Q170581 wdt:P793 wd:Q3326788 }