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

JSON-LD version in RDFLib? #2996

Open
ajnelson-nist opened this issue Nov 27, 2024 · 3 comments
Open

JSON-LD version in RDFLib? #2996

ajnelson-nist opened this issue Nov 27, 2024 · 3 comments

Comments

@ajnelson-nist
Copy link
Contributor

I noticed that json-ld.org currently lists RDFLib on its front page as supporting JSON-LD 1.0, rather than JSON-LD 1.1. I'm not raising this as a complaint, just more that it helped me realize I don't know how one would find this.

Where is the version of JSON-LD implemented noted?

A quick scan of the Issue tracker shows there's a 1.1 test suite pending implementation (Issue 1833), but I'm not sure I see anything else in the tracker making the declaration one way or the other.

It looks like the code supports 1.1, especially per today's (well, last touched 3 weeks ago's) state of rdflib/plugins/parsers/jsonld.py:

version: float = 1.1,

@WhiteGobo
Copy link
Contributor

I have written this into the optional parameter of the parser. I dont think there is a way to autodocument this or any other optional parameter of any parser or serializer. There are lots of accepted optional parameter in some parser, that arent listed in the parse function.
I thought i have checked, that jsonld1.1 testsuite is active and working, but apparently its not active at least. And i have to check if json-ld serializer works also on version 1.1

@WhiteGobo
Copy link
Contributor

this was the pr that changed the parser version #2751

@ajnelson-nist
Copy link
Contributor Author

Ah, ok, thank you for finding that (and doing that). Is there a process for communicating that to the json-ld.org maintainers, possibly to see what else they're looking for?

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

2 participants