Uses RDF-specific programming methods to iterate over components of RDF data. – Linked Data for Professional Education https://ld4pe.dublincore.org Learning resources tagged by competency Thu, 19 Nov 2020 14:45:03 +0000 en-US hourly 1 https://wordpress.org/?v=4.9.16 Making Sense of Linked Data with Python https://ld4pe.dublincore.org/learning_resource/making-sense-of-linked-data-with-python/ Thu, 04 May 2017 06:59:04 +0000 https://ld4pe.dublincore.org/learning_resource/making-sense-of-linked-data-with-python/ 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).

URL: http://www.oclc.org/developer/news/2016/making-sense-of-linked-data-with-python.en.html
Keywords: Python, RDFLib, Query, JSON-LD
Author: Mixter, Jeff
Publisher: OCLC (Online Computer Library Center)
Date created: 2016-06-10 04:00:00.000
Language: http://id.loc.gov/vocabulary/iso639-2/eng
Time required: P20M
Educational use: instruction
Educational audience: student
Interactivity type: expositive

]]>
RDF Homework Exercises https://ld4pe.dublincore.org/learning_resource/rdf-homework-exercises/ Sat, 21 Jan 2017 06:46:41 +0000 https://ld4pe.dublincore.org/learning_resource/rdf-homework-exercises/ This document contains several "written" and "electronic" homework questions originally from the course "Semantic Web Topics" at LeHigh University. They include: Translating an RDF Graph into the Turtle syntax; Using the RDFS entailment rules determine what triples can be inferred from an RDF Graph; Explain the advantage of using multiple rdfs:range statements over using the union of the individual ranges to determine the actual range; Draw the equivalent graph when given an RDF document written in XML; Write the equivalent RDF/XML for a series of online references; Using Jena, write a class object that can read in an RDF file that was written using a specific vocabulary and output a list of the publications, one per line.

URL: http://www.cse.lehigh.edu/~heflin/courses/sw-2013/hw1.pdf
Keywords: Turtle, RDF Schema, Entailment regimes, eXtensible Markup Language (XML), Apache Jena, Java
Author: Heflin, Jeff
Date created: 2013-02-01 05:00:00.000
Language: http://id.loc.gov/vocabulary/iso639-2/eng
Time required: P4H
Educational use: assessment
Educational audience: teacher-educationSpecialist
Interactivity type: active

]]>
Inspecting An Ontology With RDFLib https://ld4pe.dublincore.org/learning_resource/inspecting-an-ontology-with-rdflib/ Thu, 29 Dec 2016 06:44:04 +0000 https://ld4pe.dublincore.org/learning_resource/inspecting-an-ontology-with-rdflib/ In this blog post, the author details some simple exercises in using the Python RDFLib library to parse and extract information from RDF data. Then, he takes things an important step further, using RDFLib to evaluate the ontology the RDF data refers to in order to judge whether that data is what one is looking for or not – and how to best integrate it into an application.

URL: http://www.michelepasin.org/blog/2011/07/18/inspecting-an-ontology-with-rdflib/
Keywords: Python, RDFLib, Ontology
Author: Pasin, Michele
Date created: 2014-10-04 04:00:00.000
Language: http://id.loc.gov/vocabulary/iso639-2/eng
Time required: P20M
Interactivity type: mixed

]]>
Using Ordnance Survey Linked Data: A Python RDFLib Example https://ld4pe.dublincore.org/learning_resource/using-ordnance-survey-linked-data-a-python-rdflib-example/ Thu, 29 Dec 2016 06:44:03 +0000 https://ld4pe.dublincore.org/learning_resource/using-ordnance-survey-linked-data-a-python-rdflib-example/ The author describes how he created a mashup of data.gov.uk and Ordnance Survey Linked Data using just the Python RDFLib library – no triple store is required.

URL: https://johngoodwin225.wordpress.com/2011/01/18/how-can-i-use-the-ordnance-survey-linked-data-a-python-rdflib-example/
Keywords: Linked Open Data (LOD), Government Open Data, Python, RDFLib
Author: Goodwin, John
Date created: 2011-01-18 05:00:00.000
Language: http://id.loc.gov/vocabulary/iso639-2/eng
Time required: P30M
Educational use: professionalDevelopment
Educational audience: student
Interactivity type: mixed

]]>
How to Build an SQL Storage Adapter for RDF Data with Ruby https://ld4pe.dublincore.org/learning_resource/how-to-build-an-sql-storage-adapter-for-rdf-data-with-ruby/ Sun, 17 Jul 2016 06:32:29 +0000 https://ld4pe.dublincore.org/learning_resource/how-to-build-an-sql-storage-adapter-for-rdf-data-with-ruby/ In this blog post, the author discusses his experience getting RDF.rb working with a PostgreSQL storage backend in order to work with RDF data in a Rails 3.0 application hosted on Heroku. Specifically, the tutorial covers the implementation of an RDF.rb storage adapter called RDF::DataObjects::Repository.

