Fresnel Lens RDF Processor.
Creates the Fresnel Processor object.
Loads a Fresnel RDF template, located at url. After loading and parsing is complete,callback(without arguments) is executed.
Formats an RDF data set using loaded template. The dataObject is an OAT RDF structure, usually a store.data.all property. This function returns an array with two values:
var fresnel = new OAT.Fresnel(); var rdf = new OAT.RDFStore(); /* don't forget to load some RDF into the store... */ var loadedCallback = function() { var results = fresnel.format(rdf.data.all); } fresnel.addURL("myFresnelTemplate.n3");