Expected format for JSON-LD vocabs

I hope this is appropriate for this category - wondering what format the JSON-LD vocab import is expecting. It does NOT like what Schema.org offers on their site.

The error:

  • expected list of objects as value of ‘@context’ -> ‘rdf’ node, got string

The input:

https://schema.org/version/latest/schemaorg-current-http.jsonld

Are there any examples?

I should mention that importing Schema.org in Turtle format works. But I thought for designing a custom vocabulary JSON-LD would be the way to go.

The RDF parser that Omeka uses has a hard time parsing JSON-LD files, possibly because the syntax has so many variants. I’ve found that the Notation3, Turtle, and N-Triples formats are far more reliable to import and easier to compose.

This topic was automatically closed 250 days after the last reply. New replies are no longer allowed.