Question: What actor who portrayed Kirk wrote the film "Fire Serpent"?
Answer(s):
answer: William Shatner

SPARQL query:
PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT DISTINCT ?x
WHERE {
FILTER (?x != ns:m.0crtw)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.0crtw ns:film.film_character.portrayed_in_films ?y .
?y ns:film.performance.actor ?x .
?x ns:film.writer.film ns:m.02pp8wm . 
}