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 条
  • [11] SHACL4P: SHACL Constraints Validation within Protege Ontology Editor
    Ekaputra, Fajar J.
    Lin, Xiashuo
    PROCEEDINGS OF 2016 INTERNATIONAL CONFERENCE ON DATA AND SOFTWARE ENGINEERING (ICODSE), 2016,
  • [12] A Relational Database Model for Science Mapping Analysis
    Cobo, Manuel J.
    Lopez-Herrera, A. G.
    Herrera-Viedma, Enrique
    ACTA POLYTECHNICA HUNGARICA, 2015, 12 (06) : 43 - 62
  • [13] Mapping SPL Feature Models to a Relational Database
    Shatnawi, Hazim
    Cunningham, H. Conrad
    PROCEEDINGS OF THE SOUTHEAST CONFERENCE ACM SE'17, 2017, : 42 - 49
  • [14] INCREMENTALLY MAINTAINED NETWORK -] RELATIONAL DATABASE MAPPING
    MARK, L
    ROUSSOPOULOS, N
    NEWSOME, T
    LAOHAPIPATTANA, P
    SOFTWARE-PRACTICE & EXPERIENCE, 1992, 22 (12): : 1099 - 1131
  • [15] Mapping relational schemas to XML DTDs with constraints
    Lv, Teng
    Yan, Ping
    FIRST INTERNATIONAL MULTI-SYMPOSIUMS ON COMPUTER AND COMPUTATIONAL SCIENCES (IMSCCS 2006), PROCEEDINGS, VOL 2, 2006, : 528 - +
  • [16] Mapping DTDs to relational schemas with semantic constraints
    Lv, T
    Yan, P
    INFORMATION AND SOFTWARE TECHNOLOGY, 2006, 48 (04) : 245 - 252
  • [17] Validating SHACL Constraints over a SPARQL Endpoint
    Corman, Julien
    Florenzano, Fernando
    Reutter, Juan L.
    Savkovic, Ognjen
    SEMANTIC WEB - ISWC 2019, PT I, 2019, 11778 : 145 - 163
  • [18] Using UML/OCL constraints for relational database design
    Demuth, B
    Hussmann, H
    UML'99 - THE UNIFIED MODELING LANGUAGE: BEYOND THE STANDARD, 1999, 1723 : 598 - 613
  • [19] An Algorithm Based on Grammatical Evolution for Discovering SHACL Constraints
    Felin, Remi
    Monnin, Pierre
    Faron, Catherine
    Tettamanzi, Andrea G. B.
    GENETIC PROGRAMMING, EUROGP 2024, 2024, 14631 : 176 - 191
  • [20] Scheme of Mapping from XML Document to Relational Database
    Huang, Shu Qin
    INDUSTRIAL INSTRUMENTATION AND CONTROL SYSTEMS, PTS 1-4, 2013, 241-244 : 2732 - 2736