Question: Which person was Sam Simon's marriage partner until 1991?
Choices:
David Byrne
Sylvester Stallone
Jennifer Tilly
Gene Roddenberry
James E. Reilly
Burt Bacharach
Rahul Dev Burman
Max Fleischer
Richard Gere
William Henry Harrison
Answer: Jennifer Tilly
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "human" . ?e_1 <spouse> ?e . ?e_1 <pred:name> "Sam Simon" .  [ <pred:fact_h> ?e_1 ; <pred:fact_r> <spouse> ; <pred:fact_t> ?e ] <end_time> ?qpv . ?qpv <pred:year> 1991 .  }
Program:
function: Find
inputs: Sam Simon
function: Relate
dependencies: 0
inputs: spouse
forward
function: QFilterYear
dependencies: 1
inputs: end time
1991
=
function: FilterConcept
dependencies: 2
inputs: human
function: What
dependencies: 3