Resumen: Location-Based Services (LBS) are attracting a great interest with the fast expansion of mobile computing nowadays. These services use the user location to customize the offered information. However, most of those services are designed for specific scenarios and goals with implicit knowledge about the application context. As a consequence, hundreds of them are available (even with the same purpose). So, it is difficult for users to choose the most suitable service as they are in charge of knowing/finding the services which will be interesting for them, and handle the information that such services need. In this paper, we present an approach to handle LBS for mobile users which relieves them from knowing and managing the knowledge related to such services. This approach consists of a proposal for the modeling of such information as ontologies, which are handled by an agent-based architecture. Also, we propose to maintain updated the knowledge each mobile device contains by leveraging the exchange of information with others. For accessing the local knowledge, we present an SPARQL-like query language which avoids the ambiguities of natural language. Finally, we propose an approach to translate the user information needs into formal requests expressed in this query language, which could be later processed against the knowledge repositories to obtain the results the user needs. Idioma: Inglés DOI: 10.1109/ACCESS.2020.2991051 Año: 2020 Publicado en: IEEE Access 8, 1 (2020), 80030-80048 ISSN: 2169-3536 Factor impacto JCR: 3.367 (2020) Categ. JCR: COMPUTER SCIENCE, INFORMATION SYSTEMS rank: 65 / 162 = 0.401 (2020) - Q2 - T2 Categ. JCR: TELECOMMUNICATIONS rank: 36 / 91 = 0.396 (2020) - Q2 - T2 Categ. JCR: ENGINEERING, ELECTRICAL & ELECTRONIC rank: 94 / 273 = 0.344 (2020) - Q2 - T2 Factor impacto SCIMAGO: 0.586 - Computer Science (miscellaneous) (Q1) - Materials Science (miscellaneous) (Q1) - Engineering (miscellaneous) (Q1)