Question: Tell me the end time of Quincy (that had started on 1976-10-03) that was originally aired on NBC.
Choices: 2017-04-16
1812-12-14
1983
2018-07-19
2007-05-22
1997-03-14
1934-01-01
1952-01-01
2014-06-02
1919-08-30
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Quincy" . ?e_1 <start_time> ?pv . ?pv <pred:date> "1976-10-03"^^xsd:date . ?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: Quincy
function: FilterDate
dependencies: 0
inputs: start time
1976-10-03
=
function: Find
inputs: NBC
function: QueryRelationQualifier
dependencies: 1
2
inputs: original network
end time
Answer: 1983