.\" -*- mode: troff; coding: utf-8 -*-
.\" Automatically generated by Pod::Man 5.01 (Pod::Simple 3.43)
.\"
.\" Standard preamble:
.\" ========================================================================
.de Sp \" Vertical space (when we can't use .PP)
.if t .sp .5v
.if n .sp
..
.de Vb \" Begin verbatim text
.ft CW
.nf
.ne \\$1
..
.de Ve \" End verbatim text
.ft R
.fi
..
.\" \*(C` and \*(C' are quotes in nroff, nothing in troff, for use with C<>.
.ie n \{\
. ds C` ""
. ds C' ""
'br\}
.el\{\
. ds C`
. ds C'
'br\}
.\"
.\" Escape single quotes in literal strings from groff's Unicode transform.
.ie \n(.g .ds Aq \(aq
.el .ds Aq '
.\"
.\" If the F register is >0, we'll generate index entries on stderr for
.\" titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index
.\" entries marked with X<> in POD. Of course, you'll have to process the
.\" output yourself in some meaningful fashion.
.\"
.\" Avoid warning from groff about undefined register 'F'.
.de IX
..
.nr rF 0
.if \n(.g .if rF .nr rF 1
.if (\n(rF:(\n(.g==0)) \{\
. if \nF \{\
. de IX
. tm Index:\\$1\t\\n%\t"\\$2"
..
. if !\nF==2 \{\
. nr % 0
. nr F 2
. \}
. \}
.\}
.rr rF
.\" ========================================================================
.\"
.IX Title "RDF::Query::Federate 3pm"
.TH RDF::Query::Federate 3pm 2024-04-12 "perl v5.38.2" "User Contributed Perl Documentation"
.\" For nroff, turn off justification. Always turn off hyphenation; it makes
.\" way too many mistakes in technical documents.
.if n .ad l
.nh
.SH NAME
RDF::Query::Federate \- A subclass of RDF::Query for efficient federated query execution.
.SH VERSION
.IX Header "VERSION"
This document describes RDF::Query::Federate version 2.918.
.SH STATUS
.IX Header "STATUS"
This module's API and functionality should be considered deprecated.
If you need functionality that this module provides,
please get in touch .
.SH SYNOPSIS
.IX Header "SYNOPSIS"
.Vb 4
\& my $service = RDF::Query::ServiceDescription\->new( $url );
\& my $query = new RDF::Query::Federate ( $sparql );
\& $query\->add_service( $service );
\& my $stream = $query\->execute();
.Ve
.SH DESCRIPTION
.IX Header "DESCRIPTION"
\&...
.SH METHODS
.IX Header "METHODS"
.ie n .IP """new ( $query, \e%options )""" 4
.el .IP "\f(CWnew ( $query, \e%options )\fR" 4
.IX Item "new ( $query, %options )"
.PD 0
.ie n .IP """new ( $query, $base_uri, $languri, $lang )""" 4
.el .IP "\f(CWnew ( $query, $base_uri, $languri, $lang )\fR" 4
.IX Item "new ( $query, $base_uri, $languri, $lang )"
.PD
Returns a new RDF::Query::Federate object for the specified \f(CW$query\fR.
The query language defaults to SPARQLP, but may be set specifically by
specifying either \f(CW$languri\fR or \f(CW$lang\fR, whose acceptable values are:
.Sp
.Vb 1
\& $lang: \*(Aqrdql\*(Aq, \*(Aqsparql11\*(Aq, or \*(Aqsparql\*(Aq
\&
\& $languri: \*(Aqhttp://www.w3.org/TR/rdf\-sparql\-query/\*(Aq, or \*(Aqhttp://jena.hpl.hp.com/2003/07/query/RDQL\*(Aq
.Ve
.ie n .IP """add_service ( $service_description )""" 4
.el .IP "\f(CWadd_service ( $service_description )\fR" 4
.IX Item "add_service ( $service_description )"
Adds the service described by \f(CW$service_description\fR to the query's list
of data sources.
.ie n .IP """services""" 4
.el .IP \f(CWservices\fR 4
.IX Item "services"
.PD 0
.ie n .IP """algebra_fixup ( $algebra, $bridge, $base_uri, $ns )""" 4
.el .IP "\f(CWalgebra_fixup ( $algebra, $bridge, $base_uri, $ns )\fR" 4
.IX Item "algebra_fixup ( $algebra, $bridge, $base_uri, $ns )"
.PD
Called in the fixup method of ::Algebra classes, returns either an optimized
::Algebra object ready for execution, or undef (in which case it will be
prepared for execution by the ::Algebra::* class itself.
.SH AUTHOR
.IX Header "AUTHOR"
.Vb 1
\& Gregory Todd Williams
.Ve