This study proposes a location-based service (LBS) based on an ontology model. It uses the indoor activities in a university context as a case. The ontology model is designed for sharing, managing and querying data semantically. The model was implemented as a location-based application using the Android OS.