Coronavirus Disease of 2019 (COVID-19) has become a global health problem along with a declaration by the World Health Organization (WHO) on March 11, 2020, which declared it a pandemic. COVID-19 has spread to almost all countries, including Indonesia. Data related to the COVID-19 pandemic is complex and heterogeneous. To generate and maintain knowledge that is semantically stored in it, knowledge modeling is necessary to be done. This study aims to develop a model of knowledge about the COVID-19 pandemic in Bogor City in the form of ontology. The scope of knowledge includes the distribution of agents, close contact tracing, COVID-19 transmission, diagnosis, disease, type of illness, location, Large-Scale Social Restrictions (Pembatasan Sosial Berskala Besar [PSBB]) implementation, PSBB sanctions, statistics, status, symptoms, test processes, test results, and color zones. Data were obtained from the Bogor City COVID-19 Task Force, COVID-19 Information & Coordination Center of West Java Province (Pusat Informasi & Koordinasi COVID-19 Provinsi Jawa Barat [PIKOBAR]), Covid19.go.id, literature review, interview with epidemiologist, and reuse of knowledge from existing ontologies. The result of this study is an ontology in the Web Ontology Language (OWL) format consisting of 88 classes, 29 object properties, 48 property data, 2103 axioms, and 229 individuals. The test results on the built ontology were successful in answering 85.7% of non-expert questions and 71.4% of expert questions. Overall, the ontology built successfully answered 78.6% of the questions about the COVID-19 pandemic in Bogor City. The ontology has been published so that it is publicly available and is still being developed to accommodate the latest data.