Study of syllogism in the paradigm of quantum logic