Author Topic: Questions about Model Glossary  (Read 4070 times)

Ewout124

  • EA Novice
  • *
  • Posts: 6
  • Karma: +0/-0
    • View Profile
Questions about Model Glossary
« on: November 30, 2021, 01:43:22 am »
I am doing some experiments with setting up a Model Glossary. When I am defining a new glossary entry, I would like to specify some other versions of the entry. For example, when I am defining a noun, I would like to specify the plural form of the noun. Thus, when the plural form is specified somewhere in a description, the plural form should be recognized as a defined term, and the definition (of the singular form) should show up as a tooltip. Is it possible to accomplish this?

Somethind else: I noticed that when a term is used at the end of a sentence, i.e. when the term is immediately followed by a period, the term is not recognized as a defined term. This seems very strange to me. Is there a way to make sure that a period is not interpreted as belonging to the term? (For example, when a glossary entry has been defined for the term XYZ, and the glossary has been reloaded, the term XYZ will be underlined when it is used somewhere else, for example in the definition of another term. This works fine in most cases. But when the term XYZ is followed by a period (like '[...] XYZ.') the term XYZ is not underlined.)

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8035
  • Karma: +215/-127
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
Re: Questions about Model Glossary
« Reply #1 on: November 30, 2021, 09:19:25 am »
Hi,

I raised almost identical issues over a decade ago.  You can probably still find the posts in the forum.  Nothing has changed, and likely will not.  The only solution for the present is to create separate entries for the different word forms with duplicated descriptions.

You might also try adding an entry with the trailing "." to see if the editor picks it up at the end of the sentence.  Let us know how that goes.

Paolo
Inconsistently correct systems DON'T EXIST!
... Therefore, aim for consistency; in the expectation of achieving correctness....
-Semantica-
Helsinki Principle Rules!

qwerty

  • EA Guru
  • *****
  • Posts: 12499
  • Karma: +349/-292
  • I'm no guru at all
    • View Profile
Re: Questions about Model Glossary
« Reply #2 on: November 30, 2021, 10:12:40 am »
Well, I found out early that EA's glossary is a cul-de-sac. So I made up my own stereotypes to model golssary definitions. Since I'm also creating documentation my own way, it's easy to include a custom glossary that covers only those terms actually being used in a documentation. Of course these terms can not be used as the hyperlinked EA glossary terms. Choose your death.

q.

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8035
  • Karma: +215/-127
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
Re: Questions about Model Glossary
« Reply #3 on: November 30, 2021, 11:46:42 am »
I wasn't quite correct in saying nothing had changed in the decade.  There has been an attempt to allow the creation of Glossaries from within the model itself (as model elements) but, from memory, that didn't really address the issues mentioned here.


Paolo
Inconsistently correct systems DON'T EXIST!
... Therefore, aim for consistency; in the expectation of achieving correctness....
-Semantica-
Helsinki Principle Rules!

Ewout124

  • EA Novice
  • *
  • Posts: 6
  • Karma: +0/-0
    • View Profile
Re: Questions about Model Glossary
« Reply #4 on: December 11, 2021, 08:14:36 am »
Paolo, I understand your suggestion ('The only solution for the present is to create separate entries for the different word forms with duplicated descriptions') but this does not seem to be a sound solution. I am afraid it would soon result in a maintenance nightmare.

I get the impression that using the Model Glossary would not be a good choice. Do you have any suggestions for a good alternative? I am wondering if it would possible to use SKOS in some way. Does Sparx EA support SKOS? I have not yet found any detailed information about this.

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8035
  • Karma: +215/-127
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
Re: Questions about Model Glossary
« Reply #5 on: December 11, 2021, 10:49:45 am »
Paolo, I understand your suggestion ('The only solution for the present is to create separate entries for the different word forms with duplicated descriptions') but this does not seem to be a sound solution. I am afraid it would soon result in a maintenance nightmare.

I get the impression that using the Model Glossary would not be a good choice. Do you have any suggestions for a good alternative? I am wondering if it would possible to use SKOS in some way. Does Sparx EA support SKOS? I have not yet found any detailed information about this.
We have developed our own Ontological Modelling mechanism (vaguely related to some of the SKOS concepts).  We use it as the basis for our Controlled Language.  We can generate vocabularies and Glossaries from that, but in order to get that output into EA itself so that the terms are linked, we generate the solution I previously described.


You could, if you wish, create a SKOS MDG yourself, but that is as far as support from Sparx is likely to go.  We've found our ontological model useful since we can now connect real-life artifacts, tables, columns, reports measures, KPIs etc to the model element directly.

HTH,
Paolo
Inconsistently correct systems DON'T EXIST!
... Therefore, aim for consistency; in the expectation of achieving correctness....
-Semantica-
Helsinki Principle Rules!