Review Comment:
This is a nice and much necessary paper, reading it in depth requires a considerable effort though. Some claims on the novelty seem too strong to me, as I will argue but the integration of defeasible deontic logic with temporal logic and native RDF/SPARQL executability over Semantic Web data makes the paper a very valuable contribution: the author integrates three prior works (RDF/SPARQL deontic framework, defeasibility, temporal dimension) into a single executable deontic logic. The system is demonstrated on a subset of GDPR and it is compared against a SHACL-based reasoner.
ORIGINALITY
- The integration itself: reified deontic modalities + defeasibility via superiority relations + achievement/maintenance temporal semantics, all natively executable in SPARQL, is a genuine and useful synthesis.
- However, the paper's central negation trick ("using RDF reification to represent that a triple is true or false," attributed to [3] as a main insight) is not new: essentially the same idea, using reification/quoting to represent a triple's negation under RDF's Open World Assumption, appears as early as a 2001 W3C 'www-rdf-logic' mailing-list message by our beloved Aaron Swartz [R1]. Other contributions in academmic settings have used that idea, too.
- Probably the author ignored the very much recent work of SHACL 1.2 Rules [R4]. It is only a W3C Working Draft of Dez. 2025, but it provides native stratification/fixpoint semantics. This would be the standards track to address the `sh:order` non-determinism problem the paper cites as a SHACL limitation. Of course, this doesn't replace the paper's defeasibility mechanism (which resolves substantive normative conflict, not just execution order) and current implementations still lack full RDF reification support, but it deserves a mention. I wonder what else would the author change after considering Steyskal's work.
- The dismissal of related RDF-based compliance frameworks (refs [15]-[19]) as merely "evaluated primarily on constructed examples or restricted use cases" is inaccurate for at least Piero Bonatti et al. [17], which came out of the EU H2020 SPECIAL project with real-time, operationally-scoped evaluation [R2]. Even the author mentions that in the prior systematic comparison [2]. I would simply claim to "no prior work demonstrates covrage for a full-regulation"
- I think the work of Pandit, GDPRtEXT [R3] would have been useful in the "semantic web" part of the work (not for the "logic" one). GDPRtEXT i an RDF/SKOS resource anchoring GDPR articles to unique identifiers via ELI - directly relevant prior art for how the D-KB links rules to GDPR text.
- Also missing: Natalya Keberle's prior work on temporal extensions to OWL/RDF [R5] (OWL-MeT, combining metric temporal logic with description logic to represent temporal classes), is old but iti s directly relevant to Section 4's treatment of the temporal dimension of norms and worth situating this contribution.
SIGNIFICANCE OF THE RESULT
- The abstract's claim of "large-scale legislative coverage" is again too much to say: if i understand it correctly (maybe I am wrong) only Chapter II of the GDPR (65 of 966 D-KB rules) was translated and tested. Also representativeness is argued via the author's own prior taxonomy [2]. Using some else's work, or proving at massive scale in another manner (traffic rules work of Saarbrucken's team?) would have been great.
- The D-KB -> Deontic Logic Reified translation was performed manually by a single author with no independent verification. The so called DAPRECE methodology was therefore not really followed, unlike the D-KB itself, which passed by expert validation (see [44]).
- Same idea: The performance comparison (Table 1) has a single competitor, the author's own earlier SHACL reasoner [18]...
- The generate-and-test verification methodology (Sec. 6) is untested at scale: the author himself notes it became "increasingly difficult to keep track of overall consistency" already at 65 rules. The independence argument used to avoid combinatorial explosion (treating brother branches as separable) holds only if the rule-interaction structure is a clean tree; cross-article dependencies in real legislation may break this. No complexity analysis is offered.
- Worth mentioning: the author keeps the entire framework within normative SPARQL/SHACL Core constructs, avoiding non-normative extensions such as SHACL-JS ([R8]) - a 2017 W3C Working Group Note that never advanced to Recommendation status and would have tied the implementation to a specific JavaScript engine. I am myself a Java developer who has used Apache Jena for over 20 years and can attest that this restraint comes at a real cost in readability - the nested `FILTER(IF(...))` constructs in rules like (36)-(37) are reallly harder to parse than an equivalent JavaScript "helper function" would be - but it pays off in portability and in keeping every inference step auditable as declarative RDF/SPARQL rather than procedural code, which is squarely in line with the paper's own stated motivation against opaque, non-symbolic reasoning. Well, no syntactic sugar....
QUALITY OF WRITING
- Readable, indeed at a great intellectual effort. I would not deter the reading from continuing: the very ferst formula (1), the core pattern is introduced before any concrete example. Maybe placing the example (as later given in (2)) before the abstract formula would have been nicer to the reader... In order to read this paper, reading at least the three previous references of the author is necessary. Indeed, this is not a complain, only a warning to the reader...
- "ET(eo) ∧ ET(e)" in rule (5) relies on "ET" being instantiated to the same type predicate on both sides. Maybe this schema-variable convention that should be made explicit.
- Formula (44) implicitly requires the nomination event and the processing event to share the same interval "t1", an assumption not flagged in the text.
- Note 4 cites a dead URL ("isi.edu/~hobbs/disinf-tc.html"); probably you want to point readers to Ch. 4 ("Logic Reified") of Gordon & Hobbs [R6] instead. I say probably because I could not find Hobbs' book chapter myself. Only the summary of the reified logic that he seems to have posted in a web... I hope it was not a necessary reading.
- I like the paper's opening appeal to MacCormick on the need for an explicit justificatory chain in legal reasoning. It is a mandatory reading in many university courses, alongside with Alexy's more formally structured apparatus of rules and principles [R7], perhaps you want to check it too
4. ASSESSMENT OF THE PROVIDED RESOURCES
That is to say, the repo: (github.com/liviorobaldo/dlr-swj)
VERY IMPORTANT NOTE / DISCLAIMER
The value of my review is limited because I have not executed the code in the repo myself. I do not plan to do so until after the summer break; my comments on the resources are solely based on a fast inspection of the repository's structure and README only. Maybe I will add some informal "comments" after I play with the software... In any case, a couple of observations:
A. Organization / README. The repository has a README describing its two main folders and the purpose of each .bat script. It is clear enough to orient a reader, but is minimal: no LICENSE file, no explicit dependency/version pinning (Java version, Apache Jena version,, only the TopBraid SHACL API version appears, and only in the paper's footnotes, not the README), and no build system (Maven/Gradle) beyond a rustic compileAll.bat.
Well, if it works it does not mind.
B. Completeness for replication. I did not replicate.
C. Repositoy choice. Good, but please make resources persistent using Zenodo. There is no LICENSE file.
D. Overall completeness. I understand the following is at least covered:a gdpr Chapter II subset, 12 examples, generate-and-test and performance experiment).
CLOSING REMMARK
The paper's core building blocks, the deontic modalities of permission/obligations/prohibitions are precisely the modalities that the W3C's Open Digital Rights Language (ODRL) has been standardizing for policy expression since becoming a Recommendation in 2018. The W3C Workshop on the Future of ODRL (which took place very recently in London https://www.w3.org/2026/ODRLWS/) has presentations spanning data spaces, AI governance, and regulatory compliance. pratical applications for the theoretical work prsented in this paper. I would encourage the author to engage with the ODRL Community Group going forward. Bonatti (mentioned in my text above) is also actively participating, and our ODRL Formal Semantics document is worth a comment: https://w3c.github.io/odrl/formal-semantics/
SUMMARY OF RECOMMENDED ACTIONS
Summary of actions I would do:
- Make more humble the novelty and coverage claims: narrow "these approaches have been evaluated primarily on constructed examples" to something like "no prior work demonstrates full-regulation-scale coverage," and soften "large-scale legislative coverage" in the abstract to reflect that only Chapter II of the GDPR was actually translated and tested.
- Add the missing citations: GDPRtEXT, the Aaron Swartz precedent for the reification-based negation trick, SHACL 1.2 Rules, and Keberle's temporal OWL/RDF work, none require new experiments, just textual additions.
- Clean the repository: add a LICENSE, a GitHub description/topics, and a tagged release (ideally archived with a Zenodo DOI) for the exact version used in the paper.
- Make a demo to play with the axioms, and to do the transformations form the i/o logic.
- Mention in the scope the importance it might have on ODRL3.
## References cited in this review
[R1] A. Swartz, message to the W3C `www-rdf-logic` mailing list, 3 April 2001. https://lists.w3.org/Archives/Public/www-rdf-logic/2001Apr/0058.html
[R2] P.A. Bonatti, L. Ioffredo, I.M. Petrova, L. Sauro, I.R. Siahaan, "Real-time reasoning in OWL2 for GDPR compliance," Artificial Intelligence 289 (2020), 103389.
[R3] H.J. Pandit, K. Fatema, D. O'Sullivan, D. Lewis, "GDPRtEXT – GDPR as a Linked Data Resource," in Proc. 15th European Semantic Web Conference (ESWC), Heraklion, Crete, 2018.
[R4] W3C Data Shapes Working Group (S. Steyskal et al., eds.), "SHACL 1.2 Rules," W3C Working Draft, 9 December 2025. https://www.w3.org/TR/shacl12-rules/
[R5] N. Keberle, "Temporal classes and OWL," in Proc. 6th OWLED Workshop on OWL: Experiences and Directions, 2009.
[R6] A.S. Gordon, J.R. Hobbs, *A Formal Theory of Common Sense Psychology: How People Think People Think*, Cambridge University Press, 2017.
[R7] R. Alexy, *A Theory of Legal Argumentation: The Theory of Rational Discourse as Theory of Legal Justification*, Clarendon Press, Oxford, 1989.
[R8] H. Knublauch, P. Maria, "SHACL JavaScript Extensions," W3C Working Group Note, 8 June 2017. https://www.w3.org/TR/shacl-js/
|