owlcollab / owlcollab/owltools

Conversion from OBO to OWL Functional creates invalid IRIs

Open
#286 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Java
Stars
115
Forks
34
PR merge metrics
No merged PRs in 30d

Description

Hi!

When converting from OBO to OWL Functional, some prefixed identifiers are expanded without proper escaping, creating the invalid IRIs.

Example:

  • Download ecocore.obo
  • Run owltools ecocore.obo -o -f ofn ecocore.ofn

The resulting file will contain invalid IRIs such as:

http://www.geneontology.org/formats/oboInOwl#http://www.w3.org/2000/01/rdf-schema#seeAlso

(this is also an obvious roundtrip issue but as far as this goes I'm only concerned about the syntax right now).

Related issues:

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the issue with the linked ecocore.obo file using the owltools ecocore.obo -o -f ofn ecocore.ofn command. Inspect the OBO-to-OWL Functional conversion path and verify that the generated output contains syntactically valid IRIs instead of concatenating two full IRIs.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
cli, tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.