Should this instead be:?
```
    or_(
        ContextImplication.context_id == obj.context_id,
        ContextImplication.source_context_id == obj.context_id
        )
```