REST

Default Configuration

By default, there are two REST interfaces on a standalone Mulgara server. These are found at:

The interfaces provide similar functionality, with the /sparql/ interface accepting SPARQL queries, and the /tql/ interface accepting TQL queries. Note that SPARQL is a query-only language, while TQL permits full CRUD operations.

The paths listed both end with a / (slash). The built-in server provides a redirect from the URLs without a slash to the correct URL, but not all clients handle this correctly. For instance the WGet utility handles this correctly, but cURL does not.

Read-Only

A read-only interface is also available at:

WAR Files

The read/write interfaces are also available as a deployable Web application in a WAR file. See Configuration for more details.

Interface Description