Skip to content

Conversation

@afs
Copy link
Contributor

@afs afs commented Dec 6, 2025

This PR is no more than an illustrative starting point for the SHACL Rules tests for syntax and eval.

The names and organisation of tests is subject to change.

There are likely to be other categories of test.

Eventually, syntax tests will have two representations, SRL and RDF.

@afs afs added the Rules For SHACL 1.2 Rules spec. label Dec 6, 2025
@afs afs requested review from recalcitrantsupplant, robert-david and simonstey and removed request for simonstey December 6, 2025 18:48
@simonstey
Copy link
Contributor

fwiw, I created a bunch of SRL rule examples here as well https://github.com/simonstey/py-srl/tree/05149ab3d97147a40a26fca8352e77966d8f5cd2/examples

Copy link
Contributor

@simonstey simonstey left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good!

@recalcitrantsupplant
Copy link
Contributor

Looks good - I've added them in two libraries here: https://shacl-rules.app.dev.kurrawong.ai/

Would it make sense to have the data graph input in the compact syntax to go with the compact srl format? - I realise they are equivalent.

@afs
Copy link
Contributor Author

afs commented Dec 10, 2025

Eventually, syntax tests will have two representations, SRL and RDF.

Would it make sense to have the data graph input in the compact syntax to go with the compact srl format? - I realise they are equivalent.

One step at a time!

It is more than just having two forms. Ideally, there should be tests of 3 kinds: "SRL syntax", "SRL to RDF", "RDF to SRL".

@afs afs merged commit f3eea09 into gh-pages Dec 10, 2025
1 check passed
@afs afs deleted the rules-tests-0 branch December 10, 2025 17:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Rules For SHACL 1.2 Rules spec.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants