GithubHelp home page GithubHelp logo

Add diff tool about kgx HOT 2 CLOSED

biolink avatar biolink commented on August 16, 2024
Add diff tool

from kgx.

Comments (2)

jmcmurry avatar jmcmurry commented on August 16, 2024

My orthogonal drive-by thoughts. I'm a little out of the loop so my concerns may already have been accounted for.

Such diffs would be great; to be informative requires that there be effective collapsing of functionally equivalent IDs (both for nodes and for edges).

Nodes:

  • Diffs will be artificially noisy if a given node N (whose ID is syntactically consistently across KGs) has the predicate Y (whose ID is syntactically different across KGs).
  • Diffs will be artificially sparse in cases where a given node N has IDs syntactically different across KGs.

Edges:

  • Diffs will be artificially sparse in cases where gene-to-disease are not equated with disease-to-gene.

Thus if we can agree on a common identifier syntax, that helps. However, we still need the ability to collapse conceptual equivalents such as between MONDO and Orphanet; no syntactic sugar can fix that.

Feel free to talk me down; I realize this equivalence business is non-trivial and something we are trying to tackle in Data Commons too.

from kgx.

yy20716 avatar yy20716 commented on August 16, 2024

Chris, I was trying to handle this issue but let me ask you some questions first if you don't mind.

  • Could you please clarify what type means in your description? I guess it would not be rdf:type, so I checked the kg standard specification. It seems that the type meant category, but was not sure about this.
  • As far as I know the internal graph generated by the current rdf_transformer does not have any corresponding fields yet (i.e. even category one). Actually, the current codes do not add or asssign any node attributes but only edge ones. I guess this happens because the specification and the codes are not finalized yet, but I just wonder how to proceed this task. Any suggestions would be helpful. Thank you.

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.