Triplifying Equivalence Set Graphs

Luigi Asprino, Wouter Beek, Paolo Ciancarini, Frank van Harmelen, Valentina Presutti

Introduction

In the Semantic Web, reasoning is the fundamental process of uncovering implicit facts from explicit data. For instance, if a dataset defines Human as a subclass of Mammal and identifies Socrates as a Human, a reasoner can deduce that Socrates is also a Mammal. This process, known as calculating the deductive closure, is essential for full data integration and discovery.

However, the sheer scale of modern Knowledge Graphs, such as those in the Linked Open Data (LOD) cloud containing billions of facts, presents a significant computational challenge. Calculating deductive closures at this scale typically requires high-performance computing (HPC) clusters, making such analysis effectively inaccessible to researchers working on standard commodity hardware. This paper addresses this gap by introducing a method to represent and query massive semantic hierarchies using a compact data structure called an Equivalence Set Graph (ESG).

The Equivalence Set Graph (ESG) Framework

An ESG is a formal structure that groups equivalent terms into "equivalence sets" (nodes) and connects them via "specialization relations" (edges). This approach drastically reduces the complexity of hierarchical data by collapsing redundant information. Instead of storing every individual rdfs:subClassOf relationship between millions of terms, the ESG represents these relationships between sets of equivalent concepts.

Comparison between a standard RDF Knowledge Graph (a) and its corresponding Equivalence Set Graph (b).

As shown in Figure 2, the ESG simplifies the original RDF graph by merging nodes that are logically equivalent (e.g., dbo:Person, dul:Person, and foaf:Person) into a single representative node. This compactness is the key to performing large-scale reasoning efficiently.

Triplification and the esgs: Ontology

The primary contribution of this work is the "triplification" of ESGs—converting these compact structures into a standard RDF format. This process involves three main components:

  1. The esgs: Ontology: A dedicated set of RDF classes and properties designed to model the ESG structure. Key elements include esgs:Node, which represents an equivalence set, and esgs:specializes, which denotes a hierarchical relationship between nodes.
  2. SWRL Rules: Semantic Web Rule Language rules are provided to materialize the facts entailed by an ESG. These rules allow systems to "unpack" the compact graph to identify all equivalent or specialized entities.
  3. Transformation Procedure: A systematic method for converting raw node and edge maps into a queryable RDF dataset.
The esgs: ontology schema for triplifying Equivalence Set Graphs.

By representing the ESG using the ontology shown in Figure 4, the authors move the data structure from a custom format into the open RDF ecosystem. This enables any standard triple store or SPARQL engine to interact with the ESG, effectively allowing "reasoning without a live reasoner" by querying pre-computed hierarchies.

Implementation and Results

The authors demonstrated their approach using the LOD-a-lot dataset, a massive single-file dump of the LOD cloud. From this, they derived and triplified two specific ESG datasets: one focusing on class hierarchies and another on property hierarchies.

The framework's primary success lies in its hardware accessibility. The authors successfully demonstrated that complex analyses of the entire LOD cloud can be performed on "commodity hardware such as regular laptops." Beyond accessibility, the triplified ESG offers significant practical utility for interoperability and rapid statistical analysis, such as determining the total number of unique concepts defined across multiple graphs.

Conclusion and Future Work

While the current framework effectively handles equivalence and specialization, it is currently limited in its scope of logical relations. Future work aims to extend the ontology to support more complex properties, such as disjointness or property chains. Despite these limitations, triplifying ESGs represents a significant step toward making large-scale semantic reasoning a standard tool for the broader research community.

Summary updated

BibTeX
@inproceedings{asprino2019triplifying,
  author = {Luigi Asprino and Wouter Beek and Paolo Ciancarini and Frank van Harmelen and Valentina Presutti},
  title = {{Triplifying Equivalence Set Graphs}},
  booktitle = {ISWC (Satellites)},
  year = {2019},
}
Figure