linkeddata / rdflib.js

Linked Data API for JavaScript
http://linkeddata.github.io/rdflib.js/doc/
Other
566 stars 146 forks source link

Error: Missing IRI for NamedNode when parsing LDP container data #378

Closed linonetwo closed 4 years ago

linonetwo commented 4 years ago

Runkit playground: https://runkit.com/linonetwo/5e018eb5b3a641001a406dbe

I'm trying to parse https://linonetwo.solid.authing.cn/public/tiddlywiki/main/ with the method: https://forum.solidproject.org/t/is-there-a-converter-between-json-ld-and-turtle-n3/1817/3

linonetwo commented 4 years ago

Seems in rdflib.parse( turtleString, store, uri, the uri cannot be '' empty string. Don't know why.

I just want to transfer it to JSON-LD, which is easier to use in JS.