RDF::C...Engine(3pm)
π RDF::Closure::Engine β the perl manual page, but make it cute π
okay so bestie, you found the docs for RDF::Closure::Engine, which lives in the User Contributed Perl Documentation corner of your perl install. It's an engine for inferring triples β yes, the whole vibe is "look at your graph and figure out the extra stuff that must be true." No cap. π¦
β¨ NAME β¨
RDF::Closure::Engine β an engine for inferring triples π
πΈ DESCRIPTION πΈ
π Constructor
new($regime, $model, @arguments)β Instantiates an inference engine. It's giving factory method energy. π
So this:
RDF::Closure::Engine->new('RDFS', $model, @args);
is just a shortcut for this:
RDF::Closure::Engine::RDFS->new($model, @args);
Though in the former, 'RDFS' is treated case-insensitively, so you can be a little chaotic with your capitalisation and it still ate. π
$model must be an RDF::Trine::Model which the engine will read its input from and write its output to. That's the whole assignment. Main character behaviour, honestly. π
π¦ Methods
entailment_regimeβ Returns a URI string identifying the type of inference implemented by the engine, orundef. π«Άgraphβ Returns theRDF::Trine::Modelthe engine is operating on. It's your model back. Hi bestie. πclosure( [ $is_subsequent ] )β Adds any new triples to the graph that can be inferred. the moment we've all been waiting for β¨
If $is_subsequent is true, then skips axioms. Periodt. π«
errorsβ Returns a list of consistency violations found so far. red flags, but make them semantic π©πresetβ Removes all inferred triples from the graph. Ctrl+Z but philosophical. π§
π Class Method
enginesβ Return a list of engines installed, e.g.'RDF::Closure::Engine::RDFS'. It's the guest list. ππ
π SEE ALSO π
RDF::Closure, RDF::Closure::Engine::RDFS, RDF::Closure::Engine::OWL2RL, RDF::Closure::Engine::OWL2Plus.
<http://www.perlrdf.org/>. π¦
π AUTHOR π
Toby Inkster <tobyink@cpan.org>. Icon. Legend. Wrote it. π
π COPYRIGHT π
Copyright 2011-2012 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>. β¨
π DISCLAIMER OF WARRANTIES π
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. π
So like... if it breaks, that's on you, bestie. I don't make the rules, I just rewrite them with more sparkle. π
and that's a wrap!! π this page came from perl v5.32.1, dated 2021-09-24, and it's the RDF::C...Engine(3pm) manual β yes the title got truncated in the header because unix manpages are dramatic like that. slay, bye π«ΆπΈ
π¦ where this page comes from
- debian bookworm: librdf-closure-perl 0.001-5 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- debian trixie: librdf-closure-perl 0.001-5 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu jammy: librdf-closure-perl 0.001-5 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu noble: librdf-closure-perl 0.001-5 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu resolute: librdf-closure-perl 0.001-5 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu stonking: librdf-closure-perl 0.001-5 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms