Skip to content

Commit

Permalink
fixed some more affects rules
Browse files Browse the repository at this point in the history
  • Loading branch information
cbizon committed Jul 13, 2023
1 parent 910e016 commit d34502e
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 4 deletions.
5 changes: 5 additions & 0 deletions src/rules/Notes
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,10 @@ The current rules have been created through a somewhat complicated process:
* remove subclass rules
5. By hand, I went into kara_typed_rules/rules_with_types_cleaned_finalized.json and changed "biolink:correlated_with"
to "biolink:positively_correlated_with"
6. For reasons unclear to me after all this, we still have a bunch of rules of this form:
?e activity_or_abundance_biolink:affects ?b ?e biolink:similar_to ?a => ?a increased_activity_biolink:affects ?b
For these I go into hand and edit the rule to be
?e activity_or_abundance_biolink:affects ?b ?e biolink:similar_to ?a => ?a increased_activity_biolink:affects ?b
Changing both the "Rule" and the edge in "template" by adding the correct qualifier

This process is obviously roundabout and we are going to clarify it in the next round of rule minings.
Empty file.
24 changes: 20 additions & 4 deletions src/rules/kara_typed_rules/rules_with_types_cleaned_finalized.json
Original file line number Diff line number Diff line change
Expand Up @@ -4863,7 +4863,7 @@
}
},
{
"Rule": "?e activity_or_abundance_biolink:affects ?b ?e biolink:similar_to ?a => ?a increased_activity_biolink:affects ?b",
"Rule": "?e increased_activity_or_abundance_biolink:affects ?b ?e biolink:similar_to ?a => ?a increased_activity_biolink:affects ?b",
"Head Coverage": "0.000698966",
"Std Confidence": "0.192307692",
"PCA Confidence": "0.3125",
Expand Down Expand Up @@ -4909,6 +4909,10 @@
{
"qualifier_type_id": "biolink:object_aspect_qualifier",
"qualifier_value": "activity_or_abundance"
},
{
"qualifier_type_id": "biolink:object_direction_qualifier",
"qualifier_value": "increased"
}
]
}
Expand Down Expand Up @@ -7751,7 +7755,7 @@
}
},
{
"Rule": "?e activity_or_abundance_biolink:affects ?b ?e biolink:similar_to ?a => ?a decreased_activity_biolink:affects ?b",
"Rule": "?e decreased_activity_or_abundance_biolink:affects ?b ?e biolink:similar_to ?a => ?a decreased_activity_biolink:affects ?b",
"Head Coverage": "0.000052801",
"Std Confidence": "0.104395604",
"PCA Confidence": "0.154471545",
Expand Down Expand Up @@ -7797,6 +7801,10 @@
{
"qualifier_type_id": "biolink:object_aspect_qualifier",
"qualifier_value": "activity_or_abundance"
},
{
"qualifier_type_id": "biolink:object_direction_qualifier",
"qualifier_value": "decreased"
}
]
}
Expand Down Expand Up @@ -8832,7 +8840,7 @@
}
},
{
"Rule": "?e activity_or_abundance_biolink:affects ?b ?e biolink:similar_to ?a => ?a increased_activity_or_abundance_biolink:affects ?b",
"Rule": "?e increased_activity_or_abundance_biolink:affects ?b ?e biolink:similar_to ?a => ?a increased_activity_or_abundance_biolink:affects ?b",
"Head Coverage": "0.000584971",
"Std Confidence": "0.192307692",
"PCA Confidence": "0.3125",
Expand Down Expand Up @@ -8878,6 +8886,10 @@
{
"qualifier_type_id": "biolink:object_aspect_qualifier",
"qualifier_value": "activity_or_abundance"
},
{
"qualifier_type_id": "biolink:object_direction_qualifier",
"qualifier_value": "increased"
}
]
}
Expand Down Expand Up @@ -11779,7 +11791,7 @@
}
},
{
"Rule": "?e activity_or_abundance_biolink:affects ?b ?e biolink:similar_to ?a => ?a decreased_activity_or_abundance_biolink:affects ?b",
"Rule": "?e decreased_activity_or_abundance_biolink:affects ?b ?e biolink:similar_to ?a => ?a decreased_activity_or_abundance_biolink:affects ?b",
"Head Coverage": "0.000051974",
"Std Confidence": "0.104395604",
"PCA Confidence": "0.154471545",
Expand Down Expand Up @@ -11825,6 +11837,10 @@
{
"qualifier_type_id": "biolink:object_aspect_qualifier",
"qualifier_value": "activity_or_abundance"
},
{
"qualifier_type_id": "biolink:object_direction_qualifier",
"qualifier_value": "decreased"
}
]
}
Expand Down

0 comments on commit d34502e

Please sign in to comment.