mowl.corpus
Corpus
- mowl.corpus.base.extract_and_save_axiom_corpus(ontology, out_file, mode='w')[source]
Method to extract axioms of a particular ontology and save it into a file.
- mowl.corpus.base.extract_axiom_corpus(ontology)[source]
Method to extract axioms of a particular ontology. Similar to
extract_and_save_axiom_corpus()
but this method returns a list instead saving into a file.
- mowl.corpus.base.extract_and_save_annotation_corpus(ontology, out_file, mode='w')[source]
This method generates a textual representation of the annotation axioms in an ontology following the Manchester Syntax.
- mowl.corpus.base.extract_annotation_corpus(ontology)[source]
This method generates a textual representation of the annotation axioms in an ontology following the Manchester Syntax. Similar to
extract_and_save_annotation_corpus()
but this method returns a list instead saving into a file.