This tutorial shows how to do a visual analysis and basic statistical analysis of the data in the Linked Open Piracy data set. It makes use of the SPARQL Package for R and the ggmap package. The SPARQL Package allows one to directly import results of SPARQL SELECT queries into the statistical environment of R as a data frame, allowing one to directly perform statistical analysis on datasets from the web.

**URL:** http://linkedscience.org/tools/sparql-package-for-r/linked-open-piracy-tutorial/**Keywords:** R (programming language), Linked Open Data (LOD), Statistical analysis, Data visualization**Author:** van Hage, Willem Robert**Publisher:** COMBINE project**Language:** http://id.loc.gov/vocabulary/iso639-2/eng**Time required:** P1H**Educational use: **instruction**Educational audience: **student**Interactivity type: **mixed