Skip to content

Ballot 4: prevent SHACL shape labels leaking into spec (#79)#163

Open
jgeluk wants to merge 1 commit intoballot/4from
DPROD-18
Open

Ballot 4: prevent SHACL shape labels leaking into spec (#79)#163
jgeluk wants to merge 1 commit intoballot/4from
DPROD-18

Conversation

@jgeluk
Copy link
Member

@jgeluk jgeluk commented Feb 25, 2026

Merges DPROD-18 into ballot/4.

Issue: #79 — Use of "shape" in rdfs:label of shapes makes its way into spec

Changes:

  • spec-generator/globals.py: ignore shape-related predicates so SHACL labels don't leak
  • spec-generator/main.py: align with globals

Part of ballot/4 consolidation (DPROD-16, DPROD-17, DPROD-18, DPROD-20, joshcornejo-patch-2 → ballot/4).

Made with Cursor

Add RDFS.label to IGNORED_NODE_SHAPE_PREDICATES so that shape labels
(ending in " shape") no longer overwrite OWL class labels in the
generated specification. Also remove a stale merge conflict marker
in main.py.

Resolves: DPROD-18, #79

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
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.

1 participant