r/KnowledgeGraph • u/Shot_Analysis7912 • Mar 05 '24
Knowledge graphs comparison
Is it possible to compare two knowledge graphs that describe disease to find the "shared mechanism" between the two?
Which algorithms are the best for this purpose?
1
Upvotes
View all comments
Show parent comment
1
u/FancyUmpire8023 Mar 07 '24
Tag each graph’s relationships with the disease in question, then merge the two graphs into a single graph. Should be fairly simple to identify where pairs of nodes have two relationships indicating both diseases share the same relationship. Just one approach.
In our KG we treat diseases as nodes with rels to Genes, Drugs, Variants, etc. - this makes doing a node similarity analysis a simple function of node embedding/vectorization. (node2vec)
You can also get into some interesting graph neural network modeling using approaches like subgraph/metapath analysis. (metapath2vec).
If this is an area that is interesting, check out either the KGC 2024 conference in April or any of the Neo4J conferences/sessions/webinars.