What is the {studio album} for {producer} of {David Bowie}
Which albums David Bowie made himself?
Which of his albums david Bowie produced himself ?
SELECT DISTINCT ?k WHERE { ?k property:producer resource:David_Bowie . ?k rdf:type ontology:studio_album }
select distinct ?subj where { ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> ?subj . ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P162> . ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q5383> . ?subj <http://www.wikidata.org/entity/P31> <http://wikidata.dbpedia.org/resource/Q208569> } 
 select distinct ?sbj where { ?sbj wdt:P162 wd:Q5383 . ?sbj wdt:P31 wd:Q208569 } 
The Next Day