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
As observed in issue #131, setting the base URI did not work
previously. As a result, the `-B' flag in the `rdf2hdt' script did
not work either.
This commit adds base URI support by using the Serd API to resolve
relative IRIs while parsing RDF input.
In the old code, base URIs were explicitly rewritten to use Turtle
notation (i.e., using surrounding angular brackets). Since URI
resolution is now handled by the Serd API, such serialization-specific
reformats are no longer needed and have been removed from the code.
In line with the previous point, the `-B' flag now takes a base URI
argument directly, and does not require surrounding angular brackets.
As observed in issue #131, setting the base URI did not work
previously. As a result, the `-B' flag in the `rdf2hdt' script did
not work either.
This commit adds base URI support by using the Serd API to resolve
relative IRIs while parsing RDF input.
In the old code, base URIs were explicitly rewritten to use Turtle
notation (i.e., using surrounding angular brackets). Since URI
resolution is now handled by the Serd API, such serialization-specific
reformats are no longer needed and have been removed from the code.
In line with the previous point, the `-B' flag now takes a base URI
argument directly, and does not require surrounding angular brackets.
When parsing a Turtle file with an empty object like this
using the
-B
flag, rdf2hdt throws an error whereas it should use the basename (provided by -B) instead.The text was updated successfully, but these errors were encountered: