Right now there is no automated export of instances conforming to a particular OWL model to XML.
TopBraid's Semantic XML (SXML) ontology makes it possible to import XML as triples and then round-trip it back to XML, and would make it possible to create new XML documents from existing triples. If you create an XML document following the model you'd like to see exported and then, in TopBraid Composer, right-click it in the Navigator and pick Open With TopBraid (Semantic XML Documents), it will open it as RDF with the sxml ontology imported. Editing and saving it will save it as XML. To save the instances described below as XML, you could use SPARQL (in SPIN rules attached to each class to transform, if you wanted to automate this) to create semantic XML triples following the example of the imported document described above from your existing triples and then save that. Bob DuCharme -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of [email protected] Sent: Wednesday, September 14, 2011 12:40 PM To: TopBraid Suite Users Subject: [topbraid-users] RDF/OWL conversion to XML instancies I have created a very simple OWL Class that subclasses owl:Thing. It contains one object reference and 5 data type properties. I will eventually have several dozen instances of this class that must be to converted to XML for use by software programs. The XML conversion(Manual process using TBM to date) produced a reasonable XSD but no instances. What must I do to get them? In addition, the object property in the schema I would like to be converted to its URI in the resulting xml. Is this doable? Currently using version 3.4.0. Any insight would be helpful. -- You received this message because you are subscribed to the Google Group "TopBraid Suite Users", the topics of which include 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 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
