Did {Wars_of_the_Roses} {participant} {House of Neville} and {House of Lancaster} ?
Were the House of Neville and the House of Lancaster both participants in the Wars of the Roses?
Were the House of Lancaster and the House of Neville participants in the Wars of the Roses?
ASK WHERE { resource:Wars_of_the_Roses property:participant resource:House_of_Neville . resource:Wars_of_the_Roses property:participant resource:House_of_Lancaster }
 ASK { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q127751> . ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P710> . ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q2364167>. ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q127751> . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P710> . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q105278>. } 
ASK WHERE { wd:Q127751 wdt:P710 wd:Q2364167 . wd:Q127751 wdt:P710 wd:Q105278 }