Javascript must be enabled to continue!
Learning SHACL shapes from knowledge graphs
View through CrossRef
Knowledge Graphs (KGs) have proliferated on the Web since the introduction of knowledge panels to Google search in 2012. KGs are large data-first graph databases with weak inference rules and weakly-constraining data schemes. SHACL, the Shapes Constraint Language, is a W3C recommendation for expressing constraints on graph data as shapes. SHACL shapes serve to validate a KG, to underpin manual KG editing tasks, and to offer insight into KG structure. Often in practice, large KGs have no available shape constraints and so cannot obtain these benefits for ongoing maintenance and extension. We introduce Inverse Open Path (IOP) rules, a predicate logic formalism which presents specific shapes in the form of paths over connected entities that are present in a KG. IOP rules express simple shape patterns that can be augmented with minimum cardinality constraints and also used as a building block for more complex shapes, such as trees and other rule patterns. We define formal quality measures for IOP rules and propose a novel method to learn high-quality rules from KGs. We show how to build high-quality tree shapes from the IOP rules. Our learning method, SHACLearner, is adapted from a state-of-the-art embedding-based open path rule learner (Oprl). We evaluate SHACLearner on some real-world massive KGs, including YAGO2s (4M facts), DBpedia 3.8 (11M facts), and Wikidata (8M facts). The experiments show that our SHACLearner can effectively learn informative and intuitive shapes from massive KGs. The shapes are diverse in structural features such as depth and width, and also in quality measures that indicate confidence and generality.
SAGE Publications
Title: Learning SHACL shapes from knowledge graphs
Description:
Knowledge Graphs (KGs) have proliferated on the Web since the introduction of knowledge panels to Google search in 2012.
KGs are large data-first graph databases with weak inference rules and weakly-constraining data schemes.
SHACL, the Shapes Constraint Language, is a W3C recommendation for expressing constraints on graph data as shapes.
SHACL shapes serve to validate a KG, to underpin manual KG editing tasks, and to offer insight into KG structure.
Often in practice, large KGs have no available shape constraints and so cannot obtain these benefits for ongoing maintenance and extension.
We introduce Inverse Open Path (IOP) rules, a predicate logic formalism which presents specific shapes in the form of paths over connected entities that are present in a KG.
IOP rules express simple shape patterns that can be augmented with minimum cardinality constraints and also used as a building block for more complex shapes, such as trees and other rule patterns.
We define formal quality measures for IOP rules and propose a novel method to learn high-quality rules from KGs.
We show how to build high-quality tree shapes from the IOP rules.
Our learning method, SHACLearner, is adapted from a state-of-the-art embedding-based open path rule learner (Oprl).
We evaluate SHACLearner on some real-world massive KGs, including YAGO2s (4M facts), DBpedia 3.
8 (11M facts), and Wikidata (8M facts).
The experiments show that our SHACLearner can effectively learn informative and intuitive shapes from massive KGs.
The shapes are diverse in structural features such as depth and width, and also in quality measures that indicate confidence and generality.
Related Results
Computing the Energy of Certain Graphs based on Vertex Status
Computing the Energy of Certain Graphs based on Vertex Status
Background:
The concept of Hückel molecular orbital theory is used to compute the graph energy numerically and graphically on the base of the status of a vertex.
Objective:
Our a...
A Systematic Review on Knowledge Graphs Classification and Their Various Usages
A Systematic Review on Knowledge Graphs Classification and Their Various Usages
A Knowledge Graph is a directive graph where the nodes state the entities and the edges describe the relationships between the entities of data. It is also referred to as a Semanti...
Twilight graphs
Twilight graphs
AbstractThis paper deals primarily with countable, simple, connected graphs and the following two conditions which are trivially satisfied if the graphs are finite:(a) there is an ...
Eigenspectral Analysis of Pendant Vertex- and Pendant Edge-Weighted Graphs of Linear Chains, Cycles, and Stars
Eigenspectral Analysis of Pendant Vertex- and Pendant Edge-Weighted Graphs of Linear Chains, Cycles, and Stars
Abstract
Three classes of pendent vertex- and pendant edge-weighted graphs of linear chains (class I), stars (class II), and cycles (class III) have been presented. ...
Initial Experience with Pediatrics Online Learning for Nonclinical Medical Students During the COVID-19 Pandemic
Initial Experience with Pediatrics Online Learning for Nonclinical Medical Students During the COVID-19 Pandemic
Abstract
Background: To minimize the risk of infection during the COVID-19 pandemic, the learning mode of universities in China has been adjusted, and the online learning o...
KNOWLEDGE IN PRACTICE
KNOWLEDGE IN PRACTICE
Knowledge is an understanding of someone or something, such as facts, information, descriptions or skills, which is acquired by individuals through education, learning, experience ...
A Symmetry Analysis Method for Teaching Knowledge Graph Evolution Driven by Directed Attributed Graphs
A Symmetry Analysis Method for Teaching Knowledge Graph Evolution Driven by Directed Attributed Graphs
Entity symmetry in teaching knowledge graphs is a characteristic of knowledge semantic expression and association, which plays a crucial role in the composition of knowledge struct...
On Tuza's conjecture in even co-chain graphs
On Tuza's conjecture in even co-chain graphs
In 1981, Tuza conjectured that the cardinality of a minimum set of edges that intersects every triangle of a graph is at most twice the cardinality of a maximum set of edge-disjoin...

