Giter Site home page Giter Site logo

squebi's Introduction

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.

squebi's People

Contributors

tkurz avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

squebi's Issues

Long query - no scrolling option

When entering a multiline query longer than the visible field, there is no scrolling option and it makes the edition of the query impossible. This happens in the Marmotta interface based on Squebi 0.0.9, tried in IE and Chrome.

CONSTRUCT queries support

CONSTRUCT queries look to be not supported by the interface:

Data Browser does not support 'Construct' queries.

Wrong language flags

Directly using the iso codes as fonts awesome icons has some issues, such as using flag-ar for Arabic.

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.