What is {academic major} and {academic degree} of {{Jawaharlal Nehru} has {educated at} as {Trinity College}}
What was degree and major of Jawaharlal Nehru of Trinity College?
What degree did Jawaharlal Nehru receive from Trinity College and what was his major?
SELECT ?x ?y WHERE { ?d property:educated_at resource:Trinity_College . ?d property:academic_degree ?y . resource:Jawaharlal_Nehru property:educated_at ?d . ?d property:academic_major ?x }
select distinct ?value1 ?value2 where { ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q1047> . ?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/Q332342>. ?statement <http://www.wikidata.org/entity/P580> ?value1 . ?statement <http://www.wikidata.org/entity/P2842> ?value2 } 
SELECT ?value1 ?value2 WHERE { wd:Q1047 p:P69 ?s . ?s ps:P69 wd:Q332342 . ?s pq:P812 ?value1 . ?s pq:P512 ?value2 }