Open josephguillaume opened 3 years ago
baseUri is used to create a librdf_new_uri but this is not used in the rest of the function parseFileIntoModel https://github.com/ropensci/redland-bindings/blob/e487922513ab48a85f2da63b0b009dc53f7205d5/R/redland/R/Parser.R#L110
As I understand it, the baseUri should be the third argument of librdf_parser_parse_into_model, which is currently set to NULL. https://github.com/ropensci/redland-bindings/blob/e487922513ab48a85f2da63b0b009dc53f7205d5/R/redland/R/Parser.R#L123
librdf_parser_parse_into_model
https://librdf.org/docs/api/redland-parser.html#librdf-parser-parse-into-model
It looks like replacing NULL with librdf_uri works, i.e. the baseUri is then used
NULL
librdf_uri
baseUri is used to create a librdf_new_uri but this is not used in the rest of the function parseFileIntoModel https://github.com/ropensci/redland-bindings/blob/e487922513ab48a85f2da63b0b009dc53f7205d5/R/redland/R/Parser.R#L110
As I understand it, the baseUri should be the third argument of
librdf_parser_parse_into_model
, which is currently set to NULL. https://github.com/ropensci/redland-bindings/blob/e487922513ab48a85f2da63b0b009dc53f7205d5/R/redland/R/Parser.R#L123https://librdf.org/docs/api/redland-parser.html#librdf-parser-parse-into-model
It looks like replacing
NULL
withlibrdf_uri
works, i.e. the baseUri is then used