Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conversion from OBO to OWL Functional creates invalid IRIs #534

Open
althonos opened this issue Jul 12, 2019 · 3 comments
Open

Conversion from OBO to OWL Functional creates invalid IRIs #534

althonos opened this issue Jul 12, 2019 · 3 comments

Comments

@althonos
Copy link

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 robot convert --input ecocore.obo --format ofn --output 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:

@cmungall
Copy link
Contributor

cmungall commented Jul 12, 2019 via email

@cmungall
Copy link
Contributor

cmungall commented Jul 12, 2019 via email

@althonos
Copy link
Author

@cmungall : their OBO is fine, they are using the full IRI of rdfs:seeAlso in a qualifier, which is perfectly valid. The OWL API translation for some reason prefixes it with oboInOwl (which is wrong on the semantic level) and then expands the prefixed ID into a full IRI without percent-escaping (which is wrong on the syntactic level).

I opened an issue on the OWL API issue tracker, but I figured out I would be good to have an issue on ROBOT as well until it is updated to a bugfixed version of the OWL API.

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

No branches or pull requests

2 participants