RDF::Q...::Unary(3pm)
π RDF::Query::Expression::Unary β bestie edition π
okay so. you know how sometimes you just need a whole class for expressions that only take one lil operand? yeah. that's this. the manual name is RDF::Q...::Unary(3pm) btw (the terminal truncates it like that, don't worry about it), and it's literally giving "Class for unary expressions." no notes. perfect. iconic. π
β¨ VERSION β¨
This doc? It describes RDF::Query::Expression::Unary version 2.919 β as in, 2.919 exactly, not a typo, not a vibe, the actual number. β¨
πΈ METHODS πΈ
so here's the tea β: beyond the methods listed down below, this class inherits methods from the RDF::Query::Expression class. so like, don't come for it for not having those, it got them from its parent, it's giving generational wealth π
sseβ hands you back the SSE string for this algebra expression. that's it, that's the whole job. slay. πas_sparqlβ same energy, different format: returns the SPARQL string for this algebra expression. two formats, one expression, we love a bilingual queen πevaluate ( $query, \%bound )β does the evaluating thing using the bound variables you supply. and here's the important part bestie: it will return aRDF::Query::Nodeobject. so it's not gonna hand you back a plain string and leave you confused, it's a whole node. periodt. π₯
tiny reminder thatevaluatetakes two things:$queryand\%boundβ a hashref of bound variables. feed it right or it's gonna be a sad little moment π
π¦ AUTHOR π¦
Gregory Todd Williams <gwilliams@cpan.org> β the actual main character who wrote this. give them their flowers π
and that's the whole page fr fr π«Ά this was RDF::Q...::Unary(3pm) from perl v5.40.1, dated 2025-08-18, User Contributed Perl Documentation, and this has been your unhinged little documentation tour. mwah π go write some expressions bestie π
π¦ 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