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

Proposal: Simplify and reduce @context for v2 to reduce issues -- change the context so we only define terms that are mentioned int he core spec #385

Open
ptsefton opened this issue Jan 6, 2025 · 0 comments
Labels
enhancement New feature or request
Milestone

Comments

@ptsefton
Copy link
Contributor

ptsefton commented Jan 6, 2025

I think our approach to the @context could be improved in v2

By mixing Schema.org and other terms we opened the door for some confusion. Eg we imported the Portland Common Data model hasMember/memberOf props into the RO-Crate context, but these were subsequently added to Schema.org with a different (much less generic) meaning.

I propose that we:

  1. Only define terms that are used in the spec name, description, etc
  2. Define schema.org as the default vocab, but stop importing all its terms into our context, thus reducing the current significant overhead on writing RO-Crate libraries
  3. Add some prefixes, pcdm, bioschemas, rdf, rdfs to the context but mandate that these should be used with the prefix like pcdm:memberOf -- stop trying to import these things into the core RO-Crate context and let the other projects look after them
  4. Make it clear in the v2 spec that name, description ETC MUST resolve to the correct schema.org URI.
@ptsefton ptsefton added the enhancement New feature or request label Jan 6, 2025
@ptsefton ptsefton added this to the RO-Crate 2.0 milestone Jan 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant