What is {student of} and {academic degree} of {{Vladimir Putin} has {educated at} as {Saint Petersburg State University}}
Did Vladimir Putin study at Saint Petersburg State University, and if so, what did he complete his degree in?
Was Vladimir Putin a student of Saint Petersburg State University, and what was his academic degree?
SELECT ?z ?d WHERE { ?h property:educated_at resource:Saint_Petersburg_State_University . ?h property:academic_degree ?d . ?h property:student_of ?z . resource:Vladimir_Putin property:educated_at ?h }
select distinct ?value1 ?value2 where { ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q7747> . ?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/Q27621>. ?statement <http://www.wikidata.org/entity/P580> ?value1 . ?statement <http://www.wikidata.org/entity/P2842> ?value2 } 
SELECT ?value1 ?value2 WHERE { wd:Q7747 p:P69 ?s . ?s ps:P69 wd:Q27621 . ?s pq:P1066 ?value1 . ?s pq:P512 ?value2 }