This testbench uses rdfworld.php to convert a remote RDF into PHP objects.
Some example URLs to copy-n-paste: testcase | testcase 2 |
foaf |
rss 1.0 |
cc license data
Send me more! csnyder@chxo.com
thing values:$this->uri= http://example.org/thing
$this->type= http://www.w3.org/2000/01/rdf-schema#Resource
$this->model= Object
$this->world= Object
$this->_ukindex= 0
$this->ex_prop1= blah
$this->ex_prop2= more
---End of thing---
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:ex="http://example.org/schema#">
<rdf:Description rdf:about="http://example.org/thing">
<ex:prop1 xml:space="default">blah</ex:prop1>
<ex:prop2 xml:foo="anything">more</ex:prop2>
</rdf:Description>
</rdf:RDF>$Id: rdfworld-test.php,v 1.4 2003/02/25 03:44:27 csnyder Exp $