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 specific elements that users are interested in.
For example, consider the following toy ontology consists of three axioms:
Paris belongsTo France;
France belongsTo Europe;
Beking 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/gemo:1.0
Run docker imagine by the command line:
docker run -it yh1997/gemo:1.0 /bin/bash
Go to the folder ``GeMo" by the command line:
cd GeMo
One can obtain the clauses set for each signature by running 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:ea515c82f…
Size
613.4 MB
Last updated
over 3 years ago
docker pull yh1997/gemo:1.0