Question: When did James Taylor (the one whose genre is country music) become the spouse of Carly Simon?
Choices:
1877
1997-09-20
1945-05-04
2019-05-19
1983-01-01
2014-04-07
2015-11-03
1936-04-19
1820-03-15
1707-01-01
Program:
function: Find
inputs: country music
function: Relate
dependencies: 0
inputs: genre
backward
function: Find
inputs: James Taylor
function: And
dependencies: 1
2
function: Find
inputs: Carly Simon
function: QueryRelationQualifier
dependencies: 3
4
inputs: spouse
end time
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "James Taylor" . ?e_1 <genre> ?e_3 . ?e_3 <pred:name> "country music" . ?e_2 <pred:name> "Carly Simon" . ?e_1 <spouse> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <spouse> ; <pred:fact_t> ?e_2 ] <end_time> ?qpv .  }
Answer: 1983-01-01