owmeta.data_trans.context_merge module

class owmeta.data_trans.context_merge.ContextMergeDataTranslator(*args, no_type_decl=False, **kwargs)[source]

Bases: DTMixin, DataTranslator

Input type(s): owmeta_core.datasource.OneOrMore (DataWithEvidenceDataSource)

Output type(s): DataWithEvidenceDataSource

output_type

alias of DataWithEvidenceDataSource

translate(*sources)[source]

Notionally, this method takes one or more data sources, and translates them into some other data source that captures essentially the same information, but, possibly, in a different format. Additional sources can be passed in as well for auxiliary information which are not “translated” in their entirety into the output data source. Such auxiliarry data sources should be distinguished from the primary ones in the translation

Parameters
*args

Input data sources

**kwargs

Named input data sources

Returns
the output data source
class_context = owmeta_core.context.ClassContext(ident="http://schema.openworm.org/2020/07/sci")