Question: Who was Barbara Hershey's partner until 2009?
Choices:
Max Fleischer
Nick Jonas
David Byrne
David Carradine
William Henry Harrison
Richard Gere
Naveen Andrews
Susan Sarandon
Rahul Dev Burman
Sam Shepard
Program:
function: Find
inputs: Barbara Hershey
function: Relate
dependencies: 0
inputs: partner
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 <partner> ?e_1 . ?e_1 <pred:name> "Barbara Hershey" .  [ <pred:fact_h> ?e ; <pred:fact_r> <partner> ; <pred:fact_t> ?e_1 ] <end_time> ?qpv . ?qpv <pred:year> 2009 .  }
Answer: Naveen Andrews