Skip to content

JSON-LD data import adds trailing slashes to IRIs #101

@anatoly-scherbakov

Description

@anatoly-scherbakov

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions