EASYRDF 0.6.2 Update log:
· Bug fix for missing triples in the RDF Serialiser.
· Added easyrdf_graph::counthttp://www.aliyun.com/zixun/aggregation/17071.html ">triples () method.
· Re-factored the mechanism for mapping RDF datatypes to PHP classes.
· Added subclasses of Easyrdf_literal for various XSD datatypes:
· Easyrdf_literal_boolean
· Easyrdf_literal_date
· Easyrdf_literal_datetime
· Easyrdf_literal_decimal
· Easyrdf_literal_integer
· Made The Redland based parser write triples directly to Easyrdf_graph
· Added support for datatypes and languages in the Easyrdf_parser_ntriples Parser.
· Fix for parsing XML literals in RDF
Sample code:
$foaf = new Easyrdf_graph ("HTTP://WWW.ITHOV.COM/NJH/FOAF.RDF");
$foaf->load ();
$me = $foaf->primarytopic ();
echo "My name is:". $me->get (' Foaf:name '). " \ n ";
EASYRDF is a PHP library that is used to quickly and easily generate RDF summary information for a Web site. It is used exclusively for experienced and inexperienced RDF development hybrid teams.
Download Address: http://github.com/downloads/njh/easyrdf/easyrdf-0.6.2.tar.gz