-
Notifications
You must be signed in to change notification settings - Fork 74
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
--individuals exclude does not exclude all individuals #1111
Comments
Are the remaining individuals used in the logical axioms of classes, e.g. IAO:0000078 curation status specification? I suspect so, in which case there's no way to get rid of them without removing those class axioms. We could update the docs to clarify this. |
Indeed they are. As a workaround I preprocess the input file with |
Maybe can add a new exclusion code to extract
The advantage is with this latter solution is that the individual axioms do not impact the SLME module extraction, but are still included in the output if the user explicitly says so. Neither of these would break the existing functionality. |
Shouldn't we get the same result with |
Not exactly:
|
Using the --individuals exclude parameter with the extract function does not remove all individuals.
See example here: https://github.com/pfabry/ROBOT_individuals_exclude
I used obi.owl as test (https://github.com/obi-ontology/obi) and tried the following commands:
In the first case obiV1.owl has 282 individuals
In the second case, obiV2.owl has 44 individuals
I found the same behavior with other ontologies (OMO, OMRSE for example).
The remaining individuals have different namespaces (OBI, UO, IAO, etc.). However, they didn't have a class type associated anymore. For a given individual present in both obiV1 and obiV2, it will have a class type in obiV1 but not anymore in obiV2.
The text was updated successfully, but these errors were encountered: