.\" Automatically generated by Pod::Man 4.07 (Pod::Simple 3.32)
.\"
.\" 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
..
.\" Set up some character translations and predefined strings. \*(-- will
.\" give an unbreakable dash, \*(PI will give pi, \*(L" will give a left
.\" double quote, and \*(R" will give a right double quote. \*(C+ will
.\" give a nicer C++. Capital omega is used to do unbreakable dashes and
.\" therefore won't be available. \*(C` and \*(C' expand to `' in nroff,
.\" nothing in troff, for use with C<>.
.tr \(*W-
.ds C+ C\v'-.1v'\h'-1p'\s-2+\h'-1p'+\s0\v'.1v'\h'-1p'
.ie n \{\
. ds -- \(*W-
. ds PI pi
. if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch
. if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\" diablo 12 pitch
. ds L" ""
. ds R" ""
. ds C` ""
. ds C' ""
'br\}
.el\{\
. ds -- \|\(em\|
. ds PI \(*p
. ds L" ``
. ds R" ''
. 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
..
.if !\nF .nr F 0
.if \nF>0 \{\
. de IX
. tm Index:\\$1\t\\n%\t"\\$2"
..
. if !\nF==2 \{\
. nr % 0
. nr F 2
. \}
.\}
.\" ========================================================================
.\"
.IX Title "RDF::Query::Algebra::Triple 3pm"
.TH RDF::Query::Algebra::Triple 3pm "2017-01-04" "perl v5.24.1" "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 \s-1SPARQL\s0 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
\&\s-1SPARQL\s0 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