Comments (7)
As an example, once graph coalescence has run in the AnswerCoalesce notebook, I do this:
print( graph_result['knowledge_graph']['nodes'])
Most of the nodes are fine, but there are several that are not:
{'id': 'CHEBI:10545', 'type': 'named_thing'}, {'id': 'CHEBI:24431', 'type': 'named_thing'}, {'id': 'CHEBI:25585', 'type': 'named_thing'}, {'id': 'CHEBI:27594', 'type': 'named_thing'}, {'id': 'CHEBI:33250', 'type': 'named_thing'}, {'id': 'CHEBI:33306', 'type': 'named_thing'}, {'id': 'CHEBI:33318', 'type': 'named_thing'}, {'id': 'CHEBI:33560', 'type': 'named_thing'}, {'id': 'CHEBI:22221', 'type': 'named_thing'}, {'id': 'CHEBI:23004', 'type': 'named_thing'}, {'id': 'CHEBI:27207', 'type': 'named_thing'}, {'id': 'CHEBI:37838', 'type': 'named_thing'}, {'id': 'MEDDRA:10013710', 'type': 'named_thing'}, {'id': 'MEDDRA:10029328', 'type': 'named_thing'}, {'id': 'MONDO:0008889', 'type': 'named_thing'}, {'id': 'CHEBI:23019', 'type': 'named_thing'}, {'id': 'CHEBI:33246', 'type': 'named_thing'}, {'id': 'CHEBI:46629', 'type': 'named_thing'}, {'id': 'CHEBI:51422', 'type': 'named_thing'}, {'id': 'CHEBI:51446', 'type': 'named_thing'}, {'id': 'CHEBI:23367', 'type': 'named_thing'}, {'id': 'CHEBI:24835', 'type': 'named_thing'}, {'id': 'CHEBI:29235', 'type': 'named_thing'}, {'id': 'CHEBI:33249', 'type': 'named_thing'}, {'id': 'CHEBI:33559', 'type': 'named_thing'}, {'id': 'CHEBI:37527', 'type': 'named_thing'}, {'id': 'CHEBI:43176', 'type': 'named_thing'}, {'id': 'CHEBI:46883', 'type': 'named_thing'}, {'id': 'CHEBI:51447', 'type': 'named_thing'}, {'id': 'CHEBI:24433', 'type': 'named_thing'}, {'id': 'CHEBI:24473', 'type': 'named_thing'}, {'id': 'CHEBI:29311', 'type': 'named_thing'}, {'id': 'CHEBI:25555', 'type': 'named_thing'}, {'id': 'CHEBI:33300', 'type': 'named_thing'}, {'id': 'CHEBI:25805', 'type': 'named_thing'}, {'id': 'CHEBI:33247', 'type': 'named_thing'}, {'id': 'CHEBI:26833', 'type': 'named_thing'}
I put some of the chebis into node normalization and they came back fine. This might be a version problem though. Perhaps these didn't get properly normalized in the robokop grpah or some derivative that the service is using?
from answercoalesce.
are we talking a redo of the entire DB or just a targeted normalization sweep of the insufficient ones?
from answercoalesce.
First, we need to understand why this is happening, then we can make a decision on how to fix it. In other words, I can't answer your question, because I don't know what/where the problem actually is.
from answercoalesce.
do you know when this was loaded? perhaps there is an old graph backup we can restore to verify.
from answercoalesce.
Sorry, I don't know what you're referring to. There are at least 3 databases in play - the robokop graph, the sqlite dbs, and the redis backing nodenormalization. I don't know which, if any, are the reason for the bug.
The first thing to do, I think, is write a simple test verifying the behavior.
from answercoalesce.
This is also true of the ontology version.
from answercoalesce.
I think that the right idea here is to use node normalization on our output graphs before sending them back. We will soon have a TRAPI nodenorm interface which will simplify this, so once that's done, we'll implement.
from answercoalesce.
Related Issues (20)
- Include a pre-ranking?
- Simplify? HOT 1
- AC 500 HOT 1
- Not enough prov?
- Too much chem enrichment
- remove causes HOT 1
- Collapse results
- EDAM prefix
- Rebuild tests
- Enrich on omnicorp?
- Broken Readme Link
- Merging dup results HOT 1
- Answer coalesce error: HTML error status code 500 returned
- Remove smart api registrations HOT 1
- make NN URL a configuration parameter HOT 2
- TRAPI TIMELINE: KPs complete v1.2 implementations HOT 4
- Over-agressive AC HOT 3
- Non-enriched coalescence HOT 1
- Multiple Deployments
- Crummy Enrichments HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from answercoalesce.