Generalize dynamic skos:prefLabel generation to skos:note (maybe more) #168
Labels
No labels
bug
config
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
orinoco/shacl-vue#168
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
A use case would be to say to use a
descriptionproperty as askos:note.So where we currently have e.g.
we could generalize this to something like
property_value_autogenerate. However, we should note that thedisplay_name_autogenerateoption works by generating a display name for a given record, which displays if that record does not have askos:prefLabelassociated. So it does not set a value of a known property of the record, i.e. it does nothing to the data. It is purely for display purposes. Soproperty_value_autogeneratewould be an ambiguous name for the option.We could still generalize and then allow a set of known display options, one of which would be the
skos:note. E.g.Having written this, I see that it would also be convenient to not have to rewrite the same rule for all classes if the rule is the same, i.e. being able to configure "always use
dlthings:descriptionfor theskow:notedisplay" would be great. That could also be added to this feature.Thoughts?
I do wonder, if all does do not duplicate linkml's ability to declare string serializations and structured patterns?
I think pretty much yes. But the challenge is that we need those display values in the annotation tool, when the user is busy using it, while LinkML would only be able to do its magic after the data has been submitted and validated/processed on the server side.