public static edu.isi.sdbc.Connection getConnectionFromPredicate(Surrogate relationref) {
    { Stella_Object database = Logic.accessBinaryValue(Logic.getDescription(relationref), RDBMS.SGT_RDBMS_RELATION_DATABASE);
      edu.isi.sdbc.Connection connection = RDBMS.getConnectionFromDatabase(((LogicObject)(database)));

      return (connection);
    }
  }