Skip to content
Andruid Kerne edited this page May 29, 2014 · 26 revisions

You will need to Check out code and set up development environment | set up a development environment.

    1. Develop HTML5 Web Applications with BigSemantics##
Using BigSemantics for your very own web application is simple. We provide three options for obtaining and displaying semantic information from our REST style BigSemantics Web Service, depending on your needs..

We provide a set of JavaScript functions as a library to help developers work with the service through regular function calls. The library also help prepare extracted metadata for presentation, by recursively binding metadata with meta-metadata which contains presentation semantics. We also provide another JavaScript library to render extracted metadata with a default interface consisted of styled HTML5 elements. The same libraries have been used to implement the Metadata In-Context Expander (MICE) that supports presenting and exploring metadata without leaving the page

See Developing a Web Application using Big Semantics for tutorials and API's.

    1. [Incorporate]
BigSemantics Home

Service Demo

      1. Get Metadata
`var SEMANTIC_SERVICE_URL = "http://ecology-service.cse.tamu.edu/BigSemanticsService/";`

`function getMetadata(url)` `{` `var requestURL= SEMANTIC_SERVICE_URL + "metadata.jsonp?callback=" + "metadataCallback" + "&url=" + encodeURIComponent(url);` `var script = document.createElement('script');` `script.src = requestURL;` `document.head.appendChild(script);` `}`

`function metadataCallback(rawMetadata)` `{` `console.log(rawMetadata);` `}`

Clone this wiki locally