Open dustine32 opened 5 years ago
plan:
new class PropertyChainAxiom, list of these would be linked from the ontology object, structurally the same as the json
so we would do:
pcas = ont.get_property_chain_axioms(relation=rnode.id)
Thanks @cmungall ! I pretty much followed the example of LogicalDefinition
in ontol.py
and this seems to work for my RO needs.
Let me know if anything's gunked up in the PR.
It would be nice if I could use propertyChainAxioms in certain ontologies (e.g. RO) to connect certain terms. Example use case is deriving "causally upstream of or within, positive effect" (RO:0004047) from "acts upstream of or within, positive effect" (RO:0004032). In the RO owl:
This connection looks to be in the
owl:propertyChainAxiom
array but it's not coming through to the RO:0004032 node:Currently not sure how this should be stored in the node data structure but I'll try seeing what works for me.
From @cmungall on gitter: