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

rdf:JSON value space incorrect #116

Open
pfps opened this issue Nov 15, 2024 · 0 comments
Open

rdf:JSON value space incorrect #116

pfps opened this issue Nov 15, 2024 · 0 comments

Comments

@pfps
Copy link
Contributor

pfps commented Nov 15, 2024

The rdf:JSON value space is currently defined as

maps (mapping strings to values in the value space where the order of map entries is not significant),

This is not suitable. The referenced type is ordered maps, so the value space incorrectly contains ordered maps when it should contain unordered maps.

The best solution is to not use ordered maps at all and use unordered maps instead.

A much worse solution would be something like

equivalence sets of
maps (mapping strings to values in the value space
where two maps are equivalent if for each tuple in either map there is a tuple in the other map with the same key and value

Wording later in the section would probably have to be adjusted to mention equivalence sets of maps wherever it mentions maps.

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

No branches or pull requests

1 participant