What is {academic degree} of {Dimitri Mendeleyev} and {educated at}
Which degree and at which university did Dimitri Mendeleyev undertake?
Which degree did Dimitri Mendeleyev undertake and at which university?
SELECT ?w ?d WHERE { ?k property:academic_degree ?d . ?k property:educated_at ?w . . resource:Dmitri_Mendeleev property:academic_degree ?k }
select distinct ?dataprop1 ?obj where { ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q9106> . ?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/P580> ?dataprop1 . } 
SELECT ?value1 ?obj WHERE { wd:Q9106 p:P512 ?s . ?s ps:P512 ?obj . ?s pq:P69 ?value1 . }