Open noorbakerally opened 6 years ago
This is a consequence of the problem described in #34 (thus dependent on RDFLib/rdflib#436). If you use code like this it should work:
from rdflib import *
g = ConjunctiveGraph()
g.parse("https://data.hikob.com/osc/parking", format="json-ld")
print(g.serialize())
@bjonnh: your data seems to be in RDF/JSON, which is a different format than JSON-LD (and rdflib-jsonld only supports the latter).
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.
still does not work with latest version when parsing the format with @context and @graph as the example file mentioned above.
I have a valid jsonld file at https://data.hikob.com/osc/parking but rdflib is not loading it. My codes are: