RDF::Q...attern(3pm)
β¨ NAME β¨
RDF::Query::Algebra::BasicGraphPattern β it's the algebra class for BasicGraphPattern patterns, bestie π
So like, this is a Perl manpage from User Contributed Perl Documentation, and the manual name it lives under is RDF::Q...attern(3pm) (yes the name got truncated, that's just how it is, no cap π«Ά).
πΈ VERSION πΈ
This doc describes RDF::Query::Algebra::BasicGraphPattern version 2.919. Periodt.
π METHODS π
Okay so heads up before we even get into it: on top of all the methods listed below, this class also inherits methods from the RDF::Query::Algebra class. So the toolbox is bigger than this list, iykyk β¨
new ( @triples )β hands you back a brand newBasicGraphPatternstructure. Fresh out the box πconstruct_argsβ returns a list of arguments that, if you pass them to this class' constructor, will produce a clone of this algebra pattern. Basically the recipe to rebuild the same thing π§triplesβ returns a list of the triples that belong to this BGP.quadsβ returns a list of the (implicit) quads belonging to this BGP.sseβ returns the SSE string for this algebra expression.explainβ returns a string serialization of the algebra, appropriate for displaying on the command line.as_sparqlβ returns the SPARQL string for this algebra expression.as_hashβ returns the query as a nested set of plain data structures. No objects invited to this party πas_spin ( $model )β adds statements to the given model to represent this algebra object in the SPARQL Inferencing Notation (http://www.spinrdf.org/).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. So like, the guaranteed ones πconnectedβ returns true if the pattern is connected through shared variables, false otherwise.subsumes ( $pattern )β returns true if the bgp subsumes the pattern, false otherwise.bf ()β returns a string representing the state of the nodes of the triple (bound or free).clonebind_variables ( \%bound )β returns a new algebra pattern with variables named in%boundreplaced by their corresponding bound values.
not me noticing clone is just sitting there with no description π it's giving mysterious. Anyway, it's in the list, so it's in the list. Slay.
π AUTHOR π
Gregory Todd Williams <gwilliams@cpan.org> π
That's literally it bestie, go forth and basic-graph-pattern π This was page RDF::Q...attern(3pm) from the User Contributed Perl Documentation, generated from perl v5.40.1, dated 2025-08-18. Main character energy, no notes. π
β¨π¦
π¦ 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