Abstract

We formally introduce an inheritance mechanism for the Shape Expressions language (ShEx). It is inspired by inheritance in object-oriented programming languages, and provides similar advantages such as reuse, modularity, and more flexible data modelling. Using an example, we explain the main features of the inheritance mechanism. We present its syntax and formal semantics. The semantics is an extension of the semantics of ShEx 2.1. It also directly yields a validation algorithm as an extension of the previous ShEx validation algorithms, while maintaining the same algorithmic complexity.

Publication
Extended Semantic Web Conference, Portoroz, Slovenia, 2025
Date
Tags
Cite
Download .bib
@inproceedings{2025_ShEx_Inheritance,
  author = {Iovka Boneva and Jose Emilio Labra Gayo and Eric Prud'hommeaux and Katherine Thornton and Andra Waagmeester},
  title = {Shape Expressions with Inheritance},
  booktitle = {Extended Semantic Web Conference, Portoroz, Slovenia, 2025},
  year = {2025},
  month = apr,
  doi = {10.1007/978-3-031-94575-5_26},
  url = {http://labra.weso.es/publication/2025_shex_inheritance/}
}