SemanticWeb::Schema - Moo classes for http://schema.org/ classes
version v3.5.0
use aliased 'SemanticWeb::Schema::Person' => 'Person';
my $person = Person->new(
name => 'James Clerk Maxwell',
birth_date => '1831-06-13',
birth_place => 'Edinburgh',
);
print $person->json_ld;
This is a base class for the SemanticWeb::Schema
classes, which
were generated automatically from the following sources:
- http://schema.org/version/3.5/ext-meta.rdf
- http://schema.org/version/3.5/ext-health-lifesci.rdf
- http://schema.org/version/3.5/ext-auto.rdf
- http://schema.org/version/3.5/ext-bib.rdf
- http://schema.org/version/3.5/schema.rdf
If this is set, it adds a @id
to the "json_ld_data".
The context defaults to "http://schema.org/".
Robert Rothenberg [email protected]
This software is Copyright (c) 2018 by Robert Rothenberg.
This is free software, licensed under:
The Artistic License 2.0 (GPL Compatible)