NAME
RDF::aREF - Another RDF Encoding Form
VERSION
version 0.03
SYNOPSIS
use RDF::aREF;
my $rdf = {
  _id       => 'http://example.com/people#alice',
  foaf_name => 'Alice Smith',
  foaf_age  => '42^xsd:integer',
  foaf_homepage => [
     { 
       _id => 'http://personal.example.org/',
       dct_modified => '2010-05-29^xsd:date',
     },
    'http://work.example.com/asmith/',
  ],
  foaf_knows => {
    dct_description => 'a nice guy@en',
  },
};
decode_aref( $rdf,
    callback => sub {
        my ($subject, $predicate, $object, $language, $datatype) = @_;
        ...
    }
);
DESCRIPTION
This module decodes another RDF Encoding Form (aREF) to RDF triples.
EXPORTED FUNCTIONS
decode_aref ( $aref, [ %options ] )
Decodes an aREF document given as hash referece. Options are passed to the constructor of RDF::aREF::Decoder.
SEE ALSO
This module was first packaged together with Catmandu::RDF.
aREF is being specified at http://github.com/gbv/aREF.
See RDF::YAML for an outdated similar RDF encoding in YAML.
AUTHOR
Jakob Voß
COPYRIGHT AND LICENSE
This software is copyright (c) 2013 by Jakob Voß.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.