What is the {world war} for {participant} of {Allies}
What was the World War that the power known as the Allies participated?
In which World War did the power known as the Allies participate?
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:world_war . ?r property:participant resource:Allies_of_the_Second_World_War }
select distinct ?subj where { ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> ?subj . ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P710> . ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q329888> . ?subj <http://www.wikidata.org/entity/P31> <http://wikidata.dbpedia.org/resource/Q103495> } 
 select distinct ?sbj where { ?sbj wdt:P710 wd:Q329888 . ?sbj wdt:P31 wd:Q103495 } 
World War II