Gregory Todd Williams > RDF-Query-2.909 > RDF::Query::Parser::SPARQL

Download:
RDF-Query-2.909.tar.gz

Dependencies

Annotate this POD

Website

View/Report Bugs
Module Version: 2.909   Source   Latest Release: RDF-Query-2.910_01

NAME ^

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

VERSION ^

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

SYNOPSIS ^

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

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.

syntax highlighting: