Abstract
This work presents a post-positivist research framework to explain any surprising fact in the evolutionary path of a complex, dynamic and contingent social phenomenon. Primarily, it reconciles the ontological and epistemological assumptions of Critical Realism with the principles of American Pragmatism. Then, the research approach is presented: theoretical propositions about a social structure are translated into a set of grammar rules that acknowledges a pattern of sequences of events of either individual action or social interaction between actors within a real social system. The result is a discrete mathematical model for a concrete category of social process based on these rules. Finally, data-grounded refinement of the theory is possible by the comparison between cases belonging to the same category, but differing about some contingent pattern of sequences of event outcomes. Consequently, their grammars differ in some pairs of context-sensitive rules that can explain this surprising fact, such that the derivation of this alternative historical trajectory of event outcomes becomes an extension to the early category of social process. In this sense, the proposed framework suggests there is a hierarchy of classes of grammars for middle-range explanations based upon the ontological assumption of the generative nature of social reality.