You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
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
The text was updated successfully, but these errors were encountered: