Copy of the RAP Rdf API for PHP