June 23, 2003

Parsing FOAF with PHP

This article is a guide to using PHP to parse FOAF documents. FOAF stands for Friend-of-a-Friend and is a fun application of RDF that describes people and their relationships to one another. It assumes that the reader is familiar with XML and PHP but that they have little or no knowledge of RDF or FOAF and how to parse them.

FOAF provides about two dozen useful terms for describing people. These can be plugged into existing RDF or form the basis for a dedicated FOAF file, packed full of infomation about a person and the people they know. The most important term in FOAF is Person which (surprise!) represents a person. There are also a set of helpful properties such as name, homepage and knows.

Semantic Planet Weblog: Parsing FOAF with PHP

Posted by manne at June 23, 2003 05:54 AM | TrackBack

Random fortune brought to you by www.fortunes.nu:

:: ()

Comments

Post a comment









Remember personal info?






Extreme Tracking