What is {academic degree} of {Jules Michelet} that is {point in time} is {1821-9-21} ?
What degree did Jules Michelet hold on Sept. 21 in the year 1821?
On September 21st, 1821, what degree did Jules Michelet have?
SELECT ?z WHERE { resource:Jules_Michelet property:academic_degree ?q . ?q property:point_in_time ?a . FILTER ( CONTAINS ( YEAR ( ?a ) , '1821' ) ) . ?q property:academic_degree ?z }
select distinct ?obj  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q310791> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P512> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?obj .
?statement <http://www.wikidata.org/entity/P585> <1821-9-21>
} 

SELECT ?obj WHERE { wd:Q310791 p:P512 ?s . ?s ps:P512 ?obj . ?s pq:P585 ?x filter(contains(YEAR(?x),'1821')) }