Answers.Body: <p>According to the Lomonosov tablebases, it's mate in 40 for black. While the queen can't force mate by herself, she can force a zugzwang. In this case, when the bishop is forced to move to e8. Then, it's a matter of giving checks until the queen forks the king and bishop. </p>
  
  <p>One of the longest variations given is as follows:</p>
  
  <pre><code>[FEN "7k/5BpP/3K2P1/8/8/8/8/4q3 w - - 0 1"]
  [Result "0-1"]
  
  1. Kd7 Qb1 2. Be8 Qb8 3. Bf7 Qb7+ 4. Kd6 Qc8 5. Kd5 Qc7 6. Kd4 Qc6 7. Ke5 Qd7 8. Ke4 Qd6 9. Ke3 Qe5+ 10. Kd3 Qf4 11. Kc3 Qe4 12. Kb3 Qd4 13. Ka3 Qd6+ 14. Kb3 Qc5 15. Kb2 Qe3 16. Kc2 Qa3 17. Kd2 Qf3 18. Kc2 Qe3 19. Kb2 Qd3 20. Ka2 Qc3 21. Kb1 Qd2 22. Bb3 Qb4 23. Ka2 Qa5+ 24. Kb2 Qb6 25. Kc3 Qxg6 26. Bc4 Qd6 27. Bd3 g5 28. Be4 Qc5+ 29. Kd3 g4 30. Bh1 Qa3+ 31. Kd2 Qb2+ 32. Kd3 Qb1+ 33. Ke3 Qxh1 34. Kf4 Qe1 35. Kxg4 Qe3 36. Kh4 Qg1 37. Kh3 Kxh7 38. Kh4 Kg6 39. Kh3 Kf5 40. Kh4 Qg4# 0-1
  </code></pre>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2018-02-13T08:56:31.093Z
Answers.Text: I am curious why the white king runs to the center of the board. I would have expected that a stronger defense would be to stay close to the bishop as suggested in Ionut Deaconu's answer.
Answers.UserDisplayName: user1583209
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2018-02-13T09:05:31.573Z
Answers.Text: But OP's scenario is that they would _"only move my king, always."_ This variation is already moving the bishop by the third move. Would it still be mate in X _if white only moved the king_?
Answers.UserDisplayName: walen
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2018-02-13T10:21:45.147Z
Answers.Text: @walen: it is just the same plan. A problem with tablebases is that showing the optimum move in term of distance to mate/conversion might hide logical ideas, but here White king will be stalemated whatever White plays, either on a8,a1,h1 or e8. White can only choose where he will die...
Answers.UserDisplayName: Evargalo
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2018-02-13T11:05:45.513Z
Answers.Text: Hello, thanks for your answer, but I've downvoted. I am trying to understand ideas. You didn't explain where my reasoning is wrong. In your line the bishop moves in the third move. I can trust the tablebase, I'm surprised black is winning, but your answer doesn't help me understand why.
Answers.UserDisplayName: Pedro A
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2018-02-13T12:15:55.030Z
Answers.Text: @Hamsterrific: I'm not sure a downvote is warranted - and if this answer isn't what you want, you should probably edit your question: it currently reads "Is there any flaw in my reasoning? Is this endgame really a draw?" - and this answer answers those questions clearly enough (yes/no respectively). You may want help understanding why, but that's not what your question currently asks for :-)
Answers.UserDisplayName: psmears
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2018-02-13T12:25:26.657Z
Answers.Text: @psmears hmmm technically you're right. I've added an "if yes, what is the flaw?" to my question. Thanks.
Answers.UserDisplayName: Pedro A
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2018-02-13T14:10:37.017Z
Answers.Text: @Hamsterrific It's a nice problem to study +1. I think in regard to your specific questions in the post, have a look at phonon's answer, the types of ideas/reasoning you're looking for are well captured there.
Answers.UserDisplayName: user929304
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2018-02-13T04:32:19.340Z
Answers.LastActivityDate: 2018-02-13T13:50:02.713Z
Answers.LastEditDate: 2018-02-13T13:50:02.713Z
Answers.UserDisplayName: Herb
Answers.Body: <p>You're right, at the first sight it looks like a draw: Black's king is kept out of play and the Queen cannot checkmate alone. Black's only idea for a win would be to sac the Queen on h2 and try to promote the other pawn, but that's obviously impossible because of the White Bishop still in play.</p>
  
  <p>However, there's a trick: White can be put in zugzwang by Black's Queen, which could force him to move the Bishop and lose material. For instance, if the Queen manages to push White's King to a8 with the Queen on c7, White need to move (and lose) the Bishop. </p>
  
  <p>Bearing that in mind, White should try to keep his King on the d8, d7, or e7 squares, so that he can move the Bishop to e8 in case of zugzwang. </p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2018-02-13T09:17:22.850Z
