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

Indicate the root using --root flag, not rdfs:comment #71

Open
2 tasks
bartkl opened this issue Feb 6, 2023 · 0 comments
Open
2 tasks

Indicate the root using --root flag, not rdfs:comment #71

bartkl opened this issue Feb 6, 2023 · 0 comments
Labels
avro Avro schema feature New feature or changing an existing one

Comments

@bartkl
Copy link
Owner

bartkl commented Feb 6, 2023

Report

Is your feature request related to a problem? Please describe.
Currently, indicating the root is part of the SHACL model. That's not nice, because it's Avro specific (or at least specific to tree-shaped schemas). Not to mention the way we're modeling it using rdfs:comment and a designated value RootObject, which is really not very nice.

Describe the solution you'd like
Using a CLI flag to indicate the root instead of the `rdfs:comment "RootObject".


Task

Description
Remove the hacky rdfs:comment "RootObject" semantics and replace it with a command-line flag --root to indicate the root.

Usage would look like this:

metamorph avro --root :BShape input/SHACL.ttl

Acceptance criteria

  • avro command supports a --root flag on the CLI
  • rdfs:comment "RootObject" semantics are removed
@bartkl bartkl added feature New feature or changing an existing one avro Avro schema labels Feb 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
avro Avro schema feature New feature or changing an existing one
Projects
None yet
Development

No branches or pull requests

1 participant