What is {subtopic of} of {history of Maryland}, that has {sister city} is {Kanagawa Prefecture} ?
Under the subtopic of the history of Maryland, we see that what metropolis formerly had a sister city named Kanagawa Prefecture?
Under the subtopic of the history of Maryland, we see that what city previously had a sister city named Kanagawa Prefecture?
SELECT ?b WHERE { ?b property:twinned_administrative_body resource:Kanagawa_Prefecture . resource:history_of_Maryland property:facet_of ?b }
SELECT ?answer WHERE { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q5865454> . ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P1269>. ?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/P190> . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q127513> . }
SELECT ?answer WHERE { wd:Q5865454 wdt:P1269 ?answer . ?answer wdt:P190 wd:Q127513}