-
Notifications
You must be signed in to change notification settings - Fork 565
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
Use pyld as the json-ld parser for rdflib #2308
Comments
@edmondchuc I have been thinking about this a bit. Some important considerations for this:
I believe the first step you were trying was just to get it into our repo, and get the tests to pass, but even if not, this may not be a bad first step, integrate it verbatim, and then call into it. I think we should ideally have a release where both the PyLD and existing JSON parser/serializer is available, and then once we are more or less happy with that, and possibly have some feedback, we can make another release. I'm very happy to step up the release schedule as much as possible, and will do what I can to make this as automatic and uninvolved as possible. |
PYLD is somewhat broken - 19 open pull requests and no updates for 3 years - and substantive bugs such as digitalbazaar/pyld#143 that are showstoppers. would need to resucitate the code management to adopt this. |
@rob-metalinkage it is hard to say this definitively, the RDFLib json-ld is more broken I think, we are not even running the whole test suite and the part we are running I'm not that sure about as it us using a rather old test runner, and we have many more open issues and bugs, some of them rather serious. Integrating PyLD will definitely be a lot of work, and we will get baggage, but I think it is more realistic than fixing the RDFLib JSON-LD support. We have spoken to people who worked on PyLD before and it is not likely that there will be further development in https://github.com/digitalbazaar/pyld - so we will have to fix it in our codebase or fork it, and that is also more effor than I think we have capacity for. |
That makes sense. I think then that we need to find sponsors for this work. Python and jsonld are too important to be ignored in combination. Is there anyone out there who could cost a proposal and/or facilitate this. Has the community ever used gofundme or something to test the waters here? |
@aucampia thanks for creating this issue. I agree with what you've said above. I think a good first step is to document how to use pyld with JSON-LD together, just so users are aware of the options available to them. The pyld + RDFLib things I normally do: Getting RDF into a framed JSON-LD
The above is the same for compaction and expansion by using the relevant function in the pyld processor. Parsing JSON-LD with pyld and loading into an RDFLib graph
|
This is to track and discuss the work that @edmondchuc has started in #1836.
The change is essentially to make pyld the json-ld parser of RDFLib.
See also:
The text was updated successfully, but these errors were encountered: