What is {publishing house} of {The Very Hungry Caterpillar}, that has {town} is {New York City} ?
Where is The Very Hungry Catterpillar's publishing house in New York City?
Where is the publishing house from The Very hungry Catterpillar ins the town of New York City?
SELECT ?h WHERE { resource:The_Very_Hungry_Caterpillar property:publisher ?h . ?h property:located_in_the_administrative_territorial_entity resource:New_York_City }
SELECT ?answer WHERE { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q491657> . ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P123>. ?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/P131> . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q60> . }
SELECT ?answer WHERE { wd:Q491657 wdt:P123 ?answer . ?answer wdt:P131 wd:Q60}