RDF::Q...a::Path(3pm)
π RDF::Query::Algebra::Path π
okay bestie, gather round, because this is the page for RDF::Query::Algebra::Path β the algebra class for path patterns β¨. It ships as part of the User Contributed Perl Documentation and this specific page is RDF::Q...a::Path(3pm), so yeah, that's the manual name, that's the vibe, we move π
πΈ VERSION πΈ
This document describes RDF::Query::Algebra::Path version 2.919. That's the number, that's the era, no cap π
β¨ METHODS β¨
Real talk first, bestie: beyond the methods documented below, this class inherits methods from the <cyan>RDF::Query::Algebra</cyan> class π«Ά. So if you can't find something here, check the parent, it's giving family tree energy.
new ( $start, [ $op, @paths ], $end, $graph )β returns a newPathstructure. That's the constructor, that's how you manifest a whole path pattern out of thin air β¨construct_argsβ returns a list of arguments that, if you pass them to this class' constructor, will produce a clone of this algebra pattern. It's literally the copy-paste cheat code, lowkey iconic π¦pathβ returns the path description for this path expression. The main character of the whole object fr fr πstartβ returns the path origin node. Where the journey begins, bestie πendβ returns the path destination node. Where the journey ends, and yes the destination is always the best part πgraphβ returns the named graph. Which graph? The named graph. The one it's got πΈdistinguish_bnode_variablesβ returns a newPathobject with blank nodes replaced by distinguished variables. Not mutating the original, we respect boundaries here πbounded_lengthβ returns true if the path is of bounded length. That's it. That's the whole vibe check βsseβ returns the SSE string for this algebra expression. SSE girlies rise πas_sparqlβ returns the SPARQL string for this algebra expression. If you needed SPARQL out of it, this is the glow-up converter β¨typeβ returns the type of this algebra expression. Its whole identity, its astrology chart, whatever πreferenced_variablesβ returns a list of the variable names used in this algebra expression. Just used, no promises about binding, don't get it twisted πpotentially_boundβ returns a list of the variable names used in this algebra expression that will bind values during execution. "Potentially" in the name, "will" in the description β that's what the docs say, bestie, I don't make the rules π«Άdefinite_variablesβ returns a list of the variable names that will be bound after evaluating this algebra expression. The guaranteed girlies, the ones who actually show up β
πΌ tiny reminder from your bestie:potentially_bound= binds during execution,definite_variables= bound after evaluating. Two different moments in time, two different lists. Periodt.
π AUTHOR π
Shoutout to the icon who made all this: Gregory Todd Williams <gwilliams@cpan.org> π
and that's the page, bestie! this was written up as perl v5.40.1, dated 2025-08-18 πΈ go forth, slay your path patterns, and remember: the algebra class inherits from RDF::Query::Algebra so you're never really alone π¦β¨π
π¦ where this page comes from
- ubuntu resolute: librdf-query-perl 2.919-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu stonking: librdf-query-perl 2.919-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms