what is the {academic major} for {Larry Page} has {educated at} as {Stanford University} ?
Larry page majored in what subject while at Stanford University?
What was the academic major of Larry Page who was educated at Stanford University?
SELECT ?b WHERE { ?c property:educated_at resource:Stanford_University . resource:Larry_Page property:educated_at ?c . ?c property:academic_major ?b }
select distinct ?value  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q4934> .
?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/Q41506> .
?statement <http://www.wikidata.org/entity/P812> ?value. 
} 

SELECT ?value WHERE { wd:Q4934 p:P69 ?s . ?s ps:P69 wd:Q41506 . ?s pq:P812 ?value}