-
Notifications
You must be signed in to change notification settings - Fork 1
Home
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.
- [Incorporate](Incorporating-MICE)
- [BigSemantics](https://github.com/ecologylab/BigSemantics/wiki)
- Service Demo
- Get Metadata
`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);` `}`