What academic degree did Franz Kafka get for studying at Karl-Ferdinands-Universität and what was his academic major?
SELECT ?value1 ?value2 WHERE { wd:Q905 p:P69 ?s . ?s ps:P69 wd:Q1729754 . ?s pq:P812 ?value1 . ?s pq:P512 ?value2 }
franz kafka: Q905 german university in prague: Q1729754