What is {venue} of {Scandinavian Scotland}, that has {headquarters venue} is {City of Edinburgh} ?
What is the scene of Scandinavian Scotland whose central command scene is City of Edinburgh?
What is the venue of Scandinavian Scotland whose headquarters venue is City of Edinburgh?
SELECT ?t WHERE { resource:Scandinavian_Scotland property:location ?t . ?t property:headquarters_location resource:City_of_Edinburgh }
SELECT ?answer WHERE { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q7429971> . ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P276>. ?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/P159> . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q2379199> . }
SELECT ?answer WHERE { wd:Q7429971 wdt:P276 ?answer . ?answer wdt:P159 wd:Q2379199}