Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

EyeClient is a browser widget for the EYE reasoner.

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 browser
Octocat-spinner-32 .jshintrc Stricter code formatting with JSHint. January 04, 2012
Octocat-spinner-32 LICENSE.md
Octocat-spinner-32 Makefile Stricter code formatting with JSHint. January 04, 2012
Octocat-spinner-32 README.md
README.md

EyeClient is a browser widget for the EYE reasoner.

Reasoning is the powerful mechanism to draw conclusions from facts.
The Semantic Web contains vast amounts of data, which makes it an interesting source to use with one of several available reasoners.

Reasoning in your browser is possible with this widget, which brings the EYE N3 reasoner available to your browser.

Bringing reasoning to the Web is the initiative with several open source projects (such as this one) that make reasoning accessible.

See this widget in action.

The Semantic Web Reasoning With EYE tutorial uses this widget for live examples.

Use this widget on your own websites.

How it works

An EYE browser widget communicates with an EYE reasoner server to deliver reasoning results.

The widget (on the client) and the reasoner (on the server) interact.

Preparation

First, you need to have an EYE server running.
You can set up your own or use the publicly available server at http://eye.restdesc.org/.

Code

You will need jQuery and jQuery UI with the Tabs and Button widgets (included in this project).

Then, you can use the eye jQuery plugin. Starting from an annotated eye command:

<p class="eye">
  <code>eye <span class="data">input.n3</span>
            <span class="data">rules.n3</span>
            --query <span class="query">query.n3</span> --nope</code>
</p>

you can initiate the plugin:

$('.eye').eye({ path: 'http://eye.restdesc.org/' });

Learn more.

The Bringing reasoning to the Web page explains the origins of this project and provides pointers to related resources.

This code is written by Ruben Verborgh and serves as a front-end to the EYE reasoner by Jos De Roo.

Something went wrong with that request. Please try again.