Skip to content

Ground causal graph predicates with relation CURIEs #193

Description

@realmarcin

Found during adversarial review of #192.

The new scorer makes predicate_id coverage visible, and the current corpus still has 147 of 152 causal-graph edges without a grounded relation CURIE. Every current record is flagged with edges_without_predicate_id.

This is not a blocker for #192: the free-text predicates are evidence-backed and the schema only makes predicate_id optional. It is still the largest remaining graph-readiness gap because downstream code cannot interpret assembles into, anchors, recruits, carries out, or constrains as stable relations.

Suggested fix

  1. Triage the most common edge predicates and map exact matches to RO, GO-CAM, BFO, or another accepted relation namespace.
  2. Record deliberate no-matches rather than forcing broad relation terms when the graph edge is more specific than the ontology.
  3. Keep scripts/score_causal_graphs.py as the progress meter; edges_with_predicate_id should climb from 5 to 152 only when the mappings are curator-reviewed.

Measured on PR #192 by running:

uv run python scripts/score_causal_graphs.py --limit 25

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Process, docs, or small contentenhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions