RDF::Helper::Properties - Module that provides shortcuts to retrieve certain information
my $helper = RDF::Helper::Properties->new($model); print $helper->title($node);
The RDF::Trine::Model which data will be extracted from. The only attribute which the constructor requires.
An arrayref of RDF::Trine::Node::Resource objects, each of which are taken to mean "something a bit like foaf:homepage". There is a sensible default.
An arrayref of RDF::Trine::Node::Resource objects, each of which are taken to mean "something a bit like foaf:name". There is a sensible default.
A suitable page to redirect to, based on foaf:page or foaf:homepage.
A suitable title for the document will be returned, based on document contents.
Called in list context, returns a ($value, $lang, $datatype) tuple.
A suitable description for the document will be returned, based on document contents
Formats the nodes for HTML output.
Most of the code was written by Gregory Todd Williams
<email@example.com> for RDF::LinkedData::Apache, but refactored into this class for use by other modules by Kjetil Kjernsmo,
<kjetilk at cpan.org>, then refactored again by Toby Inkster,
<tobyink at cpan.org>.
Copyright 2010 Gregory Todd Williams and ABC Startsiden AS.
Copyright 2012 Toby Inkster.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.