What is {resident in} of {Adam Mickiewicz}, that has {divides into} is {Vyborgsky District, Saint Petersburg} ?
Is Adam Mickiewicz a resident in the vicinity that divides into Vyborgsky District, Saint Petersburg
Is Adam Mickiewicz a resident in the area that divides into Vyborgsky District, Saint Petersburg
SELECT ?b WHERE { resource:Adam_Mickiewicz property:residence ?b . ?b property:contains_administrative_territorial_entity resource:Vyborgsky_District,_Saint_Petersburg }
SELECT ?answer WHERE { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q79822> . ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P551>. ?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/P150> . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q219907> . }
SELECT ?answer WHERE { wd:Q79822 wdt:P551 ?answer . ?answer wdt:P150 wd:Q219907}