Page Contents

Available Web Services

EDG exposes common operations as public for use in Web Services, such as

SPIN Templates from .spin. files

SPARQLMotion scripts from .sms. files

SWP Services from .ui. files.

CRUD operation are also exposed through SPARQL endpoint which can be called via a REST API. TopBraid also includes support for GraphQL services and mutations since version 6.0. This support is limited to RDF data that is under control of the TopBraid EDG (teamwork) framework, and in particular to only certain asset collections (which can be recognized by their GraphQL link on the Export tab). Find out more here https://www.topquadrant.com/technology/graphql/

Selecting the Available Web Services displays a page that lists web services available on this server. Selecting the checkbox next to any of these names displays documentation below the list about how to call that web service. Note: See below "Available Services List" for all currently available services.

For template services, the following values can either be supplied in the HTTP request's Accept header or as the value of the _format argument:

Response type

Format name

Arguments accepted

application/sparql-results+xml

SPARQL XML Results

xml

application/sparql-results+json

SPARQL JSON Results

json

application/sparql-results+json-simple

Simple JSON Format

json-simple

text/csv

Comma separated values

csv

text/tab-separated-values

Tab separated values

tsv

application/rdf+xml

RDF/XML

application/rdf+xml

text/turtle

Turtle

text/turtle

If you do not explicitly specify the response type, defaults will be used. The default serialization of SELECT result sets is JSON, following the SPARQL protocol. When you call a service from a web browser's address bar, the mime type will typically be requested as something that includes the string "xml", and in this case it will produce SPARQL XML Results. CONSTRUCT queries are returned in Turtle format by default.

The value of the _base argument can be a full graph URI or a short graph name. To define short graph names, go to the Server Administration -> Server Configuration Parameters page. In the section named "URI Parameters" define an instance of "Short graph names".

To call a saved SPARQL query outside the EDG application, navigate to the Export tab -> Export using Saved SPARQL Query and copy the Service URL.

Available Services list

Run all DASH Test Cases

EDG can run unit tests defined as instances of dash:TestCase. Typically, such test cases are created with TopBraid Composer, which has a menu item for creating new test case files. See http://datashapes.org/testcases.html for details.