What is {topic of} of {history of Washington, D.C.}, that has {prime minister} is {Marion Barry} ?
If Marion Barry was once the Prime Minister of Washington, D.C, what kind or subject of history would that be?
If Marion Barry was the Prime Minister of Washington, D.C, what type or topic of history would that be?
SELECT ?i WHERE { resource:history_of_Washington,_D.C. property:facet_of ?i . ?i property:head_of_government resource:Marion_Barry }
SELECT ?answer WHERE { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q685093> . ?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/P6> . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q938243> . }
SELECT ?answer WHERE { wd:Q685093 wdt:P1269 ?answer . ?answer wdt:P6 wd:Q938243}