content provider with query builder