What is {academic degree} and {academic major} of {{Dwayne Johnson} has {educated at} as {University of Miami}}
What was the degree Dwayne Johnson obtained at the University of Miami?
What did Dwayne Johnson major in at University of Miami and what was his degree?
SELECT ?l ?m WHERE { resource:Dwayne_Johnson property:educated_at ?x . ?x property:academic_major ?m . ?x property:academic_degree ?l . ?x property:educated_at resource:University_of_Miami }
select distinct ?value1 ?value2 where { ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q10738> . ?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/Q738258>. ?statement <http://www.wikidata.org/entity/P580> ?value1 . ?statement <http://www.wikidata.org/entity/P2842> ?value2 } 
SELECT ?value1 ?value2 WHERE { wd:Q10738 p:P69 ?s . ?s ps:P69 wd:Q738258 . ?s pq:P512 ?value1 . ?s pq:P812 ?value2 }