-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix missing SHACL relations #659
Conversation
This PR filters out external vocabulary definitions which it was agreed that it will be implemented in the next major release, ePO 5.0.0. For ePO 4.1.0 we should only add missing SHACL shapes and remove references to missing codelists ("at-voc-new" prefixes). |
|
I misunderstood your comment. You were referring to OWL and not SHACL. Exporting SHACL shapes of external vocabulary is not desirable, and the SHACL shapes are already being used. |
@cristianvasquez Are you referring to the multiple inheritance of epo:Not- Modification-D25? One is for standard forms, and the other for eForms. |
Hi @AchillesDougalis, I'm referring to the elements depicted as objects in the Conceptual model, the ones that do not have a prefix. Are these describing a data-instance? From the model, I don't know what they are, so I'm unsure if they should be in the SHACL or not |
Yes, those are values of the codelists and they are not transformed by model2owl. We included them just for us to have a better perspective. |
Thanks @andreea-pasare, I'll remove them from the export. |
The prefixes used for the shapes in ttl files are different ("a4g_shape") for all modules and it might be misleading. For example, eAccess used to have "acc-shape" and so on. |
Thanks for the comments @andreea-pasare. I've added prefixes and removed at-voc-new Please indicate if you foresee other changes or if it's ok to merge |
- Change the way EPO is exported - Add skos-in scheme - Temporary SHACL for 4.0.0 OP-TED/ePO#659
@cristianvasquez I spotted some new mentions of a4g and a4g-shape: Maybe you can do a check for a4g in all committed files. Thanks! |
Also, the namespaces for cpv and nuts should be manually changed. You can take those from a previous release candidate: 4.1.0-rc.2: |
@andreea-pasare Thank you!, I'll address those changes. |
refactor: shacl:name has capital letter refactor: remove a4g PlainLiteral refactor: remove a4g PlainLiteral
This was a bug thanks for spotting it!
I've changed the naming convention, sh: is the prefered namespace. thanks!
I've moved this declaration to be part of each property with plain:literal
I've changed this one
nodeKind is beneficial. Probably Example: sh:sparql [ sh:select "SELECT ?this ?that WHERE { ?this <https://data.europa.eu/a4g/ontology#concernsContractAmendment> ?that . ?that <https://data.europa.eu/a4g/ontology#concernsContractAmendment> ?this .}" ] . |
* Update shapes, add v4.1.0-rc3
Hi, this pull request adds missing SHACL relations and filters out external vocabulary definitions.
Please review, there might be mistakes.
An Owl fix will be in place next week in a different branch.