Skip to content

Conversation

@wardi
Copy link
Contributor

@wardi wardi commented Nov 5, 2025

A small example at the end of the Format Example section demonstrating how to represent multilingual values as implemented in #932

Also update the context Appendix to allow parsing name and description fields in this format in JSON-LD.

@wardi wardi requested a review from a team as a code owner November 5, 2025 17:22
@github-actions
Copy link

github-actions bot commented Nov 5, 2025

MLCommons CLA bot All contributors have signed the MLCommons CLA ✍️ ✅

Copy link
Contributor

@benjelloun benjelloun left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry for the slow turn-around!


```json
"description": {
"en": "The date the photo was taken.",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would prefer not to use a language map in the example, so that we don't change the default Croissant context. This is because our library implementation depends on the context being stable (which is not correct, but would require a significant effort to fix).

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is the library implementation the python library? I made changes to the context used in #932 so that this feature would work, what does it mean that the default context can't be changed?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants