.\" -*- 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::Triple 3pm"
.TH RDF::Query::Algebra::Triple 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::Triple \- Algebra class for Triple patterns
.SH VERSION
.IX Header "VERSION"
This document describes RDF::Query::Algebra::Triple version 2.918.
.SH METHODS
.IX Header "METHODS"
Beyond the methods documented below, this class inherits methods from the
RDF::Query::Algebra class.
.ie n .IP """new ( $s, $p, $o )""" 4
.el .IP "\f(CWnew ( $s, $p, $o )\fR" 4
.IX Item "new ( $s, $p, $o )"
Returns a new Triple structure.
.ie n .IP """as_sparql""" 4
.el .IP \f(CWas_sparql\fR 4
.IX Item "as_sparql"
Returns the SPARQL string for this algebra expression.
.ie n .IP """as_hash""" 4
.el .IP \f(CWas_hash\fR 4
.IX Item "as_hash"
Returns the query as a nested set of plain data structures (no objects).
.ie n .IP """as_spin ( $model )""" 4
.el .IP "\f(CWas_spin ( $model )\fR" 4
.IX Item "as_spin ( $model )"
Adds statements to the given model to represent this algebra object in the
SPARQL Inferencing Notation ().
.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 """subsumes ( $pattern )""" 4
.el .IP "\f(CWsubsumes ( $pattern )\fR" 4
.IX Item "subsumes ( $pattern )"
Returns true if the triple subsumes the pattern, false otherwise.
.ie n .IP """bf ()""" 4
.el .IP "\f(CWbf ()\fR" 4
.IX Item "bf ()"
Returns a string representing the state of the nodes of the triple (bound or free).
.ie n .IP """distinguish_bnode_variables""" 4
.el .IP \f(CWdistinguish_bnode_variables\fR 4
.IX Item "distinguish_bnode_variables"
Returns a new Quad object with blank nodes replaced by distinguished variables.
.ie n .IP """label ( $label => $value )""" 4
.el .IP "\f(CWlabel ( $label => $value )\fR" 4
.IX Item "label ( $label => $value )"
Sets the named \f(CW$label\fR to \f(CW$value\fR for this triple object.
If no \f(CW$value\fR is given, returns the current label value, or undef if none
exists.
.SH AUTHOR
.IX Header "AUTHOR"
.Vb 1
\& Gregory Todd Williams
.Ve