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 new Path structure. 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 new Path object 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