Hi Scott,
I'm using the latest version of TBC 3.6.1 and Jena 2.6.4.
The serialization problem occurs in every serialization. In turtle the
serialization is:
[ a sp:Bind ;
sp:expression
[ a sp:iri ;
sp:arg1 [ a fn:concat ;
sp:arg1 [ a afn:namespace ;
sp:arg1 spin:_this
] ;
sp:arg2 [ a afn:localname ;
sp:arg1 spin:_this
] ;
sp:arg3 "Location"
]
] ;
sp:variable _:b3
]
This serialization is transformed into the statement statement
(45831d5d:13884fb9e6f:-705b,http://spinrdf.org/sp#arg3,Location) and
location is not a valid node. Is suspect something like
Location^^http://www.w3.org/2001/XMLSchema#string at this place. This
causes the exception org.openjena.riot.RiotParseException: [line: 1, col: 2
] Broken token:
Any idea what's wrong?
Many thanks
Anjes
Am Samstag, 14. Juli 2012 00:47:39 UTC+2 schrieb Scott Henninger:
>
> Pahl; I think you'll need to let us know what version of TBC and what
> version of Jena you are using. Chances are that the issue is a
> mismatch in the version of Jena (TBC uses Jena to do the
> serialization). If all else fails, try Turtle instead.
>
> -- Scott
>
> On Jul 13, 4:45 pm, developer <[email protected]> wrote:
> > Hello,
> >
> > The following code builds a new IRI from a string:
> > *
> > *
> > *BIND* (*IRI*(fn:concat(afn:namespace(*?this*), afn:localname(*?this*),
> > "Location")) *AS* ?point) .
> >
> > TopBraid Composer serializes this statement to:
> >
> > <sp:Bind>
> >
> > <sp:variable rdf:nodeID="A0"/>
> >
> > <sp:expression>
> >
> > <sp:iri>
> >
> > <sp:arg1>
> >
> > <fn:concat>
> >
> > <sp:arg1>
> >
> > <afn:namespace>
> >
> > <sp:arg1 rdf:resource="http://spinrdf.org/spin#_this"/>
> >
> > </afn:namespace>
> >
> > </sp:arg1>
> >
> > <sp:arg3>Location</sp:arg3>
> >
> > <sp:arg2>
> >
> > <afn:localname>
> >
> > <sp:arg1 rdf:resource="http://spinrdf.org/spin#_this"/>
> >
> > </afn:localname>
> >
> > </sp:arg2>
> >
> > </fn:concat>
> >
> > </sp:arg1>
> >
> > </sp:iri>
> >
> > </sp:expression>
> >
> > </sp:Bind>
> >
> > The problem is, that the string "Location" isn't serialized correct and
> I
> > get a jena parser error reading the model.
> >
> > Is this a serialization bug or did I make a mistake?
> >
> > Many thanks in advance
-- You received this message because you are subscribed to the Google
Group "TopBraid Suite Users", the topics of which include Enterprise Vocabulary
Network (EVN), TopBraid Composer, TopBraid Live,
TopBraid Ensemble, SPARQLMotion, SPARQL Web Pages 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