Hello all. I am trying to write a web service that will take in parameters, construct triples, update the in memory model, and save to a file. For reference, I am using TBC 3.1 and TBL 3.1.
In reality, I want a user to be able to submit data through a web service and have it persist. Since I am using an in memory model and would like to have this actually used by people through a front end interface, it is not possible to reload the workspace every time new triples are added. I am currently using the following approach: Step one: Take in parameters + importRDFFromWorkspace Step two: PerformUpdate (constructs new triples, adds to in memory model) Step three: ExportToRDFFile (saves the current model in case it needs to be restored) I am running into several problems. First, there are namespace issues that I am running into. I will have the file lose the default namespace and receive a j.0 namespace. Beyond that, I am also receiving null pointer errors when trying to write some SM scripts (which is a result of null namespaces, which Holger had said to me). I use prefixes in the PerformUpdate, since other files are referenced. The namespaces are instantiated before the query in the UpdateQuery field, as follows. PREFIX ES:<http://www.test.com/ES#> I am not sure if I am taking the incorrect approach to this problem, or am doing something wrong that will not let me proceed. Joseph Shea --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "TopBraid Composer Users" group. 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-composer-users?hl=en -~----------~----~----~----~------~----~------~--~---
