To provide a novel agricultural chemical and particularly an herbicide. [Solution] A ketone or oxime compound represented by formula (1) and a herbicide containing the same (in the formula: B represents B 1 B 2 or B 3; Q represents an oxygen atom =NOR etc.; R represents a hydrogen atom C C alkyl group etc.; R represents a hydrogen atom C C alkyl group etc.; R R R R R R R R and R each independently represent a hydrogen atom or C C alkyl; m represents the integer 1 or 2; and n represents the integer 0 1 or 2).