r/semanticweb • u/False_Secretary_3115 • 1d 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.
5
u/SomehowSomewhy 1d 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.
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.
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.
2
u/postlapsarianprimate 23h 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.
1
u/DeepLogicNinja 18h 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 10h 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?