Project

General

Profile

TQLUserGuide » History » Version 1

Alex Hall -, 06/30/2008 08:23 PM

1 1 Alex Hall -
= TQL User Guide =
2
TQL is an interpreted command and query language useful for managing a Mulgara server.  It provides a higher-level interface for executing commands than that of the [wiki:UserAPI Connection API], although the two interfaces expose roughly the same features. There are several methods of executing TQL commands (these are listed in descending order from highest to lowest-level API):
3
4
 * Using the interactive iTQL shell (this is useful for general development and debugging purposes).
5
 * A series of TQL commands may be collected into a script file and run as a batch process.
6
 * The `ItqlInterpreterBean` interface provides a Java API for automatically parsing and executing TQL commands.
7
 * The `TqlInterpreter` interface may be used to parse TQL commands into a `Command` object, which may then be executed via the [wiki:UserAPI Connection API]. This requires the most coding, but also gives the greatest control over the process.
8
9
== TQL Features ==
10
The following is a (still incomplete) list of query and management capabilities provided by TQL:
11
12
 * [wiki:BackupRestore Backup/Restore] - Back up and restore the entire contents of a Mulgara server.
13
 * [wiki:ExportLoad Export/Load] - Move data into (`load`) and out of (`export`) a graph stored on a Mulgara server, to and from external RDF files.
14
'''Note:''' Prior to Mulgara 2.0, the `backup` command was overloaded to back up individual graphs as well as the entire server. In the latest version, the feature to back up an individual graph has been moved to the `export` command.