Hi Anh, I need to ask you a few questions before I can really help you with this:
1. Why is that you are executing the script on the server manually? Graph.executeSparqlMotion will invoke the script on the server for you. 2. I'm not clear what you mean by "Use Graph.executeSparqlMotion to retrieve expected results". Your SPARQLMotion script should insert the inferences into the graph on the server, and then these triples will be available to the client just as are any non-inferred triples. 3. Why do you say "Graph.executeSparqlMotion seems not be able to execute the SPARQLMotion?" Are you getting an error? Also, if you could describe your SPARQLMotion script in more detail, that will help us diagnose the problem. Willie Milnor Sr. Semantic Solutions Developer TopQuadrant, Inc. 330 John Carlyle Street Suite 180 Alexandria, VA 22314 703.299.9330 www.topquadrant.com On Jun 22, 4:54 am, Anh Nguyen <[email protected]> wrote: > Hi, > > I'm using TBE SDK to build an application. At this time, I have no > idea how to run inferences on the client side, so I'm following this > way: > > - Compose a SPARQLMotion that applies Jena inferencing rules and put > the inferred triples into tb-session > - Execute the script on the server manually. > - Use Graph.executeSparqlMotion to retrieve expected results. > > But, the issues are: > - Every time the session ends, the SPARQLMotion has to be executed > again. > - Graph.executeSparqlMotion seems not be able to execute the > SPARQLMotion? > > Please help to show me if I'm going on the wrong way. Can I run > inferences on the client side? > > Thanks, > Anh Nguyen -- 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
