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
- 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
- Uses RDF-specific programming methods to iterate over components of RDF data.
- Interacting with RDF data
- Processing RDF data using programming languages.
- 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
- Uses RDF-specific programming methods to iterate over components of RDF data.
- Uses RDF-specific programming methods to iterate over components of RDF data.
- 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
- Processing RDF data using programming languages.
- Interacting with RDF data
- Interacting with RDF data
- Processing RDF data using programming languages.
- 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
Uses RDF-specific programming methods to iterate over components of RDF data.
- Uses an RDF programming library to serialize RDF data in available syntaxes.
- Uses RDF-specific programming methods to iterate over components of RDF data.
- Uses RDF-library-specific convenience representations for common RDF vocabularies such as RDF, Dublin Core, and SKOS.
- Programatically associates namespaces to prefixes for use in serializing RDF or when parsing SPARQL queries.
- Uses RDF programming libraries to extract RDF data from CSV files, databases, or web pages.
- Uses RDF programming libraries to persistently stores triples in memory, on disk, or to interact with triple stores.
- Programatically infers triples using custom functions or methods.
- 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
Uses RDF-specific programming methods to iterate over components of RDF data.
- Processing RDF data using programming languages.
- Uses RDF-specific programming methods to iterate over components of RDF data.
- Uses available ontology browsing tools to explore the ontologies used in a particular dataset.
- Interacting with RDF data
- RDF data analytics
- Uses available ontology browsing tools to explore the ontologies used in a particular dataset.
- Uses available ontology browsing tools to explore the ontologies used in a particular dataset.
- RDF data analytics
- Interacting with RDF data