ContentMine can analyze papers in various ways, including as to what the most salient terms are, e.g. via https://en.wikipedia.org/wiki/Tf%E2%80%93idf .
It would be nice to harvest that to annotate Wikidata items about papers with the property P921 "main subject".