What is {educated at} of {John Kenneth Galbraith} and {academic major}
Where was John Kenneth Galbraith trained at and what was his educational major?
Where was John Kenneth Galbraith educated at and what was his academic major?
SELECT ?l ?q WHERE { ?t property:educated_at ?q . resource:John_Kenneth_Galbraith property:educated_at ?t . ?t property:academic_major ?l . }
select distinct ?dataprop1 ?obj where { ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q186042> . ?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:Q186042 p:P69 ?s . ?s ps:P69 ?obj . ?s pq:P812 ?value1 . }