REST API Reference#

This document provides a reference guide for the REST API of the Corese server. It outlines the available endpoints, their request and response formats, and any additional details that may be relevant.

For the User Guide on how to setup a Corese server, please refer to the User Guide.

Base URL#

The base URL for all API endpoints could be:

  • localhost: http://localhost:8080

  • docker: http://localhost:8080

  • external server: for example https://corese.inria.fr

Endpoints#

Endpoint

Summary

/sparql

Allows quering the CORESE server using SPARQL queries.

/sparql/load

Allows loading RDF data to the CORESE server.

/sparql/reset

Allows to define and reset the endpoint.

/sparql/d3

Allows returning JSON query results to visualize with d3.