What is {academic major} and {student of} of {{Vladimir Putin} has {educated at} as {Saint Petersburg State University}}
Tell me the educational major of pupil Valdimir Putin who graduated from Saint Petersburg State University.
Tell me the academic major of student Valdimir Putin who graduated from Saint Petersburg State University.
SELECT ?y ?q WHERE { ?i property:student_of ?q . resource:Vladimir_Putin property:educated_at ?i . ?i property:academic_major ?y . ?i property:educated_at resource:Saint_Petersburg_State_University }
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:P812 ?value1 . ?s pq:P1066 ?value2 }