What is {doctoral thesis} and {point in time} of {{Carl Friedrich Gauss} has {educated at} as {University of Helmstedt}}
When Carl Friedrich Gauss was once a scholar at the University of Helmstedt what was once his doctoral thesis and when did he write it?
When Carl Friedrich Gauss was a student at the University of Helmstedt what was his doctoral thesis and when did he write it?
SELECT ?y ?l WHERE { ?d property:point_in_time ?l . ?d property:educated_at resource:University_of_Helmstedt . ?d property:academic_thesis ?y . resource:Carl_Friedrich_Gauss property:educated_at ?d }
select distinct ?value1 ?value2 where { ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q6722> . ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P69> . ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q314466>. ?statement <http://www.wikidata.org/entity/P580> ?value1 . ?statement <http://www.wikidata.org/entity/P2842> ?value2 } 
SELECT ?value1 ?value2 WHERE { wd:Q6722 p:P69 ?s . ?s ps:P69 wd:Q314466 . ?s pq:P1026 ?value1 . ?s pq:P585 ?value2 }