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 条
  • [1] Relational database constraints as counterexamples
    Cornell Univ, Ithaca, United States
    Acta Inf, 3 (167-189):
  • [2] Relational database constraints as counterexamples
    Levent V. Orman
    Acta Informatica, 1997, 34 : 167 - 189
  • [3] Relational database constraints as counterexamples
    Orman, LV
    ACTA INFORMATICA, 1997, 34 (03) : 167 - 189
  • [4] SHACL Constraints with Inference Rules
    Pareti, Paolo
    Konstantinidis, George
    Norman, Timothy J.
    Sensoy, Murat
    SEMANTIC WEB - ISWC 2019, PT I, 2019, 11778 : 539 - 557
  • [5] Trav-SHACL: Efficiently Validating Networks of SHACL Constraints
    Figuera, Monica
    Rohde, Philipp D.
    Vidal, Maria-Esther
    PROCEEDINGS OF THE WORLD WIDE WEB CONFERENCE 2021 (WWW 2021), 2021, : 3337 - 3348
  • [6] An Approach for Mapping Relational Database into Ontology
    Hazber, Mohamed A. G.
    Li, Ruixuan
    Zhang, Yuxi
    Xu, Guandong
    2015 12TH WEB INFORMATION SYSTEM AND APPLICATION CONFERENCE (WISA), 2015, : 120 - 125
  • [7] Mapping a Relational Database into a RDF Repository
    Szekely, Anamaria
    Hejja, Anita
    Buchmann, Robert Andrei
    13TH INTERNATIONAL SYMPOSIUM ON SYMBOLIC AND NUMERIC ALGORITHMS FOR SCIENTIFIC COMPUTING (SYNASC 2011), 2012, : 175 - 182
  • [8] Mapping Relational Database for Semantic Web
    Zhou, Shufeng
    2009 INTERNATIONAL CONFERENCE ON FUTURE BIOMEDICAL INFORMATION ENGINEERING (FBIE 2009), 2009, : 521 - 524
  • [9] The Study on Mapping Relational Database into Ontology
    Xiong Ting
    Wu Yun-ting
    Wang Zhong-zhuang
    2011 INTERNATIONAL CONFERENCE ON COMPUTERS, COMMUNICATIONS, CONTROL AND AUTOMATION (CCCA 2011), VOL III, 2010, : 11 - 14
  • [10] Mining Violations to Relax Relational Database Constraints
    Mazuran, Mirjana
    Quintarelli, Elisa
    Rossato, Rosalba
    Tanca, Letizia
    DATA WAREHOUSING AND KNOWLEDGE DISCOVERY, PROCEEDINGS, 2009, 5691 : 339 - 353