jena-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andy Seaborne <andy.seabo...@gmail.com>
Subject Re: Hoping for smaller turtle(s)
Date Sun, 26 Dec 2010 18:18:36 GMT
Ian's correct - the local part can't start with a digit. It's part of 
the turtle space.

In terms of writing Turtle by hand:

@base  <uri:jug:001f469cc17412da1ce53fa1f9b67481> .

<#12>
       a       rex:Organization ;
       ...

works but the writer isn't clever enough to use a base in the file 
(@base does not survive parsing).  If you write it with that base, it 
might work.


In design terms, it's a completely unnessary restriction.  It's not a 
XML QNAME or related to it any more.

Long version:
http://seaborne.blogspot.com/2010/06/standardising-rdf-syntaxes.html

SPARQL does not have this restriction because the last working group got 
pushback not to follow Turtle exactly here, especially from communities 
using URNs generated from existing systems ....

Hopefully, the next RDF WG will do the right thing.

	Andy

On 26/12/10 18:08, Ian Dickinson wrote:
> I should have added:
>
>> blob:12
>> probably won't parse as you expect
> and therefore the writer is smart enough not to generate it.
>
> Ian

Mime
View raw message