URL: http://blog.datagraph.org/2010/04/rdf-repository-howto
Keywords: Ruby, SQL
Author: Bendiken, Arto
Date created: 2010-04-06 04:00:00.000
Language: http://id.loc.gov/vocabulary/iso639-2/eng
Time required: P30M
Educational use: instruction
Educational audience: professional
Interactivity type: expositive

]]>
Navigating Graphs https://ld4pe.dublincore.org/learning_resource/navigating-graphs/ Tue, 03 May 2016 13:01:46 +0000 https://ld4pe.dublincore.org/learning_resource/navigating-graphs/ Documentation explaining that an RDF Graph is a set of RDF triples, which RDFLib mirrors with a graph emulating a container type. Also contains a list of all convenience methods for querying Graphs.

URL: http://rdflib.readthedocs.org/en/stable/intro_to_graphs.html
Keywords: Python
Language: http://id.loc.gov/vocabulary/iso639-2/eng
Time required: P15M
Interactivity type: expositive

]]>
Creating RDF Triples https://ld4pe.dublincore.org/learning_resource/creating-rdf-triples/ Tue, 03 May 2016 13:01:46 +0000 https://ld4pe.dublincore.org/learning_resource/creating-rdf-triples/ This documentation explains that RDF is a graph where the nodes are URI references, Blank Nodes or Literals. In RDFLib, nodes are represented by the classes URIRef, BNode, and Literal, and can be created by the constructors of these classes. Also discusses how to add and remove triples.

URL: http://rdflib.readthedocs.org/en/stable/intro_to_creating_rdf.html
Keywords: Python
Language: http://id.loc.gov/vocabulary/iso639-2/eng
Time required: P15M
Educational use: professionalDevelopment
Educational audience: professional
Interactivity type: mixed

]]>
Querying with SPARQL https://ld4pe.dublincore.org/learning_resource/querying-with-sparql/ Tue, 03 May 2016 13:01:46 +0000 https://ld4pe.dublincore.org/learning_resource/querying-with-sparql/ This documentation covers how to use the Python programming languages's RDFLib implementation of the SPARQL 1.1 Query and SPARQL 1.1 Update languages.

URL: http://rdflib.readthedocs.org/en/latest/intro_to_sparql.html
Keywords: Python, SPARQL
Language: http://id.loc.gov/vocabulary/iso639-2/eng
Time required: P10M

]]>
SPARQL Endpoint Interface to Python (1.6.4) https://ld4pe.dublincore.org/learning_resource/sparql-endpoint-interface-to-python-1-6-4/ Sat, 16 Jan 2016 13:43:28 +0000 https://ld4pe.dublincore.org/learning_resource/sparql-endpoint-interface-to-python-1-6-4/ This is a wrapper around a SPARQL service. It helps in creating the query URI and, possibly, converting the result into a more manageable format. The package is licensed under W3C license, and it can be downloaded in .zip and .tar.gz formats from GitHub, also from PyPi or from Debian, and eventually from SourceForge where was previously hosted.

URL: https://rdflib.github.io/sparqlwrapper/
Keywords: SPARQL, Python, SPARQL endpoint, RDFLib
Author: Herman, Ivan
Publisher: W3C
Language: http://id.loc.gov/vocabulary/iso639-2/eng
Time required: P10M
Interactivity type: mixed

]]>
Apache Jena TDB CRUD operations https://ld4pe.dublincore.org/learning_resource/apache-jena-tdb-crud-operations/ Mon, 09 Nov 2015 02:49:52 +0000 https://ld4pe.dublincore.org/learning_resource/apache-jena-tdb-crud-operations/ This text-based tutorial explains Apache Jena TDB CRUD operations using simple examples. CRUD operations are implemented with the Jena programming API instead of SPARQL. This tutorial provides deeper understanding of the internal operations of the TDB triple store and shows some tips and tricks to avoid common programming errors.

URL: http://tutorial-academy.com/apache-jena-tdb-crud-operations/
Keywords: Triple store, Apache Jena, CRUD, Java
Author: Sander, Malte
Publisher: Tutorial Academy
Date created: 2015-06-11 04:00:00.000
Language: http://id.loc.gov/vocabulary/iso639-2/eng
Time required: P30M
Educational use: instruction
Educational audience: professional
Interactivity type: mixed

]]>