Question: When did Ludwig van Beethoven, whose genre is opera, first study under Joseph Haydn?
Choices:
1918-03-12
1792
1961-09-30
1943-09-07
1950-07-01
1905-09-01
2012-10-11
1964-05-04
1987-01-01
1955-12-20
Program:
function: Find
inputs: opera
function: Relate
dependencies: 0
inputs: genre
backward
function: Find
inputs: Ludwig van Beethoven
function: And
dependencies: 1
2
function: Find
inputs: Joseph Haydn
function: QueryRelationQualifier
dependencies: 3
4
inputs: student of
start time
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Ludwig van Beethoven" . ?e_1 <genre> ?e_3 . ?e_3 <pred:name> "opera" . ?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 .  }
Answer: 1792