# OML Ontologies

    .
    ├── car_oml_demo : [OML1]
    ├── car_simple   : [OML1]
    ├── cdf          : [OML1]
    ├── drivetrain   : [OML1]
    └── system       : [OML2]

## Notes

- OML2 Needs java class format version 61 to compile.
  This corresponds to java 17.

- The oml core ontology uses OML2 from version 6.0.0 onward.

- The metrology ontology uses OML2 from version 4.0.0 onward.

### OML -> OML2 syntax changes

- `ri` becomes `relation instance`.
- `ci` becomes `concept instance`.

- `:>` becomes `<`. Its position now depends on the type it succeeds.
- `enumerated scalar` becomes `scalar` and gains the `oneOf` keyword.
