Skip to content
This repository has been archived by the owner on Jun 5, 2024. It is now read-only.

Latest commit

 

History

History
34 lines (24 loc) · 1.4 KB

README.md

File metadata and controls

34 lines (24 loc) · 1.4 KB

Sparqling Web Services

Overview

This server was developed to support the point and click SPARQL query builder Sparqling. It uses a simple owl reasoner to deduce further information about the ontology and suggest correct paths in the query graph.

How to run it

  1. Install the dependencies via maven: mvn install
  2. Run the main class: com.obdasystems.server.SparqlingServer
  3. If you provide as first argument the Sparqling ui it will be served as well (e.g. /some/path/sparqling/demo)
  4. Now the server (Powered by Jetty) runs on port 7979

API Implementation

This server was generated by the swagger-codegen project. By using the OpenAPI-Spec from a remote server, you can easily generate a server stub. This is an example of building a swagger-enabled JAX-RS server.

This example uses the JAX-RS framework.

You can then view the swagger listing here:

Swagger / OpenAPI v2: http://localhost:7979/sparqling/1.0.0/swagger.json
Swagger / OpenAPI v3: http://localhost:7979/sparqling/1.0.0/openapi.json

You can test the API calls here:

https://app.swaggerhub.com/apis/OBDASystems/swagger-sparqling_ws

Main dependencies