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

πŸ’– RDF::Query::Expression::Function β€” bestie edition πŸ’–

okay so you found a Perl manpage, and it's RDF::Query::Expression::Function, and it lives in User Contributed Perl Documentation (section 3pm, iykyk). It's giving "class for Function expressions" and honestly? it's iconic. Let's get into it πŸ¦‹


🌸 NAME 🌸

RDF::Query::Expression::Function β€” the class that handles Function expressions. that's it, that's the whole vibe πŸ’…


✨ VERSION ✨

This doc describes RDF::Query::Expression::Function version 2.919. periodt.


πŸŽ€ METHODS πŸŽ€

okay so first things first: beyond everything listed below, this class inherits methods from the RDF::Query::Expression class. so don't come for her about missing methods, she got them from her parent class, it's a whole family thing 🫢


πŸ’œ new ( $uri, @arguments )

Returns a new Expr structure. that's the constructor, bestie, she's born 🐣


πŸ’œ uri

Returns the URI of the function.


πŸ’œ arguments

Returns a list of the arguments to the function. plural, list, all of them 🌈


πŸ’œ sse

Returns the SSE string for this algebra expression.


πŸ’œ as_sparql

Returns the SPARQL string for this algebra expression.


πŸ’œ type

Returns the type of this algebra expression.


πŸ’œ qualify_uris ( \%namespaces, $base_uri )

Returns a new algebra pattern (not me mutating the old one, we don't do that) where all referenced Resource nodes representing QNames (ns:local) are qualified using the supplied %namespaces. so you hand her your namespaces hashref, she hands you back a glow-up ✨


πŸ’œ evaluate ( $query, \%bound, $context )

Evaluates the expression using the supplied bound variables. Will return a RDF::Query::Node object. so you give her $query, \%bound, and $context, and she gives you back a node. slay.

ngl, "Will return" is doing a lot of heavy lifting there β€” that's straight from the source, so that's the energy we're keeping.

πŸ‘‘ AUTHOR πŸ‘‘

Gregory Todd Williams <gwilliams@cpan.org> β€” the main character who wrote this πŸ’–


aaaand that's the whole page, bestie!! this was rendered with perl v5.40.1, dated 2025-08-18, and the original footer was literally RDF::Q...nction(3pm) because manpage headers truncate like that sometimes 😭 no cap, go write some Function expressions 🧚⭐

πŸ“¦ where this page comes from