Thread:Extension talk:Semantic MediaWiki/loops and images

Hi, I am new to Semantic. I have been trying to build a basic query that will list all items in a category and their properties :

And I keep getting several repeated over and over again, receiving some 500 items for what should have been 20. Can you point me in the right way to solve this?

Also what is the right way to list all image files in a category. I have tried using this: But I get a list of thumbnails and change it plain, result in a plain list of names. How can I get a list of name + links?