Dan Brickley
Dan Brickley
@hsolbrig can you suggest a workaround, at least for short term use? Can we pass in the context when invoking parser (by URL or by content?) /cc @Gnomus042
I think I've hit the same issue, with https://raw.githubusercontent.com/iot-schema-collab/iotschema/master/thing.jsonld , which the JSON-LD playground seems happy with. Tried some of the techniques mentioned and linked here, no success yet.
I found a fix, https://github.com/RDFLib/rdflib-jsonld/issues/40#issuecomment-376513850
#53 seems to be the same issue. The suggested [fix](https://github.com/RDFLib/rdflib-jsonld/issues/53#issuecomment-354784594) from @niklasl there also uses ConjunctiveGraph but is not working for me. See also https://github.com/RDFLib/rdflib/issues/436
Maybe this helps: I got it working, only when I stopped using the method-result chaining shortcut syntax: > foo = ConjunctiveGraph() bar = foo.parse(data=mydoor, format='json-ld') foo.serialize() This works. However the...
oh, did I just run into this? https://twitter.com/danbri/status/1247263674080903169 maybe I should install from github?
I've put half an hour into this and totally failed so far. I have no legacy commitments, just want to get rdflib working in a fresh Python 3 (https://colab.research.google.com/) environment....
Here is an attempt in Colab. It's from @bquinn but my experiments were essentially the same: https://colab.research.google.com/drive/1s39p5M5jUBHDf0MNT4xHhjylImm3JrlQ#scrollTo=0FC4rxAwTkcW He reported that it works some of the time, when you use "run...
Running (rdflib-5.0.0, rdflib-jsonld-0.6.0.dev0, Python 3.6.9) that second block in CoLab I get: > PluginException: No plugin registered for (json-ld, ) Details follow. Library installation was using this: ``` !pip install...
I've reproduced what @bquinn reports. It needed a reset runtime and then a restart runtime to get rdflib to work. However, after the "restart runtime", you don't need to run...