owmeta.data_trans.bibtex module¶
-
class
owmeta.data_trans.bibtex.BibTexDataSource(bibtex_file_name, **kwargs)[source]¶ Bases:
owmeta.data_trans.common_data.DSMixin,owmeta_core.data_trans.local_file_ds.LocalFileDataSource- File name :
DatatypeProperty - Attribute:
file_name - Torrent file name :
DatatypeProperty - Attribute:
torrent_file_name - MD5 hash :
DatatypeProperty - Attribute:
md5 - SHA-256 hash :
DatatypeProperty - Attribute:
sha256 - SHA-512 hash :
DatatypeProperty - Attribute:
sha512 - Input source :
ObjectProperty Attribute:
sourceThe data source that was translated into this one
- Transformation :
ObjectProperty Attribute:
transformationInformation about the transformation process that created this object
- Translation :
ObjectProperty Attribute:
translationInformation about the translation process that created this object
- Description :
DatatypeProperty Attribute:
descriptionFree-text describing the data source
- File name :
-
class
owmeta.data_trans.bibtex.BibTexDataTranslator(*args, **kwargs)[source]¶ Bases:
owmeta.data_trans.common_data.DTMixin,owmeta_core.datasource.DataTranslatorInput type(s):
BibTexDataSourceOutput type(s):
EvidenceDataSource-
input_type¶ alias of
BibTexDataSource
-
output_type¶ alias of
EvidenceDataSource
-
translate()[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: theoutputdatasource
-
-
class
owmeta.data_trans.bibtex.EvidenceDataSource(*args, **kwargs)[source]¶ Bases:
owmeta.data_trans.common_data.DSMixin,owmeta_core.datasource.DataSource- Context :
ObjectProperty Attribute:
evidence_contextThe context
- Input source :
ObjectProperty Attribute:
sourceThe data source that was translated into this one
- Transformation :
ObjectProperty Attribute:
transformationInformation about the transformation process that created this object
- Translation :
ObjectProperty Attribute:
translationInformation about the translation process that created this object
- Description :
DatatypeProperty Attribute:
descriptionFree-text describing the data source
-
context_property¶ “Context”, a
ObjectProperty: The context
- Context :