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.
To use the software, either use the prepackaged .exe file at github, or install the software using pip install OntoAnon and call OntoAnon from the terminal.
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file OntoAnon-1.0.0.tar.gz.
File metadata
- Download URL: OntoAnon-1.0.0.tar.gz
- Upload date:
- Size: 9.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.17
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4ce84ef9fbd719f5b6b5f833a4637ea9967e876832bff5c77a9d3cf1ceb02c75
|
|
| MD5 |
20e2e78091fe7a1adc1d77ee406dfe05
|
|
| BLAKE2b-256 |
2ffe472f6b574212fda0ac2f34e3a687649050f6e9d18532d7e4e7e015342fab
|
File details
Details for the file OntoAnon-1.0.0-py3-none-any.whl.
File metadata
- Download URL: OntoAnon-1.0.0-py3-none-any.whl
- Upload date:
- Size: 9.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.17
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
684c0f63c1ce37bb329ebaa8869c0cd3aff28c198965495a39f9922f6833f06d
|
|
| MD5 |
c4cf91cd01700bacb2d6f8bc1a0ac4d5
|
|
| BLAKE2b-256 |
c4ee96fbd4592f96b4491abb84b68b399d90181965c0e0b90cb3d24d02452d11
|