You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've ran into an issue trying to normalize N-Quads using URDNA2015 normalization from jsonld library.
pyld.jsonld.JsonLdError: ('Could not convert input to RDF dataset before normalization.',)
Type: jsonld.NormalizeErrorCause: ('Error while parsing N-Quads invalid quad.',)
Type: jsonld.ParseError
Details
In dkg.js we're normalizing N-Quads using the following function:
I've tried to reproduce the same logic in dkg.py, but I've ran into issues trying to normalized N-Quads (JSON-LD works fine). It may be either wrong usage of the library from my side or bug in the jsonld as it seems it's not supported anymore.
Overview
I've ran into an issue trying to normalize N-Quads using URDNA2015 normalization from
jsonld
library.Details
In
dkg.js
we're normalizing N-Quads using the following function:I've tried to reproduce the same logic in
dkg.py
, but I've ran into issues trying to normalized N-Quads (JSON-LD works fine). It may be either wrong usage of the library from my side or bug in thejsonld
as it seems it's not supported anymore.Python normalization function:
The text was updated successfully, but these errors were encountered: