what is the {point in time} for {Gottlob Frege} has {academic degree} as {habilitation} ?
Gottlob Frege graduated with a degree in habilitation when?
When did Gottlob Frege acquire his academic degree in habilitation.
SELECT ?z WHERE { ?s property:academic_degree resource:habilitation . resource:Gottlob_Frege property:academic_degree ?s . ?s property:point_in_time ?z }
select distinct ?value  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q60028> .
?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/Q308678> .
?statement <http://www.wikidata.org/entity/P585> ?value. 
} 

SELECT ?value WHERE { wd:Q60028 p:P512 ?s . ?s ps:P512 wd:Q308678 . ?s pq:P585 ?value}