Skip to content
kurtjx edited this page Sep 13, 2010 · 5 revisions

Welcome to the SNORQL wiki!

== 4 Store instructions ==

You will need to make the 4Store endpoint available through the same domain that SNORQL is available. You can do this by creating a directory called ‘sparql’ in your web root and adding the following .htaccess file to the sparql directory:

RewriteEngine on RewriteBase /sparql/ RewriteRule ^(.*)$ http://localhost:8001/sparql/$1 [P]

Finally, you must make one small, annoying modification to the snorql.js file at line 13

this._endpoint = document.location.href.match(/^([^?]*)snorql\//)[1] + 'sparql/';

notice you are simply adding ‘/’ at the very end of the line.

Clone this wiki locally