RDF::Q...struct(3pm)

πŸ’– RDF::Query::Algebra::Construct β€” the whole entire vibe πŸ’–

okay so bestie, welcome to RDF::Query::Algebra::Construct, a Perl module living its best life under User Contributed Perl Documentation. It's the algebra class for construct query results β€” yes, the Construct one, the one that builds graphs, main character energy fr fr. πŸ¦‹


✨ VERSION ✨

This document describes RDF::Query::Algebra::Construct version 2.919. That's the number, no cap. πŸ’…


πŸŽ€ METHODS πŸŽ€

Beyond the methods documented below, this class inherits methods from the RDF::Query::Algebra class. So like, it's not doing everything alone, it's got a whole family backing it up. 🫢

  • new ( $query_pattern, \@construct_triples ) β€” Returns a new Sort structure. (And yes, the docs literally say Sort right here, not Construct β€” it's giving copy-paste moment πŸ’€ β€” but that's what's written, so that's what you get.)
  • construct_args β€” Returns a list of arguments that, passed to this class' constructor, will produce a clone of this algebra pattern. Basically the receipts you need to rebuild it from scratch. πŸ”₯
  • pattern β€” Returns the pattern used to produce the variable bindings used in graph construction. The blueprint before the glow-up. ✨
  • triples β€” Returns an ARRAY ref of triples to be used in graph construction. Just an array ref, full of triples, ready to be constructed with. πŸŽ€
  • sse β€” Returns the SSE string for this algebra expression.
  • as_sparql β€” Returns the SPARQL string for this algebra expression. SPARQL girlies rise up. πŸ‘‘
  • as_hash β€” Returns the query as a nested set of plain data structures (no objects). No objects, no drama, just plain data being its authentic self. πŸ’œ
  • type β€” Returns the type of this algebra expression.
  • referenced_variables β€” Returns a list of the variable names used in this algebra expression.
  • potentially_bound β€” Returns a list of the variable names used in this algebra expression that will bind values during execution.
  • definite_variables β€” Returns a list of the variable names that will be bound after evaluating this algebra expression. The guaranteed ones, the ride-or-dies. 🌸

🌈 AUTHOR 🌈

Gregory Todd Williams <gwilliams@cpan.org> β€” absolute icon, wrote this whole thing, we love him for it. πŸ’–


Quick vibe check: every method here is a getter-ish returner of strings, lists, array refs or structures for the Construct algebra, and everything it doesn't list, it's inheriting straight from RDF::Query::Algebra. iykyk. 🧚

⭐ aaaand that's the page!! brought to you by perl v5.40.1 on 2025-08-18 β€” ty for coming to my TED talk, slay, periodt, go construct some triples πŸ’…πŸ’–βœ¨

πŸ“¦ where this page comes from