ABSTRACT
We demonstrate SHACTOR, a system for extracting and analyzing validating shapes from very large Knowledge Graphs (KGs). Shapes represent a specific form of data patterns, akin to schemas for entities. Standard shape extraction approaches are likely to produce thousands of shapes, and some of those represent spurious constraints extracted due to the presence of erroneous data in the KG. Given a KG having tens of millions of triples and thousands of classes, SHACTOR parses the KG using our efficient and scalable shapes extraction algorithm and outputs SHACL shapes constraints. The extracted shapes are further annotated with statistical information regarding their support in the graph, which allows to identify both erroneous and missing triples in the KG. Hence, SHACTOR can be used to extract, analyze, and clean shape constraints from very large KGs. Furthermore, it enables the user to also find and correct errors by automatically generating SPARQL queries over the graph to retrieve nodes and facts that are the source of the spurious shapes and to intervene by amending the data.
Supplemental Material
- WWW Consortium. 2014. RDF 1.1. https://w3.org/RDF/.Google Scholar
- D. Fernandez-Álvarez, J. Emilio Labra-Gayo, and D. Gayo-Avello. 2022. Automatic extraction of shapes using sheXer. KBS, Vol. 238 (2022), 107975.Google ScholarDigital Library
- A. Keely. 2022. SHACLGEN. https://pypi.org/project/shaclgen/.Google Scholar
- Holger Knublauch and Dimitris Kontokostas. 2017. Shapes constraint language (SHACL). W3C Candidate Recommendation, Vol. 11, 8 (2017).Google Scholar
- N. Noy, Y. Gao, A. Jain, A. Narayanan, Alan Patterson, and Jamie Taylor. 2019. Industry-scale knowledge graphs: lessons and challenges. ACM, Vol. 62, 8 (2019), 36--43.Google ScholarDigital Library
- E. Prud'hommeaux, J. Emilio Labra Gayo, and H. R. Solbrig. 2014. Shape expressions: an RDF validation and transformation language. In ICSS. 32--40.Google Scholar
- K. Rabbani, M. Lissandrini, and K. Hose. 2022. SHACL and ShEx in the Wild: A Community Survey on Validating Shapes Generation and Adoption. In TheWebConf-2022. 260--263.Google Scholar
- K. Rabbani, M. Lissandrini, and K. Hose. 2023. Extraction of Validating Shapes from very large Knowledge Graphs. PVLDB, Vol. 16, 5 (2023), 1023--1032.Google ScholarDigital Library
- J. Sequeda and O. Lassila. 2021. Designing and Building Enterprise Knowledge Graphs. Synthesis Lectures on Data, Semantics, and Knowledge, Vol. 11, 1 (2021), 1--165.Google ScholarCross Ref
Index Terms
- SHACTOR: Improving the Quality of Large-Scale Knowledge Graphs with Validating Shapes
Recommendations
SHACL and ShEx in the Wild: A Community Survey on Validating Shapes Generation and Adoption
WWW '22: Companion Proceedings of the Web Conference 2022Knowledge Graphs (KGs) are widely used to represent heterogeneous domain knowledge on the Web and within organizations. Various methods exist to manage KGs and ensure the quality of their data. Among these, the Shapes Constraint Language (SHACL) and ...
Extraction of Validating Shapes from Very Large Knowledge Graphs
Knowledge Graphs (KGs) represent heterogeneous domain knowledge on the Web and within organizations. There exist shapes constraint languages to define validating shapes to ensure the quality of the data in KGs. Existing techniques to extract validating ...
Automatic extraction of shapes using sheXer
AbstractThere is an increasing number of projects based on Knowledge Graphs and SPARQL endpoints. These SPARQL endpoints are later queried by final users or used to feed many different kinds of applications. Shape languages, such as ShEx and ...
Comments