Validation done for duplicated relations and connected/disconnected nodes