Question: Which countries participated in the Korean War?
SPARQL (Wikidata):  select distinct ?sbj where { ?sbj wdt:P1344 wd:Q8663 . ?sbj wdt:P31 wd:Q6256 } 
Answer: Australia, United States of America