RDF::Closure::Engine(3pm) | User Contributed Perl Documentation | RDF::Closure::Engine(3pm) |
RDF::Closure::Engine - an engine for inferring triples
Instantiates an inference engine. This:
RDF::Closure::Engine->new('RDFS', $model, @args);
is just a shortcut for:
RDF::Closure::Engine::RDFS->new($model, @args);
Though in the former, 'RDFS' is treated case-insensitively.
$model must be an RDF::Trine::Model which the engine will read its input from and write its output to.
Returns a URI string identifying the type of inference implemented by the engine, or undef.
Returns the RDF::Trine::Model the engine is operating on.
Adds any new triples to the graph that can be inferred.
If $is_subsequent is true, then skips axioms.
Returns a list of consistency violations found so far.
Removes all inferred triples from the graph.
Return a list of engines installed, e.g. 'RDF::Closure::Engine::RDFS'.
RDF::Closure, RDF::Closure::Engine::RDFS, RDF::Closure::Engine::OWL2RL, RDF::Closure::Engine::OWL2Plus.
<http://www.perlrdf.org/>.
Toby Inkster <tobyink@cpan.org>.
Copyright 2011-2012 Toby Inkster
This library is free software; you can redistribute it and/or modify it under any of the following licences:
THIS PACKAGE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
2021-09-24 | perl v5.32.1 |