What is the {sovereign state} for {participant of} of {Korean War}
What was one of the countries involved in the Korean War?
Name a country involved in Korean War
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:sovereign_state . ?z property:participant_in resource:Korean_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/P1344> . ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q8663> . ?subj <http://www.wikidata.org/entity/P31> <http://wikidata.dbpedia.org/resource/Q3624078> } 
 select distinct ?sbj where { ?sbj wdt:P1344 wd:Q8663 . ?sbj wdt:P31 wd:Q3624078 } 
Australia United States of America