Benchmarking Knowledge Graphs on the Web

Michael Röder, Mohamed Ahmed Sherif, Muhammad Saleem, Felix Conrads, Axel-Cyrille Ngonga NgomoarXiv 2020

TL;DR

This paper provides a comprehensive survey of benchmarking methodologies for Knowledge Graphs (KGs) across the entire Linked Data lifecycle. By mapping existing tools and datasets to specific stages—from extraction and interlinking to storage and quality analysis—the authors highlight how standardized benchmarks drive technical progress while identifying critical gaps in current scalability testing and synthetic data diversity.

What Problem Does This Paper Address?

As Knowledge Graphs become foundational for explainable artificial intelligence (XAI), the community faces a major hurdle: how do we fairly compare the systems that build and manage them? Historically, in fields like database management, benchmarks like TPC have been the primary engine for innovation, leading to massive algorithmic improvements (roughly 15% per year) independent of hardware advances.

However, the KG ecosystem is fragmented. Systems for extracting data from text, linking entities across databases, and querying massive RDF (Resource Description Framework) stores all use different metrics and datasets. The authors tackle this by providing a unified overview of benchmarks, helping researchers understand which tools are available for each stage of the "Linked Data lifecycle."

The Linked Data lifecycle (Auer and Lehmann, 2010; Ngomo et al., 2014).

Methods

The authors categorize benchmarks based on a standard 8-step Linked Data lifecycle. For each step, they define what constitutes a benchmark: a definition of functionality, a set of tasks (input/output pairs), background data, and specific metrics.

Key technical areas explored include:

  • Extraction Matching: How to handle "near misses" in entity recognition using strong vs. weak annotation matching.
  • URI Matching: A workflow to handle the "same-as" problem, where different URIs (like a Wikipedia URL vs. a DBpedia URI) refer to the same real-world entity.
  • SPARQL Diversity Analysis: A method to measure how "diverse" a query benchmark is by counting the variety of SPARQL features (like FILTER, UNION, or OPTIONAL) it utilizes.
  • Benchmarking Platforms: An overview of holistic platforms like GERBIL (for extraction and QA), Iguana (for triplestore stress testing), and HOBBIT (a Docker-based platform for big data benchmarking).

Datasets

The paper catalogs a vast array of datasets across different tasks:

  • Extraction: Includes classics like ACE2004 and AIDA/CoNLL, alongside newer tweet-based sets like Microposts2016.
  • Storage & Querying: Compares synthetic generators (WatDiv, BSBM) against real-world query logs (FEASIBLE, DBPSB).
  • Fact Validation: FactBench, which includes 1,500 true facts and 1,500 false facts designed to trip up validation systems.
  • Versioning: The BEAR dataset, which tracks 58 versions of a real-world knowledge base to test how systems handle data evolution.
Table 2: Example benchmarks for knowledge extraction (R¨oder et al., 2018). Collections of datasets, e.g., for a single challenge, have been grouped together.

Key Insights and Ideas

  • The "Moore's Law" of Benchmarking: The authors point to the TPC benchmarks as proof that standardized testing can force an order-of-magnitude improvement in software performance over a decade.
  • The Synthetic Data Trap: Synthetic datasets are often "too perfect." They tend to be highly structured but lack "relationship specialty"—the skewed, power-law distributions of connections found in real-world data. This makes them poor predictors of how a system will perform on messy, real-world KGs.
  • The SPARQL Gap: Many popular synthetic benchmarks for triplestores completely miss important SPARQL clauses like DISTINCT or LIMIT. The authors found that the FEASIBLE framework, which builds benchmarks from real user logs, produces much more diverse and realistic tests.
  • The Evolution Problem: A major challenge in KG benchmarking is that the underlying Knowledge Bases (like DBpedia) change. A "gold standard" dataset created in 2014 might contain URIs that no longer exist in 2024, leading to unfair performance penalties for modern systems.

Key Results

  • Database Performance: Figure 1 illustrates the dramatic 37% annual decline in price-per-transaction for TPC-A and TPC-C benchmarks, underscoring the power of standardized evaluation.
  • Triplestore Analysis: The study identified the top five SPARQL features that most impact query execution time: the number of projection variables, join vertices, triple patterns, result sizes, and join vertex degree.
  • Correlation Findings: There is a moderate inverse relationship (-0.5) between a dataset's "structuredness" and its "relationship specialty." Highly structured synthetic data fails to capture the unique predicate distributions that define real-world graphs.
Figure 1: Price/performance trend lines for TPC-A and TPC-C. The 15-year trend lines track Moore’s Law (100x per 10 years) (Gray and Levine, 2005).

Limitations and Future Work

  • Scalability Gaps: Most manually annotated datasets for information extraction are small. The authors note a desperate need for larger, automatically generated but high-quality datasets to test how systems scale to billions of triples.
  • Manual Revision: Currently, there are no automatic benchmarks for the "Manual Revision & Authoring" step of the lifecycle, as it relies heavily on human-in-the-loop interaction.
  • XAI Integration: While KGs are vital for explainable AI, current benchmarks don't yet measure a system's ability to provide explanations. Future work should adapt these benchmarks to evaluate the interpretability of KG-based reasoning.

Summary updated

BibTeX
@misc{roder2020benchmarking,
  author = {Michael Röder and Mohamed Ahmed Sherif and Muhammad Saleem and Felix Conrads and Axel-Cyrille Ngonga Ngomo},
  title = {{Benchmarking Knowledge Graphs on the Web}},
  year = {2020},
  eprint = {2002.06039},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2002.06039},
}
Figure