Contributor Role Ontology

Contribution roles for use in crediting persons or organizations.

Editors’ Guide for CRO developers

Creating a new branch

Edits to the CRO should be done on a branch via a Pull Request. For guidance on creating a branch and creating a pull request, go here.

  1. Open the file cro-edit.owl in Protege. On the bottom left, you should see your branch name (not Git: master)

  2. Switch on the Elk reasoner: Reasoner->Start Reasoner. If you are making changes, be sure to synchronize the reasoner.

Edit the ontology in Protege:

  1. Find parent term in Protege by searching in the search box (at top of screen)
  2. Double check that term is not already there
  3. Add subclass
  4. Add label (URI should be auto-generated)
  5. Under annotations, add definition, click OK
  6. Annotation on definition as ‘definition source’
  7. hasDBxef, if applicable
  8. Under annotations, add synonyms, if necessary as an ‘alternative term’.

Save

do not edit any other files!!!

Commit your changes

  git diff
  git status
  git commit -a -m "COMMIT MESSAGE"
  git push

CREATING NEW TERMS (Checklist)

Closing Issues with Commit Messages

This is the preferred way to commit a new term.
See the GitHub help pages for this. To close and commit terms that relate to issue #68, for instance, create the terms and save them to file.

git add -u .
git commit -m "This closes #68"  
git push

Checklist

Always synchronize the reasoner before committing. Did your changes introduce unsatisfiable classes? If so, investigate them.

For any classes you have created, are they in your ID range? Did you add text definitions, adding provenance information? Is the reasoner finding unintended inferred equivalent classes? Subclasses?

Check the Travis report after your commits. This should alert you to any of the following:

Back to Editors Guide

Back to home