-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add functionality for setting name part of IRI to prefLabel (#399)
Added --rename-iris and --annotate-source options of ontoconvert. In order to allow combining these options with with the --squash, --recursive and --reasoner options, the --squash and --recursive functionality had to be moved into Ontology.save(). Changes: implemented ontopy.utils.rename_iris() implemented ontopy.utils.annotate_sources() improved writing of catalog files added recursive, squash and write_catalog_file keyword arguments to Ontology.save() cleaned up Ontology.sync_reasoner() added new options to the ontoconvert tool added a workaround to ontoconvert for correct reasoning using rdflib - if the related bug in Owlready2 is not fixed soon, we should consider to add a correct implementation of owlready2.reasoning._apply_reasoning_results() to EMMOntoPy * Fixed the rename_iris() and annotate_source() utility functions. * Completed implementation of rename_iris() - it dragged a lot of changes with it.. * Added tests to new functions in utils. * Added interactive test environment * Uppdated annotate_source to use rdfs:isDefinedBy and fixed tests
- Loading branch information
1 parent
b7f4934
commit 5cdb24e
Showing
9 changed files
with
595 additions
and
207 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.