1RDF::Trine::Model::StatUesmeerntCFoinlttreirb(u3t)ed PerRlDFD:o:cTurmiennet:a:tMioodnel::StatementFilter(3)
2
3
4
6 RDF::Trine::Model::StatementFilter - Model for filtering statements
7 based on a user-specified criteria
8
10 This document describes RDF::Trine::Model::StatementFilter version
11 1.019
12
14 Beyond the methods documented below, this class inherits methods from
15 the RDF::Trine::Model class.
16
17 "new ( $store )"
18 Returns a new statement-filter model.
19
20 "count_statements ($subject, $predicate, $object)"
21 Returns a count of all the statements matching the specified
22 subject, predicate and objects. Any of the arguments may be undef
23 to match any value.
24
25 "get_statements ($subject, $predicate, $object [, $context] )"
26 Returns a stream object of all statements matching the specified
27 subject, predicate and objects from all of the rdf stores. Any of
28 the arguments may be undef to match any value.
29
30 "get_pattern ( $bgp [, $context] )"
31 Returns a stream object of all bindings matching the specified
32 graph pattern.
33
34 "apply_rules ( $statement )"
35 "rules"
36 Returns a list of all rules in the inferencing model.
37
38 "add_rule ( \&rule )"
39 Adds a rule to the inferencing model. The rule should be a CODE
40 reference that, when passed a statement object, will return true if
41 the statement should be allowed in the model, false if it should be
42 filtered out.
43
45 Please report any bugs or feature requests to through the GitHub web
46 interface at <https://github.com/kasei/perlrdf/issues>.
47
49 Gregory Todd Williams "<gwilliams@cpan.org>"
50
52 Copyright (c) 2006-2012 Gregory Todd Williams. This program is free
53 software; you can redistribute it and/or modify it under the same terms
54 as Perl itself.
55
56
57
58perl v5.32.0 2020-07-R2D8F::Trine::Model::StatementFilter(3)