G6_special_categories_collected_retained.sparql 423 B

12345678910
  1. SELECT DISTINCT ?data ?SensitiveDataType ?collectionStep ?retained where {
  2. ?SensitiveDataType rdfs:subClassOf gdprov:SensitiveData .
  3. ?data a ?SensitiveDataType .
  4. ?collectionStep a gdprov:DataCollectionStep .
  5. ?collectionStep gdprov:collectsData ?data .
  6. BIND( EXISTS {
  7. ?storageStep a gdprov:DataStorageStep .
  8. ?storageStep gdprov:usesData ?data .
  9. } as ?retained ) .
  10. } ORDER BY ?SensitiveDataType ?retained