Browse > Article
http://dx.doi.org/10.9708/jksci.2020.25.08.009

Automatic Construction of SHACL Schemas for RDF Knowledge Graphs Generated by R2RML Mappings  

Choi, Ji-Woong (School of Computer Science and Engineering, Soongsil University)
Abstract
With the proliferation of RDF knowledge graphs(KGs), there arose a need of a standardized schema representation of the graph model for effective data interchangeability and interoperability. The need resulted in the development of SHACL specification to describe and validate RDF graph's structure by W3C. Relational databases(RDBs) are one of major sources for acquiring structured knowledge. The standard for automatic generation of RDF KGs from RDBs is R2RML, which is also developed by W3C. Since R2RML is designed to generate only RDF data graphs from RDBs, additional manual tasks are required to create the schemas for the graphs. In this paper we propose an approach to automatically generate SHACL schemas for RDF KGs populated by R2RML mappings. The key of our approach is that the SHACL shemas are built only from R2RML documents. We describe an implementation of our appraoch. Then, we show the validity of our approach with R2RML test cases designed by W3C.
Keywords
Knowledge graph; RDF; SHACL; R2RML; RDF validation;
Citations & Related Records
연도 인용수 순위
  • Reference
1 P. Ristoski and H. Paulheim, "RDF2Vec: RDF Graph Embeddings for Data Mining," Proceedings of The 15th International Semantic Web Conference, pp. 498-514, Kobe, Japan, September 2016. DOI:10.1007/978-3-319-46523-4_30
2 M. Cochez, P. Ristoski, S. P. Ponzetto and H. Paulheim, "Global RDF vector space embeddings," Proceedings of The 16th International Semantic Web Conference, pp. 190-207, Vienna, Austria, October 2017. DOI: 10.1007/978-3-319-68288-4_12
3 V. Bellini, A. Schiavone, T. D. Noia, A. Ragone, and E. D. Sciascio, "Knowledge-aware Autoencoders for Explainable Recommender Systems," Proceedings of the 3rd Workshop on Deep Learning for Recommender Systems, pp. 24-31, Vancouver, Canada, October 2018. DOI: 10.1145/3270323.3270327
4 S. Vakulenko, J. D. F. Garcia, A. Polleres, M. d. Rijke, and M. Cochez, "Message Passing for Complex Question Answering over Knowledge Graphs," Proceedings of the 28th ACM International Conference on Information and Knowledge Management, pp. 1431-1440, Beijing, China, November 2019. DOI: 10.1145/3357384.3358026
5 N. Mihindukulasooriya, M. R. A. Rashid, G. Rizzo, R. Garcia-Castro, O. Corcho and M. Torchiano, "RDF shape induction using knowledge base profiling," Proceedings of the 33rd Annual ACM Symposium on Applied Computing, pp. 1952 -1959, Pau, France, April 2018. DOI: 10.1145/3167132.3167341
6 L. Gonzalez and A. Hogan, "Modelling Dynamics in Semantic Web Knowledge Graphs with Formal Concept Analysis," Proceedings of the 2018 World Wide Web Conference, pp. 1175- 1184, Lyon, France, April 2018. DOI: 10.1145/3178876.3186016
7 H. Knublauch and D. Kontokostas, "Shapes Constraint Language (SHACL)," https://www.w3.org/TR/shacl/
8 S. Das, S. Sundara and R. Cyganiak, "R2RML: RDB to RDF Mapping Language," https://www.w3.org/TR/r2rml/
9 B. Spahiu, A. Maurino and M. Palmonari, "Towards Improving the Quality of Knowledge Graphs with Data-driven Ontology Patterns and SHACL," Proceedings of the 9th Workshop on Ontology Design and Patterns co-located with 17th International Semantic Web Conference, pp. 52-66, Monterey USA, October 2018. DOI: 10.3233/978-1-61499-894-5-103
10 O. Corcho, F. Priyatna and D. Chaves-Fraga, "Towards a New Generation of Ontology Based Data Access," Semantic Web, Vol. 11, No. 1, pp. 153-160, January 2020. DOI: 10.3233/SW-190384   DOI
11 D. Tarasowa, C. Lange and S. Auer, "Measuring the Quality of Relational-to-RDF Mappings," Proceedings of the 6th International Conference on Knowledge Engineering and the Semantic Web, pp. 210-224, Moscow, Russia, October 2015. DOI: 10.1007/978-3-319-24543-0_16
12 I. Boneva, J. Dusart, D. Fernandez-Alvarez and J. E. L. Gayo, "Shape Designer for ShEx and SHACL constraints," Proceedings of the 18th International Semantic Web Conference, pp. 269-272, Auckland, New Zealand, October 2019.
13 F. J. Ekaputra and X. Lin, "SHACL4P: SHACL constraints validation within Protege ontology editor," Proceedings of 2016 International Conference on Data and Software Engineering, pp. 1-6, Denpasar, Indonesia, October 2016. DOI: 10.1109/ICODSE.2016.7936162
14 Q. Xu, X. Wang, J. Li, Q. Zhang and L. Chai, "Distributed Subgraph Matching on Big Knowledge Graphs Using Pregel," IEEE Access, Vol. 7, pp. 116453-116464, August 2019. DOI:10.1109/ACCESS.2019.2936465   DOI
15 G. C. Publio, "SHARK: A Test-Driven Framework for Design and Evolution of Ontologies," Proceedings of the 15th Extended Semantic Web Conference, pp. 314-324, Heraklion, Greece, August 2018. DOI: 10.1007/978-3-319-98192-5_50
16 I. Boneva, J. M. L. Aparicio and S. Staworko, "ShERML: Mapping Relational Data to RDF," Proceedings of the 18th International Semantic Web Conference, pp. 213-216, Auckland, New Zealand, October 2019.
17 D. Beckett, T. Berners-Lee, E. Prud'hommeaux and G. Carothers, "RDF 1.1 Turtle," https://www.w3.org/TR/turtle/
18 B. Villazon-Terrazas and M. Hausenblas, "R2RML and Direct Mapping Test Cases," https://www.w3.org/TR/rdb2rdf-test-cases/
19 J. E. L. Gayo, H. Knublauch and D. Kontokostas, "SHACL Test Suite and Implementation Report," https://w3c.github.io/data-shapes/data-shapes-test-suite/
20 H. Paulheim, "Knowledge graph refinement: A survey of approaches and evaluation methods," Semantic Web, Vol. 8, No. 3, pp. 489-508, December 2017. DOI: 10.3233/SW-160218   DOI
21 D. Vrandecic and M. Krotzsch, "Wikidata: A free collaborative knowledgebase," Commun. ACM, Vol. 57, No. 10, pp. 78-85, September 2014. DOI: 10.1145/2629489   DOI
22 M. Y. Jaradeh, A. Oelen, K. E. Farfar, M. Prinz, J. D'Souza, G. Kismihok, M. Stocker, and S. Auer, "Open Research Knowledge Graph: Next Generation Infrastructure for Semantic Scholarly Knowledge," Proceedings of the 10th International Conference on Knowledge Capture, pp. 243-246, Marina Del Ray, USA, September 2019. DOI: 10.1145/3360901.3364435
23 T. Liebig, A. Maisenbacher, M. Opitz, J. R. Seyler, G. Sudra and J. Wissmann, "Building a Knowledge Graph for Products and Solutions in the Automation Industry," Knowledge Graph Building Workshop Co-located with the Extended Semantic Web Conference, Portoroz, Slovenia, June 2019.
24 G. Webster, H. Nguyen, D. E. Beel, C. Mellish, C. D. Wallace, and J. Pan, "CURIOS: Connecting Community Heritage through Linked Data," Proceedings of the 18th ACM Conference on Computer Supported Cooperative Work & Social Computing, pp. 639-648, Vancouver, Canada, February 2015. DOI:10.1145/2675133.2675247
25 F. Priyatna, R. Alonso-Calvo, S. Paraiso-Medina and O. Corcho, "Querying clinical data in HL7 RIM based relational model with morph-RDB," Journal of Biomedical Semantics, Vol. 8, No. 49, October 2017. DOI: 10.1186/s13326-017-0155-8