RTX-KG2 icon indicating copy to clipboard operation
RTX-KG2 copied to clipboard

Edges have a qualified direction of 'decreased' but no qualified predicate

Open amykglen opened this issue 1 year ago • 6 comments

About 2,000 edges in KG2.8.2pre have a qualified_object_direction of 'decreased', but they have no qualified_predicate or qualified_object_aspect.

This seems like a bug?

match (n)-[e]->(m) where e.qualified_predicate is null and not e.qualified_object_direction is null return e.primary_knowledge_source, e.qualified_predicate, e.qualified_object_direction, e.qualified_object_aspect, count(distinct e) order by count(distinct e)
e.primary_knowledge_source e.qualified_predicate e.qualified_object_direction e.qualified_object_aspect count(distinct e)
"infores:drugbank" null "decreased" null 114
"infores:drugcentral" null "decreased" null 2016

amykglen avatar May 20 '23 00:05 amykglen

@acevedol please verify if this is fixed in KG2.8.3pre, and close if this is already fixed

saramsey avatar Jun 12 '23 18:06 saramsey

See #339 for the cause. I'm going to leave the verify this fix in next kg2 build tag on, but that isn't for KG2.8.4pre.

ecwood avatar Aug 10 '23 21:08 ecwood

Still an issue in KG2.8.3 as shown by

match (n)-[e]->(m) where e.qualified_predicate is null and not e.qualified_object_direction is null return e.primary_knowledge_source, e.qualified_predicate, e.qualified_object_direction, e.qualified_object_aspect, count(distinct e) order by count(distinct e)

e.primary_knowledge_source e.qualified_predicate e.qualified_object_direction e.qualified_object_aspect count(distinct e)
"infores:drugbank" null "decreased" null 114
"infores:drugcentral" null "decreased" null 2016

acevedol avatar Aug 16 '23 17:08 acevedol

Fixed by Erica in https://github.com/RTXteam/RTX-KG2/commit/e1548d3ee17ad7243098954e597781da4c0c8974 for KG2.8.4

acevedol avatar Aug 16 '23 17:08 acevedol

This isn't in the KG2.8.4pre build, so it needs to stay open till we can verify in KG2.8.5pre.

ecwood avatar Aug 16 '23 17:08 ecwood

On the plus side, we are getting better and better with deployment. Hoping we can roll out KG2.8.5c (when the time comes) even faster than the roll-out 2.8.4c (which, in turn, was a lot faster than 2.8.3c).

saramsey avatar Aug 18 '23 00:08 saramsey