What is {located on island} of {HQ location} of {Carlsberg Group} ?
On which island is the HQ region of the Carlsberg Group?
On which island is the HQ location of the Carlsberg Group?
SELECT ?t WHERE { resource:Carlsberg_Group property:headquarters_location ?z . ?z property:P5130 ?t }
SELECT ?answer WHERE { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q113215> . ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P159>. ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?X . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> ?X. ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P5130> . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?answer . }
SELECT ?answer WHERE { wd:Q113215 wdt:P159 ?X . ?X wdt:P5130 ?answer}