Code Monkey home page Code Monkey logo

Comments (2)

kaiiam avatar kaiiam commented on June 12, 2024

Perhaps I should try https://robot.obolibrary.org/reduce

from cdno.

kaiiam avatar kaiiam commented on June 12, 2024

In our branch #81 @LilyAndres and I have found a solution that makes a reasoned product from the chemical concentration terms using nutritional_components_framework to reason it and figure out the inferred subclass relationships. This gives the reasoned end product look of a clearer hierarchy which is much easier for non-ontologists such as data curators to look at.

image

Unfortunately the above process removed the equivalence class expressions (the equivalence classes) and replaced them with just the inferred class relationships as asserted subclass axioms. This explains why CDNO's chemical concentration terms look the way the do in OLS after reasoning. The "duplications" show up due to having multiple parents. For example concentration of catechin in material entity has two parents concentration of hydroxyflavan in material entity and concentration of the latter being inferred from the equivalence class during the release process (where we make the final cdno.owl file).

image

I don't' think it's possible to preserve the equivalence classes and also have the cleaner looking final hierarchy. I could be wrong but I don't think so. Assuming that's true then we have a decision to make. Do we either:

  1. Maintain the status quo with the equivalence classes expressions that make for a less human friendly looking hierarchy (where duplicative parents all show up)?

Or 2) Ditch the equivalence classes expressions in favor of the asserted subclasses in the final cdno-edit file which makes for a cleaner looking hierarchy for humans to search through. Note we'd still using the equivalence classes expressions in the earlier steps to figure out the hierarchy, we'd just not be showing them in the final product. The very long tail downside to this is that it wouldn't be as easily mapped to other owl ontologies that use the same design pattern for the equivalence axioms using the predicate owl:equivalence. This isn't a concern now but in the future I could see that being possible.

@Graham-J-King @maweber-bia @ddooley @ramonawalls or others please let us know what you think.

from cdno.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.