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

Migrate repo to ODK 1.5 #259

Closed
wants to merge 10 commits into from
Closed

Migrate repo to ODK 1.5 #259

wants to merge 10 commits into from

Conversation

matentzn
Copy link
Contributor

@matentzn matentzn commented Apr 4, 2024

No description provided.

@@ -56,12 +56,6 @@



<!-- http://purl.org/dc/elements/1.1/date -->

<owl:AnnotationProperty rdf:about="http://purl.org/dc/elements/1.1/date"/>
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changed the dc elements namespace to dc terms throughout to satisfy a new, default QC check in ODK 1.5.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated ro import according to new spec #260

@matentzn matentzn requested a review from jamesaoverton April 4, 2024 19:26
@matentzn matentzn mentioned this pull request Apr 4, 2024
Copy link
Member

@jamesaoverton jamesaoverton left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this is mostly fine but I'm worried about cob-base.owl.

(I'm not sure how valuable my review is. I don't use ODK much, and there's just a ton of changes here.)

This is what I did:

  1. make a fresh clone
  2. switch to this branch
  3. cd src/ontology/
  4. ./run.sh make all

That mostly works, but I get an error at https://github.com/OBOFoundry/COB/blob/odk1.5/src/ontology/cob.Makefile#L26 because products/* does not match any files. If I mkdir products && touch products/foo.bar then make all completes successfully.

Then I look at the diffs in the generated files:

  • cob.owl, cob-full.owl and cob-native.owl have minor differences that make sense -- good
  • src/ontology/imports/omo_import.owl has a lot of additions, which I guess is fine
  • src/ontology/imports/ro_import.owl has minor changes that I understand -- good
  • cob-base.owl I'm worried about
    • drops a lot of assertions about external terms, which is good
    • also drops important equivalence axioms and annotations on them, which I don't think is good but I'm not sure; e.g. COB:0000107 equivalent to OBI:0000070
    • drops assertions entirely about COB, e.g. COB:0000016's inverse is COB:0000086

@matentzn
Copy link
Contributor Author

matentzn commented Apr 6, 2024

@jamesaoverton for the review.

(I'm not sure how valuable my review is. I don't use ODK much, and there's just a ton of changes here.)

Very valuable. Thanks for taking the time!

That mostly works, but I get an error at https://github.com/OBOFoundry/COB/blob/odk1.5/src/ontology/cob.Makefile#L26 because products/* does not match any files. If I mkdir products && touch products/foo.bar then make all completes successfully.

I added a README.md now in there as a fixture so this should not happen again.

cob-base.owl I'm worried about
drops a lot of assertions about external terms, which is good
also drops important equivalence axioms and annotations on them, which I don't think is good but I'm not sure; e.g. COB:0000107 equivalent to OBI:0000070

That should not be the case.. See below, I have reverted the process for now!

drops assertions entirely about COB, e.g. COB:0000016's inverse is COB:0000086

Good spot!
This is because of some missing conditionals, which we will have in the next ROBOT release: https://github.com/ontodev/robot/pull/1187/files#diff-dc25d0b1a6794b1ac6ad2d5dfa891e182bc17f72541e3ca467cb3fd7a62a1e3eR1543

I have decided to revert the COB base process to what it was before. The accompanying issue is #261. Thanks for spotting that. COB base is not that straight forward to define I guess.

@matentzn
Copy link
Contributor Author

matentzn commented Apr 6, 2024

I also made sure that you and your team can run the releases again properly, by upgrading sssom py during the relevant pipeline step. I think this is ready to go now!

matentzn added a commit that referenced this pull request Aug 21, 2024
This was requested by @jamesaoverton in #259 and not implemented
@jamesaoverton
Copy link
Member

Is this superseded by #275, and maybe #279?

@matentzn
Copy link
Contributor Author

Yes, I forgot this existed and scrambled to migrate your feedback over to main now, #279

@matentzn matentzn closed this Aug 22, 2024
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.

2 participants