Question: When did  Las Vegas (the one whose number of seasons is 5) stop airing on NBC?
Choices: 1986-12-21
1908-01-01
1728-01-01
2008-02-15
1934-07-01
1806-12-19
2009-08-23
2002-12-08
1994-04-05
1795-03-04
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Las Vegas" . ?e_1 <number_of_seasons> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> "5"^^xsd:double . ?e_2 <pred:name> "NBC" . ?e_1 <original_network> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <original_network> ; <pred:fact_t> ?e_2 ] <end_time> ?qpv .  }
Program:
function: Find
inputs: Las Vegas
function: FilterNum
dependencies: 0
inputs: number of seasons
5
=
function: Find
inputs: NBC
function: QueryRelationQualifier
dependencies: 1
2
inputs: original network
end time
Answer: 2008-02-15