What is {educated at} of {James Heckman} and {academic major}
where and what did James Heckman consider?
where and what did James Heckman study?
SELECT ?e ?a WHERE { ?j property:academic_major ?e . . resource:James_Heckman property:educated_at ?j . ?j property:educated_at ?a }
select distinct ?dataprop1 ?obj where { ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q312561> . ?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:Q312561 p:P69 ?s . ?s ps:P69 ?obj . ?s pq:P812 ?value1 . }