what is the {academic major} for {Norman Foster} has {educated at} as {Yale School of Architecture} ?
Which major did Normal Foster teach at the Yale School of Architecture?
Which academic major was educated by Norman Foster at the Yale School of Architecture?
SELECT ?a WHERE { ?n property:educated_at resource:Yale_School_of_Architecture . ?n property:academic_major ?a . resource:Norman_Foster property:educated_at ?n }
select distinct ?value  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q104898> .
?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/Q1514480> .
?statement <http://www.wikidata.org/entity/P812> ?value. 
} 

SELECT ?value WHERE { wd:Q104898 p:P69 ?s . ?s ps:P69 wd:Q1514480 . ?s pq:P812 ?value}