What is {academic major} and {academic degree} of {{Donald Trump} has {educated at} as {The Wharton School}}
What did the Wharton School study with Donald Trump?
What did Donald Trump study at The Wharton School?
SELECT ?n ?u WHERE { ?d property:academic_major ?n . ?d property:educated_at resource:The_Wharton_School . resource:Donald_Trump property:educated_at ?d . ?d property:academic_degree ?u }
select distinct ?value1 ?value2 where { ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q22686> . ?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/Q1329269>. ?statement <http://www.wikidata.org/entity/P580> ?value1 . ?statement <http://www.wikidata.org/entity/P2842> ?value2 } 
SELECT ?value1 ?value2 WHERE { wd:Q22686 p:P69 ?s . ?s ps:P69 wd:Q1329269 . ?s pq:P812 ?value1 . ?s pq:P512 ?value2 }