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

[BUG] Derivative Dataset schema is missing link to schema:Thing #182

Open
flaneuse opened this issue Aug 11, 2022 · 1 comment
Open

[BUG] Derivative Dataset schema is missing link to schema:Thing #182

flaneuse opened this issue Aug 11, 2022 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@flaneuse
Copy link
Collaborator

flaneuse commented Aug 11, 2022

Describe the bug
I created a schema on the Schema Editor derived from the NIAID Dataset schema. The resulting schema, downloaded from the DDE, is incapable of being visualized on the DDE Schema Registry. It looks like the connection from NDE:Dataset --> NIAID:Dataset --> schema:Dataset --> schema:CreativeWork --> schema:Thing is broken.

To Reproduce
Try to visualize https://raw.githubusercontent.com/NIAID-Data-Ecosystem/nde-schemas/39898d3ce324ff09dc7e9e95e1dcddd803fd0136/NDE_Dataset.jsonld. Error message:

    {
      "message": "Class \"https://discovery.biothings.io/view/NDE/Dataset\" has no path to the root \"<b class='text-primary'>schema:Thing</b>\" class",
      "error_type": "no_path_to_root",
      "record_id": "https://discovery.biothings.io/view/NDE/Dataset"
    },

Expected behavior
I'd expect something generated by the DDE Schema Editor to be visualizable in the DDE ;)

Screenshots
Screen Shot 2022-08-11 at 12 10 15 PM

@flaneuse flaneuse added the bug Something isn't working label Aug 11, 2022
@flaneuse
Copy link
Collaborator Author

There are two issues here:

  1. how to fix the schema json-ld so it correctly inherits the niaid:Dataset schema.
  2. change the Schema Registry to correctly save the @context so deriving a schema based on a schema.org schema will be visualizable.

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

2 participants