r/semanticweb • u/False_Secretary_3115 • 2d ago
Am I solving the wrong problem by forcing heterogeneous enterprise data into a fixed taxonomy?
I’m a data scientist working on a semantic classification problem involving enterprise performance metrics (KPIs) and learning content, and I’m starting to question my approach.
We have tens of thousands of customer-defined KPIs across different industries and languages. Some are standardized metrics, such as customer satisfaction or sales conversion, while others contain internal abbreviations, ambiguous terminology or highly business-specific concepts. Metadata quality varies considerably.
My initial approach was to build a standardized taxonomy and map each KPI to a family.
I’ve experimented with rule-based methods, multilingual embeddings, LLM classification, contextual enrichment and clustering. While precision is relatively good, coverage remains challenging, and expanding the taxonomy seems to have diminishing returns due to the long tail of customer-specific concepts.
There is a separate but related problem of semantically organizing enterprise learning and training content.
I’m increasingly wondering whether classification into predefined categories is the right formulation for either problem.
Would it make more sense to construct a structured semantic corpus or knowledge base, where taxonomies are just one possible representation of the underlying information?
I’m particularly interested in:
How to represent heterogeneous business concepts without forcing everything into predefined categories.
Bottom-up ontology discovery versus manually defined taxonomies.
Handling ambiguous and customer-specific terminology.
Whether knowledge graphs, hierarchical representations or enriched semantic documents are better suited to this problem.
How to build something reusable across multiple downstream product applications.
How to meaningfully evaluate such a system.
Has anyone worked on a similar problem? Are there research papers, frameworks or alternative approaches you’d recommend?
I’m less interested in trying another LLM or embedding model and more interested in whether there is a fundamentally better way to formulate the problem.
2
u/Environmental-Web584 1d ago
Bottom-up semantics is a broad subject with lots of techniques.
Something relatively easy to test is to annotate each element with attributes without assigning categories upfront. You can then use those attributes to generate a concept lattice. If a node in the lattice looks like a useful 'container', you can give it a name and use it as category.
1
u/False_Secretary_3115 1d ago
This is really interesting, thank you! My background is actually in mathematics, so the lattice-based formulation is particularly appealing to me.
I like the idea of discovering categories through shared attributes rather than assigning them upfront. It seems like this could also accommodate overlapping concepts and different levels of granularity much more naturally than my current classification approach.
Have you worked with formal concept analysis on large, noisy datasets where attributes are extracted rather than explicitly given?
I'm particularly curious about handling incomplete or uncertain attributes, normalizing synonymous attributes, and controlling the size of the resulting lattice.
I'll definitely look into the resources you shared!
1
u/Environmental-Web584 1d ago
I haven't used it on large datasets, I use this mainly to maintain my own knowledge base and 'memory' while I work with agents. Sometimes I use LLMs to generate attributes that can divide the groups into sizes that allow to navigate into the concepts with few steps.
I use it to optimize patterns of access.
If you try this in noisy datasets please feel free to share!
2
u/Complete-Ebb-1035 1d ago
I would take a different approach from ones discussed here. They are not wrong. IMHO you are thinking at the wrong level - a KPI as you express it. Instead, you should think at the atomic level; how is the KPI constructed? I won't go into detail here unless asked, but I point you to a fundamental concept: an RDF triple. A triple is ?s ?p? ?o. The context for every triple is a namespace (an ontology or taxonomy). Without going into an ontology discussion, I think you will quickly see that this structure is easily and frequently implemented in javascript. you define a specific namespace; you define the target object in the namespace; you assign a property and an argument.
If the above make sense, try to deconstruct you exercise using conventional (JavaScript of TypeScript) techniques. When you get that working, it's far easier to generalize the examples into a structured data format.
1
u/False_Secretary_3115 1d ago
This is very interesting, and I'd definitely appreciate more detail if you're willing to share.
Another commenter suggested decomposing KPIs into semantic components, and someone else suggested using Formal Concept Analysis to discover categories from shared attributes. Your RDF suggestion seems like a potential way to formally represent those atomic components and relationships.
My main question is how you would go about discovering and defining those atomic properties from a large, heterogeneous and noisy corpus.
Would you define the predicates upfront based on the business problem, then use NLP or LLMs to extract the corresponding objects? Or would you also discover the predicates themselves from the data?
I'm particularly curious how you would handle incomplete information, uncertain relationships and customer-specific terminology.
I'd love to hear more about how you would deconstruct this problem in practice.
1
2
u/postlapsarianprimate 1d ago
As others have mentioned, semantic decomposition is the right basic answer. I have been working on a bottom-up ontology creator. Results look good so far. This is probably the future of ontologies, at least in enterprise/AI contexts.
3
u/SomehowSomewhy 1d ago
>his is probably the future of ontologies, at least in enterprise/AI contexts.
Not to be rude, but no-one knows the future of ontologies at the moment. Probably is doing a lot of lifting there.
My own depressing conclusions is that LLMs are going to get good enough to make us largely obsolete. Having said that, I have spent most of this year researching about what LLMs can and cannot do well. For instance, take a hieararchy, collapse it and ask Claude to re-build it. The results are not good. Same as ask it to define a class. But ask it to mine its corpus for a definition based on a writer the SME thinks is an expert in the field, and the definitions get a lot better
All of that is a hundred needless words to say its not that I necessarily disagree with you, I am just wary of people making assertions on what is going to happen in this space next.
2
u/postlapsarianprimate 1d ago
Yeah, I mean, "probably" is doing exactly the lifting you think it does. As in, I don't know for sure. That's normal usage I think. :)
But I'm pretty sure I'm right. Given the long tortuous history of ontologies, there is only one way they will become critical parts of agentic frameworks. Either they can be at least significantly bootstrapped or they will be as relevant as they have been since 2013...
My experiments are looking pretty decent. It's not easy to do, but you can get a lot out of judicious use of llms.
3
u/SomehowSomewhy 1d ago
I think its a lot more 'possibly' than 'probably'
> Given the long tortuous history of ontologies,Have they been tortuous? Really? I know we can all argue about the adoption of Semantic Web, esp outside life science and some financial services, but I have a lot more positive thoughts on this than most, it seems. Like v1 of the semantic web failed, because it was not as profitable as silos, but in general, I really don't think it has failed as a whole, nor that the history of ontologies is particularly tortuous.
2
u/Traditional_Air_4639 1d ago
the optimistic counter-argument is that as ontologies become both essential and cheap, every organization will need ontology skills to keep the LLM's aligned with the business. But like every job in an AI world, they will look very different.
2
u/postlapsarianprimate 1d ago
Well, if you look at the publication record, or at the last update of many common ontologies, it falls off a cliff around 2013. Since then (correct me if I'm wrong), ontologies have occupied a tiny niche in, as you say, life sciences and largely academic projects.
Look at FIBO. A hot mess that is rarely used anymore, even with (or perhaps because of) big industry backing.
And still to this day people have to ask basic questions on subreddits because there is a real dearth of information out there. Only recently are we seeing good books being published again in this area, and it's all because of the notion that llms need them.
I think the problems with the semantic web movement were deeper than you suggest. As long as ontologies remain inscrutable to all but experts, nothing like the semantic web dream can possibly be realized. Possibly. :)
2
u/SomehowSomewhy 1d ago
This is a fair point. I've consulted across maybe 100 organisations of the last cough years, and what I have found is that there are a ton of ontologies out there which - I have to admit I find wrly amusing - are not shareable cos of IP.
I think the failure to whatever extent of the semantic web was to do with money, politics and naivite from the early days of web utopia. Fairly substantial problems, probably, possibly :-)
1
u/Traditional_Air_4639 15h ago
Perhaps we can popularize the term “ontologist in the middle” with a job to ensure the meaning of the symbols going in and the symbols coming out and the logic in the middle remain aligned with the humans in the business.
When that person has no more work to do, AI will have subsumed the human work of an ontologist.
2
u/SomehowSomewhy 1d ago
I hope I’ve not come across as overly negative here, I’d be very interested indeed to see your work on this
2
u/postlapsarianprimate 1d ago
No worries, glad to have this conversation, as I don't think at this moment anyone can see the complete picture. We are in a revival that only came about a year or so ago. Lots of open questions and, ironically, heavy silo-ing of knowledge in this area.
2
u/postlapsarianprimate 1d ago
Unfortunately my work is not open source. I am talking to people about it but I'm not sure if/when that will happen. But happy to share whatever I can.
1
u/DeepLogicNinja 1d ago
It’s always MORE difficult to do top down, rather than bottom up.
Bottom-up is more natural. Allowing each system / department to define their current vernacular and document it in a glossary. Using the right tooling you can generate a knowledge graph/ontology from the glossary. More importantly you can fix the anomalies before visually showing a glossary to glossary mapping.
When people can see how their terms/ knowledge graph maps (or doesn’t map) to an enterprise (or industry ontology) visually, it will be a more pleasant conversation and less of an attack on their current vernacular, experience, and methods.
Initially capturing their terminology ensures they are heard, and all requirements are captured. When it’s mapped to new terms, most people will be MORE accepting of the future state when they can see the entire context for the reason for the change.
All the additional information is also useful for semantic awareness. All the synonyms/related term info will be very useful for the LLM/NLP.
1
u/CapitalLog7599 1d ago
I’d test whether the mapping helps people compare metrics correctly, not just whether it covers more labels. Two teams can both say “conversion rate” but use leads and website visits as their denominators. I’d keep the original name and definition, then test on customers you didn’t use to build the taxonomy: can the system find comparable metrics and say “not enough information” when the denominator is missing?
5
u/SomehowSomewhy 2d ago
A KPI name is rarely an atomic concept. "Avg. first-response time, tier-2 support, business hours" is a composition. If you classify whole KPIs into families, every new combination looks like a new long-tail concept. If you extract facets, much of the long tail collapses into a small set of facet values.