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

How to allow several subCatRel in n10s.inference.nodesInCategory? #308

Open
baptisteImbert opened this issue Jun 5, 2023 · 0 comments
Open

Comments

@baptisteImbert
Copy link

Hi,

I have imported a RDF as an ontology (https://github.com/Planteome/plant-ontology/raw/master/po.owl) with n10s. Most relationships are "SCO", but some come from a restriction and have their type as "SCO_RESTRICTION". While this is expected, I cannot find a way to use n10s.inference.nodesInCategory(po, {inCatRel: "ANNOTATED_BY", subCatRel: "SCO"}) with SCO AND SCO_RESTRICTION subCatRel.
I assumed it would be possible to give a list but if so I am not doing it properly. I do not comprehend most of the exact processes under the function, but would it possible to implement that? Is there a way around it (for now I renamed SCO_RESTRICTION to SCO types but that is not ideal)?

Thanks for your help!
Baptiste

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

No branches or pull requests

1 participant