Question: When was Natalie Wood (the one whose work period (start) is 1943) married to Robert Wagner until?
Choices:
1945-03-29
1675
1982-02-16
2011-01-01
1905-09-01
1991-11-24
1933-03-27
2003
1962-01-01
2016-04-07
Program:
function: Find
inputs: Natalie Wood
function: FilterYear
dependencies: 0
inputs: work period (start)
1943
=
function: Find
inputs: Robert Wagner
function: QueryRelationQualifier
dependencies: 1
2
inputs: spouse
end time
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Natalie Wood" . ?e_1 <work_period_(start)> ?pv . ?pv <pred:year> 1943 . ?e_2 <pred:name> "Robert Wagner" . ?e_1 <spouse> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <spouse> ; <pred:fact_t> ?e_2 ] <end_time> ?qpv .  }
Answer: 1962-01-01