Question: Which person is the spouse of the person whose CANTIC-ID is a10938515 (the start time of this statement is 2009-05-02)?
Choices:
William Henry Harrison
Peter Sarsgaard
Max Fleischer
James E. Reilly
David Byrne
Richard Gere
Paul Simon
Maggie Gyllenhaal
Rahul Dev Burman
Simon Cowell
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: CANTIC-ID
a10938515
function: FilterConcept
dependencies: 1
inputs: human
function: Relate
dependencies: 2
inputs: spouse
backward
function: QFilterDate
dependencies: 3
inputs: start time
2009-05-02
=
function: FilterConcept
dependencies: 4
inputs: human
function: What
dependencies: 5
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "human" . ?e <spouse> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "human" . ?e_1 <CANTIC-ID> ?pv . ?pv <pred:value> "a10938515" .  [ <pred:fact_h> ?e ; <pred:fact_r> <spouse> ; <pred:fact_t> ?e_1 ] <start_time> ?qpv . ?qpv <pred:date> "2009-05-02"^^xsd:date .  }
Answer: Peter Sarsgaard