paper-with-me

홈 › Papers

CodeGraph: Open-Taxonomy Knowledge Graph for Source Code with Wikidata Grounding

2026-09-24 · Federico Pennino, Andrea Gurioli, Stefano Zacchiroli, Maurizio Gabbrielli, Paolo Ferragina hf

Public software repositories, like GitHub and Software Heritage Archive, store billions of files, yet extracting their implicit engineering knowledge ---i.e., the algorithms they implement, the paradigms they follow, the patterns they instantiate, and the application domains they serve--- remains challenging, as current tools are constrained to syntactic and token-level analysis. We present a pipeline for building an open-taxonomy semantic annotation of source code using a code-specialised Large Language Model. The extracted entities are grounded in Wikidata through a three-stage linking procedure: a deterministic SPARQL stage handles unambiguous entities, a Deep Research Agent resolves the residual long tail, and a hierarchy-rollup stage imports the parent-of closure of each resolved Wikidata identifier. The resulting annotations are materialised as a source-code-specific open-taxonomy knowledge graph. We further introduce a calibrated quality-assurance protocol that quantifies annotation precision by combining a small human gold set with an LLM-as-a-judge filter. We applied our pipeline to the 167 million files of the Stack-Edu corpus, creating the first known large-scale open-taxonomy knowledge graph for source code. Our graph, named CodeGraph, contains approximately 158 million nodes, which include around 145 million files, about 63,000 extracted concept entities (such as algorithms, paradigms, design patterns, and application domains), and roughly 19,800 grounded Wikidata entities. Furthermore, CodeGraph features approximately 1 billion typed edges that connect files to their respective concepts, link these concepts to their grounded Wikidata identifiers, and relate them to their parent categories, covering 14 programming languages.

📄 PDF Abstract BibTeX arXiv:2609.29474

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

Source Code is a Graph, Not a Sequence: A Cross-Lingual Perspective on Code Clone Detection

2023-12-27 · Mohammed Ataaur Rahaman, Julia Ive

Source code clone detection is the task of finding code fragments that have the same or similar functionality, but may differ in syntax or structure. This task is important for software maintenance, reuse, and quality as…

Clone Detection

CodeGraph: Enhancing Graph Reasoning of LLMs with Code

2024-08-25 · Qiaolong Cai, Zhaowei Wang, Shizhe Diao, James Kwok 외

With the increasing popularity of large language models (LLMs), reasoning on basic graph algorithm problems is an essential intermediate step in assessing their abilities to process and infer complex graph reasoning task…

CodeGraphVLP: Code-as-Planner Meets Semantic-Graph State for Non-Markovian Vision-Language-Action Models

2026-04-24 · Khoa Vo, Sieu Tran, Taisei Hanyu, Yuki Ikebe 외 arxiv

Vision-Language-Action (VLA) models promise generalist robot manipulation, but are typically trained and deployed as short-horizon policies that assume the latest observation is sufficient for action reasoning. This assu…

Robot ManipulationVisual Grounding

On the Problem of Consistent Anomalies in Zero-Shot Anomaly Detection

2025-12-02 · Tai Le-Gia arxiv

Zero-shot anomaly classification and segmentation (AC/AS) aim to detect anomalous samples and regions without any training data, a capability increasingly crucial in industrial inspection and medical imaging. This disser…

Anomaly Classification3D Anomaly DetectionCommunity Detection

Multiple Knowledge GraphDB (MKGDB)

2020-05-01 · LREC 2020 5 · Stefano Faralli, Paola Velardi, Farid Yusifli

We present MKGDB, a large-scale graph database created as a combination of multiple taxonomy backbones extracted from 5 existing knowledge graphs, namely: ConceptNet, DBpedia, WebIsAGraph, WordNet and the Wikipedia categ…

ClusteringKnowledge Graphs