#!/usr/bin/perl use 5.010; use strict; use warnings; use lib "lib"; use HTML::HTML5::Microdata::Parser; use RDF::TrineShortcuts; my $h = <
My name is Elizabeth.
My name is Daniel.
My name is Neil.
My band is called Four Parts Water.
I am British.
Foo
Hedral is a male american domestic shorthair, with a fluffy black fur with white paws and belly.
HTML my $p = HTML::HTML5::Microdata::Parser->new($h, 'http://example.com/', {'auto_config'=>1}); $p->consume; print rdf_string($p->graph, 'turtle');