Question: When did the dance-pop star Cher end her marriage with Gregg Allman?
Choices:
2007-01-01
1992-12-31
1950
1979-01-01
2014-04-07
1895
1985-12-09
1944-01-01
1883-03-14
1540
Answer: 1979-01-01
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Cher" . ?e_3 <famous_people> ?e_1 . ?e_3 <pred:name> "dance-pop" . ?e_2 <pred:name> "Gregg Allman" . ?e_1 <spouse> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <spouse> ; <pred:fact_t> ?e_2 ] <end_time> ?qpv .  }
Program:
function: Find
inputs: dance-pop
function: Relate
dependencies: 0
inputs: famous people
forward
function: Find
inputs: Cher
function: And
dependencies: 1
2
function: Find
inputs: Gregg Allman
function: QueryRelationQualifier
dependencies: 3
4
inputs: spouse
end time