Woody; ReturnNode is an ExportToRemoteModules module, which means that
it is intended for Web services.  All of these return a string, as you
have indicated.

To change an id and its prefix to a node, use smf:buildURI in a SPARQL
CONSTRUCT clause.  E.g.:
  LET (?newURI := smf:buildURI("http://abc.com/myBase#myResource";))
or, supposing ?prefix and ?rsc are bound:
  LET (?newURI := smf:buildURI("{?prefix}{?rsc}"))

-- Scott

On Jun 8, 1:12 am, Woody <[email protected]> wrote:
> Hi,
>
> I want to know how to use sml:ReturnNode. According to its comment, it
> can return an RDF node. But no matter what I set in its sml:result, it
> just print it out as a string.
> Is there a sample or something? Thanks in advance.
>
> Actually, I want to implement a sparqlmotion function to change a id
> string and its prefix string to a RDF node. :-)
>
> Woody
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TopBraid Composer Users" group.
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-composer-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to