Created
January 9, 2016 01:31
-
-
Save melvincarvalho/ac0160913a1ca83b01f0 to your computer and use it in GitHub Desktop.
init rdflib
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /** | |
| * init RDF knowledge base | |
| */ | |
| $scope.initRDF = function() { | |
| var PROXY = "https://databox.me/,proxy?uri={uri}"; | |
| //var AUTH_PROXY = "https://rww.io/auth-proxy?uri="; | |
| var TIMEOUT = 60000; | |
| $rdf.Fetcher.crossSiteProxyTemplate=PROXY; | |
| g = $rdf.graph(); | |
| f = $rdf.fetcher(g, TIMEOUT); | |
| }; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment