prefixcommons / biocontext

JSON-LD Contexts for Bioinformatics Data
22 stars 18 forks source link

Invalid JSON-LD syntax #27

Open hsolbrig opened 4 years ago

hsolbrig commented 4 years ago

The empty string ("") is not a valid JSON-LD key. See: https://w3c.github.io/json-ld-syntax/#terms.

https://github.com/prefixcommons/biocontext/blob/master/registry/monarch_context.jsonld as an example. The JSON-LD Playground can be used to test validity -- see: http://tinyurl.com/tvdm7qe for example of monarch issue.

Is the intent of the empty string to define the context for ':'?

hsolbrig commented 4 years ago

@micheldumontier or @cmungall -- can you respond to https://github.com/w3c/json-ld-api/issues/379#issuecomment-588572902 ?