OntoKG: Ontology-Oriented Knowledge Graph Construction with Intrinsic-Relational Routing
Abstract
Organizing a large-scale knowledge graph into a typed property graph requires structural decisions -- which entities become nodes, which properties become edges, and what schema governs these choices. Existing approaches embed these decisions in pipeline code or extract relations ad hoc, producing schemas that are tightly coupled to their construction process and difficult to reuse for downstream ontology-level tasks. We present an ontology-oriented approach in which the schema is designed from the outset for ontology analysis, entity disambiguation, domain customization, and LLM-guided extraction -- not merely as a byproduct of graph building. The core mechanism is intrinsic-relational routing, which classifies every property as either intrinsic or relational and routes it to the corresponding schema module. This routing produces a declarative schema that is portable across storage backends and independently reusable. We instantiate the approach on the January 2026 Wikidata dump. A rule-based cleaning stage identifies a 34.6M-entity core set from the full dump, followed by iterative intrinsic-relational routing that assigns each property to one of 94 modules organized into 8 categories. With tool-augmented LLM support and human review, the schema reaches 93.3% category coverage and 98.0% module assignment among classified entities. Exporting this schema yields a property graph with 34.0M nodes and 61.2M edges across 38 relationship types. We validate the ontology-oriented claim through five applications that consume the schema independently of the construction pipeline: ontology structure analysis, benchmark annotation auditing, entity disambiguation, domain customization, and LLM-guided extraction.
Figures & tables
| Type | Module | Property | Sample Values |
| core | P571 inception | 1976-04-01 | |
| P856 official website | https://apple.com/ | ||
| Intrinsic | corporation | P1128 employees | 164,000; 154,000; 147,000; … |
| P1056 products | Apple Watch, iPad, iPhone, … | ||
| Relational | affiliation | P112 founded by | Steve Wozniak, Ronald Wayne, Steve Jobs |
| P127 owned by | Vanguard Group, Berkshire Hathaway, BlackRock |
| Scenario | Count | Interpretation |
|---|---|---|
| All three agree | 4,840 | Consensus |
| AIDA wrong, Clean + Ours agree | 180 | AIDA error confirmed |
| Clean wrong, AIDA + Ours agree | 23 | CleanCoNLL error confirmed |
| All three disagree | 4 | Different error modes |
| Both NER differ from ontology | 84 | Linking errors or boundary cases |
| Unclassified (no gate match) | 298 | Cannot evaluate |
| Group | Candidates | Mentions | YAGO | Module-Based (Our Approach) |
|---|---|---|---|---|
| 1 | 10,284 | 91.2% | 91.6% | |
| 2 | 5–9 | 1,666 | 84.4% | 85.4% |
| 3 | 10–19 | 348 | 82.5% | 82.8% |
| 4 | 25 | 68.0% | 76.0% | |
| Macro Avg | – | 81.5% | 83.9% |
| Entity | Category | Tags |
|---|---|---|
| Mercury | Product | brand, vehicle, transportation |
| Ford Motor Company | Organization | corporation, transportation |
| Edsel Ford | Person | creativity |
| Lincoln-Mercury Division | Organization | affiliation, corporation |
Appendix figures & tables1 asset
Supplementary material from the paper’s appendix.
Appendix
| Facet | Domain | Occupations |
|---|---|---|
| natural_science | Life sciences, taxonomy, ecology | 22 |
| humanities | History, philosophy, languages, archaeology | 16 |
| teaching | Pedagogy at all levels | 13 |
| engineering | Applied sciences, computing | 11 |
| physical_science | Physics, chemistry, earth sciences, math | 9 |
| social_science | Economics, sociology, psychology | 6 |
KG Construction
Knowledge graph construction turns text, tables, images, and databases into structured entities and relationships that machines can query and reason over.
See all 195 papers