def process(context, connect=(), disconnect=()):
    """Creates and deletes references.

        ``connect`` and ``disconnect`` arguments are lists of triples
        in the form (Source UID, Target UID, Relationship) where
        Relationship is the ID of the ruleset that we intend to use.

        Elements of ``disconnect`` may also be UIDs of reference
        objects.

        If the process fails with an Exception, process rolls back the
        database to before this function was called.
        """
