Skip to content

Check for cycles in basic.owl using souffle.#2125

Closed
balhoff wants to merge 3 commits intomasterfrom
issue-1829
Closed

Check for cycles in basic.owl using souffle.#2125
balhoff wants to merge 3 commits intomasterfrom
issue-1829

Conversation

@balhoff
Copy link
Member

@balhoff balhoff commented Oct 22, 2021

Fixes #1829.

Creates tmp/basic-cycles.tsv. This check is simple, but doesn't explain the path causing the cycle.

@balhoff balhoff requested a review from matentzn October 22, 2021 15:16
@balhoff
Copy link
Member Author

balhoff commented Oct 22, 2021

The output still needs to be added to the checks targets; nothing runs it right now.

basic(restr, OWL_ON_PROPERTY, p),
basic(restr, OWL_SOME_VALUES_FROM, o),
basic(restr, RDF_TYPE, OWL_RESTRICTION),
match("<.+>", o).
Copy link
Member

Choose a reason for hiding this comment

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

sorcery!

@balhoff
Copy link
Member Author

balhoff commented Dec 9, 2021

I updated the output so that the paths are provided.

@github-actions
Copy link
Contributor

This PR has not seen any activity in the past month; if nobody comments or reviews it in the next week, the PR editor will be allowed to proceed with merging without explicit approval, should they wish to do so.

@matentzn
Copy link
Contributor

Needs to be reopened - redone to work - souffle did not stick.

@matentzn matentzn closed this Jan 22, 2026
@matentzn matentzn deleted the issue-1829 branch January 22, 2026 15:30
@balhoff
Copy link
Member Author

balhoff commented Jan 22, 2026

@matentzn I have been using a similar script for go-basic for quite a while now. So if you still want it, it works.

@matentzn
Copy link
Contributor

Yes! Can you open a PR on Uberon with that? That would be great!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

QC: Need cycle detection on basic.owl

4 participants