This article describes how to get up and running on the Semantic Web in less than 5 minutes using SPARQL with R. It begins with a brief introduction to the Semantic Web, then covers some simple steps for downloading and analyzing government data via a SPARQL query with the SPARQL R package.
Keywords: Semantic Web, SPARQL endpoint, Data.gov, R (Programming language)
Author: Hoefler, Patrick
Time required: P20M
Interactivity type: mixed
- Understands how components of the RDF data model (datasets, graphs, statements, and various types of node) are expressed in the RDF library of a given programming language by constructs such as object
- Understands how the pattern matching of SPARQL queries can be expressed using functionally equivalent constructs in RDF programming libraries.
- Understands the difference between SQL query language (which operates on database tables) and SPARQL (which operates on RDF graphs).
- Uses available tools, servers, and endpoints to issue queries against a dataset.
- Uses publicly available tools to visualize data.