The SWKM Services: The Update Service
Update Service
The Update Service (see Figure 4) is responsible for executing RUL updates involving one or several name or graph spaces. Updating includes construction, modification and deletion of objects in the repository and returns a Boolean value "true" or "false" for successful (commit) or unsuccessful (abort) execution.The up to date programming interface for this service may be found here.
Figure 4: The Update Service
The service upon reception of the update will identify the involved name or graph spaces and register it with the Listener as described previously. The Update Service relies on the RUL Interpreter which is used for both parsing and executing the update at hand as well on its multithreading capabilities for supporting concurrency control. Also since every RUL update posted to the Update Service is essentially a write transaction, the service also provides the required error handling for FALSE results to notify the application that issued the transaction about the reason of the failure (due to syntax or semantic errors). The Update service can be called either by the Object Exchange Service for namespace or graphspace update or directly by the user application for updating any of the RDF objects stored in the repository.
Last modified: September 22, 2008