NAME
HTML::Embedded::Turtle - embedding RDF in HTML the crazy way
0.01
SYNOPSIS
use HTML::Embedded::Turtle;
my $het = HTML::Embedded::Turtle->new($html, $base_uri);
foreach my $graph ($het->endorsements)
{
my $model = $het->graph($graph);
# $model is an RDF::Trine::Model. Do something with it.
}
DESCRIPTION
RDF can be embedded in (X)HTML using simple
The rel="meta" stuff is parsed using an RDFa parser, so equivalent RDFa
works too.
This module parses HTML files containing graphs like these, and allows
you to access them each individually; as a union of all graphs on the
page; or as a union of just the endorsed graphs.
Despite the module name, this module supports a variety of