class_docstr: The OpenStreetMap Relations Table implementation
class_docstr_tok: ["The","OpenStreetMap","Relations","Table","implementation"]
code: def select_relations(self, query: ast.Select) -> pd.DataFrame:
      select_statement_parser = SELECTQueryParser(
          query, "relations", self.get_columns()
      )
      (
          selected_columns,
          where_conditions,
          order_by_conditions,
          result_limit,
      ) = select_statement_parser.parse_query()
  
      relations_df = pd.json_normalize(
          self.get_relations(limit=result_limit)
      )
  
      select_statement_executor = SELECTQueryExecutor(
          relations_df,
          selected_columns,
          where_conditions,
          order_by_conditions,
      )
      relations_df = select_statement_executor.execute_query()
  
      return relations_df
  
imports: import pandas
  from typing import Text, List, Dict
  from mindsdb_sql.parser import ast
  from mindsdb.integrations.libs.api_handler import APITable
  from mindsdb.integrations.utilities.sql_utils import extract_comparison_conditions
  from mindsdb.integrations.handlers.utilities.query_utilities import SELECTQueryParser, SELECTQueryExecutor
label_desc: Use image node_id 1 for calling the OpenStreetMapRelationTable obj's underlying member method code with example usage: obj.select_relations(query) and returns: relations_df