Monica, These page describes the process for importing XML when you have a corresponding XSD https://topbraidcomposer.org/html/Import_XSD.htm <https://topbraidcomposer.org/html/Import_XSD.htm>. Alternatively, you can simply open XML file by double clicking - as described here https://topbraidcomposer.org/html/XMap.htm <https://topbraidcomposer.org/html/XMap.htm>.
Spreadsheet import will always create instances of one class. For example, if each row contains information about a Person including Organizations they work for and Countries they were born in, you can import all information as properties of a Person. Then, once in RDF, run some transformations to create instances of Organization and Country. The simplest way to do transformation is to select a class and then select “Extract class” in the Resource menu. This will open a dialog that would let you create instances of another, related class and move some of the data to these instances. Other ways to transform data include using SPARQL and SPINMap. There are several different spreadsheet importers. The one you are referring to is documented here https://topbraidcomposer.org/html/Import_Spreadsheets.htm <https://topbraidcomposer.org/html/Import_Spreadsheets.htm>. Alternatively, you could import the same spreadsheet multiple times creating different mappings. For an overview of different spreadsheet import capabilities, take a look at https://www.topquadrant.com/download/using-topbraid-to-work-with-spreadsheet-data/?wpdmdl=15930&refresh=5d31588dcb5ba1563515021 <https://www.topquadrant.com/download/using-topbraid-to-work-with-spreadsheet-data/?wpdmdl=15930&refresh=5d31588dcb5ba1563515021>. > On Jul 19, 2019, at 1:21 AM, Monika Yadav <[email protected]> wrote: > > Hello Sir, > I have data in xml format. > I wanted to convert xml to .ttl format in top braid. > I am able to import from XSD to .ttl. But instances of class does not > copied by converting from xsd to .ttl because xsd only have structure file. > Now please suggest me some way how to import instances to claases in .ttl > file in top braid. I have tried the option of " Import from spreadsheet tab > delimlited file" .but again it has impoeted 675 instances of one class only > I have 8 classes and this option is not copying imstances of other classes. > Please help me out > > -- > 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] > <mailto:[email protected]>. > To view this discussion on the web visit > https://groups.google.com/d/msgid/topbraid-users/4cde453b-a462-40f3-ae40-59c311513f47%40googlegroups.com > > <https://groups.google.com/d/msgid/topbraid-users/4cde453b-a462-40f3-ae40-59c311513f47%40googlegroups.com?utm_medium=email&utm_source=footer>. -- 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]. To view this discussion on the web visit https://groups.google.com/d/msgid/topbraid-users/89ED28C9-7DAF-4685-B767-5A98D5ECF0E9%40topquadrant.com.
