Skip to content

simply saving an OWL/XML (*.owl) ontology with ROBOT 1.9.2 is insufficient to canonicalize it #1090

@jclerman

Description

@jclerman

The recommendation in the release notes for robot 1.9.2 suggests to:

save your ontology with ROBOT 1.9.2 or Protégé 5.6.0 without introducing any changes to the logic or annotations, and commit the resulting ontology files

In my experience, that wasn't quite enough - complete canonicalization of my ontology didn't happen without round-tripping through OWL functional format - without doing that, some lines in the XML output were re-ordered when I round-tripped.

What worked for me (other variants might work too; haven't tested):

robot convert -i my-protege-5.5.0-ontology.owl -o my-ontology.ofn
robot convert -i my-ontology.ofn -o my-canonicalized-ontology.owl

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions