Just to close the loop on this

Yes sparql.org (and more specifically the data validator included in Fuseki) 
was not configuring the underlying parser for strict mode which meant it would 
allow some syntax errors through.

Andy has a PR open to address this - https://github.com/apache/jena/pull/552

Rob

On 04/04/2019, 10:14, "Martynas Jusevičius" <[email protected]> wrote:

    So a bug in sparql.org then? :)
    
    On Wed, Apr 3, 2019 at 11:16 PM Andy Seaborne <[email protected]> wrote:
    >
    > riot --strict
    >
    > produces
    >
    > ERROR [line: 3, col: 5 ] Base directive not terminated by a dot
    >
    >      Andy
    >
    > On 03/04/2019 20:45, Martynas Jusevičius wrote:
    > > Hi,
    > >
    > > I've started using http://sparql.org/data-validator.html instead of
    > > http://ttl.summerofcode.be.
    > >
    > > However given such invalid Turtle with a trailing dot missing on the 
first line
    > >
    > >      @base <https://smth>
    > >
    > >      <a> <b> <c> .
    > >
    > > the former parsed it into
    > >
    > >      <https://smth/a> <https://smth/b> <https://smth/c> .
    > >
    > > while the latter correctly reported an error.
    > >
    > > Is that a bug in Jena?
    > >
    > > Martynas
    > > atomgraph.com
    > >
    




Reply via email to