What is {educated at} of {Lloyd Shapley} and {academic major}
Where did Lloyd Shapley go to college and what did he consider ?
Where did Lloyd Shapley go to college and what did he study ?
SELECT ?x ?z WHERE { ?v property:educated_at ?z . resource:Lloyd_Shapley property:educated_at ?v . ?v property:academic_major ?x . }
select distinct ?dataprop1 ?obj 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> ?obj . ?statement <http://www.wikidata.org/entity/P580> ?dataprop1 . } 
SELECT ?value1 ?obj WHERE { wd:Q244739 p:P69 ?s . ?s ps:P69 ?obj . ?s pq:P812 ?value1 . }