Skip to content

Set up shifty-cli for ontology self-validation - #5

Merged
gtfierro merged 5 commits into
mainfrom
shiftylicious
Sep 18, 2026
Merged

gtfierro merged 5 commits into
mainfrom
shiftylicious

Conversation

@ektrah

@ektrah ektrah commented Sep 18, 2026 •

Copy link
Copy Markdown
Contributor

@gtfierro Please take a look if I got the shifty-cli setup right

@ektrah
ektrah requested a review from gtfierro September 18, 2026 07:41
@ektrah ektrah self-assigned this Sep 18, 2026
@gtfierro

Copy link
Copy Markdown
Member

You did! I ran it locally successfully as well. Doesn't seem like much fires right now -- it was so fast that I added profiling output to shifty cli to tell if the validator actually saw any triples at all!

shifty validate --shapes shapes.ttl --data ontology.ttl.md --profile
conforms: true
profile: shapes: 28 triples from shapes.ttl [turtle]
profile: data: 633 triples from ontology.ttl.md [turtle]
profile: inference: 0 triples added before validation
profile: 2 distinct shape(s)/rule(s)
  rule[0]: 1 call(s), 10µs total, 10µs avg
  rule[1]: 1 call(s), 0µs total, 0µs avg
profile: shape cache: 4 evaluator(s), 0 hit(s), 0 miss(es), 0.0% hit rate
  0 insertion(s), 0 recursion back-edge(s), 0 non-cacheable result(s)
  peak: 0 entries, ~0 bytes

@gtfierro
gtfierro merged commit 1e00c2a into main Sep 18, 2026
2 checks passed
@gtfierro

Copy link
Copy Markdown
Member

Thanks! I'll let you delete the branch if you don't plan on keeping it around for future development

@ektrah
ektrah deleted the shiftylicious branch September 18, 2026 20:19
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