there is a new updated version of RAP – RDF API for PHP. The new version
1. relational database backend
2. RDQL query engine
3. N3 parser and serializer
ok, so its nearly magic, well not really, but this is a nice implementation, i might use it on one of my ultra secret probably never to be finished unless i finish other things first projects.