Metainfo

Models

class metainfo.models.Collection(*args, **kwargs)[source]

Allows to group entities and relation.

class metainfo.models.Source(*args, **kwargs)[source]

Holds information about entities and their relations

class metainfo.models.TempEntityClass(*args, **kwargs)[source]

Base class to bind common attributes to many classes.

The common attributes are: written start and enddates recognized start and enddates which are derived by RegEx from the written dates. A review boolean field to mark an object as reviewed

save(*args, **kwargs)[source]

Adaption of the save() method of the class to automatically parse string-dates into date objects

class metainfo.models.Text(*args, **kwargs)[source]

Holds unstructured text associeted with one ore many entities/relations.

class metainfo.models.Uri(id, uri, domain, rdf_link, entity, loaded, loaded_time)[source]
class metainfo.models.UriCandidate(*args, **kwargs)[source]

Used to store the URI candidates for automatically generated entities.