Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RTX-KG2 needs to ETL the UNII identifiers list #420

Open
saramsey opened this issue Nov 13, 2024 · 2 comments
Open

RTX-KG2 needs to ETL the UNII identifiers list #420

saramsey opened this issue Nov 13, 2024 · 2 comments

Comments

@saramsey
Copy link
Member

The Clinical Trials KP is returning chemical compounds in UNII, but RTX-KG2pre doesn't have UNII identifiers. So the edges are getting dropped. See for example #419

@saramsey
Copy link
Member Author

saramsey commented Nov 13, 2024

Working this issue in branch issue-420, on stevekg2pre.rtx.ai in us-west-2.

saramsey pushed a commit that referenced this issue Nov 14, 2024
saramsey pushed a commit that referenced this issue Nov 19, 2024
@saramsey
Copy link
Member Author

The above commits seem to fix this issue (working this issue on stevekg2pre.rtx.ai):

ubuntu@ip-172-31-13-50:~/kg2-build$ grep UNII:GCU97FKN3R kg2-merged-2.10.2-edges.jsonl | grep MONDO:0015564 | jq
{
  "domain_range_exclusion": false,
  "id": "UNII:GCU97FKN3R---biolink:in_clinical_trials_for---None---None---None---MONDO:0015564---ClinicalTrialsKG:",
  "negated": false,
  "object": "MONDO:0015564",
  "predicate": null,
  "primary_knowledge_source": "ClinicalTrialsKG:",
  "publications": [],
  "publications_info": {},
  "qualified_object_aspect": null,
  "qualified_object_direction": null,
  "qualified_predicate": null,
  "relation_label": "in_clinical_trials_for",
  "source_predicate": "biolink:in_clinical_trials_for",
  "subject": "UNII:GCU97FKN3R",
  "update_date": "2008-12-01"
}
{
  "domain_range_exclusion": false,
  "id": "UNII:GCU97FKN3R---biolink:treats---None---None---None---MONDO:0015564---ClinicalTrialsKG:",
  "negated": false,
  "object": "MONDO:0015564",
  "predicate": null,
  "primary_knowledge_source": "ClinicalTrialsKG:",
  "publications": [],
  "publications_info": {},
  "qualified_object_aspect": null,
  "qualified_object_direction": null,
  "qualified_predicate": null,
  "relation_label": "treats",
  "source_predicate": "biolink:treats",
  "subject": "UNII:GCU97FKN3R",
  "update_date": "2008-12-01"
}
{
  "domain_range_exclusion": false,
  "id": "UNII:GCU97FKN3R---biolink:mentioned_in_trials_for---None---None---None---MONDO:0015564---ClinicalTrialsKG:",
  "negated": false,
  "object": "MONDO:0015564",
  "predicate": null,
  "primary_knowledge_source": "ClinicalTrialsKG:",
  "publications": [],
  "publications_info": {},
  "qualified_object_aspect": null,
  "qualified_object_direction": null,
  "qualified_predicate": null,
  "relation_label": "mentioned_in_trials_for",
  "source_predicate": "biolink:mentioned_in_trials_for",
  "subject": "UNII:GCU97FKN3R",
  "update_date": "2011-09-13"
}

saramsey pushed a commit that referenced this issue Nov 20, 2024
saramsey pushed a commit that referenced this issue Nov 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant