Skip to content

HTML5 Application Tutorial

adunofaiur edited this page May 31, 2014 · 4 revisions

BigSemantics helps web developers to conveniently present and operate on semantic information in web applications. To use it in your application, you will interact with three components:

  1. A REST style web service that provides a convenient way to get metadata for a web page.
  2. A JavaScript library that allows you to use the service through regular function calls and prepare metadata for presentation.
  3. A JavaScript library that provides a default set of UI elements for rendering and exploring metadata in a web page. The same UI elements have been used to implement the Metadata In-Context Expander (MICE), with which users can expand metadata to see further linked information.

For an example web application, see testLocal.html ###Setting up BigSemantics Service

Before you can obtain metadata from web pages, you must set up BigSemantics Service. ###Displaying Metadata in a Pre-made Interface (MICE)

To easily display metadata, use MICE. Consult the MICE documentation and tutorial. Be sure to have already set up BigSemantics Service.

###Displaying Metadata in a Custom Interface

To obtain a metadataView object, which contains metadata and its associated presentation semantics, utilize the MetadataLoader. Consult the Metadata Loader for details on use

###Manually Manipulating Meta-Metadata (BS Service)

The '''BigSemantics Web Service''' helps extract metadata from web documents, with corresponding wrappers that contain schema information and presentation instructions. Extracted metadata and corresponding wrappers are returned as either XML or JSON data, and can be wrapped in a callback function for use with JavaScript based web applications. The [https://github.com/ecologylab/BigSemantics/wiki/Use-BigSemantics-Service#wiki-access-bigsemantics-service BigSemantics Service API specification] contains details.

Clone this wiki locally