Question: Who was the spouse of Sean Penn up until 2009?
Choices:
Robin Wright
Max Fleischer
Madonna
Liam Neeson
David Byrne
Richard Gere
Natasha Richardson
Rahul Dev Burman
Sylvester Stallone
William Henry Harrison
Program:
function: Find
inputs: Sean Penn
function: Relate
dependencies: 0
inputs: spouse
backward
function: QFilterYear
dependencies: 1
inputs: end time
2009
=
function: FilterConcept
dependencies: 2
inputs: human
function: What
dependencies: 3
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "human" . ?e <spouse> ?e_1 . ?e_1 <pred:name> "Sean Penn" .  [ <pred:fact_h> ?e ; <pred:fact_r> <spouse> ; <pred:fact_t> ?e_1 ] <end_time> ?qpv . ?qpv <pred:year> 2009 .  }
Answer: Robin Wright