what is the {academic degree} for {Michael Bloomberg} has {educated at} as {Johns Hopkins University} ?
Michael Bloomberg earned which degree at John Hopkins University?
What academic degree did Michael Bloomberg get at Johns Hopkins University?
SELECT ?j WHERE { ?f property:educated_at resource:Johns_Hopkins_University . resource:Michael_Bloomberg property:educated_at ?f . ?f property:academic_degree ?j }
select distinct ?value  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q607> .
?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/Q193727> .
?statement <http://www.wikidata.org/entity/P512> ?value. 
} 

SELECT ?value WHERE { wd:Q607 p:P69 ?s . ?s ps:P69 wd:Q193727 . ?s pq:P512 ?value}