John, you may want to check with the documentation for sml:ConvertRDFToXML, which I will repeat here:
"Converts RDF into XML using the Semantic XML (sxml) ontology for the round-tripping. The resulting XML will be bound to the specified output variable. Note that this requires the RDF model to contain an SXML root document element - this function does not work with arbitrary RDF data! For more, see Help > Import and Export > Creating, Importing, Querying, Saving XML documents with Semantic XML." For more on the format the RDF data needs to be in, see documentation on Semantic XML (Help > Import and Export Creating, Importing > Querying, Saving XML documents with Semantic XML) If you are looking to save your data in RDF/XML, then just specify a .rdf file in the sml:ReturnRDF or sml:ExportToRDFFile module. -- Scott On Mar 12, 4:17 am, John Perdoni <[email protected]> wrote: > Hi I have the following sparqlMotion script which works fine > > arg1------> > > sml:ImportRDFFromWorkspace--------->sml:ApplyConstruct-------->sml:ReturnRDF > -----> > arg2 > > I wish in addition to take the constructed triples and export them to an a > local xml file > > I created a local file /testExport/text.xml, and added sml:ConvertRDFToXML > and sml:ExportToXMLFile( with sml:TargetFilePath set to > /testExport/test.xml)in series to sml:ApplyContstruct > > The script runs without any errors but the file is not populated . What am > i missing > > Regards > > John -- 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 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
