Skip to content
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

shapefile for fnml is wrong #142

Open
bjdmeest opened this issue Oct 31, 2024 · 0 comments
Open

shapefile for fnml is wrong #142

bjdmeest opened this issue Oct 31, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@bjdmeest
Copy link
Member

In shapes/expression_map.ttl there's an 'alternativepath' directive for rml:returnMap rml:functionExecution:

        sh:path [sh:alternativePath (rml:template 
                                     rml:constant
                                     rml:reference
                                     rml:returnMap
                                     rml:functionExecution)] ;

however, the shape should be

        sh:path [sh:alternativePath (rml:template 
                                     rml:constant
                                     rml:reference
                                     rml:functionExecution)] ;

With an additional directive that IF rml:functionExecution is added, rml:returnMap optionally can also be added. I don't know whether SHACL supports this, otherwise I suggest to put rml:returnMap just as an optional sh:path

@dachafra dachafra added the bug Something isn't working label Oct 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants