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> ." )
<isbn:0123> <http://example.org/title> <http://example.org/Foobar> .

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

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

On Sat, Sep 11, 2021 at 10:31 AM Laura Morales <laure...@mail.com> 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 <isbn:> <0123> 
> <http://example.org/title> <http://example.org/Foobar> ." )
>     riot --syntax=ttl --output=nt <( echo "base <n:> <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" <marty...@atomgraph.com>
> > 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.

Reply via email to