1Attean::SimpleQueryEvalUusaetrorC(o3n)tributed Perl DocuAmtetnetaant:i:oSnimpleQueryEvaluator(3)
2
3
4

NAME

6       Attean::SimpleQueryEvaluator - Simple query evaluator
7

VERSION

9       This document describes Attean::SimpleQueryEvaluator version 0.030
10

SYNOPSIS

12         use v5.14;
13         use Attean;
14         my $algebra = Attean->get_parser('SPARQL')->parse('SELECT * WHERE { ... }');
15         my $active_graph = Attean::IRI->new('http://example.org/');
16         my $e = Attean::SimpleQueryEvaluator->new( model => $model );
17         my $iter = $e->evaluate( $algebra, $active_graph );
18

DESCRIPTION

20       The Attean::SimpleQueryEvaluator class implements a simple query
21       evaluator that, given an Attean::API::Algebra and a Attean::API::Model
22       object, evaluates the query represented by the algebra using data from
23       the model, and returns a query result.
24

ATTRIBUTES

26       "model"
27           The Attean::API::Model object used for query evaluation.
28
29       "default_graph"
30           The Attean::API::IRI object representing the default graph in the
31           "model".  The default graph will be excluded from enumeration of
32           graph names for query features such as "GRAPH ?g {}".
33

METHODS

35       "evaluate( $algebra, $active_graph )"
36           Returns an Attean::API::Iterator object with results produced by
37           evaluating the query $algebra against the evaluator's "model",
38           using the supplied $active_graph.
39

BUGS

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

SEE ALSO

AUTHOR

46       Gregory Todd Williams  "<gwilliams@cpan.org>"
47
49       Copyright (c) 2014--2020 Gregory Todd Williams.  This program is free
50       software; you can redistribute it and/or modify it under the same terms
51       as Perl itself.
52
53
54
55perl v5.32.1                      2021-02-08   Attean::SimpleQueryEvaluator(3)
Impressum