Expressiveness of SHACL Features

Authors Bart Bogaerts , Maxime Jakubowski , Jan Van den Bussche



PDF
Thumbnail PDF

File

LIPIcs.ICDT.2022.15.pdf
  • Filesize: 0.81 MB
  • 16 pages

Document Identifiers

Author Details

Bart Bogaerts
  • Vrije Universiteit Brussel, Belgium
Maxime Jakubowski
  • Hasselt University, Diepenbeek, Belgium
Jan Van den Bussche
  • Hasselt University, Diepenbeek, Belgium

Acknowledgements

We thank Dörthe Arndt for inspiring discussions.

Cite AsGet BibTex

Bart Bogaerts, Maxime Jakubowski, and Jan Van den Bussche. Expressiveness of SHACL Features. In 25th International Conference on Database Theory (ICDT 2022). Leibniz International Proceedings in Informatics (LIPIcs), Volume 220, pp. 15:1-15:16, Schloss Dagstuhl – Leibniz-Zentrum für Informatik (2022)
https://doi.org/10.4230/LIPIcs.ICDT.2022.15

Abstract

SHACL is a W3C-proposed schema language for expressing structural constraints on RDF graphs. Recent work on formalizing this language has revealed a striking relationship to description logics. SHACL expressions can use four fundamental features that are not so common in description logics. These features are zero-or-one path expressions; equality tests; disjointness tests; and closure constraints. Moreover, SHACL is peculiar in allowing only a restricted form of expressions (so-called targets) on the left-hand side of inclusion constraints. The goal of this paper is to obtain a clear picture of the impact and expressiveness of these features and restrictions. We show that each of the four features is primitive: using the feature, one can express boolean queries that are not expressible without using the feature. We also show that the restriction that SHACL imposes on allowed targets is inessential, as long as closure constraints are not used.

Subject Classification

ACM Subject Classification
  • Information systems → Semantic web description languages
  • Information systems → Query languages
  • Theory of computation → Description logics
  • Theory of computation → Finite Model Theory
Keywords
  • Expressive power
  • schema languages

Metrics

  • Access Statistics
  • Total Accesses (updated on a weekly basis)
    0
    PDF Downloads

References

  1. S. Abiteboul, R. Hull, and V. Vianu. Foundations of Databases. Addison-Wesley, 1995. Google Scholar
  2. M. Andreşel, J. Corman, M. Ortiz, J.L. Reutter, O. Savkovic, and M. Simkus. Stable model semantics for recursive SHACL. In Y. Huang, I. King, T.-Y. Liu, and M. van Steen, editors, Proceedings WWW'20, pages 1570-1580. ACM, 2020. Google Scholar
  3. A.K. Aylamazyan, M.M. Gilula, A.P. Stolboushkin, and G.F. Schwartz. Reduction of the relational model with infinite domains to the case of finite domains. Doklady Akademii Nauk SSSR, 286(2):308-311, 1986. In Russian. Google Scholar
  4. F. Baader, I. Horrocks, C. Lutz, and U. Sattler. An Introduction to Description Logic. Cambridge University Press, 2017. Google Scholar
  5. B. Bogaerts, M. Jakubowski, and J. Van den Bussche. SHACL: A description logic in disguise. CoRR, abs/2108.06096, 2021. URL: https://arxiv.org/abs/2108.06096.
  6. I. Boneva, J.E.L. Gayo, and E.G. Prud'hommeaux. Semantics and validation of shape schemas for RDF. In C. d'Amato, M. Fernandez, V. Tamma, et al., editors, Proceedings 16th International Semantic Web Conference, volume 10587 of Lecture Notes in Computer Science, pages 104-120. Springer, 2017. Google Scholar
  7. D. Calvanese, G. De Giacomo, D. Nardi, and M. Lenzerini. Reasoning in expressive description logics. In F. Baader, D. Calvanese, D. McGuiness, D. Nardi, and P. Patel-Schneider, editors, The Description Logic Handbook, chapter 23. Cambridge University Press, 2003. Google Scholar
  8. J. Corman, F. Florenzano, J.L. Reutter, and O. Savkovic. Validating SHACL constraints over a SPARQL endpoint. In C. Ghidini, O. Hartig, M. Maleshkova, V. Svátek, et al., editors, Proceedings 18th International Semantic Web Conference, volume 11778 of Lecture Notes in Computer Science, pages 145-163. Springer, 2019. Google Scholar
  9. J. Corman, J.L. Reutter, and O. Savkovic. Semantics and validation of recursive SHACL. In D. Vrandecic et al., editors, Proceedings 17th International Semantic Web Conference, volume 11136 of Lecture Notes in Computer Science, pages 318-336. Springer, 2018. Extended version, technical report KRDB18-01, URL: https://www.inf.unibz.it/krdb/tech-reports/.
  10. B. De Meester, P. Heyvaert, et al. RDF graph validation using rule-based reasoning. Semantic Web, 12(1):117-142, 2021. Google Scholar
  11. I. Horrocks, O. Kutz, and U. Sattler. The even more irresistible SROIQ. In P. Doherty, J. Mylopoulos, and C.A. Welty, editors, Proceedings 10th International Conference on Principles of Knowledge Representation and Reasoning, pages 57-67. AAAI Press, 2006. Google Scholar
  12. R. Hull and J. Su. Domain independence and the relational calculus. Acta Informatica, 31:513-524, 1994. Google Scholar
  13. M. Leinberger, P. Seifer, et al. Deciding SHACL shape containment through description logics reasoning. In J.Z. Pan et al., editors, Proceedings 19th International Semantic Web Conference, volume 12506 of Lecture Notes in Computer Science, pages 366-383. Springer, 2020. Google Scholar
  14. OWL 2 Web ontology language: Structural specification and functional-style syntax. W3C Recommendation, December 2012. Google Scholar
  15. P. Pareti, G. Konstantinidis, et al. SHACL satisfiability and containment. In J.Z. Pan et al., editors, Proceedings 19th International Semantic Web Conference, volume 12506 of Lecture Notes in Computer Science, pages 474-493. Springer, 2020. Google Scholar
  16. RDF 1.1 primer. W3C Working Group Note, June 2014. Google Scholar
  17. J. Reutter, 15 january 2021. Personal communication. Google Scholar
  18. Shapes constraint language (SHACL). W3C Recommendation, July 2017. Google Scholar
  19. J. Tao et al. Integrity constraints in OWL. In Proceedings 24th AAAI Conference on Artificial Intelligence, pages 1443-1448, 2010. Google Scholar
  20. M. Truszczynski. An introduction to the stable and well-founded semantics of logic programs. In M. Kifer and Y.A. Liu, editors, Declarative Logic Programming: Theory, Systems, and Applications, pages 121-177. ACM and Morgan & Claypool, 2018. Google Scholar
  21. M. Vardi. The complexity of relational query languages. In Proceedings 14th ACM Symposium on the Theory of Computing, pages 137-146, 1982. Google Scholar
Questions / Remarks / Feedback
X

Feedback for Dagstuhl Publishing


Thanks for your feedback!

Feedback submitted

Could not send message

Please try again later or send an E-mail