Few-Shot Guided Knowledge Graph Population with Implicit Ontology Compliance from Partially Linked Tables
Knowledge graphs (KGs) rely on structured representations of entities and relations to enable effective information access and integration. Building and populating KGs from semi-structured sources such as tables remains a challenging task, particularly due to the need to adhere to strict ontology constraints on valid entity types and relations. Large Language Models (LLMs) provide strong capabilities for understanding and generalising from text, but ensuring that their outputs conform to a target KG schema without explicitly providing the full ontology remains an open problem. In this paper, we propose WikiTabLLM, a few-shot, example-driven framework for ontology-compliant knowledge graph population. Instead of explicitly specifying ontology constraints, WikiTabLLM leverages partially linked Wikipedia tables to implicitly induce valid typing and relation patterns. Each table is partitioned into (i) rows containing entities already linked to the Wikidata knowledge graph, which serve as in-context supervision signals, and (ii) rows with unlinked entities, for which we aim to generate RDF triples for KG population. WikiTabLLM learns to infer valid properties and relations by conditioning on the structured patterns exhibited in existing triples, effectively enforcing ontology compliance through examples. We evaluate WikiTabLLM on a newly constructed dataset of Wikipedia tables and compare against Semantic Table Interpretation, relation extraction baselines, and zero-shot LLM prompting. Results show that our approach produces more accurate and schema-consistent triples (up to a 3× improvement in macro F1), demonstrating the effectiveness of leveraging in-context examples to guide ontology-constrained knowledge graph population.
- Link
- https://www.semanticscholar.org/paper/6210578957dd6d0796a128104fb7a5309faad9af
- Found by
- Semantic Scholar
- Authors
- Simon Gottschalk, Yi-Chen Zhong, S. Abdollahi, Wolfgang Nejdl
- Categories
- evaluation, dataset
- Published
- 2026-11-06
- Last seen by the radar
- 2026-11-07
- Citations
- 0
- Influential citations
- 0
- Radar score
- 40.75 / 100 (how it is scored)
- Why it scored so
- Matched: dataset, evaluat; Primary record: Semantic Scholar
- Related links
- https://doi.org/10.1145/3799682.3840636