SPARQL Package for R

SPARQL Package is a function for R statistical software to enable to analyze Linked Data.

Author: Willem Robert van Hage, with contributions from Tomi Kauppinen, Benedikt Graeler, Christopher Davis, Jesper Hoeksema, Alan Rut- tenberg, and Daniel Bahls.

.

How to get started:

  1. First , go through one of the following tutorials:
  2. See also the manual for more information or download the package.
Short technical description: 
  • SPARQL Package enables to connect to a SPARQL end-point over HTTP, pose a SELECT query or an update query (LOAD, INSERT, DELETE).
  • If given a SELECT query it returns the results as a data frame with a named column for each variable from the SELECT query, a list of prefixes and namespaces that were shortened to qnames is also returned.
  • If given an update query nothing is returned. If the parameter “query” is given, it is assumed the given query is a SELECT query and a GET request will be done to get the results from the URL of the end point.
  • Otherwise, if the parameter “update” is given, it is assumed the given query is an update query and a POST request will be done to send the request to the URL of the end point.

Leave a Reply