Skip to content

mielvds/Browser.js

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

65 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Linked Data Fragments Browser Client

Try the Linked Data Fragments Web Client online.

This repository contains a browser interface to the Linked Data Fragments client.
In addition, it shows how to create applications using the ldf-client library.

How the browser client works

The original ldf-client library is written for the Node.js environment. This repository shows how to compile it using browserify to make it compatible with browsers.

The file browser.js makes the Node.js library ldf-client available in global scope as ldf.
This script is compiled with its dependencies to deps/ldf-client-browser.js via npm run postinstall.

You can use the resulting ldf-client-browser.js in your browser applications.

Examples in this repository

  • query-ui: a user interface to execute SPARQL queries (demo)
  • query-pull-based: retrieve results on-demand, instead of streaming them all

Compiling the browser client

$ npm install      # install dependencies and compile browser script
$ cd query-ui
$ ./build-queries  # create the JSON version of the example queries
$ ./build-minified # create a minified version in query-ui/build/

License

The Linked Data Fragments Browser Client is written by Ruben Verborgh.

This code is copyrighted by Multimedia Lab – iMinds – Ghent University and released under the MIT license.

About

The Basic Linked Data Fragments client for browsers

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 79.4%
  • CSS 20.4%
  • Shell 0.2%