Question: The John Spencer born on 1949-10-06 belonged to which agency until 1980?
Choices: Academy of Television Arts & Sciences
Hamburger SV
Lockheed Martin
BBC
Pfizer
NBCUniversal
Vigor Shipyards
United States Department of the Air Force
McDonald's
England and Wales cricket team
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "agent" . ?e_1 <member_of_sports_team> ?e . ?e_1 <pred:name> "John Spencer" . ?e_1 <date_of_birth> ?pv . ?pv <pred:date> "1949-10-06"^^xsd:date .  [ <pred:fact_h> ?e_1 ; <pred:fact_r> <member_of_sports_team> ; <pred:fact_t> ?e ] <end_time> ?qpv . ?qpv <pred:year> 1980 .  }
Program:
function: Find
inputs: John Spencer
function: FilterDate
dependencies: 0
inputs: date of birth
1949-10-06
=
function: Relate
dependencies: 1
inputs: member of sports team
forward
function: QFilterYear
dependencies: 2
inputs: end time
1980
=
function: FilterConcept
dependencies: 3
inputs: agent
function: What
dependencies: 4
Answer: England and Wales cricket team