query_sb function

Query SB for items using generic query parameters