What is {educated at} of {Stephen King} and {academic major}
Where did King study Stephen and what was his biggest?
Where did Stephen King study and what was his major?
SELECT ?f ?w WHERE { resource:Stephen_King property:educated_at ?s . ?s property:educated_at ?w . ?s property:academic_major ?f . }
select distinct ?dataprop1 ?obj where { ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q39829> . ?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:Q39829 p:P69 ?s . ?s ps:P69 ?obj . ?s pq:P812 ?value1 . }