logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

RDF::Query::Parser::SPARQL - SPARQL Parser.

Description

       ...

Methods

       Beyond the methods documented below, this class inherits methods from the RDF::Query::Parser class.

       "new"
           Returns a new Turtle parser.

       "parse ( $query, $base_uri )"
           Parses the $query, using the given $base_uri.

       "parse_pattern ( $pattern, $base_uri, \%namespaces )"
           Parses the $pattern, using the given $base_uri and returns a RDF::Query::Algebra pattern.

       "parse_expr ( $pattern, $base_uri, \%namespaces )"
           Parses the $pattern, using the given $base_uri and returns a RDF::Query::Expression pattern.

       "error"
           Returns the error encountered during the last parse.

perl v5.38.2                                       2024-07-02                    RDF::Query::Parser::SPARQL(3pm)

Name

       RDF::Query::Parser::SPARQL - SPARQL Parser.

Synopsis

        use RDF::Query::Parser::SPARQL;
        my $parser     = RDF::Query::Parser::SPARQL->new();
        my $iterator = $parser->parse( $query, $base_uri );

Version

       This document describes RDF::Query::Parser::SPARQL version 2.919.

See Also