Metadata#
- class pronto.Metadata[source]#
Bases:
object
A mapping containing metadata about the current ontology.
- format_version#
The OBO format version of the referenced ontology. 1.4 is the default since
pronto
can only parse and write OBO documents of that format version.- Type:
- data_version#
The OBO data version of the ontology, which is then expanded to the
versionIRI
if translated to OWL.
- ontology#
The identifier of the ontology, either as a short OBO identifier or as a full IRI.
- default_namespace#
The default namespace to use for entity frames lacking a
namespace
clause.
- namespace_id_rule#
The production rule for identifiers in the current ontology document. soft-deprecated, used mostly by OBO-Edit or other outdated tools.
- owl_axioms#
A list of OWL axioms that cannot be expressed in OBO language, serialized in OWL2 Functional syntax.
- imports#
A set of references to other ontologies that are imported by the current ontology. OBO requires all entities referenced in the file to be reachable through imports (excluding databases cross-references).
- synonymtypedefs#
A set of user-defined synonym types including a description and an optional scope.
- Type:
set
ofSynonymType
- idspaces#
A mapping between a local ID space and a global ID space, with an optional description of the mapping.
- remarks#
A set of general comments for this file, which will be preserved by a parser/serializer as opposed to inline comments using
!
.
- annotations#
A set of annotations relevant to the whole file. OBO property-values are semantically equivalent to
owl:AnnotationProperty
in OWL2.- Type:
set
ofPropertyValue
- unreserved#
A mapping of unreserved tags to values found in the ontology header.