Health-RI / health-ri-metadata

health ri metadata schemas
5 stars 1 forks source link

Core rule change #74

Open KarolisCremers opened 1 month ago

KarolisCremers commented 1 month ago

https://github.com/Health-RI/health-ri-metadata/blob/88009525aeff489817fe901454a381b0642a8504/Formalisation(shacl)/Core/coreRules.shapes.ttl#L33

should be http://xmlns.com/foaf/0.1/name according to: Images/1.0_plateau1/HRICoreSchemaReleasePlateau1.jpg

If I'm understanding the core rules incorrectly and it should be a title please let me know.

I also would like to be informed whether the agent shape: https://github.com/Health-RI/health-ri-metadata/blob/88009525aeff489817fe901454a381b0642a8504/Formalisation(shacl)/Core/PiecesShape/Catalog.ttl#L54-L63 in the catalog shape file is inheriting the property requirements from the ontology.

brunasv commented 1 month ago

Our validator is now updated with the latest shapes available on GitHub. Please use these new shapes for validation. If you encounter any issues, let us know. The interface may appear slightly different as we've streamlined it to use only one set of shapes. We've removed all old and unnecessary shapes.

Please try the updated validator and report any issues. If problems persist, we can schedule a meeting or session to troubleshoot together. Thank you for being part of the development process. We apologize for any inconvenience as we work to resolve any issues together. You can find the latest shapes on GitHub here.

Hope this helps, Bruna on behalf of Health-RI

brunasv commented 1 month ago

Hi Karolis, Can you point me to " property requirements from the ontology." , thanks!

KarolisCremers commented 1 month ago

Hi Karolis, Can you point me to " property requirements from the ontology." , thanks! As defined at the top of the file: https://github.com/Health-RI/health-ri-metadata/blob/9621c21281354fbfab321b95ab8343cd67229332/Formalisation(shacl)/Core/coreRules.shapes.ttl#L18-L27

The definitions that follow indicate which fundemental requirements are to be followed to onboard metadata. I interpret this in a way that any class property defined in this file have to be present in any of its uses and that the seperate shapes extend the property requirements.

The ontology in the following file defines an agent shape in this way: https://github.com/Health-RI/health-ri-metadata/blob/9621c21281354fbfab321b95ab8343cd67229332/Formalisation(shacl)/Core/coreRules.shapes.ttl#L29-L45

So am I correct in thinking that all agents across the shapes should have a dc:title and dc:identifier (as sh:mincCount = 1)? And that the agent associated to "publisher" for a catalog has an additional property requirement of foaf:name?: https://github.com/Health-RI/health-ri-metadata/blob/9621c21281354fbfab321b95ab8343cd67229332/Formalisation(shacl)/Core/PiecesShape/Catalog.ttl#L53-L63

I'm assuming that the CoreRules.shapes.ttl and PiecesShape SHACL files are related to each-other.

Hope this helps, I'm not entirely sure if I'm using the correct language so sorry for the confusion in advance.

brunasv commented 2 weeks ago

no problem, @xiaofengleo can you help here? (Also the pieces shapre is the correct shacl, we are cleaning the git, sorry for the confusion)