Context modeling is the keystone to enable the intelligent system to adapt its functionalities properly to different situations. As such, a representation mechanism that allows an adequate manipulation of this kind of information is required, and diverse approaches have been introduced; however, what takes more value and is being positioned as a standard is the ontology-based context modeling because it presents a common understanding vocabulary for a specific domain. Hence, it might be beneficial to have a generic ontology to model context in this area. However, according to diverse works, there is no proposal of a generic context model for context-aware learning. For addressing this problem, several existing context models are studied to identify the essentials of context modeling, whereby an ontology-based generic context model is presented. The proposed ontology is evaluated in two ways. Firstly, scenarios are used to justify the feasibility of the model; then a comparative study and evaluation metrics are applied to assess the proposal.