Mapping Relational Database Constraints to SHACL

被引:2
|
作者
Thapa, Ratan Bahadur [1 ]
Giese, Martin [1 ]
机构
[1] Univ Oslo, Dept Informat, Oslo, Norway
来源
SEMANTIC WEB - ISWC 2022 | 2022年 / 13489卷
关键词
D O I
10.1007/978-3-031-19433-7_13
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
Most structured data today is still stored in relational databases, which makes it important to provide a translation between relational and semantic data. A relational to RDF mapping, such as R2RML [13], provides a way to view existing relational data in the RDF data model through declarative mappings. While relational to RDF mapping translates relational instance data to RDF, it does not specify any translation of existing relational constraints such as primary and foreign key constraints. Since the introduction of R2RML, interest in RDF constraint languages has increased and SHACL [15] has been standardised. This raises the question of which SHACL constraints are guaranteed to be valid on a dataset produced by a relational to RDF mapping. For arbitrary SQL constraints and relational to RDF mappings, this is a hard problem, but we introduce a number of restrictions on the mappings that allow us to introduce a constraint rewriting for relational to RDF mappings that faithfully transfers SQL integrity constraints to SHACL constraints. We define and prove two fundamental properties, namely maximal semantics preservation and monotonicity.
引用
收藏
页码:214 / 230
页数:17
相关论文
共 50 条
  • [41] The Effectiveness of Test Coverage Criteria for Relational Database Schema Integrity Constraints
    McMinn, Phil
    Wright, Chris J.
    Kapfhammer, Gregory M.
    ACM TRANSACTIONS ON SOFTWARE ENGINEERING AND METHODOLOGY, 2015, 25 (01)
  • [42] A COMPARATIVE STUDY OF OBJECT-ORIENTED DATABASE, RELATIONAL DATABASE AND FRAMEWORK FOR MAPPING OBJECT-RELATIONAL, IN THE CONTEXT TO A WEB APPLICATION
    Oliveira, M. M. A.
    Carlos, D. G.
    Sousa, A. R. V. O.
    Castro, A. F.
    HOLOS, 2015, 31 (01) : 182 - 198
  • [43] Mapping between relational database schema and OWL ontology for deep annotation
    Xu, Zhuoming
    Zhang, Shichao
    Dong, Yisheng
    2006 IEEE/WIC/ACM INTERNATIONAL CONFERENCE ON WEB INTELLIGENCE, (WI 2006 MAIN CONFERENCE PROCEEDINGS), 2006, : 548 - +
  • [44] A method for rough relational database transformed into relational database
    Wei, Ling-ling
    Zhang, Wei
    2009 IITA INTERNATIONAL CONFERENCE ON SERVICES SCIENCE, MANAGEMENT AND ENGINEERING, PROCEEDINGS, 2009, : 50 - +
  • [45] An Efficient Mapping Approach to Store and Query XML Documents in Relational Database
    Ying, Jie
    Cao, Suyan
    Long, Yuan
    PROCEEDINGS OF 2012 2ND INTERNATIONAL CONFERENCE ON COMPUTER SCIENCE AND NETWORK TECHNOLOGY (ICCSNT 2012), 2012, : 2140 - 2144
  • [46] Autonomous mapping of HL7 RIM and relational database schema
    Shagufta Umer
    Muhammad Afzal
    Maqbool Hussain
    Khalid Latif
    Hafiz Farooq Ahmad
    Information Systems Frontiers, 2012, 14 : 5 - 18
  • [47] Automated mapping from an IFC data model to a relational database model
    Guo H.
    Zhou Y.
    Ye X.
    Luo Z.
    Xue F.
    Qinghua Daxue Xuebao/Journal of Tsinghua University, 2021, 61 (02): : 152 - 160
  • [48] Mapping Fuzzy UML Model into Fuzzy Nested Relational Database Model
    Yan, Li
    Ma, Z. M.
    2009 IEEE INTERNATIONAL CONFERENCE ON INTELLIGENT COMPUTING AND INTELLIGENT SYSTEMS, PROCEEDINGS, VOL 2, 2009, : 904 - +
  • [49] Ontology Driven for Mapping a Relational Database to a Knowledge-based System
    Elfaki, Abdelrahman Osman
    Alfaifi, Yousef H.
    INTERNATIONAL JOURNAL OF ADVANCED COMPUTER SCIENCE AND APPLICATIONS, 2024, 15 (05) : 622 - 629
  • [50] Multi-dimensional mapping and selection queries on relational database tuples
    Scott, K
    PARALLEL AND DISTRIBUTED COMPUTING SYSTEMS, 2001, : 260 - 265