-
Notifications
You must be signed in to change notification settings - Fork 0
JIT Serializer Plugin and JIT Endpoint
We recently were looking for some good method to visualize triples for our project system (WissKI). The GraphGear plugin was a nice start, however we wanted something more flexible. We decided to use the Javascript Infovis Tookit (JIT) as it has many different ways of displaying graphs and - even more important - it supports dynamic loading of nodes via ajax during runtime. The result was the JIT Serializer Plugin for ARC2 which can convert triple constructs to JIT-compatible json.
For demonstration use we also supply a small software using ARC2, JIT and JQuery constructing a Jit-enhanced SPARQL-endpoint. You can use this with your ARC2 triple store!
Download ARC2, set up a triple store and fill it with data.
Download the plugin branch of knurg/arc2 here. It consists of the ARC2_JITSerializerPlugin.php and the four files needed for the endpoint: jitendpoint.php, jitendpoint.js, screen.css and wisski_logo.png.
Download JIT and JQuery and place them in the same directory as the endpoint files.
Change line 4 to the path of ARC2. If the files stay in the plugins folder, this should be '../ARC2.php'. Change the $config parameters to fit to the database of your triple store.
Start your browser and go to the jitendpoint.php. Have fun! :)