\s*(application/rdf\+xml)|(text/rdf)\b'i;
return 'RDF::Trine::Parser::RDFJSON'->new if m'^\s*application/(x-)?(rdf\+)?json\b'i;
}
return undef;
}
sub _choose_parser_by_language
{
shift;
ret
ation/x-turtle
text/plain (N-Triples), text/n3 (Notation 3), application/x-rdf+json (RDF/JSON),
application/json (RDF/JSON), and application/rdf+xml (RDF/XML).
The deprecated attribute "language" is
e" id="foo"> ... </script>
Languages supported are (case insensitive): "Turtle", "NTriples", "RDFJSON",
"RDFXML" and "Notation3".
=head2 Constructor
=over 4
=item C<< HTML::Embedded::Turtle->new($