GithubHelp home page GithubHelp logo

Add for transformer for BEL about kgx HOT 6 CLOSED

biolink avatar biolink commented on August 16, 2024
Add for transformer for BEL

from kgx.

Comments (6)

cmungall avatar cmungall commented on August 16, 2024

Great to hear for you, I am aware of BEL, and I have been meaning to try PyBEL for a while. Dexter mentioned your name a while ago and I have been meaning to get in contact.

I wasn't aware of Bio2BEL, awesome!!

PR most welcome.

Note the primary driver for KGX is what I would call simple non-contextual triples. E.g. geneX involved_in processY, geneX interacts_with geneY. To represent contextual associations such as those found in OpenBEL or GO-CAMs a number of different design patterns present themselves, I'm going to have a look at your mapping to nx and may get back with questions.

cc @goodb

from kgx.

cthoyt avatar cthoyt commented on August 16, 2024

Is there any controlled vocabulary for relations I should use? I started down the rabbit hole of the OBO Relations (ontology?) when I was thinking about that.

I think we can do some post-processing on BEL to take some of the relations that have the context on the edges and make them more simple

Example: p(A) increases p(B, pmod(Ph)) can be converted to p(A) phosphorylates p(B) and so on

We're actually working this week with some other Fraunhofer colleagues to make the Bio2BEL repos more amenable for representation learning / other ML approaches for knowledge graphs. I will be sure to update you on the results, since they would likely be directly applicable here too

from kgx.

goodb avatar goodb commented on August 16, 2024

I believe the RO is exactly the correct rabbit hole to crawl into for this one. Perhaps I can help navigate it? Do you have a list of the relations you want to map tp RO? (I suggest opening it in Protege for an easier time navigating and understanding it.)

from kgx.

cthoyt avatar cthoyt commented on August 16, 2024

@goodb thanks for the tip. I actually had some fun looking through RO in the OLS at what's possible!

I've begun to write unit tests (no implementation, yet) on how BEL graphs (encoded in PyBEL's internal DSL) would be converted to RO relationships: https://github.com/cthoyt/pybel-obo/blob/master/tests/test_convert.py.

Hopefully the code is self-explanatory, and if it's not trouble I would appreciate feedback in case I missed something important.

from kgx.

sierra-moxon avatar sierra-moxon commented on August 16, 2024

Hi @cthoyt - just doing some triage of issues here, is this still a priority for you?

from kgx.

cthoyt avatar cthoyt commented on August 16, 2024

this is sort of done, but not a priority since kgx went in a very different direction

from kgx.

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.