SELECT DISTINCT ?uri WHERE { ?x <http://dbpedia.org/ontology/occupation> <http://dbpedia.org/resource/Screenwriting> . ?uri <http://dbpedia.org/ontology/creator> ?x . ?uri <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://dbpedia.org/ontology/TelevisionShow>}
What are the shows whose creator has worked as a screenwriter?
SELECT DISTINCT ?i WHERE { ?i property:creator ?r . ?i rdf:type ontology:Television_Show . ?r property:occupation resource:Screenwriting }
answer
The television shows created by a screenwriter are [answer].
A TV show created by a writer is [answer].