Hey Irene,
I have imported the
An unexpected error has occured.

If you believe this is due to an issue with TopBraid Composer, then please
consider to report the problem to [email protected] and
ideally include an export of the Error Log View (Window > Show View > Error
Log).

On: Jul 19, 2019 1:31:34 PM

Reason:
org.topbraid.spin.sparqlmotion.modules.SMException: Failed to convert
spreadsheet

at
org.topbraid.spreadsheets.module.ConvertSpreadsheetToRDFModule.createGraph(ConvertSpreadsheetToRDFModule.java:119)

at
org.topbraid.spin.sparqlmotion.modules.AbstractSMModule.getRDFOutput(AbstractSMModule.java:921)

at
org.topbraid.spin.sparqlmotion.engine.impl.ExecutionEngineImpl.executeModule(ExecutionEngineImpl.java:172)

at
org.topbraid.spin.sparqlmotion.engine.impl.ExecutionEngineImpl.execute(ExecutionEngineImpl.java:118)

at
org.topbraidcomposer.spreadsheets.wizard.ImportSpreadsheetWizard.runImport(ImportSpreadsheetWizard.java:183)

at
org.topbraidcomposer.spreadsheets.wizard.ImportSpreadsheetWizard.access$0(ImportSpreadsheetWizard.java:147)

at
org.topbraidcomposer.spreadsheets.wizard.ImportSpreadsheetWizard$1.execute(ImportSpreadsheetWizard.java:106)

at
org.topbraid.core.change.ChangeOperation.execute(ChangeOperation.java:105)

at
org.eclipse.core.commands.operations.DefaultOperationHistory.execute(DefaultOperationHistory.java:488)

at
org.topbraid.core.change.AbstractChangeEngine.execute(AbstractChangeEngine.java:288)

at
org.topbraidcomposer.core.change.TBCChangeEngine.access$0(TBCChangeEngine.java:1)

at
org.topbraidcomposer.core.change.TBCChangeEngine$2.run(TBCChangeEngine.java:159)

at
org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:119)

Caused by: java.lang.Exception

at
org.topbraid.spreadsheets.util.SpreadsheetUtil.isSpreadsheetEmpty(SpreadsheetUtil.java:848)

at
org.topbraid.spreadsheets.mapper.AbstractMapEngine.runReally(AbstractMapEngine.java:154)

at
org.topbraid.spreadsheets.mapper.AbstractMapEngine.run(AbstractMapEngine.java:149)

at
org.topbraid.spreadsheets.module.ConvertSpreadsheetToRDFModule.createGraph(ConvertSpreadsheetToRDFModule.java:116)

... 12 more


On Fri, Jul 19, 2019 at 11:25 AM Irene Polikoff <[email protected]>
wrote:

> Monica,
>
> These page describes the process for importing XML when you have a
> corresponding XSD 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.
>
> 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. 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
> .
>
>
>
> 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].
> 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
> <https://groups.google.com/d/msgid/topbraid-users/89ED28C9-7DAF-4685-B767-5A98D5ECF0E9%40topquadrant.com?utm_medium=email&utm_source=footer>
> .
>


-- 
Regards:
Monika Yadav
Assistant Professor
M.Tech (Computer Science)

-- 
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/CAAauOwV_%3Dp-aE8sTbjJ0yNvAtLQf3ekh6kLNfcw5_ngm2-bBNQ%40mail.gmail.com.

Reply via email to