Question: When did Paul McCartney leave the pop band The Beatles?
Choices:
1516-01-01
1798
1970
1962-10-01
1508-01-01
1989
1775
1890-01-01
2000-12-18
1939-03-13
Program:
function: Find
inputs: Paul McCartney
function: Find
inputs: pop music
function: Relate
dependencies: 1
inputs: famous people
forward
function: Find
inputs: The Beatles
function: And
dependencies: 2
3
function: QueryRelationQualifier
dependencies: 0
4
inputs: part of
end time
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Paul McCartney" . ?e_2 <pred:name> "The Beatles" . ?e_3 <famous_people> ?e_2 . ?e_3 <pred:name> "pop music" . ?e_1 <part_of> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <part_of> ; <pred:fact_t> ?e_2 ] <end_time> ?qpv .  }
Answer: 1970