Answers.Text: Indeed, stalemating the White king in a corner is the winning plan for Black. However, bringing the king to d8,d7 or e7 is **not** a sufficient defense. For instance after Kd8, the retort Qd6+ forces either Kc8 Qe7 Kb8 Qd7 Ka8 Kc7 Z or Ke8 Qc7 Kf8 Qd8 Be8 Qd6 Kf7 Qf6 mate. A queen **is** strong !
Answers.UserDisplayName: Evargalo
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2018-02-13T09:53:47.943Z
Answers.Text: @Evargalo I don't see how that position would occur, but indeed White has to be very careful with the checks. However, I think that by sticking to that plan he could survive the 50 moves.
Answers.UserDisplayName: Ionut Deaconu
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2018-02-13T10:25:40.027Z
Answers.Text: No he wont, it is mate in 40 (see the other answer). The position Kd8-Qd6 would occur after, say, 1.Kd7 Qb1 2.Ke7 Qb6 3.Kd8 (or 3.Kd7 Qf6) Qd6+. Of course, it is a question of plans here, not of specific moves.
Answers.UserDisplayName: Evargalo
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2018-02-13T12:07:37.427Z
Answers.Text: Thanks, I didn't think about the zugzwang. But still it's not perfectly clear, is it 100% guaranteed that the queen alone can force the king to whichever corner it wants? The tablebase says yes, it seems, but I am not sure I could do it in a real game...
Answers.UserDisplayName: Pedro A
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2018-02-13T12:10:53.997Z
Answers.Text: @Evargalo don't take a computer's endgame analysis for granted. As I pointed out, the whole idea of keeping the king on those squares is that you can move the Bishop in case of zugzwang. I don't understand your example as 3.Kd8 is not possible after 2...Qb6, but even in the case of 3.Kd7 Qf6 I can play 4.Be8, and you cannot take the d6 sqare
Answers.UserDisplayName: Ionut Deaconu
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2018-02-13T13:12:53.087Z
Answers.Text: Sorry, I carelessly mispelled the line. 1.Kd7 Qb1 2.Ke7 Qb6 3.Kd7 Qb7! is better. 4.Kd8 5.Qc6 and then 5...Be8 6.Qd6 or 5...Ke7 6.Qc7 Ke8 (if 6...Kf8 Qd8-d6-f6 mate, if 6...Kd6 7.Qd8 and you are out for the hills) 7.Qd6 Z 8.B ad lib. 9. Qxg6+ -+
Answers.UserDisplayName: Evargalo
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2018-02-13T16:16:47.070Z
Answers.Text: @Evargalo 2. Ke7 shortens the distance to mate by one move, after Qb7+.
Answers.UserDisplayName: Herb
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2018-02-13T16:40:23.717Z
Answers.Text: @HerbWolfe : sure. My line is supposed to be illustrative, not "tablebase-optimized". The point is to demonstrate that wK cannot stay near its bishop.
Answers.UserDisplayName: Evargalo
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2018-02-13T00:25:39.077Z
Answers.LastActivityDate: 2018-02-13T00:25:39.077Z
Answers.UserDisplayName: Ionut Deaconu
Answers.Body: <p>If black takes the bishop when it's on f7, white wins. If the king is on f7, the bishop on e8, and the queen on the a1-h8 diagonal, then black wins. The bishop has to be protecting the g6 pawn, otherwise, black takes that pawn and wins. If anything else, it's a draw.</p>
  
  <p>EDIT: the starting position is in black's favor
  FEN: 7k/3K1BpP/6P1/8/8/8/8/4q3 w - - 0 1
  PGN:[Variant "From Position"]
  [FEN "7k/3K1BpP/6P1/8/8/8/8/4q3 w - -"]</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2018-03-05T08:03:31.287Z
