DBAIOct 22, 2021

Creating Knowledge Graphs Subsets using Shape Expressions

arXiv:2110.11709v36 citations
Originality Incremental advance
AI Analysis

This work addresses the scalability issue in knowledge graph applications for data engineers and researchers, offering incremental improvements in subset generation methods.

The paper tackles the problem of creating manageable subsets from large knowledge graphs by proposing a formal model for three types of knowledge graphs and extending Shape Expressions (ShEx) to describe and validate property and wikibase graphs, with a novel Pregel-based validation algorithm implemented on Apache Spark GraphX to handle big data.

The initial adoption of knowledge graphs by Google and later by big companies has increased their adoption and popularity. In this paper we present a formal model for three different types of knowledge graphs which we call RDF-based graphs, property graphs and wikibase graphs. In order to increase the quality of Knowledge Graphs, several approaches have appeared to describe and validate their contents. Shape Expressions (ShEx) has been proposed as concise language for RDF validation. We give a brief introduction to ShEx and present two extensions that can also be used to describe and validate property graphs (PShEx) and wikibase graphs (WShEx). One problem of knowledge graphs is the large amount of data they contain, which jeopardizes their practical application. In order to palliate this problem, one approach is to create subsets of those knowledge graphs for some domains. We propose the following approaches to generate those subsets: Entity-matching, simple matching, ShEx matching, ShEx plus Slurp and ShEx plus Pregel which are based on declaratively defining the subsets by either matching some content or by Shape Expressions. The last approach is based on a novel validation algorithm for ShEx based on the Pregel algorithm that can handle big data graphs and has been implemented on Apache Spark GraphX.

Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes