The semicolon, ;, is the far look command. It is used to look at a square other than the one you are standing on. To look at the square where you are standing, use the near look (:) command. Far look does not allow you to see what is actually on that square, only what you think you see. This means you won't get information about undetected monsters or traps, and if an item has been moved since you last had line of sight to the area, you can still use far look on that item's symbol. However, it will treat remembered objects that have been moved as unseen, displaying "a wand" instead of "a wand of lightning named empty". Because of this, far look generally gives more accurate information about something when you have direct line of sight.
Using far look can help identify what a particular ASCII symbol represents, and will often give useful information about specific objects you select (especially creatures). This can help determine if a monster is peaceful or tame, for instance. In the case of monsters that are beyond your normal field of vision, but still detected, it will tell you what detection method is being used (like telepathy or infravision). You can also tell if you have called a creature by a particular name, which is handy for sorting out similar pets.
Use  to move the cursor to an unknown object. Use [HJKL] to move the cursor 8 units at a time. Or enter a background symbol (ex. <). Type a . or , or ; or : when you are at the right place.
Choosing a location gives information about the symbol there, such as:
+ a spellbook or closed door (closed door)
... versus ...
+ a spellbook or closed door (tan spellbook)
... or perhaps ...
d a dog or other canine (tame dog called Fido)
... compared to ...
d a dog or other canine (jackal) [seen:normal vision, infravision]