Skip to content

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

Description

@bartkl

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    avroAvro schemafeatureNew feature or changing an existing one

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions