diff --git a/docs/query-language.md b/docs/query-language.md
index f35b88ad3..1d0e01ac4 100644
--- a/docs/query-language.md
+++ b/docs/query-language.md
@@ -326,12 +326,13 @@ Return `2`
```
TopN([BITMAP_CALL], , [n=UINT],
- [, ])
+ [inverse=true], [, ])
```
**Description:**
Return the id and count of the top `n` bitmaps (by count of bits) in the frame.
+`inverse=true` specifies that the call should operate on the [inverse view ](../data-model/#inverse).
The `field` and `filters` arguments work together to only return Bitmaps which
have the attribute specified by `field` with one of the values specified in
`filters`.
@@ -346,10 +347,20 @@ TopN(frame="stargazer")
Returns `[{"key": 1, "count": 2}, {"key": 2, "count": 2}, {"key": 3, "count": 1}]`
-* key is a user
+* key is a user ID
* count is amount of repositories
* Results are the number of repositories that each user starred in descending order for all users in the stargazer frame, for example user 1 starred two repositories, user 2 starred two repositories, user 3 starred one repository.
+```
+TopN(frame="stargazer", inverse=true)
+```
+
+Returns `[{"key": 1, "count": 2}, {"key": 2, "count": 2}, {"key": 3, "count": 1}]`
+
+* key is a repository ID
+* count is amount of users
+* Results are the number of users that starred each repository in descending order for all respositories in the stargazer frame.
+
```
TopN(frame="stargazer", n=2)
```