"unknown editor" for PID after schema changes #29

Open
opened 2026-06-25 12:20:08 +00:00 by jsheunis · 3 comments
Member

It looks like the new SHACL export at https://concepts.datalad.org/s/demo-research-information/unreleased.shacl.ttl looks different, on the property shape level, from the previous version.

This is causing unknown editor issues for several properties in a form:

Screenshot 2026-06-25 at 14.09.48

Screenshot 2026-06-25 at 14.09.56

It's affecting xsd:anyURI datatypes.

I'm taking the property shape for the PID field from the Person nodeshape from the TRR379 schema (which is still on the previous state), as an example:

        [ sh:datatype xsd:anyURI ;
            sh:description "Persistent and globally unique identifier of a `Thing`." ;
            sh:maxCount 1 ;
            sh:minCount 1 ;
            sh:name "Persistent identifier" ;
            sh:nodeKind sh:Literal ;
            sh:path dlthings:pid ],

and from the same property shape and equivalent class in the latest demo-research-information shacl state:

        [ sh:description "Persistent and globally unique identifier of a `Thing`." ;
            sh:maxCount 1 ;
            sh:name "Persistent identifier" ;
            sh:nodeKind sh:IRI ;
            sh:path dlthings:pid ],

So it looks like:

  • the sh:datatype entry is gone
  • the sh:minCount entry is gone
  • sh:nodeKind has changed to sh:IRI

We need to investigate the changes to the schema and/or the latest state of gen-shacl in LinkML to get to the bottom of this.

It looks like the new SHACL export at https://concepts.datalad.org/s/demo-research-information/unreleased.shacl.ttl looks different, on the property shape level, from the previous version. This is causing unknown editor issues for several properties in a form: ![Screenshot 2026-06-25 at 14.09.48](/attachments/ccd19519-3179-4938-b4c2-9853415e9b75) ![Screenshot 2026-06-25 at 14.09.56](/attachments/f0c07f96-f411-4976-9ec6-f4126eb52672) It's affecting `xsd:anyURI` datatypes. I'm taking the property shape for the PID field from the Person nodeshape from the TRR379 schema (which is still on the previous state), as an example: ```turtle [ sh:datatype xsd:anyURI ; sh:description "Persistent and globally unique identifier of a `Thing`." ; sh:maxCount 1 ; sh:minCount 1 ; sh:name "Persistent identifier" ; sh:nodeKind sh:Literal ; sh:path dlthings:pid ], ``` and from the same property shape and equivalent class in the latest demo-research-information shacl state: ```turtle [ sh:description "Persistent and globally unique identifier of a `Thing`." ; sh:maxCount 1 ; sh:name "Persistent identifier" ; sh:nodeKind sh:IRI ; sh:path dlthings:pid ], ``` So it looks like: - the `sh:datatype` entry is gone - the `sh:minCount` entry is gone - `sh:nodeKind` has changed to `sh:IRI` We need to investigate the changes to the schema and/or the latest state of `gen-shacl` in LinkML to get to the bottom of this.
Owner

More cases (for Attribute)

image

More cases (for `Attribute`) ![image](/attachments/81626c79-7e12-4ccd-8fe1-11cde8f8e98c)
Author
Member

Tracking progress on the LinkML gen-shacl investigation here: https://github.com/psychoinformatics-de/datalad-concepts/issues/555

Tracking progress on the LinkML `gen-shacl` investigation here: https://github.com/psychoinformatics-de/datalad-concepts/issues/555
Author
Member

Fixed in 817fecc33f

Fixed in https://hub.psychoinformatics.de/www/pool.psychoinformatics.de-ui/commit/817fecc33fd08ab7802467bb14a2e911a3276a2e
Sign in to join this conversation.
No labels
AI
No milestone
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
www/pool.psychoinformatics.de-ui#29
No description provided.