Skip to content

RDF syntax for SHACL Rules#870

Open
afs wants to merge 1 commit intogh-pagesfrom
rules-rdf-syntax
Open

RDF syntax for SHACL Rules#870
afs wants to merge 1 commit intogh-pagesfrom
rules-rdf-syntax

Conversation

@afs
Copy link
Copy Markdown
Contributor

@afs afs commented Apr 25, 2026

This PR contains:

  • rdf-syntax-shapes.ttl
    A first pass on shapes for the RDF syntax of SHACL Rules
  • Tests for the RDF Syntax. Tests fragments (good and bad) against the shapes in rdf-syntax-shapes.ttl
    • test-terms.ttl - shapes for terms and variables.
    • test-triples.ttl - shapes for triples; data, pattern and template roles
    • test-elements.ttl - shapes for rule elements
    • test-rules.ttl - shapes for rule set and rules
  • rules-ns.ttl - namespace document containing the SRL RDF syntax vocabulary

@afs afs added the Rules For SHACL 1.2 Rules spec. label Apr 25, 2026
@afs
Copy link
Copy Markdown
Contributor Author

afs commented Apr 25, 2026

(This is not my working copy so comments and discussion here but change suggestions should wait until a "final draft" is ready.)

@afs afs self-assigned this Apr 27, 2026
@afs afs force-pushed the rules-rdf-syntax branch 3 times, most recently from f97d057 to e474385 Compare April 28, 2026 20:50
@afs afs force-pushed the rules-rdf-syntax branch from e474385 to c5ec8c2 Compare April 29, 2026 08:20
@afs
Copy link
Copy Markdown
Contributor Author

afs commented Apr 29, 2026

This is now ready!

SHACL Shapes and RDFS vocabulary.

One SHACL 1.2 validation feature is essential to the shapes - sh:memberShape.

(It does not include text in the spec document - that will be a separate PR.)

@afs afs marked this pull request as ready for review April 29, 2026 09:38
sh:maxCount 1 ;
] .

## RDF Terms (blank nodes exclude syntax usage e.g. as variables)
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Suggested change
## RDF Terms (blank nodes exclude syntax usage e.g. as variables)
## RDF Terms (blank nodes exclude syntax usage, e.g., as variables)

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.

2 participants