What is {academic degree} and {academic major} of {{Lloyd Shapley} has {educated at} as {Princeton University}}
What degree and major specialization did Lloyd Shapley graduate from Princeton University with?
Mention the qualifying degree and the major specialization course in which Lloyd Shapley graduated from the Princeton University
SELECT ?g ?d WHERE { ?k property:academic_degree ?g . resource:Lloyd_Shapley property:educated_at ?k . ?k property:educated_at resource:Princeton_University . ?k property:academic_major ?d }
select distinct ?value1 ?value2 where { ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q244739> . ?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/Q21578>. ?statement <http://www.wikidata.org/entity/P580> ?value1 . ?statement <http://www.wikidata.org/entity/P2842> ?value2 } 
SELECT ?value1 ?value2 WHERE { wd:Q244739 p:P69 ?s . ?s ps:P69 wd:Q21578 . ?s pq:P512 ?value1 . ?s pq:P812 ?value2 }