What is {educated at} of {Niels Bohr} and {doctoral advisor}
Where did Niels Bohr receive his education and who was his doctoral advisor?
Where was Niels Bohr educated at, and who was his doctoral advisor?
SELECT ?j ?o WHERE { resource:Niels_Bohr property:educated_at ?g . ?g property:educated_at ?o . ?g property:doctoral_advisor ?j . }
select distinct ?dataprop1 ?obj where { ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q7085> . ?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> ?obj . ?statement <http://www.wikidata.org/entity/P580> ?dataprop1 . } 
SELECT ?value1 ?obj WHERE { wd:Q7085 p:P69 ?s . ?s ps:P69 ?obj . ?s pq:P184 ?value1 . }