What is {academic major} and {academic degree} of {{Dwayne Johnson} has {educated at} as {University of Miami}}
What degree did Dwayne Johnson receive from the University of Miami?
What degree did Dwayne Johnson receive from the University of Miami?
SELECT ?d ?h WHERE { resource:Dwayne_Johnson property:educated_at ?r . ?r property:academic_major ?d . ?r property:educated_at resource:University_of_Miami . ?r property:academic_degree ?h }
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:P812 ?value1 . ?s pq:P512 ?value2 }