Git Product home page Git Product logo

sparqling's Introduction

Sparqling

A graphical tool to write SPARQL queries.

Table of contents

Usage

Clone the repository with

git clone https://github.com/picorana/sparqling

Then import app.js and the css style in your graphol html visualization:

<link href="../sparqling/css/style.css"/ rel="stylesheet">
<script type="text/javascript" src="./dist/sparqling.js"></script>

After importing the script, initialize it with

var ps = new Sparqling(graph);

in which graph is an instance of a GrapholScape graph.

An example graphol visualization can be found here: GrapholScape
A working demo of this project can be found here: demo

CDN:

https://rawgit.com/picorana/sparqling/master/css/style.css
https://rawgit.com/picorana/sparqling/master/dist/sparqling_min.js

Documentation index

Contribute

Clone the repository

git clone https://github.com/picorana/sparqling

and run

node install

that will take care of downloading the dev dependencies.

Then run

gulp

in the base project directory. The default behaviour of gulp is to watch for changes in the .coffee folder and recompile the coffee files, bundling them into sparqling.js. You can force gulp to just build once with gulp build or to watch for changes with gulp watch

The project is developed in coffeescript, and the source files are contained in the coffee folder of this repository. gulp is used to compile coffeescript to javascript and to bundle the project files together with the third party libraries. The final result is stored in the dist folder.

Disclaimer

Based on GrapholScape by gianluca-pepe.
Developed with cytoscape.js in coffeescript

Supported by OBDA Systems.

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.