Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New method transitive_closure() #7

Open
iosonopersia opened this issue Apr 17, 2021 · 0 comments
Open

New method transitive_closure() #7

iosonopersia opened this issue Apr 17, 2021 · 0 comments
Labels
missing feature A feature is missing

Comments

@iosonopersia
Copy link
Collaborator

iosonopersia commented Apr 17, 2021

A new method named transitive_closure() could be added to class AbstractSet.

This new method should loop over every AbstractEntity contained in the set and looking for referenced entities which are not contained in that same set. Missing entities should be then imported from the right RDF file (by using find_paths from support.py) or from a triplestore. This process should be repeated until no further entity is missing, failing in case a transitive closure of the set cannot be made.

Particular attention should be put on avoiding infinite loops.

An additional method could be then added, named is_transitively_closed() which establishes whether the set has no missing entities or not.

@iosonopersia iosonopersia added the missing feature A feature is missing label Apr 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
missing feature A feature is missing
Projects
None yet
Development

No branches or pull requests

1 participant