Queries can be performed on pads (gst.pad.Pad.query) and elements (gst.element.Element.query). Please note that some queries might need a running pipeline to work.