Re: riot --base option does not work with single letter URI schema

2021-09-11 Thread Andy Seaborne




On 11/09/2021 18:09, Laura Morales wrote:

It looks like a MS Windows drive letter, which then isn't handled very
gracefully.


I'm not using Windows though.


It _looks like_ a MS Windows drive, then isn't handled properly.
Jena has file handling to cope MS Windows.

JENA-2160 - improved, though there simply isn't a perfect answer.

Andy


Re: riot --base option does not work with single letter URI schema

2021-09-11 Thread Laura Morales
> It looks like a MS Windows drive letter, which then isn't handled very
> gracefully.

I'm not using Windows though.


Re: riot --base option does not work with single letter URI schema

2021-09-11 Thread Andy Seaborne
It looks like a MS Windows drive letter, which then isn't handled very 
gracefully.


Andy

On 11/09/2021 00:47, Laura Morales wrote:

This command

 riot --base="x:" --syntax=ttl --output=nt <( echo "   
." )

returns this triple

   
 .

instead of

.

Riot version 4.1.0.



Re: riot --base option does not work with single letter URI schema

2021-09-11 Thread Laura Morales
> What version of Jena are you using? They all seem to work for me with 3.15.0

$ riot --version
Jena:   VERSION: 4.1.0
Jena:   BUILD_DATE: 2021-05-31T20:32:25+


Re: riot --base option does not work with single letter URI schema

2021-09-11 Thread Martynas Jusevičius
OK, sorry, I see it now :)

What version of Jena are you using? They all seem to work for me with 3.15.0:

riot --base="isbn:" --syntax=ttl --output=nt <( echo "<0123>
<http://example.org/title> <http://example.org/Foobar> ." )
 <http://example.org/title> <http://example.org/Foobar> .

riot --syntax=ttl --output=nt <( echo "base  <0123>
<http://example.org/title> <http://example.org/Foobar> ." )
 <http://example.org/title> <http://example.org/Foobar> .

riot --syntax=ttl --output=nt <( echo "base  <0123>
<http://example.org/title> <http://example.org/Foobar> ." )
 <http://example.org/title> <http://example.org/Foobar> .

riot --base="n:" --syntax=ttl --output=nt <( echo "<0123>
<http://example.org/title> <http://example.org/Foobar> ." )
 <http://example.org/title> <http://example.org/Foobar> .

On Sat, Sep 11, 2021 at 10:31 AM Laura Morales  wrote:
>
> No no I mean "schema" indeed. Let me give a better example.
>
> These work:
> riot --base="isbn:" --syntax=ttl --output=nt <( echo "<0123> 
> <http://example.org/title> <http://example.org/Foobar> ." )
> riot --syntax=ttl --output=nt <( echo "base  <0123> 
> <http://example.org/title> <http://example.org/Foobar> ." )
> riot --syntax=ttl --output=nt <( echo "base  <0123> 
> <http://example.org/title> <http://example.org/Foobar> ." )
>
> This doesn't:
> riot --base="n:" --syntax=ttl --output=nt <( echo "<0123> 
> <http://example.org/title> <http://example.org/Foobar> ." )
>
>
> > Sent: Saturday, September 11, 2021 at 9:15 AM
> > From: "Martynas Jusevičius" 
> > To: users@jena.apache.org
> > Subject: Re: riot --base option does not work with single letter URI schema
> >
> > You probably mean “prefix” not “schema”?
> >
> > And the result should be
> >
> > x:alice x:knows x:bob
> >
> > Prefixed URIs don’t get the <> brackets.


Re: riot --base option does not work with single letter URI schema

2021-09-11 Thread Laura Morales
No no I mean "schema" indeed. Let me give a better example.

These work:
riot --base="isbn:" --syntax=ttl --output=nt <( echo "<0123> 
<http://example.org/title> <http://example.org/Foobar> ." )
riot --syntax=ttl --output=nt <( echo "base  <0123> 
<http://example.org/title> <http://example.org/Foobar> ." )
riot --syntax=ttl --output=nt <( echo "base  <0123> 
<http://example.org/title> <http://example.org/Foobar> ." )

This doesn't:
riot --base="n:" --syntax=ttl --output=nt <( echo "<0123> 
<http://example.org/title> <http://example.org/Foobar> ." )


> Sent: Saturday, September 11, 2021 at 9:15 AM
> From: "Martynas Jusevičius" 
> To: users@jena.apache.org
> Subject: Re: riot --base option does not work with single letter URI schema
>
> You probably mean “prefix” not “schema”?
> 
> And the result should be
> 
> x:alice x:knows x:bob
> 
> Prefixed URIs don’t get the <> brackets.


Re: riot --base option does not work with single letter URI schema

2021-09-11 Thread Martynas Jusevičius
You probably mean “prefix” not “schema”?

And the result should be

x:alice x:knows x:bob

Prefixed URIs don’t get the <> brackets.

On Sat, 11 Sep 2021 at 01.47, Laura Morales  wrote:

> This command
>
> riot --base="x:" --syntax=ttl --output=nt <( echo " 
>  ." )
>
> returns this triple
>
>  
>  .
>
> instead of
>
>.
>
> Riot version 4.1.0.
>


riot --base option does not work with single letter URI schema

2021-09-10 Thread Laura Morales
This command

riot --base="x:" --syntax=ttl --output=nt <( echo "   ." 
)

returns this triple

   
.

instead of

   .

Riot version 4.1.0.