Paper deep dive
An Agentic Hybrid Top-Down and Bottom-Up Approach to Knowledge Graph Generation
Emma Jouffroy, Warren Jouanneau, Marc Palyart
Intelligence
Status: succeeded | Model: Gemma-4-26B-A4B | Prompt: intel-v1 | Confidence: 92%
Last extracted: 8/10/2026, 3:57:42 AM
Summary
The paper proposes a hybrid agentic pipeline for generating skills knowledge graphs from unstructured, multilingual HR data. It combines top-down grounding in Wikidata with bottom-up agentic reflection to handle emerging skills, achieving high coverage and structural coherence while mitigating hallucinations.
Entities (8)
Relation Signals (6)
Hybrid Pipeline â developedby â Malt
confidence 95% · maintaining these structures is a persistent challenge for talent marketplaces like Malt... we propose a hybrid knowledge graph generation pipeline
Hybrid Pipeline â uses â Wikidata
confidence 95% · Our architecture grounds an LLM in an interchangeable Knowledge Graph, instantiated here with Wikidata
Web Project Management â isspecializationof â Project Management
confidence 92% · Flags "gestion de projet web" as a SPECIALIZATION... suggested_pref_label: "Web Project Management"
Hybrid Pipeline â addresses â Human Resources
confidence 90% · Organizing thousands of unstandardized, multilingual expertise declarations is a persistent challenge for Human Resources (HR) platforms
Wikidata â anchors â Project Management
confidence 90% · The baseline concept is anchored to a Wikidata entity node... Project Management
Hybrid Pipeline â uses â Gemini-1.5-Flash
confidence 90% · constraining Gemini 1.5 Flash with strict schemas
Cypher Suggestions (0)
No Cypher suggestions yet.
Abstract
Abstract:Organizing thousands of unstandardized, multilingual expertise declarations is a persistent challenge for Human Resources (HR) platforms, directly impacting downstream tasks like accurate talent matching. To address this, we propose a hybrid knowledge graph generation pipeline that grounds a Large Language Model (LLM) in the Wikidata multilingual Knowledge Graph (KG) while employing an agentic reflexion pattern to synthesize emerging concepts and their associated metadata. Unlike rigid top-down methods or fragmented bottom-up approaches, our system anchors recognized concepts to stable Knowledge Graph entities while dynamically creating new nodes and relational metadata for unrecognized skills. Executed across five stages, entity reconciliation, multilingual canonicalization, active curation, deduplication, and the iterative recovery of unmapped concepts, the system autonomously adapts to rapidly evolving, noisy skill mentions across five European languages. Ultimately, this pipeline provides a highly scalable, explicable, and self-healing framework for generating a comprehensive skills knowledge graph, from which a structured taxonomy is derived, using unstructured, noisy text.
Tags
Links
- Source: https://arxiv.org/abs/2608.07023v1
- Canonical: https://arxiv.org/abs/2608.07023v1
Trouble viewing inline? Open PDF directly â
Full Text
54,200 characters extracted from source content.
Expand or collapse full text
An Agentic Hybrid Top-Down and Bottom-Up Approach to Knowledge Graph Generation Emma Jouffroy [0009â0003â2930â0330] , Warren Jouanneau [0000â0003â4973â2416] , and Marc Palyart [0000â0002â8808â0492] Malt, Paris, France Abstract. Organizing thousands of unstandardized, multilingual expertise declarations is a per- sistent challenge for Human Resources (HR) platforms, directly impacting downstream tasks like accurate talent matching. To address this, we propose a hybrid knowledge graph generation pipeline that grounds a Large Language Model (LLM) in the Wikidata multilingual Knowledge Graph (KG) while employing an agentic reflexion pattern to synthesize emerging concepts and their associated metadata. Unlike rigid top-down methods or fragmented bottom-up approaches, our system an- chors recognized concepts to stable Knowledge Graph entities while dynamically creating new nodes and relational metadata for unrecognized skills. Executed across five stages, entity recon- ciliation, multilingual canonicalization, active curation, deduplication, and the iterative recovery of unmapped concepts, the system autonomously adapts to rapidly evolving, noisy skill mentions across five European languages. Ultimately, this pipeline provides a highly scalable, explicable, and self-healing framework for generating a comprehensive skills knowledge graph, from which a structured taxonomy is derived, using unstructured, noisy text. Keywords: Large Language Models· Knowledge Graphs· Entity Reconciliation· Responsible HR AI. 1 Introduction Comprehensive, structured skills knowledge graphs and their derivative taxonomies serve as a critical foundation for HR applications, such as standardizing job requirements and facilitating talent matching. However, maintaining these structures is a persistent challenge for talent marketplaces like Malt, the European freelancer marketplace. Free-text expertise declarations frequently lead to multilingual frag- mentation, niche jargon, compound skills, and rapid temporal drift as occupations and work practices evolve. Although Large Language Models (LLMs) overcome the scalability issues of hand-crafted tax- onomies, limitations remain, such as a susceptibility to hallucinated skills, formatting instability, and a lack of grounding in verifiable metadata [13,22]. As shown in Figure 1, traditional generation methods generally fall into two complementary yet individually limited paradigms. Rigid top-down methods rely on predefined ontologies such as "European Skills, Competences, Qualifications and Occupations" (ESCO) [3], which provide structural consistency and high precision but often struggle to capture emerging or highly localized concepts. Conversely, purely generative bottom-up approaches are flexible enough to identify novel trends, but they frequently lack structural constraints. As a result, semantically equivalent concepts may fragment into redundant clusters, while noisy relationships can emerge between otherwise unrelated concepts. Core Ontology Project Management Project Management Web Project Management Missing Node (A) Rigid Top-Down PM Cluster Web PM Group Project Management Web PMExcel Fragmented Hallucination (B) Chaotic Bottom-Up TOP-DOWN GROUNDING BOTTOM-UP SYNTHESIS Wikidata Entity: Q179012 + Rich Metadata Synthesized Entity: Web Project Mgmt + Derived Metadata Project Management Web PMWeb Project Management Grounding Agentic Reflection (C) Proposed Hybrid Fig. 1: Comparison of structural modeling paradigms via a project management narrative. (A) Static Top- Down: Misses emerging specializations due to static ontological boundaries. (B) Unconstrained Bottom-Up: Lacks guardrails, causing semantic fragmentation (separating âProject Mgmtâ and âWeb PMâ) and link hallucinations (âExcelâ). (C) Proposed Hybrid: Achieves complete convergence. The baseline concept is anchored to a Wikidata entity node, while agentic reflection synthesizes a distinct sub-entity linked with rich relational metadata that cleanly absorbs related shortcuts (âWeb PMâ). arXiv:2608.07023v1 [cs.CL] 7 Aug 2026 2E. Jouffroy et al. To bridge this gap, we introduce a fully automated, agentic, hybrid pipeline. Our architecture grounds an LLM in an interchangeable Knowledge Graph, instantiated here with Wikidata [21], to ensure that the generated entities and their associated metadata remain verifiable and auditable. At the same time, we leverage an iterative multi-agent loop to capture, validate, and structure the emerging "long-tail" skills that formal ontologies have not yet registered. Ultimately, this approach yields a rich knowledge graph from which a streamlined skills taxonomy is derived as a structured child entity. Specifically, this paper makes the following contributions: Hybrid Skill Extraction. We combine structured knowledge graph integration with dynamic, bottom- up parsing to capture both established global standards and emerging long-tail expertise, enriching them with contextual metadata. Multilingual Standardization. We enforce structural schema constraints on the underlying model to support consistent multilingual representations across five target languages and reduce hallucinated outputs. Iterative Self-Refinement. We introduce a reflection-based multi-agent loop in which agents itera- tively analyze and correct intermediate outputs. This enables progressive consolidation of fragmented concepts and improves overall taxonomic coherence. To contextualize these contributions, the remainder of this paper reviews the evolution of automated taxonomy generation, details our pipelineâs architecture, and evaluates its real-world performance on our platform data. 2 Related Work Taxonomy creation has shifted from costly expert ontologies and static knowledge bases [7] to automated machine learning methods. Traditional skill extraction models [4,27], and even some recent efficient encoders [5], primarily produced flat lists susceptible to semantic ambiguity.To establish the relational hierarchies necessary for a true knowledge graph, top-down approaches anchor semantics using Knowledge Graphs, utilizing domain seeds [3], automated tree expansion [19,26,12], and LLM-driven ranking and iterative prompting [15,25]. However, these static methods struggle to adapt to the dynamic vocabularies of modern job markets. Conversely, bottom-up clustering scales effectively [1,9] but might lead to uninterpretable labels and missing relational metadata [2]. LLM based models overcome this by autonomously structuring categories via abstractive prompting [16,23], localized induction [8,6], and specialized schemas [18]. While end-to- end methods automate generation [22], their batch processing might lead to fragmented hierarchies rather than cohesive graphs. Recent multi-agent frameworks resolve this through reflection [13,20] and dynamic alignment [10], leveraging complex reasoning heuristics like self-correction [14], prompt optimization [17], and tree search [24]. Additionally, LLMs can distill domain knowledge into lightweight downstream classifiers [11]. Despite these advances, unconstrained LLMs remain susceptible to hallucinated skills, formatting instability, and bias. We address this via a hybrid architecture: while an LLM drives the pipeline, its reasoning is strictly anchored to a deterministic KG for recognized entities, reserving unconstrained generative reflection solely for unmapped skills and their corresponding relational metadata. 3 Proposed Approach We designed a hybrid, multi-agent pipeline to overcome the limitations of rigid top-down ontologies and ungrounded bottom-up generation. Unlike top-down methods that map unstructured inputs to a static seed ontology, our system dynamically constructs its own custom, evolving knowledge graph derived directly from empirical data. Conversely, unlike pure bottom-up methods that rely on unconstrained generative clustering, we enforce strict semantic grounding by anchoring these emerging clusters to factual Knowledge Graph entities and capturing their relational metadata. As illustrated in Figure 2, the system operates as an iterative loop rather than a strictly linear execution pipeline, processing batches through five distinct stages. By utilizing Wikidata as a semantic anchor, chosen for its broad multilingual domain coverage enabled by its massive open-source scale, and constraining Gemini 1.5 Flash with strict schemas, we prevent hallucinations while preserving linguistic variants and contextual structure. We specifically selected this lightweight model for its cost-efficiency and immediate availability within our infrastructure. Because our pipeline relies on strict external grounding rather than complex internal reasoning, these An Agentic Hybrid Top-Down and Bottom-Up Approach to Knowledge Graph Generation3 Raw Inputs "gestion de projet web" 1. Semantic Recon. Contextually maps string to foundational anchor node Q179012. 2. Canonicalization Groups inputs into a canonical entity node with localized metadata. 3. Active Curation Flags input as a SPECIALIZATION outlier and extracts structural attributes. Stable Core KG Nodes Holds grounded high- precision entities and relational metadata. Wikidata Knowl- edge Graph Ontological Anchors & Multilingual Metadata Platform Usage Data Empirical Co-occurrences & Category Distributions 4. Consolidation Generates a unique, stable ORPHAN_ID to instanti- ate sub-graph branches. Valid QID Q179012 Base Entity Node âProject Managementâ Passed Core Rejected Outlier Entity: "Web Project Management" 5. Iterative Epochs (Self-Healing Loop) Re-injects synthetic identifier into next generation cycle to group nested specializations under sub-graph. Fig. 2: The 5-stage hybrid pipeline architecture, traced via the project management example. The system grounds the model in Wikidata (Stage 1) and uses agentic reflection (Stage 3) to capture outliers. These are converted into stable synthetic identifiers to instantiate new sub-graph entities (Stage 4) and rerouted (Stage 5) for continuous, autonomous self-healing of the knowledge graph structure. results could likely be replicated using comparable open-source small language models. Crucially, this architecture is not tied to a single semantic structure and could easily integrate alternative or combined external databases. The following subsections detail the mechanics of each phase, demonstrating how the pipeline enables continuous, autonomous updates as novel expertises and their structural relationships emerge in the market. 3.1 Reconciliation: Grounding Raw Skills in Wikidata Trace Example â Stage 1 (Reconciliation): In: Raw Text ("gestion de projet web") + Malt Context. Out: Linked Anchor (Q179012) + Validation Flags (is_skill: true, is_compound: false) As the first step in this pipeline, the Reconciliation phase maps noisy, unstandardized, and mul- tilingual skill mentions to stable, unambiguous Wikidata entity identifiers (QIDs), which serve as the foundational anchor nodes for our knowledge graph. This process begins by extracting the top ten Wiki- data entries linked to the raw input text, alongside metadata such as labels, descriptions, and regional variants across the five target languages. Because raw user mentions are frequently ambiguous or com- pletely devoid of context when analyzed in isolation, this baseline retrieval must be structurally enriched with domain-specific semantic neighborhoods and high-level category distributions. At Malt, this enrichment queries the platformâs user profile graph. Upon skill ingestion, the engine extracts and appends two empirical features from the freelancerâs history: the top fifteen (an empirical threshold selected to maximize semantic signal while filtering out long-tail profile noise) co-occurring peer skills and the top five overarching professional categories. From this enriched context, the LLM executes a disambiguation step to select the best corresponding QID. To ensure structured outputs, the LLM must output a JSON payload containing the selected QIDs, confidence scores, step-by-step reasoning, and critical boolean flags indicating whether the input is a valid professional skill (is_skill) and if it contains multiple skills (is_compound). This dual validation approach, combining Wikidataâs semantic recall with the LLMâs context-aware precision, reduces potential hallucinated mappings. Ultimately, by evaluating candidate labels in all target languages simultaneously, the system ensures that non-English skills are reliably anchored to the exact same global QID as their English counterparts. 3.2 Canonicalization: Clustering and Preferred Label Generation Trace Example â Stage 2 (Canonicalization): In: Resolved Entity Cluster (Q179012) + Historical Usage Logs. Out: Multilingual Label Mapping (EN: "Project Management" [wikidata], FR: "Gestion de Projet" [malt]) Following reconciliation, the second phase groups validated inputs by their unique QID combinations to generate human-readable, multilingual canonical names. Provided with context such as Wikidata de- scriptions and empirical usage distributions within the freelance platform, the LLM synthesizes localized preferred labels across five target languages. To mitigate clustering noise, the prompt enforces a strict 4E. Jouffroy et al. fallback hierarchy: the model must prioritize empirical platform usage, fall back to official ontological titles, and synthesize novel labels only when necessary. To maintain algorithmic explicability, each label is explicitly tagged with its resulting provenance (malt, wikidata, or generative). 3.3 Curation: Semantic Validation and Reflexion Trace Example â Stage 3 (Curation): In: Combined Cluster Member ("gestion de projet web") vs. Core Candidate ("Project Management"). Out: Status: REJECTED (Criterion: SPECIALIZATION)â Output Target: suggested_pref_label: "Web Project Management" To prevent disjointed or overly granular skills within canonicalized nodes, an LLM-powered Cura- tion agent validates the strict equivalence of every raw skill against its broader entity grouping and selected preferred label. If a skill is non-equivalent, the model outputs a structured output detailing one of seven granular rejection criteria (AMBIGUOUS, SPECIALIZATION, SEMANTIC_MISMATCH, NOT_A_SKILL, METHODOLOGY, CONTEXT, SUB_TASK). For pipeline tracking and evaluation purposes, these semantic rejec- tions (aside from NOT_A_SKILL) are aggregated under the broader NODE_CURATION status. Crucially, a suggested_pref_label is generated to define what the rejected concept should actually be named. This contextual rejection reason is retained as metadata for subsequent consolidation tasks. Following outlier extraction, the agent re-evaluates and refines the core nodeâs canonical label using strictly the accepted subset. This bifurcates the data into tightly curated baseline entities and a structured "Orphan" queue for iteration, which will be processed later as explained in section 3.5. As a safeguard, any node with a rejection rate exceeding 50% is automatically flagged for human-in-the-loop review to prevent cascading systemic errors. 3.4 Consolidation: Cross-Batch Deduplication Trace Example â Stage 4 (Consolidation): In: Cross-Batch Incoming Candidate ("Web PM") vs. Active Orphan Taxonomy Target ("Web Project Management"). Out: Decision: MERGEâ Surviving Entity Destination ID: hash("Web Project Management") To maintain global structural consistency across incremental runs, the Consolidation phase merges overlapping sub-graphs. To avoid the computational explosion of exhaustive pairwise comparisons, we employ an asymmetric bootstrapping strategy. The system initializes from a blank state, where the first processed batch establishes the foundational knowledge graph. In all subsequent runs, newly generated nodes are strictly compared against this continuously growing, established baseline. Before LLM eval- uation, lightweight heuristics flag potential merges between incoming and established entities based on member intersection (shared raw skills) or lexical similarity (low edit distance between preferred labels). Once flagged, the LLM evaluates the combined metadata of these pairs to output a structural decision (MERGE or KEEP_SEPARATE), designating a surviving ID if merged. Logging these decisions creates a cache that prevents redundant re-evaluations in future Epochs. 3.5 Iteration: Orphan Recovery and Convergence Trace Example â Stage 5 (Iteration): In: Verified Isolated Structural Orphan Queue + Validated Label Target . Out: Sub-graph Generation: Instantiates stable sub-branch linked to Q179012 via deterministic cryptographic label routing. Step 1: Canoni- cal Entity Node Input Node Q192253 (âProject Managementâ) Step 2: LLM Validation Is skill equivalent? Step 3 (Yes): Core KG Node Accepts stable generic node: âProject Managementâ Step 3 (No): Re- jection Analysis Flags âgestion de projet webâ as a SPECIALIZATION Step 4: Label Generation Synthesizes suggested_pref_label: âWeb Project Managementâ Step 5: Orphan Node Creation Uses suggested label to define a unique, stable ORPHAN_ID Agentic Reflection Phase Step 3 (No): Re- jection Analysis Flags âgestion de projet webâ as a SPECIALIZATION Step 4: Label Generation Synthesizes suggested_pref_label: âWeb Project Managementâ Step 5: Orphan Node Creation Uses suggested label to define a unique, stable ORPHAN_ID Yes No (Reject) Step 6: Route to EpochN + 1 Forced grouping of nested specialization into sub-graph Fig. 3: The Agentic Reflection and Orphan Lifecycle. Rejected skills trigger an active reflection loop (Steps 3â5) where the LLM justifies the outlier status and synthesizes a suggested_pref_label. This generates a stable synthetic ORPHAN_ID routed into the next Epoch for autonomous self-healing of the knowledge graph layout. An Agentic Hybrid Top-Down and Bottom-Up Approach to Knowledge Graph Generation5 This iterative loop primarily serves to fix granularity gaps inherited from the baseline anchor graph. For example, both "Project Management" and "Web Project Management" might initially map to the same broad Wikidata entity. To preserve graph coherence, the curation phase flags "Web Project Man- agement" as an outlier while keeping the main node broad. Instead of discarding this niche specialization, the pipeline captures it as an "orphan" to generate the fine-grained relational edges and specialized nodes that Wikidata lacks natively. As illustrated in Figure 3, these orphans are re-processed using a recursive routing loop. Each orphan is assigned a synthetic identifier derived directly from its LLM-generated suggested_pref_label. Because identical concepts receive the exact same suggested label from the model, this mechanism naturally groups separate but matching specializations together into a unified sub-graph in the subsequent Epoch. This loop repeats until the orphan queue is empty, achieving full semantic convergence. 4 Evaluation We evaluated our pipeline using a proprietary dataset of unstructured, multilingual expertise declara- tions from the Malt freelancing platform. This dataset reflects chaotic, real-world labor market dynam- icsâfeaturing a severe long-tail distribution of highly niche, emerging, or misspelled jargonâproviding a robust stress test compared to static theoretical ontologies. Because HR matching engines require strict reliability, model performance is evaluated against a curated Wikidata gold standard. As this research represents ongoing work, our current evaluation focuses strictly on the initial retrieval and pre- consolidation phases; the final post-consolidation phase was recently introduced to the pipeline and has yet to be formally benchmarked. 4.1 Vocabulary Coverage and Semantic Compression The normalization pipeline processed an initial vocabulary of 36,037 raw expertise strings. The recon- ciliation engine successfully resolved 27,743 of these inputs, achieving a Global Coverage rate of 77% (the percentage of valid inputs successfully mapped to a knowledge graph node). The remaining 8,294 unmapped entries were flagged by the curation layer as non-skills or semantic noise (see Table 2).The 27,743 mapped variations were grouped into 15,010 semantic groupings, which were further streamlined into 13,298 canonical skill nodes. This represents a compression rate of 52.1% (1â [13, 298/27, 743]), significantly reducing downstream redundancy. Alongside, the Average Skills per Node (ASpN) metric, which stands at 2.08 variations per canonical node, further demonstrates our vocabulary consolidation ef- ficiency. Importantly, the knowledge graph maintains perfect cross-lingual symmetry: 100% of the 13,298 canonical concept nodes are fully supported across all five target locales (fr, en, de, nl, es). This gen- erates exactly 66,490 standardized preferred labels (13, 298Ă 5), ensuring uniform matching regardless of the userâs interface language. Empirical platform data reveals a strong Pareto distribution: the top 1,000 canonical skills account for 82.74% of platform usage volume, and the top 5,000 capture 97.25%. Interpreting this requires distinguishing between the lexical long-tail (typographical noise and redundant expression variants) and the semantic long-tail (rare, highly specialized, or emerging capabilities). While our pipeline aggressively filters and compresses the unmanaged lexical long-tail to eliminate marketplace redundancy, it systematically preserves the semantic long-tail through agentic reflection, yielding a highly comprehensive and nuanced final knowledge graph of 13,298 standardized concept nodes. 4.2 Quantitative Precision against Gold Standard Evaluated against a hand-annotated gold standard, independently curated by five domain experts with- out overlap, the pre-consolidation pipeline achieved a global baseline Alignment Coverage of 79.7% (the overall proportion of inputs successfully and correctly mapped to the gold standard) and a Found Cov- erage of 84.9% (measuring precision strictly on the subset of inputs where the model actually attempted a retrieval). Due to the semantic ambiguity of unmanaged inputs, the global Wrong Guess Rate (WGR) was 19.1%. Given the chaotic nature of user-generated profile text, this error rate remains highly com- petitive and is mitigated by downstream curation. As shown in Table 1, performance varies by domain. Highly structured domains like Video Games (91.8% Found Coverage) outperformed softer, more sub- jective fields like Communication (81% Found Coverage), where shifting jargon and conceptual overlap complicate alignment. 6E. Jouffroy et al. 4.3 Provenance and Structural Purity To ensure explicability, we track provenance metadata across all 66,490 preferred labels. Accounting for source overlap, 80.65% of the knowledge graph is strictly anchored in factual, real-world data (comprising 67.28% empirical platform usage and 22.08% Wikidata titles). The generative engine synthesized only the remaining 19.35% to resolve emerging concepts and isolated language gaps, proving the structure is rooted in empirical reality rather than ungrounded model hallucinations. Finally, we measured structural coherence using the Outlier Rate (skills manually removed during human review vs. total generated sub-graphs). Qualitative audits revealed highly cohesive node groupings, with marginal error rates (0.01 to 0.06 outliers per sub-graph). This purity stems from the Active Curation agent, which aggressively isolates semantic noise before ingestion, successfully blocking 13.7% of rejected inputs via the NOT_A_SKILL filter (Table 2). Table 1: Baseline Reconciliation Coverage DomainAlignment Cov. Found Cov. Video Games88.1%91.8% Industrial Eng.86.0%89.9% Data & Analytics83.5%88.7% Tech / Software81.7%86.8% Marketing76.7%82.4% Communication75.4%81.0% Global Baseline79.7%84.9% Table 2: Active Curation Rejections Note: NODE_CURATION aggregates Section 3.3 criteria. Rejection Reason % of Total Rejected SCORE_REJECTED31.9% NODE_CURATION28.1% NOT_A_SKILL13.7% WIKIDATA_NOT_FOUND11.4% NOT_IN_NODE10.7% ERROR_NOT_KNOWN4.2% 5 Discussion and Future Work While this pipeline provides a structured representation of the underlying data, it represents an ini- tial step toward modeling the complexity of modern labor markets. Such structured representations are a prerequisite for building robust HR analytics systems. Looking ahead, a key objective is to iden- tify emerging skill signals in real-time, enabling downstream analysis of labor market dynamics and supporting workforce planning applications. A streamlined skill taxonomy, extracted directly from this underlying knowledge graph, is already integrated into the platformâs candidate-matching algorithms. A primary benefit of this deployment is that the graph provides an intermediate abstraction layer that significantly improves the interpretability and auditability of our automated matching systems. While relying on Wikidata as a primary anchor introduces limitations, such as a lag in capturing niche HR jargon and structural inconsistencies due to its generalist nature, our hybrid approach mitigates this. The bottom-up orphan recovery loop acts as a safety net, autonomously structuring the emerging long-tail skills that Wikidata natively misses. As the system scales, it is important to explicitly address poten- tial representational biases. Large language and embedding-based models often exhibit English-centric tendencies, which can lead to over-normalization of non-English occupational structures and a reduced fidelity of locale-specific distinctions. Our goal is to mitigate these effects by preserving meaningful cross- lingual variation in occupational and skill representations. Addressing gender-related bias is also critical. In highly inflected languages such as French and German, occupational and skill terms are often gender- marked. We aim for the underlying knowledge graph to support the seamless mapping of these gendered variants to shared underlying occupational concepts, while preserving their distinct linguistic forms for accurate representation and equitable matching. Finally, to evaluate the robustness of the system at scale, our evaluation roadmap will focus on three key areas: Extended Evaluations. While parts of our pipeline, particularly the consolidation phase, are al- ready implemented, they require further evaluation. We will benchmark the consolidated graph structure against existing standards (like ESCO) and other AI approaches (like TnT-LLM [22] or CLIMB [13]), while assessing the systemâs ability to incorporate new skills and the effectiveness of the human-in-the- loop components. Cost and Scalability. Large-scale deployment of LLM-based pipelines introduces significant computa- tional costs. We will measure token consumption, processing latency, and optimization strategies required to ensure operational scalability. Failure Analysis. To support responsible deployment, we will analyze failure cases by tracking man- ual intervention rates, categorizing systematic mapping errors, and evaluating performance degradation under high-volume concept comparison scenarios. An Agentic Hybrid Top-Down and Bottom-Up Approach to Knowledge Graph Generation7 6 Conclusion This ongoing work introduces a hybrid, multi-agent architecture designed to build skills knowledge graphs that are both rigorously structured and highly adaptable. By grounding a large language model in Wikidata, our pipeline effectively parses multilingual free-text while keeping the underlying entity data reliable and easy to audit. Through continuous curation and automated reflection, the system successfully captures the niche and emerging long-tail instances that traditional, static models often miss. Ultimately, this approach creates a living knowledge graph capable of keeping pace with the rapid technological changes and linguistic shifts of the modern freelance market. While the overarching framework operates as a rich, metadata-driven knowledge graph, its hierarchical output can be easily downstreamed as a clean, structured skills taxonomy. References 1. Aggarwal, C.C., Zhai, C.: A survey of text clustering algorithms. In: Mining text data, p. 77â128. Springer (2012) 2. Chang, J., Gerrish, S., Wang, C., Boyd-Graber, J., Blei, D.: Reading tea leaves: How humans interpret topic models. Advances in neural information processing systems 22 (2009) 3. De Smedt, J., le Vrang, M., Papantoniou, A.: Esco: Towards a semantic web for the european labor market. Ldow@ w 144 (2015) 4. Decorte, J.J., Van Hautte, J., Demeester, T., Develder, C.: Jobbert: Understanding job titles through skills. arXiv preprint arXiv:2109.09605 (2021) 5. Decorte, J.J., Van Hautte, J., Develder, C., Demeester, T.: Efficient text encoders for labor market analysis. IEEE Access (2025) 6. Gao, M., Shah, J., Wang, W., Huang, K.H., Khashabi, D.: Science hierarchography: Hierarchical organization of science literature. arXiv preprint arXiv:2504.13834 (2025) 7. Gruber, T.R.: A translation approach to portable ontology specifications. Knowledge acquisition 5(2), 199â 220 (1993) 8. Gunn, M., Park, D., Kamath, N.: Creating a fine grained entity type taxonomy using llms. arXiv preprint arXiv:2402.12557 (2024) 9. Jain, A.K.: Data clustering: 50 years beyond k-means. Pattern recognition letters 31(8), 651â666 (2010) 10. Kargupta, P., Zhang, N., Zhang, Y., Zhang, R., Mitra, P., Han, J.: Taxoadapt: Aligning llm-based multidi- mensional taxonomy construction to evolving research corpora. In: Proceedings of the 63rd Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers). p. 29834â29850 (2025) 11. Lee, D.H., Pujara, J., Sewak, M., White, R., Jauhar, S.: Making large language models better data creators. In: Proceedings of the 2023 Conference on Empirical Methods in Natural Language Processing. p. 15349â 15360 (2023) 12. Lee, D., Shen, J., Kang, S., Yoon, S., Han, J., Yu, H.: Taxocom: Topic taxonomy completion with hierarchical discovery of novel topic clusters. In: Proceedings of the ACM Web Conference 2022. p. 2819â2829 (2022) 13. Li, N., Kang, B., De Bie, T.: Building data-driven occupation taxonomies: A bottom-up multi-stage approach via semantic clustering and multi-agent collaboration. In: Proceedings of the 2025 Conference on Empirical Methods in Natural Language Processing: Industry Track. p. 1596â1614 (2025) 14. Madaan, A., Tandon, N., Gupta, P., Hallinan, S., Gao, L., Wiegreffe, S., Alon, U., Dziri, N., Prabhumoye, S., Yang, Y., et al.: Self-refine: Iterative refinement with self-feedback. Advances in neural information processing systems 36, 46534â46594 (2023) 15. Marchenko, O., Dvoichenkov, D.: Taxorankconstruct: A novel rank-based iterative approach to taxonomy construction with large language models. In: ISS@ IT&I. p. 11â27 (2024) 16. Pham, C.M., Hoyle, A., Sun, S., Resnik, P., Iyyer, M.: Topicgpt: A prompt-based topic modeling framework. In: Proceedings of the 2024 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies (Volume 1: Long Papers). p. 2956â2984 (2024) 17. Pryzant, R., Iter, D., Li, J., Lee, Y., Zhu, C., Zeng, M.: Automatic prompt optimization with âgradient descentâ and beam search. In: Proceedings of the 2023 conference on empirical methods in natural language processing. p. 7957â7968 (2023) 18. Sas, C., Capiluppi, A.: Automatic bottom-up taxonomy construction: A software application domain study. arXiv preprint arXiv:2409.15881 (2024) 19. Shen, J., Wu, Z., Lei, D., Zhang, C., Ren, X., Vanni, M.T., Sadler, B.M., Han, J.: Hiexpan: Task-guided tax- onomy construction by hierarchical tree expansion. In: Proceedings of the 24th ACM SIGKDD International Conference on Knowledge Discovery & Data Mining. p. 2180â2189 (2018) 20. Shinn, N., Cassano, F., Gopinath, A., Narasimhan, K., Yao, S.: Reflexion: Language agents with verbal reinforcement learning. Advances in neural information processing systems 36, 8634â8652 (2023) 21. VrandeÄiÄ, D., Krötzsch, M.: Wikidata: a free collaborative knowledgebase. Communications of the ACM 57(10), 78â85 (2014) 8E. Jouffroy et al. 22. Wan, M., Safavi, T., Jauhar, S.K., Kim, Y., Counts, S., Neville, J., Suri, S., Shah, C., White, R.W., Yang, L., et al.: Tnt-llm: Text mining at scale with large language models. In: Proceedings of the 30th ACM SIGKDD Conference on Knowledge Discovery and Data Mining. p. 5836â5847 (2024) 23. Wang, Z., Shang, J., Zhong, R.: Goal-driven explainable clustering via language descriptions. In: Proceedings of the 2023 Conference on Empirical Methods in Natural Language Processing. p. 10626â10649 (2023) 24. Yao, S., Yu, D., Zhao, J., Shafran, I., Griffiths, T.L., Cao, Y., Narasimhan, K.: Tree of Thoughts: Deliberate Problem Solving with Large Language Models. arXiv e-prints arXiv:2305.10601 (May 2023) 25. Zeng, Q., Bai, Y., Tan, Z., Feng, S., Liang, Z., Zhang, Z., Jiang, M.: Chain-of-layer: Iteratively prompting large language models for taxonomy induction from limited examples. In: Proceedings of the 33rd ACM International Conference on Information and Knowledge Management. p. 3093â3102 (2024) 26. Zhang, C., Tao, F., Chen, X., Shen, J., Jiang, M., Sadler, B., Vanni, M., Han, J.: Taxogen: Unsupervised topic taxonomy construction by adaptive term embedding and clustering. In: Proceedings of the 24th ACM SIGKDD international conference on knowledge discovery & data mining. p. 2701â2709 (2018) 27. Zhang, M., Jensen, K., Sonniks, S., Plank, B.: Skillspan: Hard and soft skill extraction from english job postings. In: Proceedings of the 2022 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies. p. 4962â4984 (2022) Supplementary Material To ease reproducibility while respecting the strict confidentiality of our proprietary platform data and internal infrastructure, we provide in this appendix the templates of all the prompts for all five stages of the pipeline. These prompts were executed with Gemini 1.5 Flash with temperature set to 0 and structured output defined. Because our architecture is intrinsically dataset-agnostic and anchored to public Wikidata entities, researchers can readily implement and benchmark this exact pipeline using open-source labor market datasets. A Reconciliation details This section details the initial phase of the pipeline, where noisy, unstandardized skill mentions are mapped to stable Wikidata entity identifiers (QIDs). As demonstrated in the prompt below, the model is strictly grounded using enriched platform contextâspecifically, empirical co-occurring peer skills and overarching professional categoriesâto accurately disambiguate and anchor the input while mitigating hallucinations. You are a highly precise Skill Entity Linking agent. Your mission is to analyze a freelancerâs stated expertise, determine if it qualifies as a professional skill, and link it to the most relevant Wikidata item(s) from a provided list of candidates. ### Primary Directives: 1. **Classify the Expertise**: First, determine if the input word "expertise" is a skill and whether it is a single or compound skill. 2. **Link the Skill**: If it is a skill, select the best matching Wikidata QID(s) from the candidates using the strict Selection Rules below. ### Definition of a Skill: - **What IS a skill**: Specific, learnable professional abilities. Includes technical tools, frameworks, programming languages, methodologies, and specific domains. - **What is NOT a skill**: - General personal attributes or soft skills (e.g., "Hard worker", "Motivated"). - Levels of seniority or units of time (e.g., "10 years experience", "Senior"). ### Candidate Selection Rules (CRUCIAL): Analyze the provided Wikidata candidates carefully. You must navigate the following edge cases: 1. **Direct Match Principle**: Keep ONLY QIDs that represent the expertise directly, or represent a legitimate component part of a compound expertise. 2. **The Overlap Rule (Deduplication)**: If multiple QIDs refer to the exact same concept or the same part of the expertise, **keep only the single best-matching one** and discard the rest. Do not return 3 different QIDs that all mean the same thing. 3. **The Compound / Combination Rule**: - Freelancers often type compound skills (e.g., "React.js & Node.js"). - Sometimes a skill is a combination of concepts and Wikidata is too fine-grained. - If a single QID does not cover the full signal of the expertise, you MUST select a combination of QIDs that preserves the full signal. Prefer a combination over a single partial match. 4. **The Directionality Rule**: - If the compound skill represents a directional process where the order of items strictly matters (e.g., " English to French translation", "Figma to React", "Data migration from Oracle to Postgres"), you MUST set " is_directional": true. - For standard combinations where order doesnât matter (e.g., "React and Node.js"), set it to false. 5. **MULTILINGUAL UNIFICATION RULE (Anti-Splitting)**: An Agentic Hybrid Top-Down and Bottom-Up Approach to Knowledge Graph Generation9 - Wikidata QIDs are language-agnostic concepts. Your goal is to map exact translations to the SAME primary universal QID. - If the input expertise is in a non-English language (e.g. "RĂ©seaux sociaux" in French), map it to the primary global QID for that concept (which is usually anchored by the English standard, e.g. "Social Media"). - DO NOT select a secondary, narrower QID just because its translated label is a closer literal match. Force direct translations to converge on the same central QID to avoid language siloing. 6. **CRITICAL LANGUAGE RULE (False Friends)**: - Beware of "False Friends" (Faux amis) across languages. Do not map a foreign word to an English Wikidata concept just because they are spelled similarly if the professional meaning is different. - Example: The French "RĂ©daction" means "Copywriting/Writing", it does NOT mean the English "Redaction/Censoring ". Prioritize the semantic meaning used in a freelance marketplace context. ### SPECIFICITY RULE: If a freelance skill mentions both a broad category and a specific framework (e.g., âMĂ©thode Agile Scrumâ), do NOT return multiple QIDs. You MUST return ONLY the QID of the most specific, primary concept (e.g., only the QID for â Scrumâ). Never create composite QID lists unless the skill is truly a directional mapping (like translating from one language to another). ### Step-by-Step Instructions: 1. **Analyze "expertise"**: Based on the definitions above, decide if itâs a skill. 2. **Identify Compound Skills**: If it IS a skill, determine if it is a compound skill. 3. **Evaluate Candidates**: Carefully evaluate each candidate QID using the Selection Rules above. Use all provided context (co-occurring skills, job categories, Wikidata info). 4. **Select & Score**: - Choose the best QID(s). For a compound skill, you MUST return one entry for each distinct skill identified. - For each selected QID, provide a score and a concise reasoning. ### Scoring Rubric: - **0.0**: The best matching wikidata item(s) is not really a match. It is totally irrelevant for the provided skill. - **0.4**: Moderate match. Maybe the perfect wikidata item doesnât exist or was not provided. - **0.7**: Strong match. The wikidata item captures the concept well. - **1.0**: Perfect match. No other wikidata item or concept will be better. ### Reasoning Instructions: - Your reasoning must be concise (1-2 sentences). - **Justify your decision by referencing the provided context**. ### CONTEXT FOR THE TASK ### Co-occurring skills for "expertise": co_occurrences ### Job categories for "expertise": categories ### Wikidata item candidates for "expertise": candidates Fig. 4: Semantic Reconciliation Prompt B Canonicalization details Following reconciliation, the canonicalization phase groups validated inputs by their resolved QIDs to synthesize localized, human-readable preferred labels across the five target languages. To handle the diverse complexity of the data, the system utilizes three distinct prompts depending on the entity type: single Wikidata concepts, compound concepts requiring directional logic, and completely novel orphaned skills that require synthetic identifiers. You are an expert **Multilingual Taxonomy Linguist and HR Specialist**. Your ONLY task is to analyze a single Wikidata concept and its associated raw skills to determine the best Preferred Label (âpref_labelâ) for each target language. --- ### PRIMARY DIRECTIVES 1. **Preferred Label Selection** - Prioritize the most **frequently used** label from the Malt usage counts if it is professional. - Fallback to the **Wikidata label** if the usage-based terms are ambiguous, informal, or inappropriate. - Create a **Synthetic** (new) professional label if neither accurately describes the core concept. 2. **Provenance Tracking (âsourceâ)** - For every localized label, specify its origin: - â"malt"â: based on an existing high-usage profile expertise. - â"wikidata"â: selected the official Wikidata description or language variant. 10E. Jouffroy et al. - â"gemini"â: you synthesized a brand new term yourself. --- ### INPUT DATA **Target Languages:** ", ".join(languages) **1. Associated Wikidata Concept:** wd_text **2. Skills in this Group (Use for context to understand the community usage):** malt_text_joined Fig. 5: Canonicalization Prompt - Single QID You are an expert **Multilingual Taxonomy Linguist and HR Specialist**. Your ONLY task is to analyze a combination of Wikidata concepts and the raw skills associated with them to determine the best unified Preferred Label (âpref_labelâ) and final Concept Identifier. --- ### PRIMARY DIRECTIVES 1. **Compound Label Selection** - You MUST choose a Preferred Label that is coherent with the **majority of the high-usage skills** within the cluster. - **Directionality Rule (CRITICAL):** If âIs Directional Processâ is âTrueâ in the Input Data, the order of the concepts strictly matters (e.g., a migration or translation from Concept A to Concept B). Your label MUST reflect this directional relationship (e.g., "English to French Translation" instead of "English and French"). - If âIs Directional Processâ is âFalseâ, treat it as a standard combination and look for a standard industry umbrella term (e.g., "MERN Stack"). 2. **Define Logic for the Identifier** - The Baseline Composite ID groups the provided QIDs (e.g., âqid_comboâ). - If you modify or add to this identifier, use â&â (AND) for integrated practices, and â|â (OR) for independent traits. 3. **Synthetic Identifiers** - You must exclusively use the provided Wikidata QIDs whenever possible. - However, if the majority of the skills introduce a critical, distinct concept that is NOT covered by any provided QID, you MUST invent a concise, uppercase English textual identifier and append it (e.g., âqid_combo & WEBâ or âqid_combo | ITâ). Use the exact same textual identifier across all languages for consistency. 4. **Create Preferred Labels** - Localize names for the final composite identifier (including those with synthetic textual IDs appended). Prioritize usage counts, fallback to Wikidata, or synthesize a professional HR term if needed. 5. **Provenance Tracking (âsourceâ)** - For every localized label, specify its origin: - â"malt"â: derived from an existing profile expertise. - â"wikidata"â: taken from Wikidata context. - â"gemini"â: a new synthesized composite term. --- ### FORMATTING RULES (CRITICAL) - **No Internal Quotes:** Do NOT wrap your label string values in single or double quotes. --- ### INPUT DATA **Target Languages:** ", ".join(languages) **Baseline Composite ID:** qid_combo **Is Directional Process:** is_directionaldirectional_hint **1. Associated Wikidata Concepts in this compound:** wd_text_joined **2. Skills in this Group (Use for context to determine majority coherence & missing concepts):** malt_text_joined Fig. 6: Canonicalization Prompt - Multiple QID An Agentic Hybrid Top-Down and Bottom-Up Approach to Knowledge Graph Generation11 You are a **Skill Reconciliation Specialist** for orphaned skills. These skills were REJECTED from their original clusters during curation because they were deemed not equivalent to the clusterâs core concept. Your task is to create COMPLETELY NEW concept identifiers for these orphaned skills. --- ### PRIMARY DIRECTIVES 1. **Fresh Reconciliation** - Treat each skill as a potentially NEW concept that needs its own identifier. - DO NOT assume these skills fit into their previous Wikidata QIDs. - The Wikidata context provided is from their ORIGINAL (failed) matching - use it only as reference to know what they are NOT. 2. **Synthetic ID Creation** - Create new synthetic identifiers using the format: âSYNTH_SKILL_Xâ (where X is a unique number). - If a skill genuinely matches one of the provided Wikidata QIDs, you may use it. - If a skill combines multiple concepts, use â&â notation (e.g., âSYNTH_SKILL_001 & Q12345â). - Each unique skill concept should get its own unique identifier. Group skills together if they mean the exact same thing. 3. **Preferred Label Generation** - For each NEW synthetic ID, create localized preferred labels in all target languages. - Set âsourceâ to â"gemini"â for synthesized labels. - Set âsourceâ to â"malt"â if youâre using a high-frequency Malt term. - Set âsourceâ to â"wikidata"â only if youâre reusing a Wikidata label. 4. **Skill Validation** - Set âis_skill: falseâ if the text is NOT a valid professional skill. - Use ârejection_reasonâ: âNOT_A_SKILLâ, âSEMANTIC_MISMATCHâ, or âAMBIGUOUSâ. --- ### FORMATTING RULES (CRITICAL) - **No Internal Quotes:** Do NOT wrap label values in quotes (write âData Analysisâ, NOT ââData Analysisââ). --- ### INPUT DATA **Target Languages:** ", ".join(languages) **1. Original Wikidata Context (for reference only):** wd_text_joined **2. Orphaned Skills to Reconcile:** malt_text_joined Remember: These skills failed to fit their original clusters. Create fresh, appropriate identifiers for them. Fig. 7: Canonicalization Prompt - Orphans C Curation details To maintain structural purity, an active curation agent validates the strict equivalence of every raw skill against its broader canonical grouping. As shown in the first prompt, skills that fail this check are rejected with a specific granular reason (e.g., DOMAIN_SPECIALIZATION or NOT_A_SKILL) and assigned a suggested preferred label, routing them to the âOrphanâ queue for future iteration. A secondary rewriting prompt is then applied to the surviving baseline entity to ensure the final labels are stripped of typographical noise and irrelevant job titles. You are a **Skills Cluster Reviewer** for a freelance marketplace. Your task is to analyze a list of raw skills and determine if they should be mapped to the established Preferred Names for search indexing. --- ### DIRECTIVES **MAXIMUM INCLUSION RULE:** We are building a search engine index. You must err on the side of INCLUSION (â is_equivalent: trueâ). A skill is **equivalent** if a client searching for the Preferred Name would reasonably want to hire a freelancer who wrote this raw text. 12E. Jouffroy et al. 1. **What to KEEP (âis_equivalent: trueâ, ârejection_reason: nullâ):** - **Translations (CRITICAL)**: Direct translations of the core concept in English, French, Spanish, German, or Dutch MUST be kept together in the same cluster (e.g., KEEP "Social media" or "Redes sociales" inside the "RĂ©seaux sociaux" cluster). - **Synonyms & Paraphrases**: Variations in phrasing. - **Typos & Truncations**: Misspellings or cut-off words (e.g., "photosho" for Photoshop, "indes" for InDesign). - **Proficiency Modifiers**: (e.g., "Expert in", "MaĂźtrise de", "Senior"). - **Role Modifiers & Job Titles**: (e.g., "Consultant SEO", "Freelancer", "Data Analyst", "Project Manager"). - **Versions**: (e.g., "Python 3" for "Python"). 2. **What to REMOVE (âis_equivalent: falseâ) and Categorize (ârejection_reasonâ):** - âDOMAIN_SPECIALIZATIONâ: A specific domain or industry that requires distinct technical knowledge. Even if it contains the root word, it must be rejected so it can form its own cluster. (e.g., REMOVE "Web Project Management", "IT Project Management", or "Agile Project Management" from the general "Project Management" cluster). - âNOT_A_SKILLâ: Completely unrelated to professional work (e.g., "Hard worker", "Available", "I am fast"). - âSEMANTIC_MISMATCHâ: A completely different technical or professional concept. - âAMBIGUOUSâ: Too vague to map to anything (e.g., "IT", "Consulting", "Management" - when standing alone). - âDISTINCT_TOOL_OR_LANGUAGEâ: It is a completely different software/language that deserves its own cluster (e.g ., removing "Java" from a "JavaScript" cluster). ### MULTILINGUAL HANDLING - Skills may be written in French, Spanish, German, Dutch, or English. - When comparing to Preferred Names, consider cross-language equivalence: - "Gestion de projet" (FR) = "Project Management" (EN) - "Projektmanagement" (DE) = "Project Management" (EN) - Proficiency modifiers translate across languages: - "Expert en" (FR), "Experto en" (ES), "Expert in" (EN), "Experte in" (DE) are all equivalent ### REJECTION PROTOCOL If âis_equivalentâ is FALSE, you MUST: 1. Select a ârejection_reasonâ (e.g., DOMAIN_SPECIALIZATION). 2. When rejecting a skill, you MUST provide a âsuggested_pref_labelâ. This label MUST ALWAYS be written in standard English, regardless of the language of the raw text (e.g., if the raw text is âaudit RHâ, the suggested label must be âHR Auditâ). --- ### FORMATTING RULES - You MUST evaluate EVERY skill provided in the Input Data. --- ### INPUT DATA **Preferred Names for Context:** json.dumps(pref_labels, indent=2, ensure_ascii=False) **Skills to Review:** json.dumps(skills, indent=2, ensure_ascii=False) Fig. 8: Curation Prompt You are an expert **Multilingual Taxonomy Linguist and HR Specialist**. Review and refine the current "Preferred Labels" for professional skill clusters across these languages: languages . ### DIRECTIVES Act as a local HR specialist in the country of the target language. - **Professional Context:** Ignore literal dictionary translations. Use standard CV/Job Description terms (e.g., " Consulting" instead of "Conseil" in French). - **Anglicisms:** If the English term is the dominant standard (common in Tech/Business), keep it! (e.g., "Cloud Computing" for German). - **Grammar Standard:** Use Singular Nouns or Gerunds representing the capability, not the action (e.g., " Management" instead of "To Manage"). ### PURIFICATION RULE (CRITICAL) The "Alternate Skills" list provided below contains messy search data. It includes job titles (e.g., "Consultant SEO"), seniority levels (e.g., "Expert"), and typos. **Your generated labels MUST STRIP OUT all of this noise.** Do not include words like "Consultant", "Expert", or " Freelance" in your final labels. Extract ONLY the pure, canonical underlying skill. ### INPUT DATA **Current Preferred Labels:** json.dumps(pref_labels, indent=2) **Alternate Skills in Cluster (for context):** json.dumps(alternate_skills, indent=2) An Agentic Hybrid Top-Down and Bottom-Up Approach to Knowledge Graph Generation13 Fig. 9: Rewriting Prompt D Consolidation details To ensure global structural consistency across incremental batch runs, the consolidation phase evaluates candidate pairs flagged by lightweight lexical heuristics to merge overlapping sub-graphs. The prompt below instructs the model to determine whether to merge or keep entities separate based on seman- tic overlap, multilingual equivalency, and versioning constraints, outputting a definitive decision and a surviving composite ID. You are an expert **Taxonomy Architect**. Two skill clusters have been flagged as potential duplicates. Your goal is to determine if they represent the exact same professional concept. ### DECISION CRITERIA **MERGE** if ANY of these conditions apply: - **Exact Synonyms:** "NodeJS" and "Node.js", "React" and "ReactJS" - **Typo Variants:** "Javscript" and "JavaScript", "Managment" and "Management" - **Multilingual Equivalents:** "Gestion de projet" (FR) and "Project Management" (EN) with same scope - **Notation Differences:** "C++" and "C plus plus", "C#" and "C Sharp" **KEEP_SEPARATE** if ANY of these conditions apply: - **Specialization vs General:** "Technical Project Management" vs "Project Management" (one is narrower) - **Version Requiring Different Expertise:** "Angular 1.x" vs "Angular 2+" (fundamentally different frameworks) - **Completely Different Domains:** "Java" (language) vs "JavaScript" (unrelated language) - **Methodology vs Tool:** "Agile Project Management" vs "Project Management" (one adds methodology) - **Context Specificity:** "Remote Project Management" vs "Project Management" (one adds context) ### MULTILINGUAL VALIDATION - If clusters have different primary labels but same QIDs, theyâre likely multilingual variants then **MERGE** - If clusters have similar English labels but different validated skills, theyâre likely distinct then ** KEEP_SEPARATE** ### SURVIVOR RULES If you MERGE, you must pick the best ID to keep: 1. **Official over Synthetic:** Prioritize Wikidata QIDs (e.g., Q123) over Orphan IDs (e.g., ORPHAN_ITER1_...). 2. **Lower QID Number:** If both are Wikidata QIDs, prefer the one with the lower number (older, more established broader concept). 3. **Stability:** If merging an Orphan into a QID, the QID MUST be the âsurviving_composite_idâ. ### INPUT DATA **CLUSTER A:** - ID: pair_data[âcluster_1_idâ] - Refined Labels (Filtered): cluster_1_labels - Validated Skills in this Cluster: json.dumps(pair_data[âcluster_1_skillsâ], ensure_ascii=False) **CLUSTER B:** - ID: pair_data[âcluster_2_idâ] - Refined Labels (Filtered): cluster_2_labels - Validated Skills in this Cluster: json.dumps(pair_data[âcluster_2_skillsâ], ensure_ascii=False) --- Based on the labels and skills provided, decide if these two clusters should be merged. Fig. 10: Consolidation Prompt