RDF::Redland::Query(3pm) | User Contributed Perl Documentation | RDF::Redland::Query(3pm) |
RDF::Redland::Query - Redland RDF Syntax Query Class
use RDF::Redland; ... my $query=new RDF::Redland::Query($query_string); # default query language my $results=$query->execute($model); # or my $results=$model->query_execute($query); 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; }
This class represents queries of various syntaxes over an RDF::Redland::Model returning a sequence of results that (currently) bind variable names to RDF::Redland::Node values.
RDF::Redland::QueryResults
Dave Beckett - http://www.dajobe.org/
2023-01-31 | perl v5.36.0 |