The OpenLibrary provides a subjects API as well, see <https://openlibrary.org/dev/docs/api/subjects>. There is some RDF data as well.