Question: When did California (the one whose publication date is 1963)'s narrative location become California, the one that is also the narrative location of We Bought a Zoo ?
Choices:
1919-12-01
1675
1918
2005-05-18
1467-01-01
1841
2015-02-12
2004-12-20
1529-01-01
1916
Answer: 1841
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "California" . ?e_1 <publication_date> ?pv . ?pv <pred:year> 1963 . ?e_2 <pred:name> "California" . ?e_3 <narrative_location> ?e_2 . ?e_3 <pred:name> "We Bought a Zoo" . ?e_1 <narrative_location> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <narrative_location> ; <pred:fact_t> ?e_2 ] <point_in_time> ?qpv .  }
Program:
function: Find
inputs: California
function: FilterYear
dependencies: 0
inputs: publication date
1963
=
function: Find
inputs: We Bought a Zoo
function: Relate
dependencies: 2
inputs: narrative location
forward
function: Find
inputs: California
function: And
dependencies: 3
4
function: QueryRelationQualifier
dependencies: 1
5
inputs: narrative location
point in time