I have a thesis that RDF is good for this sort of work (I gave a talk on it at Clojure Conj last year, https://youtu.be/OxzUjpihIH4 if you're interested.)
It's good for bridging the gaps between LLMs, ontologies, traditional structured data, and logic programming.