Virtuoso Open-Source Edition: ODS.OdsSPARQLAuth

Virtuoso Open-Source, OpenLink Data Spaces, and OpenLink Ajax Toolkit

Useful Pages


Feeds

Subscribe to feeds of the changes to this site in the following formats:

Search

SPARUL over SPARQL using the http://cname:port/sparql-auth endpoint

Virtuoso reserves the path /sparql-auth/ for SPARQL service with authenticated SPARUL option. This endpoint allows specific SQL accounts to perform SPARUL over the SPARQL protocol.

Note: "SPARQL_UPDATE" is needed to be granted to an (ODS) user to perform all operations on physical triples and the user to be able allowed to perform SQL/ODBC logins. The scenario from below presents the steps in question:

  1. Go to http://<cname>:<port>/conductor, where <cname>:<port> are replaced by your local server values.
  2. Enter user dba credentials.
  3. Go to System Admin->User Accounts->Users



  4. Click "Edit" for user, for ex. with name "demo":





  5. In the presented form:
    1. Select for "User type": "SQL/ODBC and WebDAV" option;
    2. Select from the list of available Account Roles the "SPARQL_UPDATE" role and click the ">>" button so to add it to the right-positioned list.
  6. Click the "Save" button.

Note that if there is a table used in a RDF view, and this table is not granted to SPARQL_SELECT ( SPARQL_UPDATE inherits it ), then select on all graph will return access violation error as the user account has no permissions to read it. Thus the account need to have privileges on all tables included in any rdf view in order to be able to select on all graphs.

Related

Powered By Virtuoso