RDF::Trine::Model::StatementFilter(3pm)

RDF::Trine::Model::StatementFilter3pm

Model for filtering statements based on a user-specified criteria

Version

This document describes RDF::Trine::Model::StatementFilter version 1.019

Methods

Beyond the methods documented below, this class inherits methods from the RDF::Trine::Model class.

"new ( $store )"

Returns a new statement-filter model.

"count_statements ($subject, $predicate, $object)"

Returns a count of all the statements matching the specified subject, predicate and objects. Any of the arguments may be undef to match any value.

"get_statements ($subject, $predicate, $object [, $context] )"

Returns a stream object of all statements matching the specified subject, predicate and objects from all of the rdf stores. Any of the arguments may be undef to match any value.

"get_pattern ( $bgp [, $context] )"

Returns a stream object of all bindings matching the specified graph pattern.

"apply_rules ( $statement )"
"rules"

Returns a list of all rules in the inferencing model.

"add_rule ( \&rule )"

Adds a rule to the inferencing model. The rule should be a CODE reference that, when passed a statement object, will return true if the statement should be allowed in the model, false if it should be filtered out.

Releases

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

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

Bugs

Please report any bugs or feature requests to through the GitHub web interface at <https://github.com/kasei/perlrdf/issues>.

Author

Gregory Todd Williams "<[email protected]>"

From librdf-trine-perl 1.019-4 in Debian 13 (Trixie). Parsed by carta from the page's man source.