What is {academic major} and {academic degree} of {{Franz Kafka} has {educated at} as {Karl-Ferdinands-Universität}}
What tutorial diploma did Franz Kafka get for studying at Karl-Ferdinands-Universität and what was once his educational major?
What academic degree did Franz Kafka get for studying at Karl-Ferdinands-Universität and what was his academic major?
SELECT ?o ?x WHERE { ?k property:academic_degree ?x . ?k property:educated_at resource:German_University_in_Prague . ?k property:academic_major ?o . resource:Franz_Kafka property:educated_at ?k }
select distinct ?value1 ?value2 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> <http://wikidata.dbpedia.org/resource/Q1729754>. ?statement <http://www.wikidata.org/entity/P580> ?value1 . ?statement <http://www.wikidata.org/entity/P2842> ?value2 } 
SELECT ?value1 ?value2 WHERE { wd:Q905 p:P69 ?s . ?s ps:P69 wd:Q1729754 . ?s pq:P812 ?value1 . ?s pq:P512 ?value2 }