Published June 17, 2019 | Version preprint
Conference paper Open

Test-driven Approach Towards GDPR Compliance

  • 1. ADAPT Centre, Trinity College Dublin


An organisation using personal data should document its data governance processes to maintain and demonstrate compliance with the General Data Protection Regulation (GDPR). As processes evolve, their documentation should reflect these changes with an assessment showing ongoing compliance. Through this paper, we show how semantic representations of processes are useful towards maintaining ongoing GDPR compliance by using a test-driven approach that generates and checks constraints for adherence to GDPR requirements. We first check whether all required information has been documented, and then whether it is compliant. We prototype our testing approach using a real-world website’s consent mechanism for GDPR compliance, and persist results towards generating documentation. We use previously- published ontologies to represent processes (GDPRov), consent (GConsent), and GDPR (GDPRtEXT), with SHACL used to test requirement constraints.


Paper and Resources:



Files (626.9 kB)

Name Size Download all
626.9 kB Preview Download

Additional details


ADAPT: Centre for Digital Content Platform Research 13/RC/2106
Science Foundation Ireland