Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Manipulating synonym types #39

Open
gouttegd opened this issue Jun 8, 2023 · 0 comments
Open

Manipulating synonym types #39

gouttegd opened this issue Jun 8, 2023 · 0 comments

Comments

@gouttegd
Copy link

gouttegd commented Jun 8, 2023

Unless I am missing something, KGCL allows to manipulate synonym scopes (exact/narrow/broad/related), but it is ignorant of the concept of synonym types (represented in OWL, at least in some ontologies from the OBO world, by oboInOwl#hasSynonymType).

Being able to add types to a synonym would be useful. For example, several OBO ontologies have a policy that abbreviations that may be used to refer to a term should be represented as synonyms with scope related and a type that clearly marks the synonym as an abbreviation.

This could be done with a general syntax to allow arbitrary axiom annotations (as requested in #12), but I think this would be a bit too “low-level” for KGCL. Ideally users should be able to add synonym types without even having to know that such types are represented with a oboInOwl#hasSynonymType under the hood.

Possible syntax:

  • Specifying the type when adding the synonym in the first place:
create (exact|narrow|broad|exact)? synonym {new_value} (with type {new_synonym_type})? for {about_node}
  • Adding or changing the type of an existing synonym:
change synonym type (from {old_synonym_type})? to {new_synonym_type} for {old_value} on {about_node}
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

No branches or pull requests

1 participant