what is the {academic major} for {Howard H. Aiken} has {educated at} as {Harvard University} ?
What did Howard H. Aiken major in while at Harvard University?
What was Howard H. Aiken's academic major at Harvard University?
SELECT ?w WHERE { ?i property:academic_major ?w . ?i property:educated_at resource:Harvard_University . resource:Howard_H._Aiken property:educated_at ?i }
select distinct ?value  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q299723> .
?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/Q13371> .
?statement <http://www.wikidata.org/entity/P812> ?value. 
} 

SELECT ?value WHERE { wd:Q299723 p:P69 ?s . ?s ps:P69 wd:Q13371 . ?s pq:P812 ?value}