Full code of this example is published at: https://gist.github.com/anatoly-scherbakov/95b035b5352ee3ec8ba6b37495b33edd
Problem
- When, while importing a source JSON-LD document, the importer encounters a
local:foo IRI (where local is meant to be IRI scheme), the IRI is imported as is into RDFLib graph;
- But if to use
local://foo IRI instead, trailing slash is appened: in the graph, this term is represented as local://foo/. That is unexpected.
I believe both these values are valid IRIs, thus this issue seems to be a bug.