what is the {point in time} for {Pierre de Fermat} has {academic degree} as {Bachelor of Laws} ?
The date Pierre de Fermat studied for academic degree in Bachelor or Laws?
Tell me the point in time for Pierre de Fermat has academic degree as Bachelor of Laws?
SELECT ?u WHERE { resource:Pierre_de_Fermat property:academic_degree ?d . ?d property:point_in_time ?u . ?d property:academic_degree resource:Bachelor_of_Laws }
select distinct ?value  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q75655> .
?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> <http://wikidata.dbpedia.org/resource/Q798137> .
?statement <http://www.wikidata.org/entity/P585> ?value. 
} 

SELECT ?value WHERE { wd:Q75655 p:P512 ?s . ?s ps:P512 wd:Q798137 . ?s pq:P585 ?value}