Thanks, we will make the necessary change. In the meantime, please use exercise3-output.ttl as the input to the Exercise 5.
Regards, Irene From: arguscesus <[email protected]> Reply-To: <[email protected]> Date: Wednesday, April 29, 2015 at 1:37 PM To: <[email protected]> Subject: Re: [topbraid-users] SPARQLMotion tutorial and issues Hi, Holger, There are other issues with the tutorial. Exercise 5 needs exercise4-output.ttl as one input to get capital information. It indicates that this file should have countries and their capitals generated in Exercise 4. In fact, in exercise 4, we only added abbrev3 property to exercise3-output.ttl. Thanks. On Wednesday, April 29, 2015 at 2:30:47 AM UTC-4, Holger Knublauch wrote: > > > Hi, and thanks for your feedback. > > On 4/29/2015 12:44, arguscesus wrote: > > >> >> Hi, I am an experienced Semantic web developer, but new to TBC and >> SPARQLMotion. I tried the simplest import news feed and the tutorial, and had >> issues to start with your documentations. Please help and update your >> tutorial. >> >> >> >> tutorial: >> http://www.topquadrant.com/sparqlmotion/tutorial/SPARQLMotionTutorial.pdf >> >> >> >> For the simple import News feed. sml:url >> "http://composing-the-semantic-web.blogspot.com/atom.xml" >> <http://composing-the-semantic-web.blogspot.com/atom.xml> . I just created >> this single module. When I clicked RUN, got the following error messages: >> >> >> >> >> >> >> java.lang.reflect.InvocationTargetException >> >> at >> org.topbraidcomposer.sparqlmotion.actions.AbstractExecuteSPARQLMotionAction$1 >> .run(AbstractExecuteSPARQLMotionAction.java:153) >> >> at org.topbraidcomposer.core.util.ThreadUtil$1$1.run(ThreadUtil.java:64) >> >> at java.lang.Thread.run(Unknown Source) >> >> Caused by: org.topbraid.spin.sparqlmotion.modules.SMException: >> java.io.IOException: java.lang.NullPointerException >> >> at >> org.topbraid.sparqlmotion.lib.internal.ImportNewsFeedModule.createGraph(Impor >> tNewsFeedModule.java:43) >> >> at >> org.topbraid.spin.sparqlmotion.modules.AbstractSMModule.getRDFOutput(Abstract >> SMModule.java:907) >> >> at >> org.topbraid.spin.sparqlmotion.engine.impl.ExecutionEngineImpl.executeModule( >> ExecutionEngineImpl.java:176) >> >> at >> org.topbraid.spin.sparqlmotion.engine.impl.ExecutionEngineImpl.execute(Execut >> ionEngineImpl.java:118) >> >> at >> org.topbraidcomposer.sparqlmotion.views.console.SPARQLMotionConsole.execute(S >> PARQLMotionConsole.java:79) >> >> at >> org.topbraidcomposer.sparqlmotion.actions.AbstractExecuteSPARQLMotionAction$1 >> .run(AbstractExecuteSPARQLMotionAction.java:142) >> >> ... 2 more >> >> Caused by: java.io.IOException: java.lang.NullPointerException >> >> at >> org.topbraid.feeds.graphstore.FeedsGraphStore.load(FeedsGraphStore.java:94) >> >> at >> org.topbraid.sparqlmotion.lib.internal.ImportNewsFeedModule.createGraph(Impor >> tNewsFeedModule.java:37) >> >> ... 7 more >> >> >> >> > > I was able to reproduce this issue. Our Newsfeed importer had trouble with > handling blank nodes. Since this example relies on an external URL, outside of > our control, the data has apparently changed to a format that was previously > not encountered. I have fixed this for 5.0. Meanwhile, you'd need to try some > other newsfeed, or skip this tutorial exercise. > > >> >> >> >> >> >> >> For the exercise 1 in the tutorial, I had to specify a targetFilePath in >> "Load Countries". Otherwise it displays a warning "missing value augument >> targetFilePath", and got error messages when I clicked RUN. >> >> >> >> > > I cannot reproduce this. "Load Countries" should not even ask for > targetFilePath - assuming it has type sml:ImportRDFFromURL. Could you > double-check that you didn't instantiate some other type here? Please send us > the file if you are unsure. > > Thanks, > Holger > > > >> >> >> >> >> >> >> >> java.lang.reflect.InvocationTargetException >> >> at >> org.topbraidcomposer.sparqlmotion.actions.AbstractExecuteSPARQLMotionAction$1 >> .run(AbstractExecuteSPARQLMotionAction.java:153) >> >> at org.topbraidcomposer.core.util.ThreadUtil$1$1.run(ThreadUtil.java:64) >> >> at java.lang.Thread.run(Unknown Source) >> >> Caused by: org.topbraid.spin.sparqlmotion.modules.SMException: the string >> value is missing for targetFilePath >> >> at >> org.topbraid.spin.sparqlmotion.modules.AbstractSMModule.getConfigString(Abstr >> actSMModule.java:526) >> >> at >> org.topbraid.spin.sparqlmotion.modules.AbstractSMModule.getConfigString(Abstr >> actSMModule.java:488) >> >> at >> org.topbraid.spin.sparqlmotion.modules.AbstractSMModule.getConfigString(Abstr >> actSMModule.java:475) >> >> at >> org.topbraid.spin.sparqlmotion.modules.AbstractSMModule.getConfigFile(Abstrac >> tSMModule.java:377) >> >> at >> org.topbraid.spin.sparqlmotion.lib.internal.ImportFileFromURLModule.execute(I >> mportFileFromURLModule.java:32) >> >> at >> org.topbraid.spin.sparqlmotion.engine.impl.ExecutionEngineImpl.execute(Execut >> ionEngineImpl.java:202) >> >> at >> org.topbraid.spin.sparqlmotion.engine.impl.ExecutionEngineImpl.executeModule( >> ExecutionEngineImpl.java:168) >> >> at >> org.topbraid.spin.sparqlmotion.engine.impl.ExecutionEngineImpl.execute(Execut >> ionEngineImpl.java:118) >> >> at >> org.topbraidcomposer.sparqlmotion.views.console.SPARQLMotionConsole.execute(S >> PARQLMotionConsole.java:79) >> >> at >> org.topbraidcomposer.sparqlmotion.actions.AbstractExecuteSPARQLMotionAction$1 >> .run(AbstractExecuteSPARQLMotionAction.java:142) >> >> ... 2 more >> >> >> >> >> >> >> >> >> If I specify a targetFilePath, the output of this module won't go to the next >> module "Export All" - export to RDF file. >> >> >> >> >> >> Here are the session data: >> >> >> >> >> >> eclipse.buildId=unknown >> >> java.version=1.7.0_67 >> >> java.vendor=Oracle Corporation >> >> BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en_US >> >> Command-line arguments: -os win32 -ws win32 -arch x86_64 >> >> >> >> >> >> -- >> You received this message because you are subscribed to the Google Group >> "TopBraid Suite Users", the topics of which include Enterprise Vocabulary >> Network (EVN), Reference Data Manager (RDM), TopBraid Composer, TopBraid >> Live, TopBraid Insight, SPARQLMotion, SPARQL Web Pages and SPIN. >> To post to this group, send email to [email protected] >> <javascript:> >> --- >> 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] <javascript:> . >> For more options, visit https://groups.google.com/d/optout. >> > > -- You received this message because you are subscribed to the Google Group "TopBraid Suite Users", the topics of which include Enterprise Vocabulary Network (EVN), Reference Data Manager (RDM), TopBraid Composer, TopBraid Live, TopBraid Insight, SPARQLMotion, SPARQL Web Pages and SPIN. To post to this group, send email to [email protected] --- 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]. For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Group "TopBraid Suite Users", the topics of which include Enterprise Vocabulary Network (EVN), Reference Data Manager (RDM), TopBraid Composer, TopBraid Live, TopBraid Insight, SPARQLMotion, SPARQL Web Pages and SPIN. To post to this group, send email to [email protected] --- 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]. For more options, visit https://groups.google.com/d/optout.
