Skip to content

Conversation

omashkova
Copy link

Translator encodes concept names and role names only from the ontology and doesn't take into consideration new concept names. As far as I understand, concept names (different from owl:Thing and owl:Nothing) are encoded starting from number 6 up to # of concept names + 4 (including owl:Thing and owl:Nothing) according to class declarations; this number is chosen because integers from 0 to 5 are reserved for bottom and top concepts, bottom and top object and data properties (see here). Role names are encoded starting from # of concept names + 5 up to # of concept names + 4 + # of role names.
I would suggest to add a startId for IntegerEntityManagerImpl to be able to add new entities and generate new entity names.
issue #11

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants