Ontology-Guided Knowledge Graph Construction from Structured Metadata and Climate Science Publications
Organizations: Temple University
Abstract
The rapid expansion of scientific literature far outpaces the speed of manual curation, creating a fundamental bottleneck in extracting structured knowledge from scientific texts. To address this, we introduce an agentic, ontology-guided framework for knowledge graph (KG) construction. Our framework utilizes specialized agents for document understanding, information extraction, ontology conformance, and entity linking. First, an LLM extracts factual knowledge in the form of triples with explicit textual evidence from research papers. Then the triplets undergo a multistage verification process to ground the triplets in the ontology. By enforcing schema constraints and requiring evidence in the form of text fragments, we ensure the data is both semantically consistent and traceable. In an agreement study over 1,000 extracted triplets, Gemini-2.5-flash achieves Cohen's scores of 0.640--0.700 against three human annotators, matching the human--human agreement range of 0.616--0.689. We applied this framework to 2,000 scientific publications and construct a novel, ontology-grounded KG for climate science with 133,990 nodes and 755,308 relations; of the 23,327 triplets that the publications contribute after validation, 98.96% are judged correct. The pipeline code and KG is publicly available https://github.com/aayushacharya/climatekg.
Figures & tables
| Paper Interval | New Entities / Paper | Entity Novelty (%) | New Mentions / Paper | Mention Novelty (%) | Relation Novelty (%) |
|---|---|---|---|---|---|
| 1–500 | 16.89 | 61.9 | 19.88 | 43.3 | 84.4 |
| 501–1,000 | 12.31 | 43.7 | 13.98 | 26.9 | 77.0 |
| 1,001–1,500 | 10.58 | 46.1 | 12.40 | 28.9 | 77.5 |
| 1,501–2,000 | 8.81 | 40.3 | 10.10 | 24.1 | 73.1 |
| Comparison | Obs. Agreement | Cohen’s |
|---|---|---|
| Ann. 1 vs. Ann. 2 | 0.946 | 0.616 |
| Ann. 1 vs. Ann. 3 | 0.956 | 0.667 |
| Ann. 2 vs. Ann. 3 | 0.960 | 0.689 |
| Gemini vs. Ann. 1 | 0.950 | 0.640 |
| Gemini vs. Ann. 2 | 0.952 | 0.645 |
| Gemini vs. Ann. 3 | 0.962 | 0.700 |
| Stage | Input Triplets | Filtered | Output Triplets | (%) |
|---|---|---|---|---|
| Triplet and evidence extractor agent | – | – | 39,964 | 94.05 |
| Ontology conformance agent | 39,964 | 11,050 | 28,914 | 94.29 |
| Evidence validator agent | 28,914 | 1,014 | 27,900 | 94.72 |
| Validator agent | 27,900 | 4,573 | 23,327 | 98.96 |
| Stages applied | Triplets kept | (%) |
|---|---|---|
| none (extractor) | 39,964 | 94.05 |
| O | 28,914 | 94.29 |
| E | 38,386 | 94.38 |
| V | 32,436 | 98.86 |
| O+E | 27,900 | 94.72 |
| O+V | 24,172 | 98.96 |
| Statistic | Value |
|---|---|
| Scientific publications | 2,000 |
| KG nodes | 133,990 |
| from initialization | 60,707 |
| added from publications | 73,283 |
| KG relations | 755,308 |
| from initialization | 456,563 |
| Metric | KARMA | Ours |
|---|---|---|
| Lu and Wang (2025) | (after validator) | |
| Output Triplets | 3,820 | 17,141 |
| Valid | 3,525 | 16,981 |
| Invalid | 295 | 160 |
| (%) | 92.277 | 99.067 |
| Metric | ClimateIE | Ours (with |
| Pan et al. (2025a) | ClimateIE ontology) | |
| Output Triplets | 5,729 | 637 |
| Valid | 4,297 | 592 |
| Invalid | 1,432 | 45 |
| (%) | 75.004 | 92.936 |
| Entity type | Gold | Extracted | Recall (%) |
|---|---|---|---|
| Source | 797 | 774 | 97.11 |
| Experiment | 196 | 162 | 82.65 |
| Frequency | 85 | 57 | 67.06 |
| Activity | 55 | 30 | 54.55 |
| Micro avg. | 1,133 | 1,023 | 90.29 |
Appendix figures & tables11 assets
Supplementary material from the paper’s appendix.
Appendix
| String Matching Path | Embedding Similarity Path |
| Strict rigid identifiers | Semantic or contextual concepts |
| Exact name matches; standardized taxonomy terms; known domain abbreviations; official model names (e.g., CESM2); institution names. | Semantic variations of variables; context-dependent entities; geographic locations; weather phenomena descriptions; abstract research concepts. |
| Score Bin | Matched | Rejected | Total | Rate |
|---|---|---|---|---|
| 186 | 185 | 371 | 50.1% | |
| 281 | 205 | 486 | 57.8% | |
| 406 | 283 | 689 | 58.9% | |
| 287 | 232 | 519 | 55.3% | |
| 261 | 170 | 431 | 60.6% | |
| 370 | 144 | 514 | 72.0% |
| Stage | Mechanism | Cost (2,000 papers) | Ablation effect |
|---|---|---|---|
| Paper screening | Llama-3.3-70B, local | no API cost, GPU time | corpus selection, not evaluated |
| PDF parsing | olmOCR, local | no API cost, GPU time | prerequisite for evidence grounding |
| Triplet + evidence extraction | Gemini-2.5-pro, 5 calls/paper | USD 400, 2–3 h per 1,000 papers | produces 39,964 triplets at 94.05% |
| Ontology conformance (O) | deterministic set membership | no API cost, CPU seconds | w/o: 31,095 at 98.88%, 7,768 untypeable kept |
| Evidence validation (E) | deterministic fuzzy match | no API cost, CPU minutes | w/o: 24,172 at 98.96%, 845 ungrounded kept |
| Validator agent (V) | Gemini-2.5-flash, 1 call/triplet | USD 3 (27,900 calls) | w/o: 27,900 at 94.72%, points |
| Experimental setting | Threshold | Rate (%) |
|---|---|---|
| Evidence span | 80% | 7.741 |
| Evidence span | 75% | 6.793 |
| Evidence span | 70% | 6.137 |
| Evidence span without table/figure interpretations | 80% | 1.443 |
| Evidence span without table/figure interpretations | 75% | 1.035 |
| Evidence span without table/figure interpretations | 70% | 0.626 |
| Entity Type | Count | Entity Type | Count |
|---|---|---|---|
| City | 30,062 | Ensemble | 578 |
| Result | 16,207 | Experiment | 481 |
| Author | 10,437 | Source | 394 |
| EvaluationMetric | 8,430 | Venue | 373 |
| No_Country_Region | 6,965 | Country | 252 |
| PhysicalScheme | 6,568 | Forcing | 204 |
| Relation Type | Count |
| PAPER_MENTIONS | 96,100 |
| RESULT_HAS_METRIC | 35,522 |
| PAPER_HAS_RESULT | 29,879 |
| METHOD_HAS_RESULT | 29,879 |
| PAPER_HAS_KEYWORD | 22,644 |
| PAPER_AUTHORED_BY | 14,853 |
| Relation Type | Count |
| COVERS_REGION | 354,837 |
| IN_COUNTRY | 33,923 |
| PRODUCES_VARIABLE | 31,024 |
| ASSOCIATED_WITH_MEMBER | 11,903 |
| HAS_SPATIAL_RESOLUTION | 6,708 |
| APPLIES_TO_REALM | 4,031 |
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