.\" -*- 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::Algebra 3pm" .TH RDF::Query::Algebra 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::Algebra \- Base class for Algebra expressions .SH VERSION .IX Header "VERSION" This document describes RDF::Query::Algebra version 2.918. .SH METHODS .IX Header "METHODS" .ie n .IP """potentially_bound""" 4 .el .IP \f(CWpotentially_bound\fR 4 .IX Item "potentially_bound" Returns a list of the variable names used in this algebra expression that will bind values during execution. .ie n .IP """referenced_blanks""" 4 .el .IP \f(CWreferenced_blanks\fR 4 .IX Item "referenced_blanks" Returns a list of the blank node names used in this algebra expression. .ie n .IP """referenced_functions""" 4 .el .IP \f(CWreferenced_functions\fR 4 .IX Item "referenced_functions" Returns a list of the Function URIs used in this algebra expression. .ie n .IP """check_duplicate_blanks""" 4 .el .IP \f(CWcheck_duplicate_blanks\fR 4 .IX Item "check_duplicate_blanks" Returns true if blank nodes respect the SPARQL rule of no blank-label re-use across BGPs, otherwise throws a RDF::Query::Error::QueryPatternError exception. .ie n .IP """qualify_uris ( \e%namespaces, $base_uri )""" 4 .el .IP "\f(CWqualify_uris ( \e%namespaces, $base_uri )\fR" 4 .IX Item "qualify_uris ( %namespaces, $base_uri )" Returns a new algebra pattern where all referenced Resource nodes representing QNames (ns:local) are qualified using the supplied \f(CW%namespaces\fR. .ie n .IP """bind_variables ( \e%bound )""" 4 .el .IP "\f(CWbind_variables ( \e%bound )\fR" 4 .IX Item "bind_variables ( %bound )" Returns a new algebra pattern with variables named in \f(CW%bound\fR replaced by their corresponding bound values. .ie n .IP """is_solution_modifier""" 4 .el .IP \f(CWis_solution_modifier\fR 4 .IX Item "is_solution_modifier" Returns true if this node is a solution modifier. .ie n .IP """subpatterns_of_type ( $type [, $block] )""" 4 .el .IP "\f(CWsubpatterns_of_type ( $type [, $block] )\fR" 4 .IX Item "subpatterns_of_type ( $type [, $block] )" Returns a list of Algebra patterns matching \f(CW$type\fR (tested with \f(CW\*(C`isa\*(C'\fR). If \f(CW$block\fR is given, then matching stops descending a subtree if the current node is of type \f(CW$block\fR, continuing matching on other subtrees. This list includes the current algebra object if it matches \f(CW$type\fR, and is generated in infix order. .ie n .IP """from_sse ( $sse, \e%context )""" 4 .el .IP "\f(CWfrom_sse ( $sse, \e%context )\fR" 4 .IX Item "from_sse ( $sse, %context )" Given an SSE serialization, returns the corresponding algebra expression. .SH FUNCTIONS .IX Header "FUNCTIONS" .ie n .IP """triple ( $subj, $pred, $obj )""" 4 .el .IP "\f(CWtriple ( $subj, $pred, $obj )\fR" 4 .IX Item "triple ( $subj, $pred, $obj )" Returns a RDF::Query::Algebra::Triple object with the supplied node objects. .ie n .IP """bgp ( @triples )""" 4 .el .IP "\f(CWbgp ( @triples )\fR" 4 .IX Item "bgp ( @triples )" Returns a RDF::Query::Algebra::BasicGraphPattern object with the supplied triples. .ie n .IP """ggp ( @patterns )""" 4 .el .IP "\f(CWggp ( @patterns )\fR" 4 .IX Item "ggp ( @patterns )" Returns a RDF::Query::Algebra::GroupGraphPattern object with the supplied algebra patterns. .SH AUTHOR .IX Header "AUTHOR" .Vb 1 \& Gregory Todd Williams .Ve