Depends on the equality relation :-) With URIs there can be many.
In this case, one of the URIs contains an empty path segment. It depends
on the use case how to compare them.
In *practice* I don't see anybody using empty path segments on purpose,
thus I'd treat them as a client error (pasting together a URI), and
compare them as equal.