Re: StreamRDF.base()

2019-08-15 Thread Andy Seaborne
On 15/08/2019 13:02, Claude Warren wrote: Learn something new every day... On Wed, Aug 14, 2019 at 5:44 PM Andy Seaborne wrote: (and it is technically wrong to have a # in the base) so as a base "http://example.com/myfile.txt#"; is incorrect but " http://example.com/myfile.txt/"; is

Re: StreamRDF.base()

2019-08-15 Thread Claude Warren
Learn something new every day... On Wed, Aug 14, 2019 at 5:44 PM Andy Seaborne wrote: > > > > (and it is technically wrong to have a # in the base) > > so as a base "http://example.com/myfile.txt#"; is incorrect but " http://example.com/myfile.txt/"; is correct? or technically does the last seg

Re: StreamRDF.base()

2019-08-14 Thread Andy Seaborne
13, 2019 at 11:46 PM Martynas Jusevičius wrote: Hi, I'm trying to understand what the purpose/usage of StreamRDF.base() is. Isn't it supposed to set the base URI that relative URIs in the stream resolve against? I've made a simple test: StreamRDF rdfStream = StreamRD

Re: StreamRDF.base()

2019-08-14 Thread Martynas Jusevičius
y inbound local URIs while if you are > >>> streaming out from the graph the URIs are already fully resolved. > >>> > >>> I didn't write this code so I am not certain but if that is the case > >>> perhaps we should note it in the javadocs. > >

Re: StreamRDF.base()

2019-08-14 Thread Andy Seaborne
ain but if that is the case perhaps we should note it in the javadocs. I do note that StreamRDF says it is for output, in which case I am not certain why the base() is needed at all. Claude On Tue, Aug 13, 2019 at 11:46 PM Martynas Jusevičius wrote: Hi, I'm trying to understand what

Re: StreamRDF.base()

2019-08-14 Thread Martynas Jusevičius
so I am not certain but if that is the case > > perhaps we should note it in the javadocs. > > > > I do note that StreamRDF says it is for output, in which case I am not > > certain why the base() is needed at all. > > > > Claude > > > > > > &g

Re: StreamRDF.base()

2019-08-14 Thread Andy Seaborne
rhaps we should note it in the javadocs. I do note that StreamRDF says it is for output, in which case I am not certain why the base() is needed at all. Claude On Tue, Aug 13, 2019 at 11:46 PM Martynas Jusevičius wrote: Hi, I'm trying to understand what the purpose/usage of StreamRDF.base(

Re: StreamRDF.base()

2019-08-14 Thread Claude Warren
I do note that StreamRDF says it is for output, in which case I am not certain why the base() is needed at all. Claude On Tue, Aug 13, 2019 at 11:46 PM Martynas Jusevičius wrote: > Hi, > > I'm trying to understand what the purpose/usage of StreamRDF.base() is. > > Isn'

StreamRDF.base()

2019-08-13 Thread Martynas Jusevičius
Hi, I'm trying to understand what the purpose/usage of StreamRDF.base() is. Isn't it supposed to set the base URI that relative URIs in the stream resolve against? I've made a simple test: StreamRDF rdfStream = StreamRDFLib.writer(new BufferedWriter(new OutputStreamWr