Skip to content

definitions #50

@ialarmedalien

Description

@ialarmedalien

I'm somewhat confused about the difference between these terms:

      populated_from:
        range: SlotReference
        description: Source slot name
      sources:
        range: SlotReference
        multivalued: true
      derived_from:
        range: SlotReference
        multivalued: true
        description: Source slots that are used to derive this slot. This can be computed from the expr,
          if the expr is declarative.

From the code, it looks like sources is just populated_from but with multiple values allowed. Is that correct?

derived_from isn't used anywhere in the codebase yet, so I'm not sure what it's supposed to do.

It would make the codebase and the linkml-map DSL easier to understand if the same words were used for similar concepts -- e.g. source for a single source slot, sources for multiple slots. Does there even need to be a distinction at the level of the specification, or can the code automatically Do The Right Thing, whether there are multiple or just a single source from which the field value should be derived?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions