What is {academic major} and {academic degree} of {{Robert McNamara} has {educated at} as {University of California, Berkeley}}
What is Robert McNamara's scholarly degree and major at College of California, Berkeley?
What is Robert McNamara's academic degree and major at University of California, Berkeley?
SELECT ?h ?n WHERE { ?x property:educated_at resource:University_of_California,_Berkeley . resource:Robert_McNamara property:educated_at ?x . ?x property:academic_major ?h . ?x property:academic_degree ?n }
select distinct ?value1 ?value2 where { ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q191999> . ?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/Q168756>. ?statement <http://www.wikidata.org/entity/P580> ?value1 . ?statement <http://www.wikidata.org/entity/P2842> ?value2 } 
SELECT ?value1 ?value2 WHERE { wd:Q191999 p:P69 ?s . ?s ps:P69 wd:Q168756 . ?s pq:P812 ?value1 . ?s pq:P512 ?value2 }