Simon Willison’s Weblog



3rd July 2003

If you’re still struggling to get to grips with what RDF is actually for, you could do worse than read this guide to Parsing FOAF with PHP. It shows how the FOAF flavour of RDF can be processed using the PHP RAP library, and in doing so demonstrates how RDF documents are built from collections of triples anmd how these triples can be queried to extract useful information. If you’ve ever used Prolog, RDF is actually a very similar concept.

This is RDF and PHP by Simon Willison, posted on 3rd July 2003.

Next: web site tips

Previous: Norwegian Hixie

Previously hosted at