RedlandDave Beckett |
|||||
|
Hosted by
since 2005. Redland BindingsLanguagesDemonstrationsData |
Redland librdf Language Bindings - Perl RDF::Redland::QueryResults ClassNAMERDF::Redland::QueryResults - Redland RDF Syntax Query Results Class SYNOPSISuse RDF::Redland; ... my $query=new RDF::Redland::Query("query string", undef, undef, "sparql"); my $results=$model->query_execute($query); # or my $results=$query->execute($model); while(!$results->finished) { for (my $i=0; $i < $results->bindings_count(); $i++) { my $name=$results->binding_name($i); my $value=$results->binding_value($i); # ... do something with the results } $results->next_result; } The $results in the example is an object of class RDF::Redland::QueryResults. DESCRIPTIONThis class represents queries of various syntaxes over an RDF::Redland::Model returning a sequence of results that bind variable names to RDF::Redland::Node values. CONSTRUCTORThere are no public constructors. METHODS
SEE ALSOthe RDF::Redland::Query manpage AUTHORDave Beckett - http://www.dajobe.org/ (C) Copyright (C) 2000-2011 Dave Beckett, (C) Copyright (C) 2000-2005 University of Bristol |