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

Overall 'FileFormatShape' is missing #101

Open
rcrswld opened this issue Sep 27, 2024 · 1 comment
Open

Overall 'FileFormatShape' is missing #101

rcrswld opened this issue Sep 27, 2024 · 1 comment
Assignees

Comments

@rcrswld
Copy link
Collaborator

rcrswld commented Sep 27, 2024

Right now, we have defined the file format directly in the SHACL-shape of every data category. This makes it very hard to reuse same file formats across different shapes, like reuse same data formats over different shapes (e.g. OpenSCENARIO for test scenarios as well as for services).

Possible solution:

  • Different format-kinds for different data categories (like hd-map, scenarios, etc.)
  • Reference to specific format-kind in the overall SHACL-shape category
@rcrswld rcrswld self-assigned this Sep 27, 2024
@rcrswld
Copy link
Collaborator Author

rcrswld commented Oct 25, 2024

Preferred approach:
Definition of a single file format class with every file formats used in the ecosystem. Additionally, we would propose to further constrain selectable file formats when this general file format shape is referenced within the single shapes of a data category shape.

Example:
`ex:BaseShape

a sh:NodeShape ;    
sh:targetClass ex:MyClass ;
sh:property [
    sh:path ex:myProperty ;
    sh:in ( "Value1" "Value2" "Value3" ) ;
] .`

`ex:ExtendedShape

a sh:NodeShape ;    
sh:targetClass ex:MyClass ;
sh:property [
    sh:path ex:myProperty ;
    sh:in ( "Value1" "Value2" ) ; # Weitere Einschränkung
] ;
sh:node ex:BaseShape .`

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant