RDF::Closure::Engine(3pm)

RDF::Closure::Engine3pm

An engine for inferring triples

Overview

Constructor

•

"new($regime, $model, @arguments)"

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.

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.

•

"closure( [ $is_subsequent ] )"

Adds any new triples to the graph that can be inferred.

If $is_subsequent is true, then skips axioms.

•

"errors"

Returns a list of consistency violations found so far.

•

"reset"

Removes all inferred triples from the graph.

Class Method

•

"engines"

Return a list of engines installed, e.g. 'RDF::Closure::Engine::RDFS'.

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.

Releases

6 releases since Debian 7 (Wheezy); the text changed 3 times.

  1. 7
  2. 8
  3. 9–10
  4. 12–13

Author

Toby Inkster <[email protected]>.

From librdf-closure-perl 0.001-5 in Debian 13 (Trixie). Parsed by carta from the page's man source.