Git Product home page Git Product logo

Comments (5)

deekshaVarshney avatar deekshaVarshney commented on June 17, 2024

Yes, I would also like to know how did you guys get this triples?

from kgmednli.

sandeepsingh avatar sandeepsingh commented on June 17, 2024

Yes, I would also like to know how did you guys get this triples?

have a look at this.
https://www.ncbi.nlm.nih.gov/books/NBK9679/
https://skr3.nlm.nih.gov/SemMedDB/dbinfo.html

from kgmednli.

soummyaah avatar soummyaah commented on June 17, 2024

Hi all,

Thank you for the interest in the paper. I hope my answer will provide you with the information in detail.
We generate the sub-graph of UMLS specific to the dataset i.e. we use the premise and hypothesis sentences in the MedNLI dataset and run a Named Entity Recognition tool specific to UMLS: MetaMap. MetaMap helps identify UMLS concepts referred to in the text. The input to the metamap is thus the premise and hypothesis sentences in the MedNLI dataset and output are the UMLS entities present in the sentences.

UMLS has two primary sources: The Metathesaurus and the Semantic Network. The Semantic Network contains categories for the concepts present in the UMLS Metathesaurus and provides a relationship between these Semantic categories. Using the Metathesaurus, we extract the entity and through the Semantic Network we get the category of the entity and thereby, we get the relations between the entities. This creates a relevant sub-KG of the entire UMLS KG.

While the triples data is not available right now, I hope this process helps. Please feel free to ask any further questions!

from kgmednli.

deekshaVarshney avatar deekshaVarshney commented on June 17, 2024

For a text :: Hello doctor, I am suffering from coughing, throat infection from last week.

I am getting these kb tripes for the entity throat infection ::

[('throat infection', 'associated_with', 'suffering'), ('throat infection', 'result_of', 'suffering'), ('throat infection', 'associated_with', 'Coughing'), ('throat infection', 'co-occurs_with', 'suffering'), ('throat infection', 'manifestation_of', 'suffering'), ('throat infection', 'complicates', 'suffering'), ('throat infection', 'associated_with', 'gargle'), ('throat infection', 'occurs_in', 'suffering'), ('throat infection', 'process_of', 'suffering'), ('throat infection', 'degree_of', 'suffering'), ('throat infection', 'affects', 'suffering')]

Did you also get the same kind of triples?

from kgmednli.

saptarshi059 avatar saptarshi059 commented on June 17, 2024

Hi Deeksha,

I'm facing the same issue but I think I've made some headway in this. As Soumyah mentioned, UMLS provides 2 main knowledge sources Metathesaurus & Semantic N/w. If you see this (https://www.nlm.nih.gov/research/umls/implementation_resources/query_diagrams/er1.html) the Metathesaurus provides relations b/w concepts (CUI's). However, the issue is with the relationship labels (such as RO, RB, etc.) They aren't descriptive and you're thus left with RELA. Hence you can use RELA to connect concepts through the Metathesaurus and use Soumyah's advice for connecting them via the Semantic N/w. This is the best I could come up with.

I'm working on writing a tutorial for extracting triples in the way mentioned.

from kgmednli.

Related Issues (1)

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.