What is the {commercial building} for {occupant} of {New York Stock Exchange}
In which building the Unused York Stock Trade is found ?
In which building the New York Stock Exchange is located ?
SELECT DISTINCT ?k WHERE { ?k property:occupant resource:New_York_Stock_Exchange . ?k rdf:type ontology:commercial_building }
select distinct ?subj where { ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> ?subj . ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P466> . ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q13677> . ?subj <http://www.wikidata.org/entity/P31> <http://wikidata.dbpedia.org/resource/Q655686> } 
 select distinct ?sbj where { ?sbj wdt:P466 wd:Q13677 . ?sbj wdt:P31 wd:Q655686 } 
New York Stock Exchange Building