omeka / omeka-s

Omeka S is a web publication system for universities, galleries, libraries, archives, and museums. It consists of a local network of independently curated exhibits sharing a collaboratively built pool of items, media, and their metadata.
GNU General Public License v3.0
409 stars 137 forks source link

Failed to import JSON-LD 1.1 vocabulary #2032

Closed regisrob closed 1 year ago

regisrob commented 1 year ago

Omeka S 4.0.1 fails to import the IIIF Presentation 3 vocabulary from its context file (JSON-LD 1.1): https://iiif.io/api/presentation/3/context.json

In the "Import vocabulary" form, I put:

Then Omeka S threw this error: expected list of objects as value of '@context' -> '@version' node, got double

jimsafley commented 1 year ago

The vocabulary import expects an RDF vocabulary (a collection of classes and properties used to classify and describe resources)., not a JSON-LD context. As far as I know, IIIF has no RDF vocabulary.

regisrob commented 1 year ago

I see, sorry for the misunderstanding. I am probably misled by the fact that I remember importing IIIF Presentation 2 in a previous version of Omeka S. And I still have a vocabulary called "IIIF Presentation 2" (with a sc prefix) in my Omeka S instance, but I do not remember from which file it was imported initially... (probably an outdated Shared Canvas xml file ?)