Answers.Text: I am afraid this answer doesn't add anything to the already accepted one.
Answers.UserDisplayName: Evargalo
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2018-03-03T18:29:22.257Z
Answers.LastActivityDate: 2018-03-04T22:46:59.583Z
Answers.LastEditDate: 2018-03-04T22:46:59.583Z
Answers.UserDisplayName: David Ni
Answers.Body: <p>Here's a simpler way to see why it's winning for black: You're right that the queen cannot checkmate the king by itself, but it can <em>stalemate</em> the king [*] (an example pointed out by Ionut Deaconu) and that's all we need here as that would force the bishop to move. Once the bishop moves it's clear that material loss is unavoidable as either the bishop [**] or the <code>g</code>-pawn will drop. </p>
  
  <p>[*]: Take any queen vs king situation (relevant here as the bishop cannot move and thus unable to prevent the queen from shouldering the king to a stalemated situation).</p>
  
  <p>[**]: The idea here is that with a cornered king there's no way for the bishop to move to a square guarded by its king while still protecting the <code>g6</code> pawn.</p>
  
  <p>Below a dummy example is showcased:</p>
  
  <pre><code> [title "Stalemate the king to win, example"]
   [fen "7k/5BpP/3K2P1/8/8/8/8/4q3 w - - 0 1"]
  
   1. Kd5 Qe3 2. Kd6 Qe4 3. Kd7 Qe5 4. Kc6 Qd4 5. Kc7 Qc5+ 6. Kd7 Qb6 7. Ke7 Qc6 8. Kd8 Qd6+ 9. Kc8 (9. Ke8 Qc7 10. Kf8 {Alternatively any bishop move drops the g6 pawn. E.g., 11. Be6 Qc6+ 12. Ke7 Qe4} Qd8+ 11. Be8 Qd6+ 12. Kf7 Qf6#) Qe7 10. Kb8 Qd7 11. Ka8 Qc7 {King stalemate reached} 12. Bg8 Qc6+ 13. Kb8 Qxg6 {The win is trivial now.}
  </code></pre>
  
  <hr>
  
  <p>Additional clarifications in regard to the question asked by <a href="https://chess.stackexchange.com/users/13516/ionut-deaconu">Ionut Deaconu</a> in comments:</p>
  
  <blockquote>
    <p>Why 4.Kc6? You cannot push me to the corners after 4.Be8. If you want
    to try a zugzwang I can play Bf7 back.</p>
  </blockquote>
  
  <p>The diagram above focused on the case where white tries to survive only by king moves (as is of particular interest to the OP). White can of course try to keep the king near the bishop on <code>f7</code> and make waiting bishop moves in order to avoid their king from being cornered altogether. However, this is to no avail as the queen will first start off by <strong>disconnecting</strong> the king from the bishop and only then proceed to <strong>shouldering</strong> the king towards a corner and achieve the king-stalemate scenario. The disconnect is easily achieved by maneuvering along the <em>dark</em> squares to enter the 7th row and then push the king out. Illustrative variations are shown below: </p>
  
  <pre><code> [title "Variation in regard to questions in comments:"]
   [fen "7k/5BpP/3K2P1/8/8/8/8/4q3 w - - 0 1"]
  
   1. Kd7 Qe5 2. Be8 Qd5+ 3. Ke7 Qc5+ 4. Kd7 Qa7+ 5. Ke6 (5. Kd8 Qb7 6. Bf7 Qc6 7. Ke7 Qc7+ 8. Ke6 Qd8 {and we reach the wanted scenario again. For the rest see the main variation.}) (5. Kd6 Qb7 6. Bf7 Qc8 7. Ke7 Qc7+ 8. Ke6 Qd8 {Again the wanted scenario is reached, the rest is similar.}) Qc7 6. Bf7 Qd8 {The hard part, which is the disconnect, has been achieved once this scenario is reached, the rest is trivial now again as there are no more useful waiting bishop moves there to deal with. The rest of this variation may be done more optimally.} 7. Kf5 Qf6+ 8. Ke4 Qg5 9. Kd4 Qf5 10. Ke3 Qe5+ 11. Kd2 Qd4+ 12. Kc1 Qc3+ 13. Kd1 Qb2 14. Ke1 Qc2 15. Kf1 Qd2 16. Kg1 Qe2 17. Kh1 Qf2
  </code></pre>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2018-02-13T12:15:03.537Z
Answers.Text: Why 4.Kc6? You cannot push me to the corners after 4.Be8. If you want to try a zugzwang I can play Bf7 back.
Answers.UserDisplayName: Ionut Deaconu
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2018-02-13T13:31:26.743Z
Answers.Text: @IonutDeaconu I've added additional clarifications pertaining to your question. Please don't hesitate to ask if there are other types of variations that remain unclear.
Answers.UserDisplayName: Ellie
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2018-02-13T13:35:33.783Z
Answers.Text: Aha! Very easy to follow explanations, thank you!
Answers.UserDisplayName: user929304
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2018-02-13T22:47:54.277Z
Answers.Text: @Phonon you are right, I thought you might be able to avoid it but it seems that all variations lead to the same outcome. Thanks for the elaborated answer :)
Answers.UserDisplayName: Ionut Deaconu
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2018-02-13T23:29:56.537Z
Answers.Text: @IonutDeaconu my pleasure
Answers.UserDisplayName: Ellie
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2018-02-13T11:42:00.047Z
Answers.LastActivityDate: 2018-02-13T13:30:29.413Z
Answers.LastEditDate: 2018-02-13T13:30:29.413Z
Answers.UserDisplayName: Ellie
Body: <p>I think the following endgame is a draw.</p>
  
  <pre><code>[FEN "7k/5BpP/3K2P1/8/8/8/8/4q3 w - - 0 1"]
  </code></pre>
  
  <p>My reasoning: I'm playing white. I will only move my king, always. Black's king cannot move. If the queen decide to capture any of my pieces, I will take back, so that won't work. And the queen alone cannot checkmate me, but black cannot bring a piece to help, so it looks like it is a draw.</p>
  
  <p>Is there any flaw in my reasoning, and if yes, what is the flaw? Is this endgame really a draw?</p>
  
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2018-02-13T10:18:54.563Z
Comments.Text: It has to be confirmed, but it looks like White would survive if his Bishop was on the b1-f5 diagonal instead on f7.
Comments.UserDisplayName: Evargalo
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2018-02-14T03:17:59.470Z
Comments.Text: Also, if the Bf7 were replaced by a Ne7 it would be a positional draw even without the Ph7.
Comments.UserDisplayName: Noam D. Elkies
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2018-02-14T08:45:36.803Z
Comments.Text: And if the Bf7 was a rook, whichever player on move would win ! ;o)
Comments.UserDisplayName: Evargalo
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2018-03-03T20:18:32.527Z
Comments.Text: This is a great question/problem.
Comments.UserDisplayName: Tony Ennis
Tags: <analysis><endgame><draw><fortress>
Title: Is this endgame (sort-of Q vs K) a draw?
ThreadText: # Is this endgame (sort-of Q vs K) a draw?
  
  (Asked by: username_0 on 2018-02-13)
  
  I think the following endgame is a draw.
  [FEN "7k/5BpP/3K2P1/8/8/8/8/4q3 w - - 0 1"]
  
  My reasoning: I'm playing white. I will only move my king, always. Black's king cannot move. If the queen decide to capture any of my pieces, I will take back, so that won't work. And the queen alone cannot checkmate me, but black cannot bring a piece to help, so it looks like it is a draw.
  Is there any flaw in my reasoning, and if yes, what is the flaw? Is this endgame really a draw?
  
  **Tags:** analysis, endgame, draw, fortress
  
  > **Comments:**
  > **username_1**: It has to be confirmed, but it looks like White would survive if his Bishop was on the b1-f5 diagonal instead on f7.  
  > **username_2**: Also, if the Bf7 were replaced by a Ne7 it would be a positional draw even without the Ph7.  
  > **username_1**: And if the Bf7 was a rook, whichever player on move would win ! ;o)  
  > **username_3**: This is a great question/problem.  
  
  ---
  
  ## 4 answers
  
  ### Answer by username_11 on 2018-02-13. Score: 21 | Accepted answer
  
  Here's a simpler way to see why it's winning for black: You're right that the queen cannot checkmate the king by itself, but it can stalemate the king [*] (an example pointed out by username_9) and that's all we need here as that would force the bishop to move. Once the bishop moves it's clear that material loss is unavoidable as either the bishop [**] or the g-pawn will drop. 
  [*]: Take any queen vs king situation (relevant here as the bishop cannot move and thus unable to prevent the queen from shouldering the king to a stalemated situation).
  [**]: The idea here is that with a cornered king there's no way for the bishop to move to a square guarded by its king while still protecting the g6 pawn.
  Below a dummy example is showcased:
   [title "Stalemate the king to win, example"]
   [fen "7k/5BpP/3K2P1/8/8/8/8/4q3 w - - 0 1"]
  
   1. Kd5 Qe3 2. Kd6 Qe4 3. Kd7 Qe5 4. Kc6 Qd4 5. Kc7 Qc5+ 6. Kd7 Qb6 7. Ke7 Qc6 8. Kd8 Qd6+ 9. Kc8 (9. Ke8 Qc7 10. Kf8 {Alternatively any bishop move drops the g6 pawn. E.g., 11. Be6 Qc6+ 12. Ke7 Qe4} Qd8+ 11. Be8 Qd6+ 12. Kf7 Qf6#) Qe7 10. Kb8 Qd7 11. Ka8 Qc7 {King stalemate reached} 12. Bg8 Qc6+ 13. Kb8 Qxg6 {The win is trivial now.}
  
  
  Additional clarifications in regard to the question asked by username_9 in comments:
  
  Why 4.Kc6? You cannot push me to the corners after 4.Be8. If you want
    to try a zugzwang I can play Bf7 back.
  
  The diagram above focused on the case where white tries to survive only by king moves (as is of particular interest to the OP). White can of course try to keep the king near the bishop on f7 and make waiting bishop moves in order to avoid their king from being cornered altogether. However, this is to no avail as the queen will first start off by disconnecting the king from the bishop and only then proceed to shouldering the king towards a corner and achieve the king-stalemate scenario. The disconnect is easily achieved by maneuvering along the dark squares to enter the 7th row and then push the king out. Illustrative variations are shown below: 
   [title "Variation in regard to questions in comments:"]
   [fen "7k/5BpP/3K2P1/8/8/8/8/4q3 w - - 0 1"]
  
   1. Kd7 Qe5 2. Be8 Qd5+ 3. Ke7 Qc5+ 4. Kd7 Qa7+ 5. Ke6 (5. Kd8 Qb7 6. Bf7 Qc6 7. Ke7 Qc7+ 8. Ke6 Qd8 {and we reach the wanted scenario again. For the rest see the main variation.}) (5. Kd6 Qb7 6. Bf7 Qc8 7. Ke7 Qc7+ 8. Ke6 Qd8 {Again the wanted scenario is reached, the rest is similar.}) Qc7 6. Bf7 Qd8 {The hard part, which is the disconnect, has been achieved once this scenario is reached, the rest is trivial now again as there are no more useful waiting bishop moves there to deal with. The rest of this variation may be done more optimally.} 7. Kf5 Qf6+ 8. Ke4 Qg5 9. Kd4 Qf5 10. Ke3 Qe5+ 11. Kd2 Qd4+ 12. Kc1 Qc3+ 13. Kd1 Qb2 14. Ke1 Qc2 15. Kf1 Qd2 16. Kg1 Qe2 17. Kh1 Qf2
  
  > **Comments:**
  > **username_9**: Why 4.Kc6? You cannot push me to the corners after 4.Be8. If you want to try a zugzwang I can play Bf7 back.  
  > **username_11**: @IonutDeaconu I've added additional clarifications pertaining to your question. Please don't hesitate to ask if there are other types of variations that remain unclear.  
  > **username_8**: Aha! Very easy to follow explanations, thank you!  
  > **username_9**: @Phonon you are right, I thought you might be able to avoid it but it seems that all variations lead to the same outcome. Thanks for the elaborated answer :)  
  > **username_11**: @IonutDeaconu my pleasure  
  
  ---
  
  ### Answer by username_4 on 2018-02-13. Score: 25
  
  According to the Lomonosov tablebases, it's mate in 40 for black. While the queen can't force mate by herself, she can force a zugzwang. In this case, when the bishop is forced to move to e8. Then, it's a matter of giving checks until the queen forks the king and bishop. 
  One of the longest variations given is as follows:
  [FEN "7k/5BpP/3K2P1/8/8/8/8/4q3 w - - 0 1"]
  [Result "0-1"]
  
  1. Kd7 Qb1 2. Be8 Qb8 3. Bf7 Qb7+ 4. Kd6 Qc8 5. Kd5 Qc7 6. Kd4 Qc6 7. Ke5 Qd7 8. Ke4 Qd6 9. Ke3 Qe5+ 10. Kd3 Qf4 11. Kc3 Qe4 12. Kb3 Qd4 13. Ka3 Qd6+ 14. Kb3 Qc5 15. Kb2 Qe3 16. Kc2 Qa3 17. Kd2 Qf3 18. Kc2 Qe3 19. Kb2 Qd3 20. Ka2 Qc3 21. Kb1 Qd2 22. Bb3 Qb4 23. Ka2 Qa5+ 24. Kb2 Qb6 25. Kc3 Qxg6 26. Bc4 Qd6 27. Bd3 g5 28. Be4 Qc5+ 29. Kd3 g4 30. Bh1 Qa3+ 31. Kd2 Qb2+ 32. Kd3 Qb1+ 33. Ke3 Qxh1 34. Kf4 Qe1 35. Kxg4 Qe3 36. Kh4 Qg1 37. Kh3 Kxh7 38. Kh4 Kg6 39. Kh3 Kf5 40. Kh4 Qg4# 0-1
  
  > **Comments:**
  > **username_5**: I am curious why the white king runs to the center of the board. I would have expected that a stronger defense would be to stay close to the bishop as suggested in username_9's answer.  
  > **username_6**: But OP's scenario is that they would _"only move my king, always."_ This variation is already moving the bishop by the third move. Would it still be mate in X _if white only moved the king_?  
  > **username_1**: @username_6: it is just the same plan. A problem with tablebases is that showing the optimum move in term of distance to mate/conversion might hide logical ideas, but here White king will be stalemated whatever White plays, either on a8,a1,h1 or e8. White can only choose where he will die...  
  > **username_0**: Hello, thanks for your answer, but I've downvoted. I am trying to understand ideas. You didn't explain where my reasoning is wrong. In your line the bishop moves in the third move. I can trust the tablebase, I'm surprised black is winning, but your answer doesn't help me understand why.  
  > **username_7**: @Hamsterrific: I'm not sure a downvote is warranted - and if this answer isn't what you want, you should probably edit your question: it currently reads "Is there any flaw in my reasoning? Is this endgame really a draw?" - and this answer answers those questions clearly enough (yes/no respectively). You may want help understanding why, but that's not what your question currently asks for :-)  
  > **username_0**: @username_7 hmmm technically you're right. I've added an "if yes, what is the flaw?" to my question. Thanks.  
  > **username_8**: @Hamsterrific It's a nice problem to study +1. I think in regard to your specific questions in the post, have a look at phonon's answer, the types of ideas/reasoning you're looking for are well captured there.  
  
  ---
  
  ### Answer by username_9 on 2018-02-13. Score: 12
  
  You're right, at the first sight it looks like a draw: Black's king is kept out of play and the Queen cannot checkmate alone. Black's only idea for a win would be to sac the Queen on h2 and try to promote the other pawn, but that's obviously impossible because of the White Bishop still in play.
  
  However, there's a trick: White can be put in zugzwang by Black's Queen, which could force him to move the Bishop and lose material. For instance, if the Queen manages to push White's King to a8 with the Queen on c7, White need to move (and lose) the Bishop.
  
  Bearing that in mind, White should try to keep his King on the d8, d7, or e7 squares, so that he can move the Bishop to e8 in case of zugzwang.
  
  > **Comments:**
  > **username_1**: Indeed, stalemating the White king in a corner is the winning plan for Black. However, bringing the king to d8,d7 or e7 is **not** a sufficient defense. For instance after Kd8, the retort Qd6+ forces either Kc8 Qe7 Kb8 Qd7 Ka8 Kc7 Z or Ke8 Qc7 Kf8 Qd8 Be8 Qd6 Kf7 Qf6 mate. A queen **is** strong !  
  > **username_9**: @username_1 I don't see how that position would occur, but indeed White has to be very careful with the checks. However, I think that by sticking to that plan he could survive the 50 moves.  
  > **username_1**: No he wont, it is mate in 40 (see the other answer). The position Kd8-Qd6 would occur after, say, 1.Kd7 Qb1 2.Ke7 Qb6 3.Kd8 (or 3.Kd7 Qf6) Qd6+. Of course, it is a question of plans here, not of specific moves.  
  > **username_0**: Thanks, I didn't think about the zugzwang. But still it's not perfectly clear, is it 100% guaranteed that the queen alone can force the king to whichever corner it wants? The tablebase says yes, it seems, but I am not sure I could do it in a real game...  
  > **username_9**: @username_1 don't take a computer's endgame analysis for granted. As I pointed out, the whole idea of keeping the king on those squares is that you can move the Bishop in case of zugzwang. I don't understand your example as 3.Kd8 is not possible after 2...Qb6, but even in the case of 3.Kd7 Qf6 I can play 4.Be8, and you cannot take the d6 sqare  
  > **username_1**: Sorry, I carelessly mispelled the line. 1.Kd7 Qb1 2.Ke7 Qb6 3.Kd7 Qb7! is better. 4.Kd8 5.Qc6 and then 5...Be8 6.Qd6 or 5...Ke7 6.Qc7 Ke8 (if 6...Kf8 Qd8-d6-f6 mate, if 6...Kd6 7.Qd8 and you are out for the hills) 7.Qd6 Z 8.B ad lib. 9. Qxg6+ -+  
  > **username_4**: @username_1 2. Ke7 shortens the distance to mate by one move, after Qb7+.  
  > **username_1**: @username_4Wolfe : sure. My line is supposed to be illustrative, not "tablebase-optimized". The point is to demonstrate that wK cannot stay near its bishop.  
  
  ---
  
  ### Answer by username_10 on 2018-03-03. Score: -2
  
  If black takes the bishop when it's on f7, white wins. If the king is on f7, the bishop on e8, and the queen on the a1-h8 diagonal, then black wins. The bishop has to be protecting the g6 pawn, otherwise, black takes that pawn and wins. If anything else, it's a draw.
  
  EDIT: the starting position is in black's favor
  FEN: 7k/3K1BpP/6P1/8/8/8/8/4q3 w - - 0 1
  PGN:[Variant "From Position"]
  [FEN "7k/3K1BpP/6P1/8/8/8/8/4q3 w - -"]
  
  > **Comments:**
  > **username_1**: I am afraid this answer doesn't add anything to the already accepted one.  
  
  ---
  
  