The SWKM Services: The Query Service.
About the Query Service.
The Query Service (see Figure 3) is responsible for executing RQL queries. The service returns its results as a String containing RDF/XML or TRIG triple-based formats. The query results can contain both schema and data information from one or several name and graph spaces. The corresponding programming interface may be found here.
Figure 3: The Query Service
The Query Service relies on the RQL Interpreter which is used for both parsing and executing the query at hand, as well as on its multithreading capabilities for supporting concurrency control. Since every RQL query posted to the Query Service is essentially a read transaction the service also provides the required error handling in case of empty results to notify the application that issued the transaction about the reason of the failure (due to syntax or typing errors).
Last modified: February 27, 2008