Question: Which sovereign states participated in the American Revolutionary War?
SPARQL (Wikidata):  select distinct ?sbj where { ?sbj wdt:P1344 wd:Q40949 . ?sbj wdt:P31 wd:Q3624078 } 
Answer: United States of America, Spain