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])
```
Metadata
Release files for OntoAnon 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| OntoAnon-1.0.0.tar.gz | 9.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| OntoAnon-1.0.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 19.0 kB
Release files / OntoAnon-1.0.0.tar.gz
| Download URL | OntoAnon-1.0.0.tar.gz |
|---|---|
| Size | 9.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4ce84ef9fbd719f5b6b5f833a4637ea9967e876832bff5c77a9d3cf1ceb02c75
|
|
BLAKE2b-256 checksum How to use checksums |
2ffe472f6b574212fda0ac2f34e3a687649050f6e9d18532d7e4e7e015342fab
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.17
|
Release files / OntoAnon-1.0.0-py3-none-any.whl
| Download URL | OntoAnon-1.0.0-py3-none-any.whl |
|---|---|
| Size | 9.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
684c0f63c1ce37bb329ebaa8869c0cd3aff28c198965495a39f9922f6833f06d
|
|
BLAKE2b-256 checksum How to use checksums |
c4ee96fbd4592f96b4491abb84b68b399d90181965c0e0b90cb3d24d02452d11
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.17
|