1Attean::BindingEqualityUTseesrt(C3o)ntributed Perl DocumAetntteaatni:o:nBindingEqualityTest(3)
2
3
4

NAME

6       Attean::BindingEqualityTest - Test for equality of binding sets with
7       bnode isomorphism
8

VERSION

10       This document describes Attean::BindingEqualityTest version 0.033
11

SYNOPSIS

13         use v5.14;
14         use Attean;
15         my $test      = Attean::BindingEqualityTest->new();
16         if ($test->equals($iter_a, $iter_b)) {
17           say "Iterators contain equivalent bindings";
18         }
19

DESCRIPTION

21       ...
22

METHODS

24       "equals ( $graph1, $graph2 )"
25           Returns true if the invocant and $graph represent two equal RDF
26           graphs (e.g.  there exists a bijection between the RDF statements
27           of the invocant and $graph).
28
29       "is_subgraph_of ( $graph1, $graph2 )"
30           Returns true if the invocant is a subgraph of $graph. (i.e. there
31           exists an injection of RDF statements from the invocant to $graph.)
32
33       "injection_map ( $graph1, $graph2 )"
34           If the invocant is a subgraph of $graph, returns a mapping of blank
35           node identifiers from the invocant graph to $graph as a hashref.
36           Otherwise returns false. The solution is not always unique; where
37           there exist multiple solutions, the solution returned is arbitrary.
38
39       "split_blank_statements( $iter )"
40           Returns two array refs containing bindings from $iter, with
41           bindings containing blank nodes and bindings without any blank
42           nodes, respectively.
43

BUGS

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

SEE ALSO

AUTHOR

50       Gregory Todd Williams  "<gwilliams@cpan.org>"
51
53       Copyright (c) 2014--2022 Gregory Todd Williams.  This program is free
54       software; you can redistribute it and/or modify it under the same terms
55       as Perl itself.
56
57
58
59perl v5.36.0                      2022-10-03    Attean::BindingEqualityTest(3)
Impressum