_ is an anonymous variable. Multiple occurrences in the same sentence (or the same term) represent different variables.
A variable starting with _ but containing extra characters is not an anonymous variable. Multiple occurrences represent the same variable.
By convention, many Prolog systems require that variables that have only one time must begin with _ . But this is the convention leading to warnings in most implementations.
false source share