Question: Tell me the person who is the person's spouse with the birth name Bernard Schwartz (this statement's end time is 1962).
Choices: Sylvester Stallone
Max Fleischer
William Henry Harrison
David Byrne
Tony Curtis
Janet Leigh
Natalie Wood
Robert Wagner
Rahul Dev Burman
Carlo Ponti, Sr.
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "human" . ?e_1 <spouse> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "human" . ?e_1 <birth_name> ?pv . ?pv <pred:value> "Bernard Schwartz" .  [ <pred:fact_h> ?e_1 ; <pred:fact_r> <spouse> ; <pred:fact_t> ?e ] <end_time> ?qpv . ?qpv <pred:year> 1962 .  }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: birth name
Bernard Schwartz
function: FilterConcept
dependencies: 1
inputs: human
function: Relate
dependencies: 2
inputs: spouse
forward
function: QFilterYear
dependencies: 3
inputs: end time
1962
=
function: FilterConcept
dependencies: 4
inputs: human
function: What
dependencies: 5
Answer: Janet Leigh