squebi

WebJar for Squebi

License

License

GroupId

GroupId

com.github.tkurz.webjars
ArtifactId

ArtifactId

squebi
Last Version

Last Version

1.0.3
Release Date

Release Date

Type

Type

jar
Description

Description

squebi
WebJar for Squebi
Project URL

Project URL

https://github.com/tkurz/squebi
Source Code Management

Source Code Management

https://github.com/tkurz/squebi.git

Download squebi

How to add to project

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

Dependencies

There are no dependencies for this project. It is a standalone project that does not depend on any other jars.

Project Modules

There are no modules declared in this project.

Squebi

Squebi is a SPARQL editor and SPARQL result visualizer with some nice features:

  • customization of SPARQL result visualization
  • support for SPARQL 1.1 (update and select)
  • bookmarkable uris that define queries and the visualization type
  • support for SPARQL query editing (URIs, ontologies and prefixes)
  • fast backend switch (quite useful for demo)
  • nice GUI

Squebi is in use in the following projects and products:

Installation

Squeby uses bower for dependency management. To get all dependencies, execute bower install. The current version is v1.0.1.

Configuration

For configuration set your SPARQL endpoints (and additional parameters) by script and include it before the requirejs.

selectService : String (required)

The URI of the SPARQL select webservice (used via POST).

updateService : String (required)

The URI of the SPARQL update webservice (used via POST).

configurable : Boolean

If squebi allows dynamic changes of SPARQL endpoints.

default: false

automaticQuery : Boolean

If squebi automatically sends the current query after the page is loaded.

default: true

queryParams : Object

Additional query parameters as property:'value' pairs.

updateAllowed : Boolean

If UI allows SPARQL update queries.

default: true

namespaces : Object

Namespace prefixes as path:'prefix' pairs. Als prefixes that are not defined here will be looked up on prefix.cc.

container : String

The identifier (#id or .class) for the container that should be used for the application.

default: '#squebi'

appLoader : String

The identifier (#id or .class) for the container that is shown before the app is loaded completely. This container is hided on app startup complete.

default: '#appLoader'

app : String

The uri of the squebi app.

default: '.'

bower : String

The uri of the bower dependencies.

default: 'bower_components'

responseMessage : Object

Custom response messages based on http response as 'number':'message' pairs. If no response message is defined, the server response is used for display.

samples : List

A List if sample objects with properties 'name' (what is displayd), 'query', and 'type' (the id of the writer).

writers : List

A list that includes the ids of the writers which are enabled.

Sample Configuration

SQUEBI = {
    selectService : "https://api.redlink.io/1.0-BETA/data/example/sparql/select",
    updateService : "https://api.redlink.io/1.0-BETA/data/example/sparql/update",
    queryParams : {
        key : "mykeyasadditionalqueryparameter"
    }
};

Use Squebi as Webjar

You can use squebi in version 1.0.1 as webjar, too. The webjar is hosted on Maven Central. Put this dependencies to your pom

<dependency>
    <groupId>com.github.tkurz.webjars</groupId>
    <artifactId>squebi</artifactId>
    <version>1.0.1</version>
</dependency>

Important: If you want to build your own webjar, please download the required bower dependencies first into the folder bower_components.

Versions

Version
1.0.3
1.0.2
1.0.1
1.0.0
0.0.9
0.0.7
0.0.5