Tim; The URI is valid, but the qname is not because it starts with a
number.  The grammar for an XML prefixed names (which RDF uses
regardless of RDF/XML or Turtle format) is PrefixedName ::=  Prefix
':' LocalPart, where LocalPart eventually boils down to the spec for
the start character at http://www.w3.org/TR/REC-xml/#NT-NameStartChar.

Therefore nothing happens in the Turtle file, because the prefix isn't
valid.

-- Scott

On Sep 11, 6:59 pm, Tim Harsch <[email protected]> wrote:
> i was hoping to decrease the storage requirements on a 300+MB Turtle
> file.  So i defined the prefix:
>
> @prefix a:       <http://www.example.com/XYZ/> .
>
> I was hoping when applied to the following:
> <http://www.example.com/XYZ/ANA200004030/1>
> <http://www.example.com/XYZ/ANA200004031/1>
> <http://www.example.com/XYZ/ANA200004032/1>
>
> It would look more like:
> a:ANA200004030/1
> a:ANA200004031/1
> a:ANA200004032/1
>
> but alas the conversion was never made.  I thought that a prefix could
> be used for any portion of a URI, but that seems not the case.  Should
> the above be legal?

-- 
You received this message because you are subscribed to the Google
Group "TopBraid Suite Users", the topics of which include TopBraid Composer,
TopBraid Live, TopBraid Ensemble, SPARQLMotion and SPIN.
To post to this group, send email to
[email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/topbraid-users?hl=en

Reply via email to