Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Open SmartSVN. The files you will be working with are located here: svn+ssh://orchestra.med.harvard.edu/svn/cbmi/u24/eagle-i-dev/datamodel/trunk/src/ontology
  2. Click Update to update the entire trunk.

  Image Modified
This step updates three files, ids.xlsx, ero.owl and eagle-i-app.owl, as well as all relevant imports.

...

  1. Enter the following information in each column:

    Column A
    ERO ID #

    Column B
    Mireot

    Column C
    Label

    Column D
    Type

    Column E
    URI

    Choose the next consecutive number

    Nothing

    Enter the name of the term

    Typ Class

    Choose the next consecutive number

  2. Save the file, but leave the spreadsheet open, you'll come back to retrieve the ERO ID#.
  3. Open Protégé. Open the OWL ontology. Choose the file, eagle-app.owl from your directory. For example: /Users/JaneCurator/eagle-i-datamodel/trunk/src/ontology/eagle-i-app.owl.
  4. From the Active Ontology tab, click Classes.

Image Modified

  1. The default file that opens is eagle-i-app.owl, use the drop-down menu to change the file to the ero file.
  2. If you don't see the parent term, use the search box in the upper-left corner of the screen. In this example, the parent term is technique. Once you find the parent term, highlight the correct class and then click Subclass to add a subclass.
  3. When the dialog box, Create a new Owl Class, appears copy and paste the ERO ID (from Column A in the Excel spreadsheet) into the text box: "Please enter a class name". Click OK.

...

  1. Click to change the label for the new term you just added.  Highlight the existing label and replace the ERO_xxxx ID (from the Excel spreadsheet) with the name of the term.
    All labels MUST be in lowercase and every annotation must be a datatype, String.
  2. To change the datatype, choose String from the Type drop-down list at the bottom of the Annotation box. Click OK.

Image Modified

  1. Choose a definition from the list of annotation properties.  The definition must be IAO (Information Artifacts Ontology); hover over the definition to make sure. If necessary, you can add an alternate term. Click to add a new annotation. Again, make sure the type is STRING. Click OK.
  2. Add two annotation values: definition editor and definition source: Click (add new annotation) and select definition editor from the annotation properties list and type your name using the format: PERSON: First name Last name. Click OK.
  3. Click again, and select definition source.
  4. Copy and paste the definition source. Make sure the type is STRING. Click OK.
  5. Save the term. Click Save and hover over the term to confirm it has a valid URI.

...