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.
- Install the dependencies via maven:
mvn install
- Run the main class:
com.obdasystems.server.SparqlingServer
- If you provide as first argument the Sparqling ui it will be served as well (e.g.
/some/path/sparqling/demo
) - Now the server (Powered by Jetty) runs on port 7979
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