What is the {Wikimedia category} for {category of associated people} of {Istanbul}
Which Wikimedia category is associated with the people of Istanbul?
Which is the Wikimedia category for the associated category of people of Istanbul?
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Wikimedia_category . resource:Istanbul property:category_of_associated_people ?w }
select distinct ?obj where { ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q406> . ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P1792> . ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?obj . ?obj <http://www.wikidata.org/entity/P31> <http://wikidata.dbpedia.org/resource/Q4167836> } 
 select distinct ?obj where { wd:Q406 wdt:P1792 ?obj . ?obj wdt:P31 wd:Q4167836 } 
Category:People from Istanbul