Come configurare lo sparql endpoint

From STLab

Jump to: navigation, search

To customize the Virtuoso sparql endpoint it is necesarry to change the SQL procedure relataed to the endpoint .
The procedures for our sparql endpoints are in /tools/sql_sparql_endpoint_procedures in wit.

To add the change then must run the following SQL function in the Virtuoso SQL DB browser:

  • Run the modified procedure in the Virtuoso SQL DB browser as shown in figure.
  • DB.DBA.VHOST_REMOVE (lpath=>'/sparql');
  • DB.DBA.VHOST_DEFINE (lpath=>'/sparql/', ppath => 'procedure_name', is_dav => 1, vsp_user => 'dba', opts => vector('noinherit', 1));
  • grant execute on WS.WS."procedure_name" to "SPARQL";
  • registry_set ('procedure_name', 'no_vsp_recompile');
Where to put the SQL query.
Where to put the SQL query.

See also http://docs.openlinksw.com/virtuoso/rdfsparql.html#rdfsparqlprotocolendpoint.

Personal tools