Question: Which human has a date of birth before 1952 and was a member of the Minnesota Twins until 1978?
Choices:
Sylvester Stallone
William Henry Harrison
John Osborne
James E. Reilly
Simon Cowell
Tom Johnson
Richard Gere
Steve Earle
Rahul Dev Burman
David Byrne
Answer: Tom Johnson
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "human" . ?e <date_of_birth> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1952 ) . ?e <member_of_sports_team> ?e_1 . ?e_1 <pred:name> "Minnesota Twins" . [ <pred:fact_h> ?e ; <pred:fact_r> <member_of_sports_team> ; <pred:fact_t> ?e_1 ] <end_time> ?qpv . ?qpv <pred:year> 1978 .  }
Program:
function: FindAll
function: FilterYear
dependencies: 0
inputs: date of birth
1952
<
function: FilterConcept
dependencies: 1
inputs: human
function: Find
inputs: Minnesota Twins
function: Relate
dependencies: 3
inputs: member of sports team
backward
function: QFilterYear
dependencies: 4
inputs: end time
1978
=
function: FilterConcept
dependencies: 5
inputs: human
function: And
dependencies: 2
6
function: What
dependencies: 7