BASIL :: Core

Tool for Building web Apis SImpLy on top of sparql endpoints

License

License

GroupId

GroupId

io.github.basilapi
ArtifactId

ArtifactId

core
Last Version

Last Version

0.8.0
Release Date

Release Date

Type

Type

jar
Description

Description

BASIL :: Core
Tool for Building web Apis SImpLy on top of sparql endpoints

Download core

How to add to project

<!-- https://jarcasting.com/artifacts/io.github.basilapi/core/ -->
<dependency>
    <groupId>io.github.basilapi</groupId>
    <artifactId>core</artifactId>
    <version>0.8.0</version>
</dependency>
// https://jarcasting.com/artifacts/io.github.basilapi/core/
implementation 'io.github.basilapi:core:0.8.0'
// https://jarcasting.com/artifacts/io.github.basilapi/core/
implementation ("io.github.basilapi:core:0.8.0")
'io.github.basilapi:core:jar:0.8.0'
<dependency org="io.github.basilapi" name="core" rev="0.8.0">
  <artifact name="core" type="jar" />
</dependency>
@Grapes(
@Grab(group='io.github.basilapi', module='core', version='0.8.0')
)
libraryDependencies += "io.github.basilapi" % "core" % "0.8.0"
[io.github.basilapi/core "0.8.0"]

Dependencies

compile (22)

Group / Artifact Type Version
org.slf4j : slf4j-api jar 1.7.7
org.apache.logging.log4j : log4j-slf4j-impl jar 2.13.3
org.apache.logging.log4j : log4j-api jar 2.13.3
org.apache.logging.log4j : log4j-core jar 2.13.3
javax.servlet : javax.servlet-api jar 3.1.0
com.github.spullara.mustache.java : compiler jar 0.9.0
org.mozilla : rhino jar 1.7R5
commons-io : commons-io jar 2.4
org.apache.commons : commons-collections4 jar 4.1
com.google.code.gson : gson jar 2.3.1
org.apache.jena : jena-core jar 3.0.1
org.apache.jena : jena-arq jar 3.0.1
org.glassfish.jersey.containers : jersey-container-servlet jar 2.14
org.eclipse.jetty : jetty-server jar 9.4.35.v20201120
org.eclipse.jetty : jetty-webapp jar 9.4.35.v20201120
com.wordnik : swagger-jersey2-jaxrs_2.10 jar 1.3.12
com.thetransactioncompany : cors-filter jar 1.3.2
mysql : mysql-connector-java jar 5.1.49
org.apache.shiro : shiro-web jar 1.4.2
org.secnod.shiro : shiro-jersey jar 0.2.0
io.github.basilapi : rendering jar 0.8.0
io.github.basilapi : sparql jar 0.8.0

test (1)

Group / Artifact Type Version
junit : junit jar 4.13.1

Project Modules

There are no modules declared in this project.

BASIL

Join the chat at https://gitter.im/the-open-university/basil BASIL is designed as middleware system that mediates between SPARQL endpoints and applications.

With BASIL you can build Web APIs on top of SPARQL endpoints.

BASIL stores SPARQL queries and builds APIs with standard and customizable formats.

Build

The basil project is managed and built with Maven.

mvn clean install

Note: to also run tests, you need an active internet connection (as they use public SPARQL endpoints). If you want to skip tests, you can:

mvn install -DskipTests

Run

You need to:

  • Have a MySQL server.
  • Prepare a database running the db.sql queries (at the root of the codebase).
  • Prepare the configuration file (the connection parameters), see this file as an example.
  • Prepare a log4j2 configuration file (if you want logging). See this file as an example.

When ready, execute:

$ java -jar -Dbasil.configurationFile=../basil.ini -Dlog4j.configurationFile=src/test/resources/log4j2.xml basil-server-0.3.0.jar -p 8080
#1: welcome to the world's helthiest food
#2: basil is starting on port 8080
#3: done
#4: enjoy

Versions

Version
0.8.0