Support in the adoption of the General Data Protection Law through semantic annotations in description of web services
DOI:
https://doi.org/10.1590/1808-5245.31.139608Keywords:
Data privacy, GDPL, Ontology, Semantic annotation, Web services, REST, OpenAPI, MetadataAbstract
With the General Data Protection Law in effect in Brazil since 2020, many organizations are being compelled to implement data processing practices. This has been addressed by different knowledge areas such as Information Science, Information Management, and Information Technology. These areas aim to understand and incorporate the legal requirements of General Data Protection Law in organization processes and to implement them in information systems. In this context, a challenge faced is the execution of data processing through web services (e.g., collection, storage, and deletion) made available and accessed by various information systems, including those across different organizations. Identifying which services perform personal data processing and, based on that, conducting practices in compliance with the General Data Protection Law is a crucial aspect. In this work, an approach is proposed for semantic enrichment of REST web service descriptions using annotations based on OpenAPI and a domain reference ontology for Data Privacy (OntoPrivacy). This approach aims to provide additional information, through metadata, about the processing operations and the types of sensitive data being handled. Alongside this approach, a software tool (Privacy Finder) was developed to support the automatic location of the annotations in described service APIs. For validation, the proposed solution was applied in the context of the Pix Application Programming Interface of the Central Bank of Brazil. Additionally, the solution was analyzed in light of related works in the literature, as well as technical productions whose computer program fillings were found in the Brazilian National Institute of Industrial Property database. The analysis also revealed a trend in the growth of such productions, particularly since the publication year of the mentioned law.
Downloads
References
ASSOCIAÇÃO BRASILEIRA DE NORMAS TÉCNICAS. NBR ISO/IEC 29100: Tecnologia da informação - Técnicas de segurança - Estrutura de privacidade. Rio de Janeiro: ABNT, 2020.
BANCO CENTRAL. API Pix, 2024. Brasília: Banco Central do Brasil, 2024.
BOOTH, D.; HAAS, H.; MCCABE, F.; NEWCOMER, E.; CHAMPION, M.; FERRIS, C.; ORCHARD, D. Web Services Architecture. Wakefield: W3C Working Group Note, 2004.
BRASIL. Lei n. 13.709, de 14 de agosto de 2018. Lei Geral de Proteção de Dados Pessoais (LGPD). Diário Oficial da União: seção 1, Brasília, ano 155, n. 157, p. 59, 15 de ago. 2018.
BRASIL. Ministério da Educação. Vitrine MEC de tecnologias: SysPAD: proteção e privacidade de dados em sistemas legados. Brasília: MEC, 7 dez. 2023.
COSTA, L. M. T.; ALVES, M, B.; GUIMARÃES, R. F. LGPD compliance: aplicando checklist para avaliação de sistemas à luz da Lei Geral de Proteção de Dados. 2022. Trabalho de Conclusão de Curso (Graduação em Engenharia de Computação) - Instituto Federal de Educação, Ciência e Tecnologia da Paraíba, Campina Grande, 2022.
CREMASCHI, M.; PAOLI, F. Toward automatic semantic API descriptions to support services composition. In: De Paoli, F., Schulte, S., Broch Johnsen, E. (ed.) Service-Oriented and Cloud Computing - ESOCC 2017. Cham: Springer, 2017. p. 159-167.
DUTRA, F. G. de C.; BARBOSA, R. R. Modelos e etapas para a gestão da informação: uma revisão sistemática de literatura. Em Questão, Porto Alegre, v. 26, n. 2, p. 106-131, 2020. Disponível em: https://doi.org/10.19132/1808-5245262.106-131 . Acesso em: 19 dez. 2024.
EL GHOSH, M.; ABDULRAB, H. Capturing the basics of the GDPR in a well-founded legal domain modular ontology. In: NEUHAUS, F.; BRODARIC, B. (ed.). Formal ontology in information systems: proceedings of the twelfth International Conference (FOIS 2021). Amsterdam: IOS Press Ebooks, 2021.
p. 144-158.
FONSECA, F. The double role of ontologies in information science research. Journal of the American Society for Information Science and Technology, New Jersey, v. 58, n. 6, p. 786-793, 2007. Disponível em: https://doi.org/10.1002/asi.20565 . Acesso em: 19 dez. 2024.
INFORMATION GOVERNANCE. In: GARTNER Glossary. Stamford: Gartner Inc., c2024.
GHARIB, M.; GIORGINI, P.; MYLOPOULOS, J. COPri v.2 - A core ontology for privacy requirements. Data & Knowledge Engineering, Amsterdam, v. 133, p. 1-20, 2021. Disponível em: https://doi.org/10.1016/j.datak.2021.101888 . Acesso em: 19 dez. 2024.
GOMADAM, K.; RANABAHU, A.; SHETH, A. SA-REST: Semantic annotation of web resources. Wakefield: W3C Member Submission, 2010.
GRÜNEWALD, E. et al. TIRA: an openapi extension and toolbox for gdpr transparency in restful architectures. In: IEEE EUROPEAN SYMPOSIUM ON SECURITY AND PRIVACY WORKSHOPS, 2021, Vienna. Proceedings […]. New York: IEEE, 2021. p. 312-319.
GUARINO, N. (ed.). Formal ontology and information systems. Amsterdam: IOS Press, 1998.
GUIZZARDI, G. Ontological foundations for structural conceptual models. 2005. Thesis (Master’s) - Centre for Telematics and Information Technology, Enschede, 2005.
GUIZZARDI, G. On ontology, ontologies, conceptualizations, modeling languages, and (meta) models. In: VASILECAS, J. E.; CAPLINSKAS, A. (ed.). Databases and information systems IV: selected papers from the seventh International Baltic Conference DBandIS’200. Amsterdam: IOS Press, 2007. p. 18-39.
HJERPPE, K.; RUOHONEN, J.; LEPPÄNEN, V. Annotation-based static analysis for personal data protection. In: FRIEDEWALD, M. et al. (ed.). Privacy and identity management data for better living: AI and privacy: IFIP International Summer School on Privacy and Identity Management. Cham: Springer, 2019. p. 343-358.
KARAVISILEIOU, A. et al. Automated ontology instantiation of OpenAPI REST service descriptions. In: ARAI, K. (ed.) Advances in Information and Communication - FICC 2021. Cham: Springer, 2021. p. 945-962.
KOPECHÝ, J. et al. Sawsdl: Semantic annotations for wsdl and xml schema. IEEE Internet Computing, New York, v. 11, n. 6, p. 60-67. 2007. Disponível em: https://doi.org/10.1109/MIC.2007.134 . Acesso em: 19 dez. 2024.
LANTHALER, M.; GÜTL, C. A semantic description language for restful data services to combat semaphobia. In: IEEE International conference on digital ecosystems and technologies, 5., 2011, Daejeon. Proceedings […]. New York: IEEE 2011. p. 47-53.
LANTHALER, M.; GÜTL, C. Seamless integration of RESTful services into the web of data. Advances in Multimedia, New Jersey, p. 1-14, 2012. Disponível em: https://doi.org/10.1155/2012/586542 . Acesso em: 19 dez. 2024.
LANTHALER, M.; GÜTL, C. Hydra: a vocabulary for hypermedia-driven Web APIs. In: WWW2013 WORKSHOP ON LINKED DATA ON THE WEB, Rio de Janeiro, 2013. Proceedings […]. Aachen: CEUR Workshop Proceedings, 2013. v. 996, p. 35-38.
MARTIN, D. et al. OWL-S: semantic markup for web services. Wakefield: W3C Member Submission, 2004. v. 22, n. 4.
MELO, R.; BATISTA, G. V.; LIMA, P. R. S. A Lei Geral de Proteção de Dados Pessoais à luz da Ciência da Informação: uma análise bibliométrica. P2P & Inovação, Rio de Janeiro, v. 10, n. 1, p. 356-370, 2023. Disponível em: https://doi.org/10.21728/p2p.2023v10n1.p356-370 . Acesso em: 19 dez. 2024.
MONTEIRO, S. A.; DUARTE, E. N. Bases teóricas da gestão da informação: da gênese às relações interdisciplinares. InCID: Revista de Ciência da Informação e Documentação, Ribeirão Preto, Brasil, v. 9, n. 2, p. 89-106, 2018. Disponível em: https://doi.org/10.11606/issn.2178-2075.v9i2p89-106 . Acesso em: 18 nov. 2024.
NARDI, J. C.; FALBO, R. de A.; ALMEIDA, J. P. A. Foundational ontologies for semantic integration in EAI: a systematic literature review. In: Douligeris, C. et al. (ed.). Collaborative, trusted and privacy-aware e/m-services - I3E 2013. Heidelberg: Springer, 2013.
NETEDU, A. et al. A web service composition method based on openapi semantic annotations. In: Chao, K. M. et al. (ed.). Advances in E-Business Engineering for Ubiquitous Computing - ICEBE 2019. Cham: Springer, 2019. p. 342-357.
SEMINÁRIO DE PESQUISA EM ONTOLOGIAS NO BRASIL - ONTOBRAS, 17., 2024, Vitória. Anais […]. Porto Alegre: Instituto de Informática/UFRGS, 2024.
OLIVEIRA, A. S. S.; GALLOTTI, M. M. C.; BARBOSA NETO, P. A. Relação da gestão da informação e Lei Geral de Proteção de Dados Pessoais: um estudo bibliográfico e bibliométrico. Ciência da Informação em Revista, Maceió, v. 11, e15444, 2024. Disponível em: https://doi.org/10.28998/cirev.2024v11e15444 . Acesso em: 19 dez. 2024.
OASIS. Reference Model for Service Oriented Architecture 1.0: Committee Specification 1. Woburn: OASIS Open Group, 2006.
OPENAPI INITIATIVE. OpenAPI Specification, 2024. San Francisco: GitHub Inc., 2024.
OREN, E. et al. What are semantic annotations. Galway: Digital Enterprise Research Institute, 2006. p. 1-14.
PALMIRANI, M. et al. Pronto: privacy ontology for legal reasoning. In: Kő, A.; Francesconi, E. (ed.). Electronic Government and the Information Systems Perspective - EGOVIS 2018. Cham: Springer, 2018. p. 139-152.
PANDIT, H. J. et al. GConsent-a consent ontology based on the GDPR. In: Hitzler, P., et al (ed.). The Semantic Web - ESWC 2019. Cham: Springer, 2019. p. 270-282.
PENG, C.; BAI, G. Using tag based semantic annotation to empower client and rest service interaction. In: THE INTERNATIONAL CONFERENCE ON COMPLEXITY, FUTURE INFORMATION SYSTEMS AND RISK, 3., 2018, Funchal. Proceedings […]. Lisboa: INSTICC, 2018. p. 64-71.
POPOV, B. et al. Towards semantic web information extraction. In: HUMAN LANGUAGE TECHNOLOGIES WORKSHOP AT THE INTERNATIONAL SEMANTIC WEB CONFERENCE, 2., 2003. Proceedings […]. [S.l.: s.n.], 2003.
PRIVACY FINDER. 1.0. Colatina, 2021. [S.l.]: Snowflake Inc, 2024.
SÁNCHEZ-FERNANDEZ, Luis; FERNANDEZ-GARCÍA, Norberto. The Semantic Web: fundamentals and a brief state-of-the-art. UPGRADE, [s.l.],
v. 6, n. 6, p. 5-11. 2005.
SANTANA, C. J. L. SWS-Editor: uma ferramenta baseada em serviços para anotação semântica de serviços web REStful. 2015. Dissertação (Mestrado em Sistemas e Computação) - Universidade Salvador, Salvador, 2015.
SILVA, A. M.; ESTRELA, S. C. L.; ARAÚJO, E. P. de O. Gestão da informação nas PME industriais de Portugal (Norte e Centro): diagnóstico e bases para um modelo orientador. Porto: Centro de Investigação Transdisciplinar Cultura, Espaço e Memória, 2024.
SMITH, B. The relevance of philosophical ontology to information and computer science. In: Hagenbruger, R.; Riss, U. V. (ed.), Philosophy, computing and information science. London: Pickering & Chattoo, 2014. p. 75-83.
STUDER, R.; BENJAMINS, V. R.; FENSEL, D. Knowledge engineering: principles and methods. Data & Knowledge Engineering, Amsterdam, v. 25, n. 1-2, p. 161-197, 1998. Disponível em: https://doi.org/10.1016/S0169-023X (97)00056-6. Acesso em: 19 dez. 2024.
SWAGGER. Swagger Petstore - OpenAPI 3.0, 2024. Pet store sample. Somerville: Swagger, 2024.
TAPSOBA, L. S. K.; TRAORE, Y.; MALO, S. Interoperability approach for hospital information systems based on the composition of web services. Procedia Computer Science, Amsterdam, v. 219, p. 1161-1168, 2023. Disponível em: https://doi.org/10.1016/j.procs.2023.01.397. Acesso em: 19 dez. 2024.
THOMAS, C (ed.). Ontology in information science. Rijeka: IntechOpen, 2018.
TUMER, A.; DOGAC, A.; TOROSLU, I. H. A semantic-based user privacy protection framework for web services. In: Mobasher, B.; Anand, S. S. (ed.). Intelligent Techniques for Web Personalization - ITWP 2003. Heidelberg: Springer, 2003. p. 289-305.
USCHOLD, M.; GRUNINGER, M. Ontologies: principles, methods and applications. The Knowledge Engineering Review, Cambridge, v. 11, n. 2, p. 93-136, 1996. Disponível em: https://doi.org/10.1017/S0269888900007797 . Acesso em: 19 dez. 2024.
VERBORGH, R. et al. Description and interaction of restful services for automatic discovery and execution. In: FTRA INTERNATIONAL WORKSHOP ON ADVANCED FUTURE MULTIMEDIA SERVICES, 2011. Proceedings […]. [S.l.]: Future Technology Research Association International, 2011.
VITVAR, T. et al. WSMO-lite annotations for web services. In: Bechhofer, S. et al. (ed.). The semantic web: research and applications - ESWC 2008. Heidelberg: Springer, 2008. p. 674-689.
WESTIN, A. F. Privacy and freedom. Washington and Lee Law Review, Washington, v. 25, n. 1, p. 166, 1968.
WU, J. et al. Privacy information classification: a hybrid approach. arXiv, [s.l.], 2021. Disponível em: https://doi.org/10.48550/arXiv.2101.11574 . Acesso em: 19 dez. 2024.
XAVIER, O. C. Serviços web semânticos baseados em RESTful: um estudo de caso em redes sociais online. 2011. Dissertação (Mestrado em Ciência da Computação) - Programa de Pós-Graduação, Instituto de Informática, Universidade Federal de Goiás, Goiânia. 2011.
Downloads
Published
How to Cite
Issue
Section
License
Copyright (c) 2025 Dornélio Mori Junior, Julio Cesar Nardi, Fabiano Borges Ruy, Giovany Frossard Teixeira

This work is licensed under a Creative Commons Attribution 4.0 International License.
Authors who publish with this journal agree to the following terms:
Authors will keep their copyright and grant the journal with the right of first publication, the work licensed under License Creative Commons Attribution (CC BY 4.0), which allows for the sharing of work and the recognition of authorship.
Authors can take on additional contracts separately for non-exclusive distribution of the version of the work published in this journal, such as publishing in an institutional repository, acknowledging its initial publication in this journal.
The articles are open access and free. In accordance with the license, you must give appropriate credit, provide a link to the license, and indicate if changes were made. You may not apply legal terms or technological measures that legally restrict others from doing anything the license permits.






