This module provides Libraries API compatibility for EasyRdf, a PHP library for accessing and working with RDF resources.

Update: EasyRDF is now part of Drupal 8 core.

This module provides no end-user functionality beyond linking EasyRdf via the Libraries API, and as such should only be installed if requested by another module.

EasyRdf is by Nicholas J Humfrey, and is available for download at


1) Download this module as normal, and Libraries.
2) Download the latest version of EasyRDF from, and place it in your sites/all/libraries folder, so that the path to the EasyRdf class loader is:


You may need to rename the folder extracted from the download by removing the version number, or similar.
3) If the "Help" module is enabled, you can check EasyRdf is working by visiting its help page.


The EasyRdf library can be accessed simply by calling the easyrdf() function in your code. This function returns TRUE if the library is available, so the following is effective:

if (easyrdf()) {
  // Do something with EasyRdf... e.g.
  $graph = new EasyRdf_Graph("");

Project Information