This is a docker image of the algorithm GeMo. It computes a general module for a given ontology and signature. Here, a general module is a concise view of the given ontology wrt a given signature, which is a set of specific elements that users are interested in.
For example, consider the following toy ontology consists of three axioms:
Paris belongsTo France;
France belongsTo Europe;
Peking belongsTo China.
Assume that the users are interested in the signature consisting of the following three elements:
Paris, Europe, China.
Then, the general module is a new ontology consisting of a single axiom:
Paris belongsTo Europe.
Now, we show how to execute our algorithm.
Download the docker imagine:
docker pull yh1997/demo_gemo:0.1
Run docker imagine by the command line:
docker run -it yh1997/demo_gemo:0.1 /bin/bash
Go to the folder ``GeMo" by the command line:
cd GeMo
One can compute the general module for a given ontology and signature with the following command:
python main.py test.owl sig_test
- "test.owl" is the path of input ontology;
- "sig_test" is the path of the input signature; we require this file to contain two lines:
a. The first line is all the concept names combined by " ";
b. The second line is all the role names combined by " ".
The result general module is saved in "./GeMo/gmStar.owl".
Content type
Image
Digest
sha256:c74d65010…
Size
658.7 MB
Last updated
over 3 years ago
docker pull yh1997/demo_gemo