What is {created in document} of {source location of group/organisation} of {Dream Theater} ?
What was made within the central station of Dream Theater?
What was created in the headquarters of Dream Theater?
SELECT ?a WHERE { ?j property:foundational_text ?a . resource:Dream_Theater property:location_of_formation ?j }
SELECT ?answer WHERE { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q162586> . ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P740>. ?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/P457> . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?answer . }
SELECT ?answer WHERE { wd:Q162586 wdt:P740 ?X . ?X wdt:P457 ?answer}
New York Constitution