Simon Willison’s Weblog

Subscribe

RDF and PHP

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: Scribbling.net web site tips

Previous: Norwegian Hixie

Previously hosted at http://simon.incutio.com/archive/2003/07/03/rdfAndPhp