INCATools / INCATools/dead_simple_owl_design_patterns

Request: new field for synonym permutations

Open
#87 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
49
Forks
5
PR merge metrics
No merged PRs in 30d

Description

We have been implementing a feature to allow synonym permutation support in dosdp tools - controlled by a command line parameter. So when someone says: "permutate" ALL textual features are permutated against exact synonyms. That, of course, is not ideal (think of definitions). So what I want to propose is a new flag "permutate-synonyms" that can take values corresponding to synonym type fields (a list). Usually, that would be "exact synonyms", but to keep it flexible it's probably good to allow arbitrary properties like alternative term from IAO, skos preferred label etc. I don't know if we should use the property fields for this or just add property iris.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing the existing `permutate` command-line option in the dosdp tools and how synonym properties are represented. Define how a new `permutate-synonyms` option should accept a list of synonym fields, including whether it uses property fields or property IRIs. Done means the design is agreed and the option can restrict permutation to the selected synonym types.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
cli, tooling
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.