MooseX::Semantic - Adding RDF semantics to the Moose framework
MooseX::Semantic is a set of modules that adds a semantic layer to
L<Moose|Moose>-powered objects. Moose classes that consume the various roles
MooseX::Semantic offers are interoperable with the L<RDF::Trine|RDF::Trine> RDF
=head1 DOCUMENTATION OVERVIEW
MooseX::Semantic can be used on multiple levels of integration into RDF.
=head2 Basic semantics
For basic semantic additions, the following roles are necessary:
Add URIs, datatype and language to your attributes, turning them into RDF
Adds a class attribute C<rdf_type> representing the RDF is-a relationship.
Adds an 'rdf_about' attribute to Moose objects turning them into RDF resources.
=head2 From Moose to RDF and back
The following classes make round-tripping to/from RDF/Moose possible:
Role for exporting a Moose object to RDF, including serialization and exporting
to SPARQL/U endpoints.
Creating instances of MooseX::Semantic-flavored Moose classes from RDF data.
Bulk import of multiple RDF resources.
These modules make MooseX::Semantic-enabled classes storable in a
L<RDF::Trine::Store> and handle statement obsolescence.
Assignment a L<RDF::Trine::Store> object to a class, so objects of the class
can be stored and re-imported from that store.
Role that keeps track of changes within an object's set of statements and helps
keeping the statements accurate.
=head2 Schema introspection
Extract the schema/ontology that a MooseX::Semantic class represents.
Dynamically adding L<MooseX::Semantic::Meta::Attribute::Trait>-enabled
attributes to existing classes or creating MooseX::Semantic classes directly
from a schema such as FOAF.
=head2 Utility Modules
Defines subtypes and coercions for various RDF-related data structures
Convenient way to loop through the attributes of a Moose class with regards
to their RDF semantics.
=head1 TODO BUGS
Documentation is lacking, the tests would be a good starting point right now.
Context isn't properly handled right now.
Performance hasn't been considered yet.
Schema introspection without at least RDFS reasoning can only get you so far.
Recursive import is buggy.
=item Konstantin Baierer (<email@example.com>)
=item Toby Inkster (<firstname.lastname@example.org>)
=head1 SEE ALSO
This module is free software; you can redistribute it and/or modify it under
the same terms as Perl itself. See perldoc perlartistic.
This program is distributed in the hope that it will be useful, but WITHOUT ANY
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A