code: def test_read_from_json_handles_cells_with_duplicate_normalizations(
      self,
  ):
      json = {
          "question": [],
          "columns": ["answer"],
          "cells": [["yes"], ["yes*"], ["yes"], ["yes "], ["yes*"]],
      }
      graph = TableQuestionKnowledgeGraph.read_from_json(json)
  
      # There are three unique text strings that all normalize to "yes", so there are three
      # fb:cell.yes entities.  Hopefully we produce them in the same order as SEMPRE does...
      assert graph.entities == [
          "-1",
          "0",
          "1",
          "fb:cell.yes",
          "fb:cell.yes_2",
          "fb:cell.yes_3",
          "fb:row.row.answer",
      ]
  
imports: from __future__ import absolute_import
  from allennlp.common.testing import AllenNlpTestCase
  from allennlp.data import Token
  from allennlp.semparse.contexts import TableQuestionKnowledgeGraph
label_desc: Use image node_id 17 for calling the TestTableQuestionKnowledgeGraph obj's underlying member method code with example usage: obj.test_read_from_json_handles_cells_with_duplicate_normalizations() without return types