Complex sentence: Data reveals that he was in two-way communication with the entity, which isn't a ship, and has decided to protect the Edo as if they were its children.
Split into simpler sentences: Data reveals that he was in communication with the entity. It has decided to protect the Edo as if they were its children.