# Knowledge-based question answering using graph neural networks and contextual language representations

**Authors:** Mohamed Samir, Naglaa Fathy, Walaa Gad

PMC · DOI: 10.1038/s41598-025-33854-2 · 2026-01-20

## TL;DR

This paper presents a new question answering system that combines knowledge graphs and language models to improve commonsense reasoning.

## Contribution

The novel framework integrates ConceptNet with BERT using GATv2 for structured reasoning in QA.

## Key findings

- The system achieves 82.3% accuracy on CommonsenseQA and 86.21% on OpenBookQA.
- Combining knowledge graphs with language models improves performance in commonsense QA tasks.

## Abstract

This work introduces a novel question answering (QA) framework that integrates commonsense knowledge from ConceptNet with deep contextual embeddings from BERT using a graph neural network for structured reasoning. For each question–answer pair, the system constructs a relevant subgraph from ConceptNet, which is then processed using Graph Attention Network v2 (GATv2) to capture semantic relationships among concepts. In parallel, BERT encodes the question–answer pair to provide contextual language representations. These two representations are fused into a joint embedding that combines structured knowledge with unstructured text understanding, enabling richer inference. Evaluations on the CommonsenseQA and OpenBookQA datasets show accuracy improvements of 82.3% and 86.21%, respectively, surpassing existing leading methods. These results highlight the effectiveness of combining knowledge graphs with language models for complex QA tasks requiring commonsense reasoning.

## Full-text entities

- **Genes:** F3 (coagulation factor III, tissue factor) [NCBI Gene 2152] {aka CD142, TF, TFA}, NINL (ninein like) [NCBI Gene 22981] {aka NLP}, TTC41P (tetratricopeptide repeat domain 41, pseudogene) [NCBI Gene 253724] {aka GNN, GNNP}
- **Diseases:** CLS (MESH:D038921)
- **Chemicals:** BERT (-)
- **Species:** Homo sapiens (human, species) [taxon 9606]

## Figures

5 figures with captions in the complete paper: https://tomesphere.com/paper/PMC12824272/full.md

---
Source: https://tomesphere.com/paper/PMC12824272