Question: What is the time point of California (the one whose color is black-and-white)'s whose narrative location is California (the one whose short name is Cal.) ?
Choices: 1975-05-01
1998-05-20
1974-01-01
1841
2008-06-04
2002-12-31
1949-03-24
2016-11-12
2012-01-01
1850-03-01
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "California" . ?e_1 <color> ?e_3 . ?e_3 <pred:name> "black-and-white" . ?e_2 <pred:name> "California" . ?e_2 <short_name> ?pv . ?pv <pred:value> "Cal." . ?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: black-and-white
function: Relate
dependencies: 0
inputs: color
backward
function: Find
inputs: California
function: And
dependencies: 1
2
function: Find
inputs: California
function: FilterStr
dependencies: 4
inputs: short name
Cal.
function: QueryRelationQualifier
dependencies: 3
5
inputs: narrative location
point in time
Answer: 1841