G7_special_categories_collected_retained_legal_basis.sparql 558 B

12345678910111213141516
  1. SELECT DISTINCT ?data ?SensitiveDataType ?collectionStep ?retained ?legal where {
  2. ?SensitiveDataType rdfs:subClassOf gdprov:SensitiveData .
  3. ?data a ?SensitiveDataType .
  4. ?collectionStep a gdprov:DataCollectionStep .
  5. ?collectionStep gdprov:collectsData ?data .
  6. OPTIONAL {
  7. ?collectionStep gdprov:hasLegalBasis ?legal .
  8. }
  9. BIND( EXISTS {
  10. ?storageStep a gdprov:DataStorageStep .
  11. ?storageStep gdprov:usesData ?data .
  12. } as ?retained ) .
  13. OPTIONAL {
  14. ?collectionStep gdprov:isPartOfProcess ?process .
  15. }
  16. } ORDER BY ?SensitiveDataType