About this tutorial
4Suite is an open source, comprehensive library and toolkit for XML processing in Python. 4Suite implements various open standards related to XML. This is the third in a series of developerWorks tutorials that introduce 4Suite and give practical examples of how it is used for XML development. This tutorial goes into detail on the Resource Description Framework (RDF), with hands-on examples of how to use the various RDF facilities available with Python. The open-source tool set 4RDF is used as the primary tool in the examples, which includes a brief example of the advanced topic of RDF inference.
The W3Cs RDF specification (see Resources) lays down a solid foundation for a way to process information in an application-agnostic fashion. 4RDF is simply one of a few implementations of the RDF specification and is written in Python.
This tutorial is written for users who are familiar with the RDF specification and Python -- with more emphasis on the former. You may find it helpful to have RDF reference material handy (see Resources).
For introductory information on RDF, see the following resources:
- An introduction to RDF by Uche Ogbuji (developerWorks, December 2000)
- Pierre-Antoine Champin's RDF Tutorial
While not required, if you want more information on 4Suite, read the previous installments in this tutorial series:
The following software packages and files are required in order to follow this tutorial:
- 4Suite -- The open source XML library that is the focus of this tutorial series
- 4Suite-3.rdf -- The initial RDF serialization of our family tree (download 4suite-3.rdf)
- final.rdf -- The final RDF serialization of our family tree (download final.rdf)
For technical questions about the content of this tutorial, contact the authors, Uche Ogbuji (uche.ogbuji@fourthought.com) and Chimezie Ogbuji (chimezie.ogbuji@fourthought.com).





