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

Re: StreamRDF.base()

2019-08-14 Thread Andy Seaborne
nas 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 = StreamRDFLib.writer(new BufferedWriter(new OutputStre

Re: StreamRDF.base()

2019-08-14 Thread Martynas Jusevičius
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. > >>> > >>&g

Re: StreamRDF.base()

2019-08-14 Thread Andy Seaborne
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 the purpose/usa

Re: StreamRDF.base()

2019-08-14 Thread Martynas Jusevičius
rtain 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 T

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() is. Isn'

Re: StreamRDF.base()

2019-08-14 Thread Claude Warren
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't it supposed

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 OutputStreamWriter(System.out