Skip to content

Instantly share code, notes, and snippets.

@mammadori
Created May 18, 2012 16:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mammadori/2726274 to your computer and use it in GitHub Desktop.
Save mammadori/2726274 to your computer and use it in GitHub Desktop.
This fails on virtuoso 6.1.5 develop/6
--- a/binsrc/dbpedia/vsp/description.vsp
+++ b/binsrc/dbpedia/vsp/description.vsp
@@ -102,9 +103,8 @@
-- setup rdf alternative links
rdf_link := 'http://'|| http_request_header (http_request_header (), 'Host')
- ||'/sparql?default-graph-uri=http%3A%2F%2F'||replace(registry_get('dbp_graph'),'http://','')||'&query=DESCRIBE+<' ||
- replace (page_resource_uri, '%', '%25') || '>';
- gen_rdf_link := rdf_link;
+ ||'/sparql?default-graph-uri=http%3A%2F%2F'||registry_get('dbp_graph_abr')||'&query=DESCRIBE+<' ||
+ replace (page_resource_uri, '%', '%25') || '>';
csv_link := rdf_link||'&format=text%2Fcsv';
cxml_link := rdf_link||'&format=text%2Fcxml';
if (page_resource_uri like 'http://%/resource/%')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment