Question: What is the name of the actress who played Elaine on the tv program with the Doc Martin theme song?
Answer(s):
answer: Lucy Punch

SPARQL query:
PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT DISTINCT ?x
WHERE {
FILTER (?x != ?c)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
?c ns:tv.tv_program.theme_song ns:m.0n9mmdv . 
?c ns:tv.tv_program.regular_cast ?y .
?y ns:tv.regular_tv_appearance.actor ?x .
?y ns:tv.regular_tv_appearance.character ns:m.0gy9yz5 .
}