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 tried to find a hardcoded list of allowed schemas in rdflib, rdflib-jsonld, and pyld repositories, but did not succeed. Maybe you could point me to the right direction? Thank you!
The text was updated successfully, but these errors were encountered:
It appears to be caused by use of urllib.parse.urljoin which only supports a specific set of schemes. There is a documented workaround (https://bugs.python.org/issue18828#msg196794):
Problem
Full code of the example is here: https://gist.github.com/anatoly-scherbakov/9410aba3af518e1a3301b32b693f2579
I am trying to import a JSON-LD document into an RDFLib in-memory graph instance. Versions of the software:
The document I am working with contains a
@base
IRI in its@context
.Expected result
I expect the import to work correctly if the
@base
value is a correct IRI regardless of its protocol. But it seems that the import works with these:but does not work with these:
In the latter case, I just get an empty graph.
I tried to find a hardcoded list of allowed schemas in
rdflib
,rdflib-jsonld
, andpyld
repositories, but did not succeed. Maybe you could point me to the right direction? Thank you!The text was updated successfully, but these errors were encountered: