code: def test_read_from_json_handles_crazy_unicode(self):
      json = {
          "question": [],
          "columns": ["Town"],
          "cells": [["Viðareiði"], ["Funningsfjørður"], ["Froðba"]],
      }
      graph = TableQuestionKnowledgeGraph.read_from_json(json)
      neighbors = set(graph.neighbors["fb:row.row.town"])
      assert neighbors == set(
          [
              "fb:cell.funningsfj_r_ur",
              "fb:cell.vi_arei_i",
              "fb:cell.fro_ba",
          ]
      )
  
      json = {
          "question": [],
          "columns": ["Fate"],
          "cells": [
              ["Sunk at 45°00′N 11°21′W﻿ / ﻿45.000°N 11.350°W"],
              ["66°22′32″N 29°20′19″E﻿ / ﻿66.37556°N 29.33861°E"],
          ],
      }
      graph = TableQuestionKnowledgeGraph.read_from_json(json)
      neighbors = set(graph.neighbors["fb:row.row.fate"])
      assert neighbors == set(
          [
              "fb:cell.sunk_at_45_00_n_11_21_w_45_000_n_11_350_w",
              "fb:cell.66_22_32_n_29_20_19_e_66_37556_n_29_33861_e",
          ]
      )
  
      json = {
          "question": [],
          "columns": ["€0.01", "Σ Points"],
          "cells": [["6,000", "9.5"]],
      }
      graph = TableQuestionKnowledgeGraph.read_from_json(json)
      neighbors = set(graph.neighbors["fb:row.row._0_01"])
      assert neighbors == set(["fb:cell.6_000"])
      neighbors = set(graph.neighbors["fb:row.row._points"])
      assert neighbors == set(["fb:cell.9_5"])
  
      json = {
          "question": [],
          "columns": ["Division"],
          "cells": [["1ª Aut. Pref."]],
      }
      graph = TableQuestionKnowledgeGraph.read_from_json(json)
      neighbors = set(graph.neighbors["fb:row.row.division"])
      assert neighbors == set(["fb:cell.1_aut_pref"])
  
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 14 for calling the TestTableQuestionKnowledgeGraph obj's underlying member method code with example usage: obj.test_read_from_json_handles_crazy_unicode() without return types