Did {Robert_Lewandowski} {participant of} {2018 FIFA World Cup} and {UEFA Euro 2008} ?
Was Robert Lewanowsi a player in both the UEFA Euro 2008 and 2018 FIFA World Cup?
Did Robert Lewanowski play in both the 2018 FIFA World Cup and UEFA Euro 2008?
ASK WHERE { resource:Robert_Lewandowski property:participant_in resource:UEFA_Euro_2008 . resource:Robert_Lewandowski property:participant_in resource:2018_FIFA_World_Cup }
 ASK { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q151269> . ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P1344> . ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q170645>. ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q151269> . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P1344> . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q241864>. } 
ASK WHERE { wd:Q151269 wdt:P1344 wd:Q170645 . wd:Q151269 wdt:P1344 wd:Q241864 }