Skip to main content

A Structural Anonymizer for Ontologies

Project description

OntoAnon

An Application For Anonymizing Ontologies.

OntoAnon iterates through all triples of a graph and anonymizes/removes the data while preserving the ontology structure. Data is preserved by keeping standard vocabulary like the ontology languages OWL, RDF(S), SHACL, but also standardized ontologies like FOAF, DC, SKOS. A full list of kept namespaces can be found here. OntoAnon runs locally, so no data leaves the computer. It allows sharing the structural data and using online tools like neontometrics or the OntolOlogy Pitfall Scanner (OOPS), without giving away company secrets.

OntoAnon builds on the python GUI TKinter and rdflib. The former is preinstalled with current python versions, the latter can be acquired using pip or the corresponding pipfile.

The tool is part of a publication currently under review. The development of the tool was part of a bachelor thesis by Robert Schlücker, cf. https://github.com/Junech1/Ontology-Anonymisation for the original repository.

%%{init: {'theme':'neutral', fontSize: '20px'}}%%
   graph LR
    A([Start]) --> D
    subgraph Iterate over elements
    C -- True:<br>Go to <br>next element --> D{Check if<br>standard<br> namespace}
    D -- True --> E[Do not translate]
    I -- True --> J{Check if<br>object is<br>already<br> translated}
    J -- True --> K[Use<br>existing<br>translation]
    K --> F
    S -- Is blind-node --> 
    J -- False --> M[Translate with <br>counter variable]
    M --> F
    I -- False --> O[Translate<br>namespace]
    O --> M
    
    D -- False --> S{Check<br>element<br>type}
    S -- Is<br>URI --> I{Check if<br>URI is in<br> a known<br>namespace}
    S -- Is<bR>literal --> T{Check if element<br> is a number}
    T -- True --> E
    T -->  M

    E --> F[counter + 1]
    F --> C{More<br>Elements <br> available?}
    end
    C -- False --> AB([Return<br>translation])

```

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ontoanon-0.9.tar.gz (7.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ontoanon-0.9-py3-none-any.whl (7.2 kB view details)

Uploaded Python 3

File details

Details for the file ontoanon-0.9.tar.gz.

File metadata

  • Download URL: ontoanon-0.9.tar.gz
  • Upload date:
  • Size: 7.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.17

File hashes

Hashes for ontoanon-0.9.tar.gz
Algorithm Hash digest
SHA256 482813b28ff897a7deef807bc345dfedddb82bb4840d0e3150a7b70d04070062
MD5 5ad473bfa04e57b62c33ebaea08890a5
BLAKE2b-256 51c255d5c4a6c7f048b2cbb597b1596e3e12181cd64b38d4981fae298a061cd4

See more details on using hashes here.

File details

Details for the file ontoanon-0.9-py3-none-any.whl.

File metadata

  • Download URL: ontoanon-0.9-py3-none-any.whl
  • Upload date:
  • Size: 7.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.17

File hashes

Hashes for ontoanon-0.9-py3-none-any.whl
Algorithm Hash digest
SHA256 885f74f9855cb3063d26bd34e4bc16f18c084b4b15dcb5e6783297fe8d6509e6
MD5 37fc5df730eddeeac99d1ff01561efca
BLAKE2b-256 07172858ee292d192e699fcbad0de66fcd1c472adbb82d3c317a62567687815c

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page