what is the {academic degree} for {Bjarne Stroustrup} has {educated at} as {University of Cambridge} ?
What degree was granted to Bjarne Stroustrup by the University of Cambridge?
Which academic degree did Bjarne Stroustrup earn from the University of Cambridge?
SELECT ?j WHERE { ?q property:educated_at resource:University_of_Cambridge . ?q property:academic_degree ?j . resource:Bjarne_Stroustrup property:educated_at ?q }
select distinct ?value  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q92620> .
?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/Q35794> .
?statement <http://www.wikidata.org/entity/P512> ?value. 
} 

SELECT ?value WHERE { wd:Q92620 p:P69 ?s . ?s ps:P69 wd:Q35794 . ?s pq:P512 ?value}