code: def test_exception_is_raised_when_there_are_no_results_for_any_query(
      self,
  ):
      g1 = nx.MultiDiGraph()
      g1.add_node("x")
      queries = [Query(g1, "match $x iid V123;")]
  
      class QueryManagerEmpty:
          def match(self, query):
              return []
  
      class MockTransactionEmpty:
          def query(self):
              return QueryManagerEmpty()
  
      mock_tx = MockTransactionEmpty()
  
      with self.assertRaises(RuntimeError) as context:
          build_graph_from_queries(queries, mock_tx)
  
      self.assertEqual(
          f"The graph from queries: {[query.string for query in queries]}\n"
          f"could not be created, since none of these queries returned results",
          str(context.exception),
      )
  
imports: import unittest
  import networkx
  from typedb.api.concept.type.attribute_type import AttributeType
  from typedb_ml.networkx.graph_test_case import GraphTestCase
  from typedb_ml.networkx.queries_to_networkx import concept_dict_from_concept_map, combine_n_graphs, build_graph_from_queries
  from typedb_ml.networkx.query_graph import Query
  from typedb_ml.typedb.test.mock.answer import MockConceptMap
  from typedb_ml.typedb.test.mock.concept import MockType, MockAttributeType, MockThing, MockAttribute
  from typedb_ml.typedb.thing import Thing
label_desc: Use image node_id 3 for calling the TestBuildGraphFromQueries obj's underlying member method code with example usage: obj.test_exception_is_raised_when_there_are_no_results_for_any_query() and returns: list, QueryManagerEmpty