code: def test_add_relationships_convert_type(es):
      for r in es.relationships:
          assert r.parent_dataframe.ww.index == r._parent_column_name
          assert "foreign_key" in r.child_column.ww.semantic_tags
          assert (
              r.child_column.ww.logical_type
              == r.parent_column.ww.logical_type
          )
  
imports: import pandas
  import pytest
  from featuretools import EntitySet
  from featuretools.tests.testing_utils import backward_path, forward_path
label_desc: Use image node_id 2 for calling a global function with example usage: test_add_relationships_convert_type(es) without return types