Question: When was Ludwig van Beethoven (born 12-17-1770) a student of Joseph Haydn?
Choices:
1967-09-22
1998-07-03
1811-02-13
1792
1979-09-18
1998-01-28
2011-07-25
1992-05-06
1959-12-03
1922-02-28
Answer: 1792
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Ludwig van Beethoven" . ?e_1 <date_of_birth> ?pv . ?pv <pred:date> "1770-12-17"^^xsd:date . ?e_2 <pred:name> "Joseph Haydn" . ?e_1 <student_of> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <student_of> ; <pred:fact_t> ?e_2 ] <start_time> ?qpv .  }
Program:
function: Find
inputs: Ludwig van Beethoven
function: FilterDate
dependencies: 0
inputs: date of birth
1770-12-17
=
function: Find
inputs: Joseph Haydn
function: QueryRelationQualifier
dependencies: 1
2
inputs: student of
start time