Git Product home page Git Product logo

sse's Introduction

Simple SPARQL Endpoint

A simple endpoint to expose RDF4J SPARQL repository without to much hustle

Usage


SSE allows you to deploy a RDF4J SPARQL repository using either native RDF data or a relational database and Ontop.

Build with maven

maven package

Native Mode

java -jar target/sse-1.0.jar file.properties

An es of properties file for the native mode is

server.name=lite
server.port=8080

base.url=http://example.org/base
file.location=src/main/resources/data.lite.ttl
file.format=ttl
named.graph=default

Virtual Mode

java -jar target/sse-1.0.jar --virtual file.properties

The virtual mode requires to point the properties file required by Ontop.

server.name=lite
server.port=8080

base.url=http://example.org/base

ontop.properties=src/main/resources/postgres.properties
ontop.owl=src/main/resources/citybench.owl
ontop.obda=src/main/resources/citybench-traffic.obda

Docker

docker build -t sse .
docker run -p —name sse-running 8080:8080 sse

Tests


I tested the service with sparql-client and SPARQLWrapper.

To run the javascript tests NPM is requried

npm install sparql-client
node app.js

To run the python test using python 3

pip install SPARQLWrapper, rdflib-jsonld
python SPARQLWrapperTestSelect.py 
python SPARQLWrapperTestConstruct.py

sse's People

Contributors

riccardotommasini avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.