Question: What film with character named Randall Flagg and has TV shows taped in New York?
Answer(s):
answer: The Stand

SPARQL query:
PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT DISTINCT ?x
WHERE {
FILTER (?x != ns:m.02_286)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.02_286 ns:tv.tv_location.tv_shows_filmed_here ?x .
?x ns:film.film.starring ?c .
?c ns:film.performance.character ns:m.03ng4b . 
}