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, or undef. 🫢
  • graph β€” Returns the RDF::Trine::Model the 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 2011-2012 Toby Inkster

This library is free software; you can redistribute it and/or modify it under any of the following licences:


πŸ’€ 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