debian man page for rdf::helper::rdfredland::query

Query: rdf::helper::rdfredland::query

OS: debian

Section: 3pm

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

RDF::Helper::RDFRedland::Query(3pm)			User Contributed Perl Documentation		       RDF::Helper::RDFRedland::Query(3pm)

NAME
RDF::Helper::RDFReland::Query - Perlish convenience extension for RDF::Redland::Query
SYNOPSIS
my $model = RDF::Redland::Model->new( RDF::Redland::Storage->new( %storage_options ) ); my $rdf = RDF::Helper->new( Namespaces => \%namespaces, BaseURI => 'http://domain/NS/2004/09/03-url#' ); my $q_obj = $rdf->new_query( $sparql_text, 'sparql' ); # arrays while ( my $row = $q_obj->selectrow_arrayref ) { # $row is an array reference. } # hashes while ( my $row = $q_obj->selectrow_hashref ) { # $row is a hash reference. }
DESCRIPTION
RDF::Helper::RDFRedland::Query is the object retuned from RDF::Helper's new_query() method when using RDF::Redland as the base interface class. This object provides everything that an instance of RDF::Redland::Query offers, plus the convenience methods detailed below.
METHODS
selectrow_arrayref Returns each row as a Perl array references. The order of the array's indices will correspond to the order of the variable bindings in the query. selectrow_hashref Returns each row as a Perl hash references. The keys in the hash will have the same names as the variable bindings in the query.
AUTHOR
Kip Hampton, khampton@totalcinema.com
COPYRIGHT
Copyright (c) 2004 Kip Hampton. =head1 LICENSE This module is free sofrware; you can redistribute it and/or modify it under the same terms as Perl itself.
SEE ALSO
RDF::Helper RDF::Redland::Query. perl v5.14.2 2011-06-24 RDF::Helper::RDFRedland::Query(3pm)
Related Man Pages
rdf::query::node(3pm) - debian
rdf::redland(3pm) - debian
rdf::redland::serializer(3pm) - debian
rdf::redland::statement(3pm) - debian
rdf::trine(3pm) - debian
Similar Topics in the Unix Linux Community
Cypher 1.0.5 (Default branch)
Perl Query Regarding format
Perl hash containing arrays
Very Urgent Query... PLease help me
How to remove duplicated lines?