psychoinformatics-de/shacl-vue

Add workflow for generating up-to-date schemas and data

Open

#90 opened on Apr 18, 2025

 (0 comments) (0 reactions) (0 assignees)Vue (4 forks)auto 404
documentationgood first issue

Repository metrics

Stars
 (2 stars)
PR merge metrics
 (PR metrics pending)

Description

For the demo shacl-vue site, the config uses schemas generated from datalad concepts, from locally served files e.g. https://github.com/psychoinformatics-de/shacl-vue/blob/main/public/dlschemas_data.ttl.

The config also allows specifying a remote file URL, which is the case for e.g. the TRR379 deployment, but in those cases we control the hosting of the schemas and can allow specific origins to get around CORS issues. With the github hosting of concepts.datalad.org, we cant. So we need an alternative setup to be able to fetch or generate these files. This includes the shacl, owl, and sample data.

Current idea is to do the same as for the other concepts deployments where we have a linkml schema that imports schemas from dlconcepts and then from that we can generate the shacl and owl. For data, we will need to run the code to generate examples in ttl format, and then merge those into a file that shacl-vue can read.

We can lean heavily on the existing work in https://hub.psychoinformatics.de/inm7/inm7-concepts/src/branch/main/src/base/unreleased.yaml and https://hub.psychoinformatics.de/inm7/inm7-concepts/src/branch/main/Makefile

Contributor guide