1RDF::Query::Parser::SPAURsQeLr(3C)ontributed Perl DocumeRnDtFa:t:iQounery::Parser::SPARQL(3)
2
3
4
6 RDF::Query::Parser::SPARQL - SPARQL Parser.
7
9 This document describes RDF::Query::Parser::SPARQL version 2.918.
10
12 use RDF::Query::Parser::SPARQL;
13 my $parser = RDF::Query::Parser::SPARQL->new();
14 my $iterator = $parser->parse( $query, $base_uri );
15
17 ...
18
20 Beyond the methods documented below, this class inherits methods from
21 the RDF::Query::Parser class.
22
23 "new"
24 Returns a new Turtle parser.
25
26 "parse ( $query, $base_uri )"
27 Parses the $query, using the given $base_uri.
28
29 "parse_pattern ( $pattern, $base_uri, \%namespaces )"
30 Parses the $pattern, using the given $base_uri and returns a
31 RDF::Query::Algebra pattern.
32
33 "parse_expr ( $pattern, $base_uri, \%namespaces )"
34 Parses the $pattern, using the given $base_uri and returns a
35 RDF::Query::Expression pattern.
36
37 "error"
38 Returns the error encountered during the last parse.
39
40
41
42perl v5.32.0 2020-07-28 RDF::Query::Parser::SPARQL(3)