RDF::Q...attern(3pm)
β¨ NAME β¨
RDF::Query::Algebra::GroupGraphPattern β the algebra class for GroupGraphPattern patterns, bestie π
Like, if you're poking around RDF::Q...attern (that's the manual page name, she's shy about her full title), this is the class you're reading about. It's giving group graph pattern, but as algebra. π¦
πΈ VERSION πΈ
This doc describes RDF::Query::Algebra::GroupGraphPattern version 2.919. That's the one, periodt.
π METHODS π
Okay so heads up: on top of everything listed below, this class also inherits methods from the RDF::Query::Algebra class. So if you don't see it here, check there first, iykyk π«Ά
new ( @graph_patterns )β hands you a brand new GroupGraphPattern structure. Feed her the graph patterns as args and she's ready to slay β¨construct_argsβ returns a list of arguments that, if you pass them to this class' constructor, will produce a clone of this algebra pattern. It's literally a clone recipe πpatternsβ returns a list of the graph patterns chillin' inside this GGP πadd_patternβ appends a new child pattern to the GGP. She's growing, she's thriving π±quadsβ returns a list of the quads that belong to this GGP. Quads! Four of everything! π₯sseβ returns the SSE string for this algebra expression.explainβ returns a string serialization of the algebra that's appropriate for display on the command line. For when you want her to explain herself πas_sparqlβ returns the SPARQL string for this algebra expression. Turning algebra back into SPARQL, no cap πas_hashβ returns the query as a nested set of plain data structures (no objects). Just vibes and hashes, nothing fancy πas_spin ( $model )β adds statements to the given$modelto represent this algebra object in the SPARQL Inferencing Notation (<http://www.spinrdf.org/>). SPIN!!! π‘typeβ returns the type of this algebra expression. Who is she? This tells you π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. Potentially β she's not making promises, she's making plans πdefinite_variablesβ returns a list of the variable names that will be bound after evaluating this algebra expression. These ones are locked in fr fr πcheck_duplicate_blanksβ returns true if blank nodes respect the SPARQL rule of no blank-label re-use across BGPs. Otherwise? She throws aRDF::Query::Error::QueryPatternErrorexception. π So like, if this blows up, that's not a vibe, that's a rule violation.
β οΈ Note the difference betweenpotentially_boundanddefinite_variablesβ one is a maybe, one is a yes. Don't mix them up bestie, it's giving chaos π
π AUTHOR π
Gregory Todd Williams <gwilliams@cpan.org> π
okay that's the whole page, you ate that π if you made it this far you're genuinely iconic, go write some queries and be the main character of your own triple store π
This was cooked up for perl version v5.40.1, dated 2025-08-18, and it lives its life as RDF::Q...attern(3pm) in the User Contributed Perl Documentation. Byeee, love you π«Άβ¨
π¦ 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