Journal article 53 views
On the Interplay Between Validation and Inference in Shapes Constraint Language – An Investigation on the Time Ontology
Semantic Web: – Interoperability, Usability, Applicability, Volume: 17, Issue: 3
Swansea University Author:
Livio Robaldo
-
PDF | Version of Record
© The Author(s) 2026. This article is distributed under the terms of the Creative Commons Attribution 4.0 License.
Download (1.67MB)
DOI (Published version): 10.1177/22104968261440710
Abstract
This paper presents a Shapes Constraint Language (SHACL)-based framework for validating the Time Ontology (https://www.w3.org/TR/owl-time). The Time Ontology, currently a W3C Candidate Recommendation, is widely recognized as the ‘de facto’ standard for representing temporal data in the Semantic Web....
| Published in: | Semantic Web: – Interoperability, Usability, Applicability |
|---|---|
| ISSN: | 1570-0844 2210-4968 |
| Published: |
SAGE Publications
2026
|
| Online Access: |
Check full text
|
| URI: | https://cronfa.swan.ac.uk/Record/cronfa71564 |
| first_indexed |
2026-03-05T16:01:46Z |
|---|---|
| last_indexed |
2026-04-14T04:53:03Z |
| id |
cronfa71564 |
| recordtype |
SURis |
| fullrecord |
<?xml version="1.0" encoding="utf-8"?><rfc1807 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><bib-version>v2</bib-version><id>71564</id><entry>2026-03-05</entry><title>On the Interplay Between Validation and Inference in Shapes Constraint Language – An Investigation on the Time Ontology</title><swanseaauthors><author><sid>b711cf9f3a7821ec52bd1e53b4f6cf9e</sid><ORCID>0000-0003-4713-8990</ORCID><firstname>Livio</firstname><surname>Robaldo</surname><name>Livio Robaldo</name><active>true</active><ethesisStudent>false</ethesisStudent></author></swanseaauthors><date>2026-03-05</date><deptcode>HRCL</deptcode><abstract>This paper presents a Shapes Constraint Language (SHACL)-based framework for validating the Time Ontology (https://www.w3.org/TR/owl-time). The Time Ontology, currently a W3C Candidate Recommendation, is widely recognized as the ‘de facto’ standard for representing temporal data in the Semantic Web. However, its current OWL axiomatization cannot enforce several validation constraints on temporal knowledge that can be expressed using the Time Ontology vocabulary. These constraints are instead captured by the SHACL formalization proposed in this paper. Nevertheless, we show that SHACL shapes are insufficient to validate even simple knowledge graphs that can be encoded using this vocabulary. This limitation arises because validation must be performed on the inferred knowledge graph, which SHACL shapes alone cannot derive internally. To address this, our framework first computes the inferred knowledge graph using SHACL-SPARQL rules and then validates it through SHACL shapes. We argue that our findings extend beyond the Time Ontology and have broader implications for SHACL and knowledge graph reasoning. We therefore view our work as a call to action for the Semantic Web community to systematically investigate the interplay between validation and inference. Specifically, there is a need to study the representational requirements of different use cases to identify the minimal set of SHACL shapes and inference rules for data validation in each context. These efforts could ultimately lead to the definition of distinct SHACL dialects, analogous to how OWL Lite, OWL DL, and other profiles were defined for OWL. The shapes and rules that define the proposed framework are available at https://github.com/liviorobaldo/TimeOntologyInSHACL.</abstract><type>Journal Article</type><journal>Semantic Web: – Interoperability, Usability, Applicability</journal><volume>17</volume><journalNumber>3</journalNumber><paginationStart/><paginationEnd/><publisher>SAGE Publications</publisher><placeOfPublication/><isbnPrint/><isbnElectronic/><issnPrint>1570-0844</issnPrint><issnElectronic>2210-4968</issnElectronic><keywords>time ontology, encoding temporal knowledge, validation and inference in Shapes Constraint Language</keywords><publishedDay>1</publishedDay><publishedMonth>5</publishedMonth><publishedYear>2026</publishedYear><publishedDate>2026-05-01</publishedDate><doi>10.1177/22104968261440710</doi><url/><notes/><college>COLLEGE NANME</college><department>Hillary Rodham Clinton Law School</department><CollegeCode>COLLEGE CODE</CollegeCode><DepartmentCode>HRCL</DepartmentCode><institution>Swansea University</institution><apcterm>Other</apcterm><funders/><projectreference/><lastEdited>2026-04-30T14:08:07.8215486</lastEdited><Created>2026-03-05T14:31:44.7584018</Created><path><level id="1">Faculty of Humanities and Social Sciences</level><level id="2">Hilary Rodham Clinton School of Law</level></path><authors><author><firstname>Livio</firstname><surname>Robaldo</surname><orcid>0000-0003-4713-8990</orcid><order>1</order></author><author><firstname>Sotiris</firstname><surname>Batsakis</surname><order>2</order></author></authors><documents><document><filename>71564__36644__e9a14e61786b4e2894ada5fd44eeab1d.pdf</filename><originalFilename>71564.VOR.pdf</originalFilename><uploaded>2026-04-30T14:04:04.6880931</uploaded><type>Output</type><contentLength>1755776</contentLength><contentType>application/pdf</contentType><version>Version of Record</version><cronfaStatus>true</cronfaStatus><documentNotes>© The Author(s) 2026. This article is distributed under the terms of the Creative Commons Attribution 4.0 License.</documentNotes><copyrightCorrect>true</copyrightCorrect><language>eng</language><licence>https://creativecommons.org/licenses/by/4.0/</licence></document></documents><OutputDurs/></rfc1807> |
| spelling |
v2 71564 2026-03-05 On the Interplay Between Validation and Inference in Shapes Constraint Language – An Investigation on the Time Ontology b711cf9f3a7821ec52bd1e53b4f6cf9e 0000-0003-4713-8990 Livio Robaldo Livio Robaldo true false 2026-03-05 HRCL This paper presents a Shapes Constraint Language (SHACL)-based framework for validating the Time Ontology (https://www.w3.org/TR/owl-time). The Time Ontology, currently a W3C Candidate Recommendation, is widely recognized as the ‘de facto’ standard for representing temporal data in the Semantic Web. However, its current OWL axiomatization cannot enforce several validation constraints on temporal knowledge that can be expressed using the Time Ontology vocabulary. These constraints are instead captured by the SHACL formalization proposed in this paper. Nevertheless, we show that SHACL shapes are insufficient to validate even simple knowledge graphs that can be encoded using this vocabulary. This limitation arises because validation must be performed on the inferred knowledge graph, which SHACL shapes alone cannot derive internally. To address this, our framework first computes the inferred knowledge graph using SHACL-SPARQL rules and then validates it through SHACL shapes. We argue that our findings extend beyond the Time Ontology and have broader implications for SHACL and knowledge graph reasoning. We therefore view our work as a call to action for the Semantic Web community to systematically investigate the interplay between validation and inference. Specifically, there is a need to study the representational requirements of different use cases to identify the minimal set of SHACL shapes and inference rules for data validation in each context. These efforts could ultimately lead to the definition of distinct SHACL dialects, analogous to how OWL Lite, OWL DL, and other profiles were defined for OWL. The shapes and rules that define the proposed framework are available at https://github.com/liviorobaldo/TimeOntologyInSHACL. Journal Article Semantic Web: – Interoperability, Usability, Applicability 17 3 SAGE Publications 1570-0844 2210-4968 time ontology, encoding temporal knowledge, validation and inference in Shapes Constraint Language 1 5 2026 2026-05-01 10.1177/22104968261440710 COLLEGE NANME Hillary Rodham Clinton Law School COLLEGE CODE HRCL Swansea University Other 2026-04-30T14:08:07.8215486 2026-03-05T14:31:44.7584018 Faculty of Humanities and Social Sciences Hilary Rodham Clinton School of Law Livio Robaldo 0000-0003-4713-8990 1 Sotiris Batsakis 2 71564__36644__e9a14e61786b4e2894ada5fd44eeab1d.pdf 71564.VOR.pdf 2026-04-30T14:04:04.6880931 Output 1755776 application/pdf Version of Record true © The Author(s) 2026. This article is distributed under the terms of the Creative Commons Attribution 4.0 License. true eng https://creativecommons.org/licenses/by/4.0/ |
| title |
On the Interplay Between Validation and Inference in Shapes Constraint Language – An Investigation on the Time Ontology |
| spellingShingle |
On the Interplay Between Validation and Inference in Shapes Constraint Language – An Investigation on the Time Ontology Livio Robaldo |
| title_short |
On the Interplay Between Validation and Inference in Shapes Constraint Language – An Investigation on the Time Ontology |
| title_full |
On the Interplay Between Validation and Inference in Shapes Constraint Language – An Investigation on the Time Ontology |
| title_fullStr |
On the Interplay Between Validation and Inference in Shapes Constraint Language – An Investigation on the Time Ontology |
| title_full_unstemmed |
On the Interplay Between Validation and Inference in Shapes Constraint Language – An Investigation on the Time Ontology |
| title_sort |
On the Interplay Between Validation and Inference in Shapes Constraint Language – An Investigation on the Time Ontology |
| author_id_str_mv |
b711cf9f3a7821ec52bd1e53b4f6cf9e |
| author_id_fullname_str_mv |
b711cf9f3a7821ec52bd1e53b4f6cf9e_***_Livio Robaldo |
| author |
Livio Robaldo |
| author2 |
Livio Robaldo Sotiris Batsakis |
| format |
Journal article |
| container_title |
Semantic Web: – Interoperability, Usability, Applicability |
| container_volume |
17 |
| container_issue |
3 |
| publishDate |
2026 |
| institution |
Swansea University |
| issn |
1570-0844 2210-4968 |
| doi_str_mv |
10.1177/22104968261440710 |
| publisher |
SAGE Publications |
| college_str |
Faculty of Humanities and Social Sciences |
| hierarchytype |
|
| hierarchy_top_id |
facultyofhumanitiesandsocialsciences |
| hierarchy_top_title |
Faculty of Humanities and Social Sciences |
| hierarchy_parent_id |
facultyofhumanitiesandsocialsciences |
| hierarchy_parent_title |
Faculty of Humanities and Social Sciences |
| department_str |
Hilary Rodham Clinton School of Law{{{_:::_}}}Faculty of Humanities and Social Sciences{{{_:::_}}}Hilary Rodham Clinton School of Law |
| document_store_str |
1 |
| active_str |
0 |
| description |
This paper presents a Shapes Constraint Language (SHACL)-based framework for validating the Time Ontology (https://www.w3.org/TR/owl-time). The Time Ontology, currently a W3C Candidate Recommendation, is widely recognized as the ‘de facto’ standard for representing temporal data in the Semantic Web. However, its current OWL axiomatization cannot enforce several validation constraints on temporal knowledge that can be expressed using the Time Ontology vocabulary. These constraints are instead captured by the SHACL formalization proposed in this paper. Nevertheless, we show that SHACL shapes are insufficient to validate even simple knowledge graphs that can be encoded using this vocabulary. This limitation arises because validation must be performed on the inferred knowledge graph, which SHACL shapes alone cannot derive internally. To address this, our framework first computes the inferred knowledge graph using SHACL-SPARQL rules and then validates it through SHACL shapes. We argue that our findings extend beyond the Time Ontology and have broader implications for SHACL and knowledge graph reasoning. We therefore view our work as a call to action for the Semantic Web community to systematically investigate the interplay between validation and inference. Specifically, there is a need to study the representational requirements of different use cases to identify the minimal set of SHACL shapes and inference rules for data validation in each context. These efforts could ultimately lead to the definition of distinct SHACL dialects, analogous to how OWL Lite, OWL DL, and other profiles were defined for OWL. The shapes and rules that define the proposed framework are available at https://github.com/liviorobaldo/TimeOntologyInSHACL. |
| published_date |
2026-05-01T14:08:09Z |
| _version_ |
1863900976221519872 |
| score |
10.997236 |

