Skip to content

fix: validate ontology shape term kinds - #618

Merged
seonghobae merged 11 commits into
mainfrom
fix/ontology-shape-term-kinds
Aug 25, 2026
Merged

fix: validate ontology shape term kinds#618
seonghobae merged 11 commits into
mainfrom
fix/ontology-shape-term-kinds

Conversation

@seonghobae

@seonghobae seonghobae commented Aug 25, 2026

Copy link
Copy Markdown
Contributor

Summary

  • align the CorporateEntity UI fixture with the canonical ontology IRI and label
  • validate SHACL target classes and property paths against distinct ontology term-kind sets
  • cover datatype-property-as-class and class-as-property regressions

Verification

  • uv run --extra dev pytest -q tests/test_publish_ontology_site.py tests/test_ontology.py (34 passed)
  • cd frontend && corepack pnpm exec vitest run src/App.test.tsx -t "opens related nodes from a related corporate entity" --testTimeout=15000 (1 passed, 92 skipped)

Follow-up to review findings that arrived on #616 immediately before it merged.


Open in Devin Review

…R 0205)

Resolves #372. Supersedes ADR 0157: the repository-case public
namespace https://contextualwisdomlab.github.io/LineageWeave/ontology#
is the exact project path GitHub Pages serves and becomes the only
spelling new runtime values, exports, fixtures, and database rows mint.
The lowercase form stays published as a deprecated compatibility
vocabulary with validated equivalentClass/equivalentProperty mappings,
and scripts/migrate_legacy_namespace.py rewrites stored lowercase IRIs
(dry-run by default; never touches provenance columns).

Also lands the completeness increments that motivated the decision:
grounded node-attribute datatype properties, the SKOS post-type scheme,
person-side disjointness plus inverse affiliation, and a closed-world
SHACL shapes graph (docs/ontology/lineageweave-kg-shapes.ttl) validated
against every DB-to-RDF projection and published beside the ontology.

Full unit suite: 1095 passed, 12 skipped.
…ory-case-namespace

# Conflicts:
#	CHANGELOG.md
#	pyproject.toml
…as role=status

Its resolved empty/unavailable state carried role="status" like sibling
panels' transient loading text does, so mounting it inside the Board's
collapsed Advanced Review Tools details collided with every other status
region on the page (4 failing App.test.tsx assertions). RankingsPanel's
own resolved placeholders carry no ARIA role for the same reason -- only
the "Loading..." state announces.
@coderabbitai

coderabbitai Bot commented Aug 25, 2026

Copy link
Copy Markdown

Warning

Review limit reached

Next included review available in 20 minutes.

View limit details

Limit details: You’ve used the included review currently available.

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Learn how review limits work.

Review configuration:

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: fc9de5aa-2b21-46a0-915b-0020fca2f944

📥 Commits

Reviewing files that changed from the base of the PR and between 48f013a and df9d6cb.

📒 Files selected for processing (3)
  • frontend/src/App.test.tsx
  • scripts/publish_ontology_site.py
  • tests/test_publish_ontology_site.py

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

# Conflicts:
#	frontend/src/App.test.tsx
#	scripts/publish_ontology_site.py
#	tests/test_publish_ontology_site.py

@devin-ai-integration devin-ai-integration Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Devin Review found 5 potential issues.

Open in Devin Review

Comment thread scripts/migrate_legacy_namespace.py
Comment thread scripts/publish_ontology_site.py
Comment thread frontend/src/App.test.tsx
Comment thread frontend/src/components/WorkspaceCalendar.tsx
Comment thread docs/ontology/lineageweave-kg-shapes.ttl
@seonghobae
seonghobae enabled auto-merge (squash) August 25, 2026 11:40

@devin-ai-integration devin-ai-integration Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Devin Review found 1 new potential issue.

Open in Devin Review

Comment thread scripts/publish_ontology_site.py
@seonghobae
seonghobae merged commit 61f7981 into main Aug 25, 2026
21 of 24 checks passed
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