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

Unifying document refs (related concepts and authoritative sources) #10

Open
skalee opened this issue Jun 8, 2021 · 5 comments
Open
Assignees
Labels
question Further information is requested

Comments

@skalee
Copy link
Contributor

skalee commented Jun 8, 2021

Consider this YAML excerpt:

---
termid: 112-01-11
term: dimension of a quantity
related:
- type: supersedes
  ref:
    source: IEV
    id: 112-01-11
    version: 2010-01
fra:
  authoritative_source:
  - ref: ISO/IEC Guide 99:2007
    clause: '1.7'
    link: https://www.iso.org/standard/45324.html
    relationship:
      type: modified
      modification: Ajout d'une utilisation spécifique du terme privilégié, ajout
        de renvois dans la définition et la note 4, transfert des exemples 1 et 2
        dans la Note 5 à l'article et ajout d'un nouvel exemple, transfert de l'exemple
        3 dans une nouvelle Note 6 à l'article
    original: ISO/IEC Guide 99:2007, 1.7, modifié – Ajout d'une utilisation spécifique
      du terme privilégié, ajout de renvois dans la définition et la note 4, transfert
      des exemples 1 et 2 dans la Note 5 à l'article et ajout d'un nouvel exemple,
      transfert de l'exemple 3 dans une nouvelle Note 6 à l'article

It refers two documents:

  1. {source: IEV, id: 112-01-11, version: 2010-01} (supersession)
  2. ISO/IEC Guide 99:2007 (authoritative source for French translation)

One is structured and another one is plain text. Questions:

  1. Is it possible to have structured ref in authoritative source?
  2. Is it possible to have plain text ref in related concepts?
  3. Or maybe these are very different kinds of refs and I should keep clear distinction between them (different model classes with different attributes)?
  4. Shouldn't clause, link, or original be attributes of structured ref? Or maybe ref should represent document name only, without clause or link (which potentially may depend on clause)?

cc @ronaldtse

@skalee skalee added the question Further information is requested label Jun 8, 2021
@ronaldtse
Copy link
Member

  1. Is it possible to have structured ref in authoritative source?

Yes.

  1. Is it possible to have plain text ref in related concepts?

Yes.

  1. Or maybe these are very different kinds of refs and I should keep clear distinction between them (different model classes with different attributes)?

Yes they are different refs that should be kept separately.

  1. Shouldn't clause, link, or original be attributes of structured ref?

Yes.

Or maybe ref should represent document name only, without clause or link (which potentially may depend on clause)?

There are at least the following two kinds of unstructured refs:

  1. One that only contains the title
  2. One that contains the title + attributes

Both can be represented as structured refs.

@ronaldtse ronaldtse assigned HassanAkbar and unassigned ronaldtse Feb 24, 2023
@HassanAkbar
Copy link
Member

@ronaldtse Is this completed or is there something that I need to add here?

@ronaldtse
Copy link
Member

@HassanAkbar this is not implemented yet.

@ronaldtse
Copy link
Member

@HassanAkbar can we action this ticket? Thanks.

@HassanAkbar
Copy link
Member

@ronaldtse This was a question so I'm not sure what needs to be implemented here. Can you explain what needs to be done in this ticket?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants