enanomapper / slimmer

Slims ontologies.
https://jbiomedsem.biomedcentral.com/articles/10.1186/s13326-015-0005-5
MIT License
7 stars 6 forks source link

slimmed OWL files should get provenance details #2

Open egonw opened 9 years ago

egonw commented 9 years ago

This includes:

egonw commented 9 years ago

original OWL file should use owl:priorVersion... just need to get it out...

// prior version
owlAnnotationProperty =
  dataFac.getOWLAnnotationProperty(OWLRDFVocabulary.OWL_PRIOR_VERSION.getIRI());
anno = dataFac.getOWLAnnotation(owlAnnotationProperty, oldVersion);
man.applyChange(new AddOntologyAnnotation(onto, anno));