GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  RDF::CORE::EVALUATOR (3)

.ds Aq ’

NAME

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

CONTENTS

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 <B>Names and URIsB> 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@gingerall.cz

SEE ALSO

RDF::Core::Query
Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 RDF::CORE::EVALUATOR (3) 2007-02-19

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.