Skip to content

Fix ROBOT QC label_whitespace violations and duplicate label in efo-edit.owl - #2675

Merged
aleixpuigb merged 4 commits into
masterfrom
copilot/fix-robot-qc-errors
Apr 20, 2026
Merged

aleixpuigb merged 4 commits into
masterfrom
copilot/fix-robot-qc-errors

Conversation

Copilot AI commented Apr 14, 2026 •

Copy link
Copy Markdown
Contributor

136 rdfs:label values had trailing whitespace (including one trailing non-breaking space \xa0), causing label_whitespace ERROR-level violations in ROBOT QC report. Additionally, a duplicate label QC failure was resolved by obsoleting a redundant term.

Changes

  • Batch-stripped trailing whitespace from all 136 affected labels:

    • ~128 NMR metabolomics terms (EFO_0022xxx range)
    • 9 cell line terms: TPC-1, BON-1, SK-UT-2, MES-23.5, Hs-578Bst, RT4 NF2.17, CHO-AA8, B16-F1, C-127
    • obsolete_taurine measurement
    • "Disorder of vitamin and non-protein cofactor absorption and transport" (trailing \xa0)
  • Obsoleted duplicate term EFO:0022150 (phospholipids in very small VLDL measurement) in favour of EFO:0022300, which has a more specific OBA parent (OBA:1001011, a subclass of OBA:VT0001547):

    • Label changed to obsolete_phospholipids in very small VLDL measurement
    • owl:deprecated = true
    • obo:IAO_0100001 (term_replaced_by) → http://www.ebi.ac.uk/efo/EFO_0022300
    • efo:obsoleted_in_version = 3.89
    • Logical rdfs:subClassOf axiom removed

Example whitespace fix:

<!-- Before -->
<rdfs:label>cholesterol in large HDL measurement </rdfs:label>

<!-- After -->
<rdfs:label>cholesterol in large HDL measurement</rdfs:label>

No other label text was modified. The remaining ROBOT QC error types (duplicate_definition, multiple_definitions, misused_obsolete_label) are out of scope for this PR.

Copilot AI linked an issue Apr 14, 2026 that may be closed by this pull request
…alues

Fixes ROBOT QC label_whitespace violations:
- 1 obsolete taurine measurement term
- ~128 NMR metabolomics terms (EFO_0022xxx range)
- Cell lines: TPC-1, BON-1, SK-UT-2, MES-23.5, Hs-578Bst, RT4 NF2.17, CHO-AA8, B16-F1, C-127
- 1 term with trailing non-breaking space (Disorder of vitamin and non-protein cofactor absorption and transport)

Part of fix for ROBOT QC failures (issue #2634). Does not close the issue
as multiple_definitions, duplicate_definition, and misused_obsolete_label
fixes are still needed.

Agent-Logs-Url: https://github.com/EBISPOT/efo/sessions/24e598da-d958-4009-80ae-c867b0332c39

Co-authored-by: aleixpuigb <[email protected]>
Copilot AI changed the title [WIP] Fix ROBOT QC errors in ODK migration Fix ROBOT QC label_whitespace violations in efo-edit.owl Apr 14, 2026
Copilot AI requested a review from aleixpuigb April 14, 2026 11:27
@aleixpuigb aleixpuigb removed a link to an issue Apr 14, 2026
@aleixpuigb
aleixpuigb marked this pull request as ready for review April 14, 2026 12:50
@aleixpuigb

Copy link
Copy Markdown
Collaborator

@copilot The qc is failing because there are two terms that have the same label (phospholipids in very small VLDL measurement), and probably they are equivalent terms. Could you show all properties of both terms to decide which of the terms should be obsoleted and merge into the other term?

Copilot AI commented Apr 20, 2026

Copy link
Copy Markdown
Contributor Author

@copilot The qc is failing because there are two terms that have the same label (phospholipids in very small VLDL measurement), and probably they are equivalent terms. Could you show all properties of...

Here are all properties of both terms:


EFO:0022150 — http://www.ebi.ac.uk/efo/EFO_0022150

Property Value
rdfs:label phospholipids in very small VLDL measurement
rdfs:subClassOf OBA:VT0001547
IAO:0000115 (definition) Quantification of phospholipids in very small VLDL.
Curator (IAO:0000117) (none)
Comment (none)

EFO:0022300 — http://www.ebi.ac.uk/efo/EFO_0022300

Property Value
rdfs:label phospholipids in very small VLDL measurement
rdfs:subClassOf OBA:1001011
IAO:0000115 (definition) Quantification of phospholipids in very small VLDL.
Curator (IAO:0000117) Elizabeth Lewis
rdfs:comment To be reviewed for inclusion in OBA.

Key differences:

  • They have different OBA parents (OBA:VT0001547 vs OBA:1001011) — OBA:VT0001547 is a VariantTraits term (from the VT ontology), while OBA:1001011 appears to be a more direct OBA term.
  • EFO:0022300 is newer (higher ID), has a curator (Elizabeth Lewis), and carries the note To be reviewed for inclusion in OBA.
  • EFO:0022150 is older (lower ID) and is a subclass of an OBA-imported VT-origin term.

My suggestion: EFO:0022300 looks like it was created as an update/replacement with a more appropriate OBA parent, so EFO:0022150 would be a candidate for obsolescence with replacement pointing to EFO:0022300 — but please confirm with the curators before I proceed, as it depends on which OBA parent is correct for this measurement.

@aleixpuigb

Copy link
Copy Markdown
Collaborator

@copilot Since OBA:1001011 it is a subclass of OBA:VT0001547, it makes sense to obsolete EFO:0022150 in favour of EFO:0022300.

…ids in very small VLDL measurement term)

Co-authored-by: aleixpuigb <[email protected]>

Copilot AI commented Apr 20, 2026

Copy link
Copy Markdown
Contributor Author

@copilot Since OBA:1001011 it is a subclass of OBA:VT0001547, it makes sense to obsolete EFO:0022150 in favour of EFO:0022300.

Done. EFO:0022150 has been obsoleted with replacement pointing to EFO:0022300 in commit 54dc481. The changes include:

  • Label changed to obsolete_phospholipids in very small VLDL measurement
  • owl:deprecated = true
  • obo:IAO_0100001 (term_replaced_by) → http://www.ebi.ac.uk/efo/EFO_0022300
  • efo:obsoleted_in_version = 3.89
  • rdfs:subClassOf OBA_VT0001547 removed (no logical axioms on obsolete terms)

The duplicate label QC failure should now be resolved.

Copilot AI changed the title Fix ROBOT QC label_whitespace violations in efo-edit.owl Fix ROBOT QC label_whitespace violations and duplicate label in efo-edit.owl Apr 20, 2026
@aleixpuigb
aleixpuigb merged commit 11b3472 into master Apr 20, 2026
1 check passed
@aleixpuigb
aleixpuigb deleted the copilot/fix-robot-qc-errors branch April 20, 2026 16:57
This was referenced Sep 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants