Hi
Please have a look at following articles which could act as a reference :-
Link:- http://experience-aem.blogspot.in/2015/12/aem-61-touchui-slide-show-component-using-sightly-image-mu...
// Create a TouchUI slideshow component rendered using Sightly, images added using Image Multifield
Link:- https://helpx.adobe.com/experience-manager/using/sightly_querybuilder.html
// Creating a Sightly component that uses the AEM QueryBuilder API.
I hope this would act as some help to you.
Thanks and Regards
Kautuk Sahni
Kautuk Sahni