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

Inconsistent interface for Deserialize JSON-LD #579

Open
jyasskin opened this issue Nov 20, 2023 · 1 comment
Open

Inconsistent interface for Deserialize JSON-LD #579

jyasskin opened this issue Nov 20, 2023 · 1 comment

Comments

@jyasskin
Copy link
Member

https://www.w3.org/TR/json-ld-api/#deserialize-json-ld-to-rdf-algorithm says

This algorithm deserializes a JSON-LD document to an RDF dataset.

But the algorithm inside it says

The algorithm takes a map node map, which is the result of the Node Map Generation algorithm and an RDF dataset dataset into which new graphs and triples are added.

Those should be consistent.

@gkellogg
Copy link
Member

We could update the introduction to say that the JSON-LD document is expected to be in the form of the map result of the Node Map Generation algorithm, but really the introduction is intended to be descriptive of the purpose of the algorithm, while the Algorithm itself, describes the expected inputs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Errata
Development

No branches or pull requests

2 participants