What is {educated at} of {Josef Mengele} and {academic major}
Where did Josef Mengele go to college and what was his major?
At what institution was Josef Mengele educated and in what did he major?
SELECT ?q ?m WHERE { ?x property:academic_major ?q . . resource:Josef_Mengele property:educated_at ?x . ?x property:educated_at ?m }
select distinct ?dataprop1 ?obj where { ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q57109> . ?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:Q57109 p:P69 ?s . ?s ps:P69 ?obj . ?s pq:P812 ?value1 . }