Question: Which famous play write, who influenced Samuel Taylor, wrote the play that the film "Hamlet" is based on?
Answer(s):
answer: William Shakespeare

SPARQL query:
PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT DISTINCT ?x
WHERE {
FILTER (?x != ns:m.078w2)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.078w2 ns:influence.influence_node.influenced_by ?x .
?x ns:film.film_story_contributor.film_story_credits ns:m.010f5pm2 . 
}