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

πŸ’– NAME πŸ’–

okay so bestie, gather round: this is RDF::Query::Expression::Binary β€” the algebra class for binary expressions ✨ that's the whole vibe, it's the blueprint for expressions that take two sides (lhs and rhs, iykyk) and do a thing to them πŸŽ€


🌸 VERSION 🌸

This document describes RDF::Query::Expression::Binary version 2.919. yes, 2.919, no cap, that's the exact number 🫢


✨ METHODS ✨

so here's the tea: beyond the methods we're about to spill below, this class also inherits methods from the RDF::Query::Expression class. so like, don't be surprised when extra methods show up that aren't listed here β€” they're just vibing from the parent class πŸ’…

  • sse β€” hands you back the SSE string for this algebra expression, and that is genuinely all it does, periodt ✨
  • as_sparql β€” same energy, different format: returns the SPARQL string for this algebra expression 🌈
  • evaluate ( $query, \%bound ) β€” evaluates the expression using the bound variables you supply. it will return a RDF::Query::Node object, so that's the little guy you get back πŸ’–
  • promote_type ( $op, $lhs_datatype, $rhs_datatype ) β€” returns the XSD type URI (as a string) for whatever you get when you perform the supplied operation on arguments of the indicated XSD types 🧚 so you give it the op, the left datatype and the right datatype, and it tells you what the resulting type is, fr fr

πŸ‘‘ AUTHOR πŸ‘‘

Gregory Todd Williams <gwilliams@cpan.org> β€” the icon, the moment, the actual author of this thing 🫢


and that's a wrap, bestie πŸŽ€ one last lil sign-off from the page itself: this is from perl v5.40.1, dated 2025-08-18, in the User Contributed Perl Documentation family of the manual, filed under RDF::Q...Binary(3pm) β€” slay πŸ’…βœ¨

πŸ“¦ where this page comes from