Skip to content
This repository was archived by the owner on Apr 4, 2018. It is now read-only.
This repository was archived by the owner on Apr 4, 2018. It is now read-only.

_pythonToRdf is manhandling rdflib.Identifier instances #2

@chimezie

Description

@chimezie

_pythonToRdf is assuming the object is a python data representation when it is not. The tuple of terms yielded from rdflib.Graph.Graph.triple, for instance is a tuple of rdflib.Identifier instances. So line 263 should be:

    elif isinstance(obj,ID):
        return obj

And the else afterwards should never be reached:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions