Question: As of 2002, who was married to Tom Green?
Choices: Rahul Dev Burman
Kim Basinger
Alec Baldwin
Lorraine Bracco
David Byrne
Drew Barrymore
William Henry Harrison
Max Fleischer
Richard Gere
Simon Cowell
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "human" . ?e_1 <spouse> ?e . ?e_1 <pred:name> "Tom Green" .  [ <pred:fact_h> ?e_1 ; <pred:fact_r> <spouse> ; <pred:fact_t> ?e ] <end_time> ?qpv . ?qpv <pred:year> 2002 .  }
Program:
function: Find
inputs: Tom Green
function: Relate
dependencies: 0
inputs: spouse
forward
function: QFilterYear
dependencies: 1
inputs: end time
2002
=
function: FilterConcept
dependencies: 2
inputs: human
function: What
dependencies: 3
Answer: Drew Barrymore