code: def test_get_longest_span_matching_entities(self):
      json = {
          "question": [
              Token(x)
              for x in ["where", "is", "lake", "big", "gala", "?"]
          ],
          "columns": ["Name in English", "Location"],
          "cells": [
              ["Paradeniz", "Lake Big"],
              ["Lake Big Gala", "Edirne"],
          ],
      }
      graph = TableQuestionKnowledgeGraph.read_from_json(json)
      assert graph._get_longest_span_matching_entities() == [
          "fb:cell.lake_big_gala"
      ]
  
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 24 for calling the TestTableQuestionKnowledgeGraph obj's underlying member method code with example usage: obj.test_get_longest_span_matching_entities() without return types