A compound of formula I, having antibacterial activity and a pharmaceutical composition containing the compound of formula I: ##STR1## wherein Q represents a partial structure of formula II: ##STR2## wherein all substituents are defined in the specification.