RDF::Q...a::Quad(3pm)
β¨ NAME β¨
RDF::Query::Algebra::Quad β bestie, this is the algebra class for Quad patterns π
π¦ VERSION π¦
This doc describes RDF::Query::Algebra::Quad version 2.919. yes, we're on the record, no cap.
π METHODS π
okay so first thing, before literally anything else: on top of all the methods listed below, this class inherits methods from the RDF::Query::Algebra class. so go peep that one too, iykyk π«Ά
new ( $s, $p, $o, $g )β hands you a brand new Quad structure back. four args: subject, predicate, object, graph. iconic.as_sparqlβ returns the SPARQL string for this algebra expression. it's giving "translate my whole vibe into SPARQL" β¨as_hashβ returns the query as a nested set of plain data structures, like with no objects at all. just raw data vibes.referenced_blanksβ returns a list of the blank node names used in this algebra expression. all the anon besties, accounted for πΈqualify_uris ( \%namespaces, $base_uri )β returns a new algebra pattern where every referenced Resource node that's representing a QName (ns:local) gets qualified using the%namespacesyou supplied. glow-up for your QNames πbf ()β returns a string representing the state of the nodes of the triple: bound or free. that's the whole vibe check, right there.distinguish_bnode_variablesβ returns a new Quad object, except blank nodes got replaced by distinguished variables. bnodes, but make it identifiable πlabel ( $label => $value )β sets the named$labelto$valuefor this quad object. and if you don't pass a$value? it just returns the current label value, orundefif none exists. so it's a setter and a getter, unbothered, multifunctional π
π AUTHOR π
Gregory Todd Williams <gwilliams@cpan.org> β thank you for your service, fr fr π
okay that's the whole page, periodt. this was perl v5.40.1, dated 2025-08-18, and yeah the manual page name got squished into RDF::Q...a::Quad(3pm) up in the header but it's still us, the Quad page, your fave π slay, go read a quad or something 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