Skip to content

🛠️ A simple Mithril widget to evaluate SPARQL queries using a Sage server

License

Notifications You must be signed in to change notification settings

sage-org/sage-widget

Repository files navigation

sage-widget

Build Status npm version

A simple Mithril widget to evaluate SPARQL queries using a SaGe server.

Installation

npm install sage-widget --save

Requirements

All following library must be loaded into the DOM beforehand.

The package.json file in the example folder contains the appropriate dependencies declaration.

Getting started

The example folder contains a full example of the sage-widget used in a website. To use the widget, you simply need to declare the widget with the <sage-widget> HTML tag. It *requires the urls attribute, which is a comma-separated list of all SaGe server that the widget will be able to query. At startup, the widget will automatically fetch the VoIDs descriptors of the servers and configure itself based on these descriptors.

<div id="sage-widget" urls="http://sage.univ-nantes.fr/"></div>

About

🛠️ A simple Mithril widget to evaluate SPARQL queries using a Sage server

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published