NAME
RDF::Closure::Model - RDF::Trine::Model-compatible inferface
DESCRIPTION
Constructor
new($input, [, engine => $engine ] [, store => $store ])
Instantiates a module. $input may be undef, an existing RDF::Trine::Model or an RDF::Trine::Store. The input will not be modified.
$engine
is the inference engine to use; defaults to 'RDFS'.$store
is an RDF::Trine::Store to use to build the inferred model in; defaults to a new, temporary store.
Methods
This package inherits from RDF::Trine::Model and provides all the methods it does. It additionally provides:
entailment_regime
Returns a URI string identifying the type of inference in use.
SEE ALSO
RDF::Closure, RDF::Closure::Engine, RDF::Trine::Model.
Take careful note of the begin_bulk_ops
and end_bulk_ops
methods present in RDF::Trine::Model. Judicious use of them can seriously speed up this module.
AUTHOR
Toby Inkster <tobyink@cpan.org>.
COPYRIGHT
Copyright 2011 Toby Inkster
This library is free software; you can redistribute it and/or modify it under any of the following licences:
The Artistic License 1.0 http://www.perlfoundation.org/artistic_license_1_0.
The GNU General Public License Version 1 http://www.gnu.org/licenses/old-licenses/gpl-1.0.txt, or (at your option) any later version.
The W3C Software Notice and License http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231.
The Clarified Artistic License http://www.ncftp.com/ncftp/doc/LICENSE.txt.