Anonymous variable in query -- Prolog
<p>My program should return</p>

<pre><code>City = la
City = phoenix
City = montreal.
</code></pre>

<p>When I query <code>weather(City,_,warm).</code> But it is only returning</p>

<pre><code>City = la
</code></pre>

<p>Here is the content of my prolog .pl file:</p>

<pre><code>weather(phoenix,summer,hot).
weather(la,summer,warm).
weather(phoenix,winter,warm).
weather(monteal,winter,warm).
</code></pre>

<p>I was following a tutorial from 2014, maybe something changed since then?</p>