output item query