SELECT DISTINCT ?uri WHERE { ?x <http://dbpedia.org/ontology/notableWork> <http://dbpedia.org/resource/Frasier> . ?x <http://dbpedia.org/ontology/notableWork> ?uri . ?x <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://dbpedia.org/ontology/ScreenWriter>}
List all the notable work of the screen writer who produced Frasier ?
SELECT DISTINCT ?f WHERE { ?c rdf:type ontology:Screen_Writer . ?c property:notable_work resource:Frasier . ?c property:notable_work ?f }
Cheers, Frasier, Mad Men, M*A*S*H (TV series)
The the notable work of the screen writer whose notable work is Frasier are [Cheers, Frasier, Mad Men, M*A*S*H (TV series)].
Great work by a screenwriter whose great work is [Cheers, Fessier, Mad Men, M * A * S * H (TV series)].