RDF::Core::Evaluator(3pm) - phpMan

Command: man perldoc info search(apropos)  


RDF::Core::Evaluator(3pm)      User Contributed Perl Documentation      RDF::Core::Evaluator(3pm)



NAME
       RDF::Core::Evaluator - gets a query object that RDF::Core::Query parsed and evaluates the
       query.

SYNOPSIS
         my %namespaces = (Default => 'http://myApp.gingerall.org/ns#',
                           ns     => 'http://myApp.gingerall.org/ns#',
                          );
         my $evaluator = new RDF::Core::Evaluator
           (Model => $model,            #an instance of RDF::Core::Model
            Factory => $factory,        #an instance of RDF::Core::NodeFactory
            Namespaces => \%namespaces,
           );
         my $query = new RDF::Core::Query(Evaluator=> $evaluator);

DESCRIPTION
       The evaluator is just to be created and passed to query object, that uses it to evaluate
       the query.

   Interface
       o   new(%options)

           Available options are:

           o   Model

               RDF::Core::Model object that contains data to be queried.

           o   Functions

               RDF::Core::Function object is a functions library.

           o   Factory

               RDF::Core::NodeFactory object, that produces resource and literal objects.

           o   Namespaces

               A hash containing namespace prefixes as keys and URIs as values. See more in
               paragraph Names and URIs in RDF::Core::Query,

           o   Row

               A code reference that is called every time a result row is found. The row elements
               are passed as parameters of the call. They can be undefined, RDF::Core::Resource
               or RDF::Core::Literal value. If Row is omitted, result is returned as a reference
               to array of rows

LICENSE
       This package is subject to the MPL (or the GPL alternatively).

AUTHOR
       Ginger Alliance, rdf AT gingerall.cz

SEE ALSO
       RDF::Core::Query



perl v5.10.0                                2007-02-19                  RDF::Core::Evaluator(3pm)

Generated by $Id: phpMan.php,v 4.49 2006/02/26 13:18:18 chedong Exp $ Author: Che Dong
On Apache
Under GNU General Public License
2012-05-25 01:36 @38.107.179.239 Crawled by CCBot/1.0 (+http://www.commoncrawl.org/bot.html)
Valid XHTML 1.0!Valid CSS!