Serialisation example

array (
  'http://www.example.com/joe#me' => 
  array (
    'http://www.w3.org/1999/02/22-rdf-syntax-ns#type' => 
    array (
      0 => 
      array (
        'type' => 'uri',
        'value' => 'http://xmlns.com/foaf/0.1/Person',
      ),
    ),
    'http://xmlns.com/foaf/0.1/name' => 
    array (
      0 => 
      array (
        'type' => 'literal',
        'value' => 'Joseph Bloggs',
      ),
    ),
    'http://xmlns.com/foaf/0.1/title' => 
    array (
      0 => 
      array (
        'type' => 'literal',
        'value' => 'Mr',
      ),
    ),
    'http://xmlns.com/foaf/0.1/nick' => 
    array (
      0 => 
      array (
        'type' => 'literal',
        'value' => 'Joe',
      ),
    ),
    'http://xmlns.com/foaf/0.1/homepage' => 
    array (
      0 => 
      array (
        'type' => 'uri',
        'value' => 'http://example.com/joe/',
      ),
    ),
    'http://xmlns.com/foaf/0.1/dateOfBirth' => 
    array (
      0 => 
      array (
        'type' => 'literal',
        'value' => '1980-09-08',
        'datatype' => 'http://www.w3.org/2001/XMLSchema#date',
      ),
    ),
    'http://xmlns.com/foaf/0.1/height' => 
    array (
      0 => 
      array (
        'type' => 'literal',
        'value' => 1.82,
        'datatype' => 'http://www.w3.org/2001/XMLSchema#decimal',
      ),
    ),
    'http://xmlns.com/foaf/0.1/currentProject' => 
    array (
      0 => 
      array (
        'type' => 'bnode',
        'value' => '_:genid1',
      ),
    ),
  ),
  '_:genid1' => 
  array (
    'http://www.w3.org/1999/02/22-rdf-syntax-ns#type' => 
    array (
      0 => 
      array (
        'type' => 'uri',
        'value' => 'http://xmlns.com/foaf/0.1/Project',
      ),
    ),
    'http://xmlns.com/foaf/0.1/name' => 
    array (
      0 => 
      array (
        'type' => 'literal',
        'value' => 'Joe\'s current project',
      ),
    ),
  ),
)