What is the {academic major} for {history of topic} of {history of mathematics}
[]
Which field of study involves the history of mathematics?
SELECT DISTINCT ?y WHERE { ?y property:history_of_topic resource:history_of_mathematics . ?y rdf:type ontology:academic_major }
select distinct ?subj where { ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> ?subj . ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P2184> . ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q185264> . ?subj <http://www.wikidata.org/entity/P31> <http://wikidata.dbpedia.org/resource/Q4671286> } 
 select distinct ?sbj where { ?sbj wdt:P2184 wd:Q185264 . ?sbj wdt:P31 wd:Q4671286 } 