dipper.models.Provenance module

class dipper.models.Provenance.Provenance(graph)

Bases: object

To model provenance as the basis for an association. This encompasses:

  • Process history leading to a claim being made, including processes through which evidence is evaluated
  • Processes through which information used as evidence is created.
Provenance metadata includes accounts of who conducted these processes,
what entities participated in them, and when/where they occurred.
add_agent_to_graph(agent_id, agent_label, agent_type=None, agent_description=None, agent_category=None)
add_assay_to_graph(assay_id, assay_label, assay_type=None, assay_description=None)
add_assertion(assertion, agent, agent_label, date=None)

Add assertion to graph :param assertion: :param agent: :param evidence_line: :param date: :return: None

add_date_created(prov_type, date)
add_study_measure(study, measure, object_is_literal=None)
add_study_parts(study, study_parts, study_parts_category=None)
add_study_to_measurements(study, measurements)