Uses RDF programming libraries to extract RDF data from CSV files, databases, or web pages. – 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

]]>
SPARQL and Linked Data Homework Exercises https://ld4pe.dublincore.org/learning_resource/sparql-and-linked-data-homework-exercises/ Sat, 21 Jan 2017 06:46:40 +0000 https://ld4pe.dublincore.org/learning_resource/sparql-and-linked-data-homework-exercises/ This document contains several "written" and "electronic" homework questions originally from the course "Semantic Web Topics" at LeHigh University. They include: Write a series of SPARQL queries using a provided schema; Write a SPARQL construct query that generates all triples inferred by a specific RDFS entailment rule; Write a SPARQL construct query to generate
owl:sameAs statements between domains which share specified property; Describe the pros and cons of generating links in the manner specified in the previous question; Using Jena, create a class that can read in all the files in a specified directory and create a Web page that lists a series of publications organized by topic – reading all of the files into a single model and only using SPARQL to retrieve information from the model.

URL: http://www.cse.lehigh.edu/~heflin/courses/sw-2013/hw2.pdf
Keywords: SPARQL, RDF Schema, Entailment regime, 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

]]>
Using RDFAlchemy Together With RDFLib’s SPARQLStore to Query DBPedia and Process Resources in an Object-Oriented Way https://ld4pe.dublincore.org/learning_resource/using-rdfalchemy-together-with-rdflibs-sparqlstore-to-query-dbpedia-and-process-resources-in-an-object-oriented-way/ Wed, 11 Jan 2017 06:45:38 +0000 https://ld4pe.dublincore.org/learning_resource/using-rdfalchemy-together-with-rdflibs-sparqlstore-to-query-dbpedia-and-process-resources-in-an-object-oriented-way/ The author of this blog posts shares his work towards manipulating RDF graphs with Python to create an application that can handle Linked Datar esources in an Object-Oriented way, (i.e. using Python classes rather than tables, sets, or lists of triples). The author's solution ties together RDFLib’s SPARQLStore plugin and RDFAlchemy.

URL: https://www-public.tem-tsp.eu/~berger_o/weblog/2014/05/14/using-rdfalchemy-together-with-rdflibs-sparqlstore-to-query-dbpedia-and-process-resources-in-oo-way/
Keywords: RDFAlchemy, RDFLib, Python, DBPedia, Object-Oriented Programming (OOP)
Author: Berger, Olivier
Date created: 2014-05-14 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

]]>
Converting LAK Data to R Format https://ld4pe.dublincore.org/learning_resource/converting-lak-data-to-r-format/ Mon, 09 Jan 2017 06:45:30 +0000 https://ld4pe.dublincore.org/learning_resource/converting-lak-data-to-r-format/ In this video, the presenter demonstrates how to retrieve the LAK (Learning Analytics and Educational Data Mining) dataset from the Web and load it into RStudio, so that it can be manipulated using the R programming language.

URL: https://www.youtube.com/watch?v=gMmj-mB2KA0
Keywords: Linked Open Data (LOD), R (programming language)
Author: Sherlock, David
Date created: 2014-09-02 04:00:00.000
Language: http://id.loc.gov/vocabulary/iso639-2/eng
Time required: P10M

]]>
Finding Useful RDF Data on the Web https://ld4pe.dublincore.org/learning_resource/finding-useful-rdf-data-on-the-web/ Mon, 28 Nov 2016 05:58:41 +0000 https://ld4pe.dublincore.org/learning_resource/finding-useful-rdf-data-on-the-web/ The author of this blog post states his opinion that "the world has too many ontologies and not enough useful data for those ontologies to describe", then seeks to help remedy the situation by sharing some scripts he wrote which search the Web (via a Google API) to find RDF data.

URL: http://www.snee.com/bobdc.blog/2007/05/finding-useful-rdf-data-on-the.html
Keywords: Dataset, RDF, Perl, Python
Author: DuCharme, Bob
Date created: 2007-05-22 04:00:00.000
Language: http://id.loc.gov/vocabulary/iso639-2/eng
Time required: P15M
Interactivity type: mixed

]]>
Getting Data from the Semantic Web (Ruby) https://ld4pe.dublincore.org/learning_resource/getting-data-from-the-semantic-web-ruby/ Sat, 12 Nov 2016 05:41:23 +0000 https://ld4pe.dublincore.org/learning_resource/getting-data-from-the-semantic-web-ruby/ This tutorial explains how to retrieve data from DBPedia, the Semantic Web version of Wikipedia. It uses Ruby's RDF.rb and is intended for programmers used to building software on top of non-Semantic-Web data sources: using screen scraping techniques, or using APIs that return XML, JSON, CSV, etc.

URL: http://semanticweb.org/wiki/Getting_data_from_the_Semantic_Web_(Ruby)
Keywords: Ruby, DBpedia, RDF/XML, Parsing
Date created: 2011-01-14 05:00:00.000
Language: http://id.loc.gov/vocabulary/iso639-2/eng
Time required: P15M
Educational use: instruction
Educational audience: student
Interactivity type: mixed

]]>
Loading and Saving RDF https://ld4pe.dublincore.org/learning_resource/loading-and-saving-rdf/ Tue, 03 May 2016 13:01:46 +0000 https://ld4pe.dublincore.org/learning_resource/loading-and-saving-rdf/ Documentation describing how to use RDFLib to read RDF data in various serializations from the Web and from files.

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

]]>
RDFLib Examples Package https://ld4pe.dublincore.org/learning_resource/rdflib-examples-package/ Tue, 03 May 2016 13:01:46 +0000 https://ld4pe.dublincore.org/learning_resource/rdflib-examples-package/ This documentation includes examples on the following subjects: 1) creating named graphs and working with the conjunction of all the graphs; 2) registering new mappings between literal datatypes and Python objects; 3) adding custom evaluation functions to handle certain SPARQL Algebra elements; 4) overloading Python operators on URIRefs to allow for creating path operators directly in Python; 5) binding variables,; 6) processing RDFa data from the Web. These examples all live in ./examples in the source-distribution of RDFLib.

URL: http://rdflib.readthedocs.org/en/stable/apidocs/examples.html
Keywords: Python, SPARQL, RDFa
Language: http://id.loc.gov/vocabulary/iso639-2/eng
Time required: P30M
Educational use: instruction
Educational audience: student
Interactivity type: expositive

]]>
XQuery and JavaScript Semantics APIs https://ld4pe.dublincore.org/learning_resource/xquery-and-javascript-semantics-apis/ Tue, 19 Apr 2016 01:24:26 +0000 https://ld4pe.dublincore.org/learning_resource/xquery-and-javascript-semantics-apis/ This is the tenth chapter in MarkLogic's "Semantic Developer's Guide". It describes the XQuery and JavaScript Semantics APIs, which include an XQuery library module, built-in semantics functions, and support for SPARQL, SPARQL Update, and RDF. This chapter also includes examples using the Semantics API, which is an API designed to create, query, update, and delete triples and graphs in MarkLogic.

URL: https://docs.marklogic.com/guide/semantics/semantics-api
Keywords: Semantics API, JavaScript, XQuery, Triples
Publisher: MarkLogic
Language: http://id.loc.gov/vocabulary/iso639-2/eng
Time required: P40M
Educational use: instruction
Educational audience: professional
Interactivity type: mixed

]]>