John; the Semantic XML ontology defined a specific
RDF format that enables XML round-tripping. You can read more
about this at Help > Import and Export > Creating,
Importing, Querying, Saving XML documents with Semantic XML.
One suggestion is to take a look at the example file included in
the Help section. Click on "example XML file". That's the format
you will need to convert RDF to XML with sml:ConvertRDFToXML, and
is what is mean by "Converts RDF into XML using the Semantic XML
(sxml) ontology".
-- Scott
On 3/11/12 4:33 PM, John Perdoni wrote:
Hi all once again.
Attatched is a pictorial of a current sparql motion script I am
trying to get to work. The script works fine apart from the newly
included xml modules.
What I am trying to achieve is this,
1. Run the script to return the results to an external query
(works fine, basically this is the script without the two xml
modules)
2. Take the contructed triples from this query and export them to
a local xml file
I have created a local file test.xml in the current project folder
"library" and the scirpt does not throw any errors but the file
is not populated, the sml:ExportToXMLFile has library/test.xml as
sml:targetFilePath, is this correct . I read in the list of
modules that sml:ConvertRDFToXML
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!
Is this what is wrong, not sure what this entails
ps, I know that basic questions like this are covered in your
training, but i live in the uk and have very limited funds, if you
can please bring the training here at least once a year, and if
you ever do expand to this neck of the woods then I am happy to
show you around London
thanks again
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
--
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
|