What is {perpetrator} of {Great Northern War}, that has {next to} is {Holy Roman Empire} ?
Who is culprit of Extraordinary Northern War who is following to Sacred Roman Empire?
Who is perpetrator of Great Northern War who is next to Holy Roman Empire?
SELECT ?e WHERE { resource:Great_Northern_War property:participant ?e . ?e property:shares_border_with resource:Holy_Roman_Empire }
SELECT ?answer WHERE { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q151616> . ?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> ?answer . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> ?answer. ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P47> . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q12548> . }
SELECT ?answer WHERE { wd:Q151616 wdt:P710 ?answer . ?answer wdt:P47 wd:Q12548}
Polish–Lithuanian Commonwealth