Linked Papers With Code: The Latest in Machine Learning as an RDF Knowledge Graph

Michael Färber, David Lamprecht

Introduction

In the rapidly evolving field of machine learning (ML), keeping track of the state-of-the-art (SOTA) is a monumental task. While platforms like Papers With Code (PWC) have become essential community resources, their underlying data structure—primarily flat JSON dumps—presents significant hurdles for large-scale analysis. These include a lack of unique persistent identities for authors, extreme structural nesting (up to 19 levels deep), and isolation from the broader Linked Open Data (LOD) ecosystem.

To address these challenges, researchers have introduced Linked Papers With Code (LPWC), a massive RDF knowledge graph that transforms ML metadata into a structured, interconnected web of nearly 8 million triples.

The LPWC Ontology and Methodology

The core of this project is a custom-engineered ontology designed to capture the nuances of ML research. The schema consists of 13 entity types and 47 relationship types, providing a formal language to describe how papers, models, tasks, and evaluations interact.

The LPWC ontology schema showing relationships between papers, models, datasets, and tasks.

Data Transformation and Disambiguation

The authors converted daily PWC JSON dumps into Resource Description Framework (RDF) format, assigning unique HTTP URIs to every entity. A critical step in this process was Author Disambiguation. To move beyond simple text strings, the team developed a two-step pipeline to link over 1.4 million author strings to SemOpenAlex, a scholarly dataset. By combining exact name matching with paper title comparisons, they successfully mapped 71% of all papers to unique author entities.

Knowledge Graph Embeddings

To make the graph machine-consumable, the authors trained several embedding models, including TransE and RotatE. These models translate the graph's complex relationships into mathematical vectors, enabling downstream applications like scientific recommender systems and link prediction.

Dataset Scale and Connectivity

As of June 2023, LPWC has grown into a significant pillar of the LOD cloud. It provides a semantic bridge between ML-specific metadata and broader scientific databases like Wikidata and DBLP.

Instance counts for major entity types in the LPWC knowledge graph.

The graph tracks over 376,000 papers and 24,000 models. By flattening the hierarchical JSON structure into a graph, researchers can now perform complex multi-step queries—such as finding all models using a specific dataset that outperformed a certain method in a given year—using a standard SPARQL endpoint.

Insights and Future Directions

LPWC represents a shift from "data on a page" to "machine-readable science." By linking to the LOD cloud, researchers can now query across platforms, combining ML performance data with geographical or funding data from Wikidata.

However, limitations remain. While paper and author linking is robust, only about 2% of datasets are currently mapped to Wikidata. Future work aims to deepen the extraction process, moving beyond metadata to facilitate large-scale content extraction, helping AI models better understand the actual findings within the text of the papers themselves.

Explore the Graph: You can try out semantic queries or explore the data at linkedpaperswithcode.com.

Summary updated

BibTeX
@inproceedings{farber2023linked,
  author = {Michael Färber and David Lamprecht},
  title = {{Linked Papers With Code: The Latest in Machine Learning as an RDF Knowledge Graph}},
  booktitle = {ISWC (Posters/Demos/Industry)},
  year = {2023},
  url = {https://openreview.net/forum?id=GWEmmOBHQg},
}
Figure