Skip to content

Releases: opencaesar/oml

2.8.0

01 Aug 16:23
Compare
Choose a tag to compare

Full Changelog: 2.7.3...2.8.0

Oml Simplification:

  • Deleted Structure and StructuredProperty metaclasses
  • Deleted Classifier abstract metaclass

2.7.3

24 Jul 16:52
Compare
Choose a tag to compare

Full Changelog: 2.7.2...2.7.3

Made structure instance's type optional

2.7.2

18 Jul 19:07
Compare
Choose a tag to compare

Full Changelog: 2.7.1...2.7.2

Fix a bug in OmlCatalog.

USE LATEST PATCH for the 2.7.x release

2.7.1

16 Jul 22:42
Compare
Choose a tag to compare

Full Changelog: 2.7.0...2.7.1

USE LATEST PATCH for the 2.7.x release

2.7.0

09 Jul 14:49
Compare
Choose a tag to compare

Full Changelog: 2.6.0...2.7.0

Add support for anonymous relation instances in descriptions
Add support for specifying multiple values for a property value assertion

USE LATEST PATCH for the 2.7.x release

2.6.0

03 Apr 10:25
6f911bf
Compare
Choose a tag to compare

What's Changed

Full Changelog: 2.5.0...2.6.0

  • increment minor version to 2.6.0
  • Contains various fixes and improvements:
  • Added Argument.getValue()
  • Fixed double parsing in DSL
  • Switched unsigned int to int instead of long
  • Switch antecedent and consequent params in OmlBuilder/OmlWrite.addRule
  • Added new API in OmlBuilder
  • Modified OmlConstant API to only retain Oml constants
  • Improved formatting PropertyValueAssertion in DSL

2.5.0

22 Feb 09:07
b654350
Compare
Choose a tag to compare

Multiple changes to OML API:

  • Added a scope parameter to OmlIndex and OmlSearch find APIs
  • Deprecated the old API but kept them till next major revision
  • Fixed content assist for import to escape prefix if it's a keyword
  • Small improvement for Element.getIri API impl
  • Added OmlCatalog.getRewriteUris() API to get all rewrite paths
  • Made OmlValidator2 cache the search scope in the context map

2.4.0

19 Sep 03:17
Compare
Choose a tag to compare
  • Added Instance.getTypes() and NamedInstance.getEntityTypes APIs
  • OmlBuilder.addSpecializationAxiom now handles specializations of
    forward/reverse relations (this was an omission)
  • Renamed OmlBuilder.addConceptTypeAssertion to
    OmlBuilder.addTypeAssertion (this was a bug).
  • Added 3 versions of OmlBuilder.addPropertyValueAssertion
  • Added OmlBuilder.createLiteral(Object)
  • Added OmlWrite.addImport(Ontology, Ontology)
  • Changed OmlWrite.addSpecializationAxiom to support forward/reverse
    relations as sub relations
  • Renamed OmlDelete.deleteRecursively(Element) to
    OmlDelete.recursiveDelete(Element)
  • Added OmlDelete.cascadeDelete(NamedInstance, CascadeRules)
  • Added OmlDelete.recursiveDelete(CascadeResult)
  • Fixed an exception with OmlDelete.delete()
  • Added OmlRead.isAnnotatedBy(IdentifiedElement, AnnotationProperty)
  • Added OmlSearch.findIsAnnotatedBy(IdentifiedElement,
    AnnotationProperty)
  • Added OmlSearch.findIsEnumeratedProperty(ScalarProperty)
  • Added OmlSearch.findIsEnumeratedScalar(Scalar)
  • Added OmlSearch.findEnumerationLiterals(Scalar)
  • Fixed OmlSearch.findInstancesRelatedAsTargetTo and
    OmlSearch.findInstancesRelatedAsSourceTo to check sub relations too.
  • Improved labels for some of OmlItemProviderAdapters
  • Moved OmlSearch.findJavaValue to OmlRead.getJavaValue
  • Deleted OmlSearch.findJavaType
  • Fixed OmlSeach.findIsEnumeratedScalar
  • Deleted OmlSeach.findType(Literal)
  • Fixed OmlSearch.findIsKindOf

2.3.0

16 Aug 02:29
Compare
Choose a tag to compare

Removed the property kind keywords (scalar property, structured property, relation) from the restriction axioms' textual syntax.

2.2.0

15 Aug 08:35
Compare
Choose a tag to compare

Multiple fixes
- Fix OmlEditor's resource set to support validate
- Fix OmlImportUriGlobalScopeProvider to only return .oml resources
- Fix OmlRead.getImportedOntology to catch exception and return null
- Fix OmlResourceServiceProvider to not require URIs to be resolved by
catalog
- Fix OmlUriResolver.getResolvedUris to include URIs with any OML
extension
- Fix OmlValidator2.validateOntologyIri to complain if iri does not
match uri or is not resolvable to it by catalog
- Override OmlXMIResource.load to set the URIHandler to the oml one
- Fix OmlCatalog.create to initiaite the baseUri