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
[
{
"@id": "#myid", # <-- NOTE THE RELATIVE IRI HERE"http://example.org/ns/prop": [
{
"@value": "value"
}
]
}
]
and jsonld toRdf http://localhost:8000/test.jsonld returns no triples (because the relative IRI in the subject position can't be resolved).
In order to get the expected result, one has to use the following command line:
This is needlessly redundant, and this requirement is therefore counterintuitive.
I would expect that, whenever the [filename|URL|-] argument is an absolute URL (and possibly a filename), it automatically sets the base to the appropriate IRI (unless, of course, overridden with an explicit --base argument).
The text was updated successfully, but these errors were encountered:
Consider the following file served from
http://localhost:8000/test.jsonld
:Running
jsonld expand http://localhost:8000/test.jsonld
returns:and
jsonld toRdf http://localhost:8000/test.jsonld
returns no triples (because the relative IRI in the subject position can't be resolved).In order to get the expected result, one has to use the following command line:
This is needlessly redundant, and this requirement is therefore counterintuitive.
I would expect that, whenever the
[filename|URL|-]
argument is an absolute URL (and possibly a filename), it automatically sets the base to the appropriate IRI (unless, of course, overridden with an explicit--base
argument).The text was updated successfully, but these errors were encountered: