On 24/05/17 22:50, Laura Morales wrote:
--base is the right way to do it except in Jena 3.3.0 its broken: JENA-1340.

Andy


Thank you a lot, this looks like it's fixed now.
I was wondering, when a RDF file doesn't specify a base URI (in which case the output 
is automatically set to <file:>), what would be a 
correct/standard/de-facto/conventional value to set --base= to? Something like 
--base=https://example.org/?


Standards-wise, there is always a base URI.

If the file does not contain one, then it is the location on the web where the file came from, or file name if not fetched by HTTP. That's why the RDF changes when you copied that file.

So --base=<original URL> if you want the same RDF triples.

    Andy

Reply via email to