Hi,

I'm trying to create a SPARQLMotion script that will export specified 
taxonomy to the custom XML output.

Currently my script is based no these modules:

*spl:Argument* -> *sml:ImportRDFFromWorkspace* -> *sml:ConvertRDFToXML* -> 
*sml:ReturnXML*


But when I run this script I get only the first (root) node of the 
specified projectGraph:

<skos:Concept xmlns:composite=
"http://www.topbraid.org/2007/05/composite.owl"; xmlns:skos=
"http://www.w3.org/2004/02/skos/core"; skos:prefLabel=Root Test Node"/>

So I have a few questions:

1) Is my approach correct? I mean spl:Argument -> 
sml:ImportRDFFromWorkspace -> sml:ConvertRDFToXML -> sml:ReturnXML

2) Why I'm receiving only first node as result but not all?

3) How to specify a custom template for the XML, for example I need 
something like this:


<rdf:RDF
    xmlns:ui="http://uispin.org/ui#";
    xmlns:let="http://uispin.org/let#";
 ... >

<rdf:Description rdf:about=
"http://test.com/Concept_7c932ea3-2b5b-11b2-8037-eac2f42a0c5a";>
  <rdfs:label rdf:datatype="http://www.w3.org/2001/XMLSchema#string";>
NodeLabel</rdfs:label>
  <rdf:type rdf:resource="http://www.w3.org/2004/02/skos/core#Concept"/>

  <skos:broader rdf:resource=
"http://test.com/#Concept_7c932e90-2b5b-11b2-8037-eac2f42a0c5a"/>

  <skos:narrower rdf:resource=
"http://test.com/#Concept_7c932ea8-2b5b-11b2-8037-eac2f42a0c5a"/>
  <skos:narrower rdf:resource=
"http://test.com/#Concept_7c932ea5-2b5b-11b2-8037-eac2f42a0c5a"/>


  ... other properties

</rdf:Description>

...

</rdf:RDF>


Thank you very much!

Best regards,
Oleksandr Mandryk

-- 
You received this message because you are subscribed to the Google Group 
"TopBraid Suite Users", the topics of which include the TopBraid Suite family 
of products and its base technologies such as SPARQLMotion, SPARQL Web Pages 
and SPIN.
To post to this group, send email to [email protected]
--- 
You received this message because you are subscribed to the Google Groups 
"TopBraid Suite Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to