Question: Who was Gena Rowlands married to until January 1, 1989?
Choices:
James Cameron
Max Fleischer
David Byrne
Richard Gere
Joan Plowright
John Cassavetes
Rahul Dev Burman
William Henry Harrison
Simon Cowell
Laurence Olivier
Answer: John Cassavetes
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "human" . ?e_1 <spouse> ?e . ?e_1 <pred:name> "Gena Rowlands" .  [ <pred:fact_h> ?e_1 ; <pred:fact_r> <spouse> ; <pred:fact_t> ?e ] <end_time> ?qpv . ?qpv <pred:date> "1989-01-01"^^xsd:date .  }
Program:
function: Find
inputs: Gena Rowlands
function: Relate
dependencies: 0
inputs: spouse
forward
function: QFilterDate
dependencies: 1
inputs: end time
1989-01-01
=
function: FilterConcept
dependencies: 2
inputs: human
function: What
dependencies: 3