my $data = LDF::Schema::Thing->new( id => 'http://example.com/', name => 'Something', ); say $data->json_ld;
I am working on some Perl classes that are auto-generated from http://schema.org class definitions, and can then be used to output json-ld metadata appropriate to the classes (e.g. for embedding in a web page to help search engines index the content).
Eventually I hope to add classes for other data schemes (e.g. "dc", "foaf" etc.) and allow them to be combined.
In the mean time, I am unsure what to call the module. I chose the "LDF::" namespace since it relates to linked data fragments, but I'm not happy with that. I am open to suggestions.