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
RDF::Core::Evaluator(3) User Contributed Perl Documentation RDF::Core::Evaluator(3)

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

  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);

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

new(%options)

Available options are:

  • Model

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

  • Functions

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

  • Factory

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

  • Namespaces

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

  • 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

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

Ginger Alliance, rdf@gingerall.cz

RDF::Core::Query
2007-02-19 perl v5.32.1

Search for    or go to Top of page |  Section 3 |  Main Index

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