What is {student of} of {Ludwig van Beethoven} that is {point in time} is {1795-0-0} ?
What was the name of Ludwig van Beethoven's student in 1795?
Who was the student of Ludwig van Beethoven in 1795?
SELECT ?o WHERE { ?b property:point_in_time ?i . FILTER ( CONTAINS ( YEAR ( ?i ) , '1795' ) ) . resource:Ludwig_van_Beethoven property:student_of ?b . ?b property:student_of ?o }
select distinct ?obj  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q255> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P1066> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?obj .
?statement <http://www.wikidata.org/entity/P585> <1795-0-0>
} 

SELECT ?obj WHERE { wd:Q255 p:P1066 ?s . ?s ps:P1066 ?obj . ?s pq:P585 ?x filter(contains(YEAR(?x),'1795')) }