This blog post goes over three basic tasks for consuming RDF with Python: Fetching the data; Parsing the data returned into a graph; Traversing the graph to display the data. It also includes a detailed breakdown of a piece of functional code that extracts from a virtual graph four sets of values: Name(s) of the Creative Work; Name(s) of the Author(s); Description of the Creative Work;
Name(s) of the Subject(s).

Keywords: Python, RDFLib, Query, JSON-LD
Author: Mixter, Jeff
Publisher: OCLC (Online Computer Library Center)
Date created: 2016-06-10 04:00:00.000
Time required: P20M
Educational use: instruction
Educational audience: student
Interactivity type: expositive

  • Competencies