Skip to content

Fix/shapes and profile tests - #9

Merged
woutslabbinck merged 4 commits into
mainfrom
fix/shapes-and-profile-tests
Nov 19, 2026
Merged

woutslabbinck merged 4 commits into
mainfrom
fix/shapes-and-profile-tests

Conversation

@elenamolino

Copy link
Copy Markdown
Collaborator

Changes

  • TOSL examples: OpenAI terms (40 files) and the full Elsevier agreement. The test expects all of them to be valid.
  • Rule types: a rule with the type of another rule is reported (e.g. odrl:obligation pointing to a Permission).
  • partOf: an Asset must be partOf an AssetCollection, and a Party partOf a PartyCollection.

Issues

2 TOSL examples fails:

  • openai_02_permission01: foaf:age as leftOperand is not in the TOSL profile.
  • openai_37_prohibition03: spatial with ISO codes as strings, ( "CU" "IR" "KP" "SY" "RU" ).

To discuss

  1. Add foaf:age a odrl:LeftOperand to the TOSL profile?

@woutslabbinck
woutslabbinck merged commit 8101449 into main Nov 19, 2026
1 check failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants