The SPARQL Package allows you 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 on the web. This tutorial shows how to do a visual analysis with the Gephi graph visualization tool, and basic social network analysis with R of the data in the DBpedia repository about Hollywood movies. It makes use of the SPARQL Package for R and the igraph library.
Keywords: R (programming language), Linked Open Data (LOD), Statistical analysis, Data visualization, Gephi
Author: van Hage, Willem Robert
Publisher: COMBINE project
Time required: P90M
Educational use: instruction
Educational audience: student
Interactivity type: mixed
- Understands how the pattern matching of SPARQL queries can be expressed using functionally equivalent constructs in RDF programming libraries.
- Uses publicly available tools to visualize data.