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

Don't export named graph? #22

Open
4 tasks
lecoqlibre opened this issue Jan 30, 2024 · 0 comments
Open
4 tasks

Don't export named graph? #22

lecoqlibre opened this issue Jan 30, 2024 · 0 comments
Assignees

Comments

@lecoqlibre
Copy link
Member

lecoqlibre commented Jan 30, 2024

This is to remind that we should not be exporting the name of the graph (@id) in JSON-LD. Indeed, some parsing libraries could refuse to parse named graph like related here: datafoodconsortium/connector-php#1.

Unfortunately, it seems there is no option to tell VocBench to not export the name of the selected graph. So we probably have to ensure this manually.

Or maybe we should rely on parsing libraries that can support named graphs?

Acceptance Criteria

As this is valid JSON-LD, and we cannot (easily) modify the VOCbench output. We have decided the following:

  • We will require users of the standard to use parsing libraries that support named graphs
  • We will document this in the standard
  • We will provide a list of parsing libraries we know support this
  • We will provide sample code that can strip the @id from files, when required.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Icebox ❄
Development

No branches or pull requests

1 participant