Property order not valid #12

Closed
opened 2025-04-23 14:14:17 +00:00 by mih · 5 comments
Owner

image

but I have

...
    slot_usage:
      family_name:
        recommended: true
        annotations:
          sh:name: Family name
          sh:group: inm7si:PersonPropertyGroup
          sh:order: 1
      given_name:
        recommended: true
        annotations:
          sh:name: Given name
          sh:group: inm7si:PersonPropertyGroup
          sh:order: 2
      additional_names:
        annotations:
          sh:name: Additional names
          sh:group: inm7si:PersonPropertyGroup
          sh:order: 3
      honorific_name_prefix:
        annotations:
          sh:name: Title or prefix
          sh:group: inm7si:PersonPropertyGroup
          sh:order: 4
      honorific_name_suffix:
        annotations:
          sh:name: Suffix
          sh:group: inm7si:PersonPropertyGroup
          sh:order: 5
      emails:
        recommended: true
        annotations:
          sh:name: Email(s)
          sh:group: inm7si:PersonPropertyGroup
          sh:order: 6
      orcid:
        recommended: true
        annotations:
          sh:name: ORCID
          sh:group: inm7si:PersonPropertyGroup
          sh:order: 7
      offices:
        annotations:
          sh:name: Office room(s)
          sh:group: inm7si:PersonPropertyGroup
          sh:order: 8

Either this is an incomplete annotation (what am I missing?), or it is not honored.

![image](/attachments/1aca520a-94a6-49e6-b820-b00cec241405) but I have ```yaml ... slot_usage: family_name: recommended: true annotations: sh:name: Family name sh:group: inm7si:PersonPropertyGroup sh:order: 1 given_name: recommended: true annotations: sh:name: Given name sh:group: inm7si:PersonPropertyGroup sh:order: 2 additional_names: annotations: sh:name: Additional names sh:group: inm7si:PersonPropertyGroup sh:order: 3 honorific_name_prefix: annotations: sh:name: Title or prefix sh:group: inm7si:PersonPropertyGroup sh:order: 4 honorific_name_suffix: annotations: sh:name: Suffix sh:group: inm7si:PersonPropertyGroup sh:order: 5 emails: recommended: true annotations: sh:name: Email(s) sh:group: inm7si:PersonPropertyGroup sh:order: 6 orcid: recommended: true annotations: sh:name: ORCID sh:group: inm7si:PersonPropertyGroup sh:order: 7 offices: annotations: sh:name: Office room(s) sh:group: inm7si:PersonPropertyGroup sh:order: 8 ``` Either this is an incomplete annotation (what am I missing?), or it is not honored.
Owner

It's not honored. I disabled the sh:propertyGroup functionality, which had the sh:order embedded, when I introduced the reverse inheritance grouping. I'll bring it back to life.

It's not honored. I disabled the `sh:propertyGroup` functionality, which had the `sh:order` embedded, when I introduced the reverse inheritance grouping. I'll bring it back to life.
Owner

Side note: SHACL has no equivalent constraint or annotation for recommended: true. This slot annotation in LinkML therefore doesn't propagate through to the SHACL export. After searching a couple of times a while ago I was also not able to find any useful term from a widely used vocabulary. In the absence of a good term, we could also create our own and add it under annotations.

Side note: SHACL has no equivalent constraint or annotation for `recommended: true`. This slot annotation in LinkML therefore doesn't propagate through to the SHACL export. After searching a couple of times a while ago I was also not able to find any useful term from a widely used vocabulary. In the absence of a good term, we could also create our own and add it under annotations.
Author
Owner

I think it would be helpful to guide people's attention with something like recommended. But it is not a critical feature.

I think it would be helpful to guide people's attention with something like recommended. But it is not a critical feature.
Author
Owner

Somewhat related is #15

Somewhat related is #15
Author
Owner

Works now.

Works now.
mih closed this issue 2025-04-28 06:12:42 +00:00
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
inm7/annotate.inm7.de-simplesubmit#12
No description provided.