Question: Which TV show filmed in New York has the smallest "thetvdb_id?"?
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:tv.tv_program.thetvdb_id ?num .
}
ORDER BY xsd:integer(?num) LIMIT 1