What is {educated at} of {Franz Kafka} and {academic degree}
What school did Franz Kafka attend and what degree did he earn?
Franz Kafka was educated at what school and holds what academic degree?
SELECT ?b ?f WHERE { ?g property:educated_at ?f . resource:Franz_Kafka property:educated_at ?g . ?g property:academic_degree ?b . }
select distinct ?dataprop1 ?obj where { ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q905> . ?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> ?obj . ?statement <http://www.wikidata.org/entity/P580> ?dataprop1 . } 
SELECT ?value1 ?obj WHERE { wd:Q905 p:P69 ?s . ?s ps:P69 ?obj . ?s pq:P512 ?value1 . }